• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

GitOps and Kubernetes - nothing ever gets deleted?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One of the basic tenets of GitOps is the ability to rollback bad changes.

However, that seems to suggest that you could never actually permanently delete anything as you would then lose the ability to rollback that change?

How is this apparent need for an infini-disk handled,and is it covered in the book?

Thanks and kind regards,
Jules
 
Saloon Keeper
Posts: 23409
159
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Speaking for git, you are correct. A git archive permanently records all commits. The idea being that you want both recovery and audit abilities.

As far as the git archive expanding to fill the universe, actually for most items that belong in a git archive, git manages to be quite space-efficient as the generations build up in my experience.

But, of course, for a number of reasons, you may not want to keep history forever, so yes, there are git commands that can reset the baseline and purge past history.
 
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic