Win a copy of Head First Android this week in the Android forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

GitOps and Kubernetes - nothing ever gets deleted?

 
Greenhorn
Posts: 16
  • 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: 24557
168
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic