gitops-patterns
Collection of patterns, examples and resources for GitOps process design, GitOps repository structures, etc
File Explorer
Download Latest Version (.zip)- config-replication.puml
- config-split-helm-git.puml
- config-split-helm-oci.puml
- config-split-helm-repo.puml
- config-split-oci-artifacts.puml
- config-update-ci.puml
- config-update-dependency-bot.puml
- config-update-image-updater.puml
- repo-pointer.puml
- repo-separation.puml
- .gitkeep
- .gitkeep
- deployment.yaml
- deployment.yaml
- deployment.yaml
- deployment.yaml
- .gitkeep
- Jenkinsfile
- README.md
- argocd.yaml
- bootstrap.yaml
- cluster-resources.yaml
- example-tenant.yaml
- projects.yaml
- .gitkeep
- Chart.lock
- Chart.yaml
- values.yaml
- argocd.yaml
- cluster-resources.yaml
- default.yaml
- example-tenant.yaml
- .gitkeep
- .gitkeep
- .gitkeep
- deployment.yaml
- misc.yaml
- my-app-production.yaml
- my-app-staging.yaml
- network-policies.yaml
- deployment.yaml
- deployment.yaml
- Jenkinsfile
- README.md
- kustomization.yaml
- .gitkeep
- config.json
- kustomization.yaml
- kustomization.yaml
- argocd-ns.yaml
- in-cluster.json
- argo-cd.yaml
- cluster-resources.yaml
- root.yaml
- production.yaml
- staging.yaml
- kustomization.yaml
- release.yaml
- .gitkeep
- kustomization.yaml
- values.yaml
- .gitkeep
- kustomization.yaml
- .gitkeep
- .gitkeep
- apps.yaml
- infrastructure.yaml
- .gitkeep
- network-policies.yaml
- ingress-nginx.yaml
- README.md
- gotk-components.yaml
- gotk-sync.yaml
- kustomization.yaml
- infrastructure.yaml
- tenants.yaml
- .gitkeep
- .gitkeep
- kustomization.yaml
- rbac.yaml
- sync.yaml
- kustomization.yaml
- path.yaml
- kustomization.yaml
- .gitkeep
- kustomization.yaml
- release.yaml
- .gitkeep
- kustomization.yaml
- values.yaml
- .gitkeep
- kustomization.yaml
- .gitkeep
- README.md
- deployment.yaml
- kustomization.yaml
- .gitkeep
- kustomization.yaml
- argocd-ns.yaml
- kustomization.yaml
- kustomization.yaml
- kustomization.yaml
- kustomization.yaml
- sample-admin-config.yaml
- apps-appset.yaml
- cluster-config-appset.yaml
- kustomization.yaml
- kustomization.yaml
- test-project.yaml
- README.md
- deployment.yaml
- kustomization.yaml
- service.yaml
- deployment.yaml
- kustomization.yaml
- .gitkeep
- .gitkeep
- .gitkeep
- .gitkeep
- kustomization.yaml
- region.yaml
- .gitkeep
- kustomization.yaml
- prod.yaml
- .gitkeep
- .gitkeep
- deployment.yml
- kustomization.yml
- service.yml
- .gitkeep
- kustomization.yml
- version.yml
- my-prod-appset.yml
- my-staging-appset.yml
- root-argocd-app.yml
- .gitkeep
- .gitkeep
- Dockerfile
- package.json
- pom.xml
- some-ci.yaml
- deployment.yaml
- deployment.yaml
- deployment.yaml
- deployment.yaml
- service.yaml
- values.yaml
- deployment.yaml
- deployment.yaml
- deployment.yaml
- 1.svg
- 2-with-ci.svg
- 2.svg
- 3.svg
- 4.svg
- 5.svg
- 6.svg
- 7.svg
- 8.svg
- creating-structure-svgs.md
- app-repo-example.svg
- config-repo-example.svg
- deployment-hub-and-spoke.svg
- deployment-instance-per-cluster.svg
- deployment-instance-per-namespace.svg
- environment-per-app.svg
- global-environments.svg
- .gitignore
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/cloudogu/gitops-patterns
Downloads the entire project code from GitHub to your computer.
cd gitops-patterns
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f src/repo-examples/app-repo/Dockerfile -t gitops-patterns .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 gitops-patterns
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Maven (Java)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd src/repo-examples/app-repo
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
A BUILD SUCCESS message means it worked. The output is created under target/.
4. Node.js
EasyPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd src/repo-examples/app-repo
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
