In this talk, CTO Cornelia Davis will teach you what GitOps is and what its four main principles are.

What is GitOps?

The first thing you need to know is that GitOps is a set of modern best practises for deploying and managing cloud native infrastructure and applications.

And it can an be a hard thing to get your head around if you have never worked with cluster management or application delivery before. But thankfully Cornelia does a great job explaining it in this 30 minute presentation.

Give it a watch, and then you can find the recap below.

So now that we have covered the basics of what GitOps are, here is a recap of its 4 main principles. Hopefully you can use them to start managing your own cluster with GitOps workflows.

Principles of GitOps

Describe Declaratively

By 'Declarative', all we mean is that we are writing our configuration as a set of facts directly in our source code on Git. This is now our single 'source of truth'.

For example I can declare my environments, such as a 'test environment', or a 'staging environment' or 'production' and so on, along with the application version that resides in that environment.

Make Sure State is Versioned

With our declarations now stored in a version controlled system and acting as our 'source of truth', we now have a single place from where everything is derived. We can spin up previous versions of the app easily, or perform rollbacks if we need.

Automate Change Approvals

We also need to allow any changes to our declared states to be automatically applied to our system. This is worth mentioning, because as we are now working in segregated environments, we no longer need cluster credentials to make changes in our system.

Alert on Differences

So now that we have the state of our system declared and versioned, we can use agents to check if everything is working as it should. This is considered a 'Feedback and Control Loop'. If something 'looks' different and not right, we will get alerted on this.

For a more in-depth look into these 4 principles, you can watch the Talk by Cornelia Davis above.

This article was written by Ania Kubow in support of the conference talk made by Cornelia Davis.

Code with Ania Kubów
Hello everyone. This channel is run by Ania Kubow. In this channel, I will be teaching you JavaScript,React, HTML, CSS, React-native, Node.js and so much more! A little bit about me:My background is in the financial markets, where I worked as a derivates broker our of University. After starting m…
AAUvwnjSRt8sIbeM7P--pHoUDh67sDhaNTCMF_XiNOCvUw=s900-c-k-c0x00ffffff-no-rj