Daniele Polencic (@danielepolencic )

Daniele Polencic

Bio Teaching containers and Kubernetes at @learnk8s ♦︎ Certified Kubernetes Administrator ♦︎ Kubernetes memes aficionado
Location London ✈️ Singapore
Tweets 3,6K
Followers 3,4K
Following 180
Account created 11-07-2009 18:39:24
ID 55896213

Twitter Web App : 10/10

You can also tune-in to @Salaboy's webinar on Jenkins X (a CI/CD tool designed for GitOps): event.on24.com/wcc/r/2451691/…

Salaboy will demonstrate GitOps end-to-end with a live demo!

Linode is hosting the event!

What should the next thread be about? Let me know!

Twitter Web App : 9/10

If you want to learn more about GitOps:

- gitops.tech
- github.com/weaveworks/awe…
- deploy.live/blog/a-year-wi…

GitOps was invented by the clever people at Weaveworks — you can check out their website here weave.works/technologies/g…

Twitter Web App : 8/10

Does GitOps work only with Kubernetes?

No.

You can apply GitOps to any project!

As long as you hold your infrastructure state in GIT and have scripts to apply changes, you can use anything you want.

Twitter Web App : 6/10

There are other benefits:

- You have an audit log of all the changes: the GIT history
- You only need to learn GIT to deploy
- You can roll back to any point in time! (just a GIT revert!)

Twitter Web App : 5/10

Imagine deleting your infrastructure by mistake 😱

If you have the full state in GIT, you can trigger your scripts and recreate the same setup as before!

When you rebuild the infra, even the number of replicas set by the autoscaler are set correctly.

Powerful, isnt it?

Twitter Web App : 4/10

The autoscaler should not increase the number of replicas live!

It should increment the number of replicas in GIT.

Then, the change should be redeployed to production.

In GitOps, every change goes through GIT.

Always.

But why?

Twitter Web App : 3/10

What do you do if you want to scale your deployment?

In GitOps, the state of the infrastructure is stored in GIT.

So you change your Deployment definition in GIT and apply the change to production.

What about autoscaling?

Twitter Web App : 2/10

Lets deploy an app with a single replica:

1. Commit the Deployment definition in GIT
2. Execute the script to deploy
3. Done

How is this new?

Surely you do this already!

The devil is in the details, though.

Twitter Web App : 1/10

The idea behind GitOps is straightforward:

1. Scripts that create update, delete, etc. infrastructure are saved in GIT.
2. The state of your infrastructure is saved in GIT.
3. You have automation to trigger all your scripts.

Lets see an example.

Tweetbot for Mac : Today is the day!

Dont miss the Learnk8s very own Salman Iqbal delivering a webinar on Kubernetes + Kubeflow (packed with demos)!

Wanna see a preview? Daniele Polencic has a sneak peek here: twitter.com/danielepolenci…

You can register here: event.on24.com/wcc/r/2451691/…

Twitter Web App : 7/7

If you like CI/CD pipelines and machine learning, you should tune in for tomorrow's webinar on Kubeflow with Salman Iqbal

This thread is based on his work.

Register here: event.on24.com/wcc/r/2451691/…