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.
Organizing Git repositories for GitOps environments - Kubernetes Tutorial
From the course: Automating Kubernetes with GitOps
Organizing Git repositories for GitOps environments
- Alright, now we have reviewed some of the Git basics, let's bring Git back into the GitOps environment. So how do we organize Git repositories for GitOps environments? Well, in a GitOps environment, stages are defined for different environments. And these stages and environments should be presented in the Git repositories. And common solutions are the single branch strategy and a multi-branch strategy. Now what is that about? Well, in the single branch strategy, there is one Git repository, with a specific directory for each of the environments. And the Kubernetes customized utility is going to be used to adopt the configuration for a specific environment from these directories. Environment-specific settings will be in each of the subdirectories as different resources are required in production and in pre-production. And the advantage of this strategy is that all code is still in one branch, but Kustomization is required to create a specific environments. You are fully going to…
Contents
-
-
-
-
-
(Locked)
Module 2: From code to image introduction24s
-
(Locked)
Learning objectives29s
-
(Locked)
Understanding Git6m 48s
-
Git fundamentals8m 58s
-
(Locked)
Using Git advanced authentication7m 3s
-
(Locked)
Working with branches and merges5m 46s
-
(Locked)
Organizing Git repositories for GitOps environments2m 19s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-