Giter Club home page Giter Club logo

gitops's Introduction

main Quality Gate Status App Status GitHub last commit GitHub top language GitHub issues GitHub Twitter Follow

โš™๏ธ GitOps

GitOps is a set of best practices where the entire code delivery process is controlled via Git, including infrastructure and application definition as code and automation to complete updates and rollbacks.

The core idea of GitOps is to have a git repository that contains declarative descriptions of the desired infrastructure in the production environment and has an automated process to make the production environment match the state described in that repository.

Now that we know the central idea, let's go back a little bit to the acronym GitOps and let's understand the role of git, the role of ops and how they meet.

The Key GitOps Principles:

  • The entire system (infrastructure and applications) is described declaratively.
  • The canonical desired system state is versioned in Git.
  • Changes approved are automated and applied to the system.
  • Software agents ensure correctness and alert on divergence.

New users to GitOps and Argo CD are not often sure how they should structure their repos, add applications, promote apps across environments, and manage the Argo CD installation itself using GitOps.

Example:

argocd-autopilot app create argo-events --app github.com/argoproj/argo-events/blob/master/manifests/namespace-install.yaml -p ops --wait-timeout 2m

Argo CD automates the deployment of the desired application states in the specified target environments. Application deployments can track updates to branches, tags, or pinned to a specific version of manifests at a Git commit. See tracking strategies for additional details about the different tracking strategies available.

Argo Events is an event-driven workflow automation framework for Kubernetes which helps you trigger K8s objects, Argo Workflows, Serverless workloads, etc. on events from a variety of sources like webhooks, S3, schedules, messaging queues, gcp pubsub, sns, sqs, etc.

Argo Rollouts is a Kubernetes controller and set of CRDs which provide advanced deployment capabilities such as blue-green, canary, canary analysis, experimentation, and progressive delivery features to Kubernetes.

Argo Rollouts (optionally) integrates with ingress controllers and service meshes, leveraging their traffic shaping abilities to gradually shift traffic to the new version during an update. Additionally, Rollouts can query and interpret metrics from various providers to verify key KPIs and drive automated promotion or rollback during an update.

Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. Argo Workflows is implemented as a Kubernetes CRD (Custom Resource Definition).

๐Ÿ”ฉ Tooling

Tools Version Deployed
argocd-autopilot v0.3.0 โœ…
argocd 2.3.0 โœ…
argo-events 1.5.5 โœ…
argo-workflows 3.2.8 โœ…
argo-rollouts 1.1.1 โœ…
kustomize โœ…
sealed-secrets 0.17.3 โœ…
istio 1.11.4 โœ…
wordpress 5.9 โœ…
cert-manager 1.6.1 โœ…
prometheus x โœ…
grafana x โœ…
metrics-server 0.5.1 โœ…

๐Ÿ”จ To Do

Issue Description Status
wordpress Fix kustomize โœ…
argo-worflows Fix Build โŒ
yaml-validate Fix CI Workflow โŒ

๐Ÿ› ๏ธ Required Tools

Tools Version
kubectl v1.22.3
argocd-autopilot v0.2.28

๐ŸŒณ Project Structure

.
โ”œโ”€โ”€ apps
โ”‚ย ย  โ”œโ”€โ”€ argo-rollouts
โ”‚ย ย  โ”œโ”€โ”€ backstage
โ”‚ย ย  โ”œโ”€โ”€ cert-manager
โ”‚ย ย  โ”œโ”€โ”€ crossplane
โ”‚ย ย  โ”œโ”€โ”€ grafana
โ”‚ย ย  โ”œโ”€โ”€ istio-base
โ”‚ย ย  โ”œโ”€โ”€ istio-ingress
โ”‚ย ย  โ”œโ”€โ”€ istiod
โ”‚ย ย  โ”œโ”€โ”€ jaeger
โ”‚ย ย  โ”œโ”€โ”€ kiali-operator
โ”‚ย ย  โ”œโ”€โ”€ kubernetes-dashboard
โ”‚ย ย  โ”œโ”€โ”€ loki
โ”‚ย ย  โ”œโ”€โ”€ metrics-server
โ”‚ย ย  โ”œโ”€โ”€ prometheus
โ”‚ย ย  โ”œโ”€โ”€ promtail
โ”‚ย ย  โ”œโ”€โ”€ rollout-demo
โ”‚ย ย  โ”œโ”€โ”€ sealed-secrets
โ”‚ย ย  โ”œโ”€โ”€ sonarqube
โ”‚ย ย  โ””โ”€โ”€ wordpress
โ”œโ”€โ”€ bootstrap
โ”‚ย ย  โ”œโ”€โ”€ argo-cd
โ”‚ย ย  โ””โ”€โ”€ cluster-resources
โ”œโ”€โ”€ infra
โ”‚ย ย  โ””โ”€โ”€ networking
โ”œโ”€โ”€ projects
โ””โ”€โ”€ secrets

๐Ÿ–Š๏ธ Code of Conduct

See CODE-OF-CONDUCT.md.

๐Ÿ”’ Security

See SECURITY.md.

โœจ Contributions

We โค๏ธ contributions big or small. See our guide on how to get started.

Thanks to all our contributors!

gitops's People

Contributors

actions-user avatar caykemanjanelli avatar diegoluisi avatar dioculos avatar gritzkoo avatar merovigiam avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gitops's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update golang:1.21-alpine Docker digest to ed8ce6c
  • Update Helm release wordpress to v21.0.10
  • Update Helm release argo-rollouts to v2.35.1
  • Update Helm release argo-workflows to v0.41.1
  • Update Helm release cost-analyzer to v2.2.0
  • Update Helm release dex to v0.17.0
  • Update Helm release kiali-operator to v1.82.0
  • Update Helm release external-dns to v7
  • Update Helm release jaeger to v2
  • Update Helm release nexus-repository-manager to v64
  • Update Helm release postgresql to v15
  • Update Helm release wordpress to v22
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yaml
dockerfile
Dockerfile
  • golang 1.21-alpine@sha256:d7c6083c5400694f7a17b07c4fad8db9115c0e8e3cf62f781cb29cc890a64e8e
github-actions
.github/workflows/auto-assign.yaml
.github/workflows/main.yaml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • ibiqlik/action-yamllint v3@2576378a8e339169678f9939646ee3ee325e845c
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • stackrox/kube-linter-action v1.0.5@5792edc6a03735d592b13c08201711327a935735
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • github/codeql-action v3@1b1aada464948af03b950897e5eb522f92603cc2
  • ubuntu 22.04
kustomize
apps/argo-rollouts/base/kustomization.yaml
  • argo-rollouts 2.34.3
apps/argo-workflows/base/kustomization.yaml
  • argo-workflows 0.40.14
apps/backstage/overlays/dev/kustomization.yaml
  • devxp-app 0.2.34
  • devxp-infra 0.1.1
  • postgresql 13.4.4
apps/backstage/overlays/prd/kustomization.yaml
  • devxp-app 0.2.34
  • postgresql 12.12.10
apps/cert-manager/base/kustomization.yaml
  • cert-manager v1.14.4
apps/cilium/base/kustomization.yaml
  • cilium 1.15.2
apps/demo-app/overlays/dev/kustomization.yaml
  • devxp-app 0.2.34
apps/demo-app/overlays/prd/kustomization.yaml
  • devxp-app 0.2.34
apps/dex/base/kustomization.yaml
  • dex 0.16.0
  • dex-k8s-authenticator 0.0.3
apps/external-dns/base/kustomization.yaml
  • external-dns 6.38.0
apps/grafana/base/kustomization.yaml
  • grafana 7.3.7
apps/homepage/overlays/dev/kustomization.yaml
  • devxp-app 0.2.34
apps/homepage/overlays/prd/kustomization.yaml
  • devxp-app 0.2.34
apps/hotrod/base/kustomization.yaml
  • devxp-app 0.2.34
apps/istio-ingress/base/kustomization.yaml
  • gateway 1.20.0
apps/istio/base/kustomization.yaml
  • base 1.20.0
  • istiod 1.20.0
apps/jaeger/base/kustomization.yaml
  • jaeger 0.74.1
apps/karpenter/base/kustomization.yaml
  • karpenter v0.29.2
apps/kiali-operator/base/kustomization.yaml
  • kiali-operator 1.81.0
apps/kube-downscaler/base/kustomization.yaml
  • kube-downscaler 0.7.4
apps/kube-prometheus-stack/base/kustomization.yaml
  • kube-prometheus-stack 57.2.0
apps/kubeclarity/base/kustomization.yaml
  • kubeclarity v2.23.1
apps/kubecost/base/kustomization.yaml
  • cost-analyzer 2.1.1
apps/kyverno/base/kustomization.yaml
  • kyverno 3.0.1
apps/loki/base/kustomization.yaml
  • loki 5.45.0
apps/metrics-server/base/kustomization.yaml
  • metrics-server 3.10.0
apps/mimir/base/kustomization.yaml
  • mimir-distributed 5.2.3
apps/nexus/base/kustomization.yaml
  • nexus-repository-manager 46.0.0
apps/opentelemetry/base/kustomization.yaml
  • opentelemetry-operator 0.53.0
apps/promtail/base/kustomization.yaml
  • promtail 6.15.5
apps/sealed-secrets/base/kustomization.yaml
  • sealed-secrets 2.7.3
apps/sonarqube/base/kustomization.yaml
  • sonarqube 10.4.1+2389
apps/template-java/overlays/dev/kustomization.yaml
  • devxp-app 0.2.34
apps/template-java/overlays/prd/kustomization.yaml
  • devxp-app 0.2.34
apps/tempo/base/kustomization.yaml
  • tempo 1.7.2
apps/teste-loki/overlays/dev/kustomization.yaml
  • devxp-app 0.2.34
apps/teste-loki/overlays/prd/kustomization.yaml
  • devxp-app 0.2.34
apps/wordpress/base/kustomization.yaml
  • wordpress 21.0.9
bootstrap/argo-cd/kustomization.yaml
  • argoproj-labs/argocd-autopilot v0.4.17

  • Check this box to trigger a request for Renovate to run again on this repository

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid regExp for kustomize.fileMatch: apps/**/overlays/dev/(^|/)kustomization\.ya?ml$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.