From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Understanding the project

Understanding the project

- All right, let's try to bring it all together. We are going to run our GitOps project based on what we have learned so far. So let's try to understand what we are going to do. In this project, you will create a simple application that runs an Nginx web server. Really nothing fancy because we need to focus on the GitOps procedure, and you'll see that it's challenging enough by itself. This GitOps procedure is using two environments: preprod and prod. You know, we have learned that the way you do GitOps is up to you. You can use two environments, you can use more of them. In this case, just to keep it simple, we only go for two. Once you understand how to do it for two, you can also do it for more environments. Well, in preprod, the application has access to the preproduction data. This data is provided by a Hostpath type PV, and it's giving access to an index.html file with the content "Welcome to preproduction." The idea behind this is that if your application is in preproduction…

Contents