Skip to content

mosuke5/openshift-gitops-pattern

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift GitOps Pattern

Configuration Management (configuration-management)

  • Namespace
    Kustomize を導入し、マニフェストの差分をディレクトリ構成により管理
  • OCP クラスタ
    ディレクトリ構成 / Kustomize Component により管理

Direcotry Path Pettern (dir-path)

  • マニフェストの差分を OCP クラスタ x Namespace ごとのパスで管理
  • クラスタレベルの設定変更は各 Namespace ごとに設定が必要

Component Pettern (components)

  • 各クラスタ固有の設定を Kustomize Component で管理
  • 各クラスタ固有の設定と Namespace の設定を分離できる

App Deploy with OpenShift Template (app-deploy-with-template)

通常のデプロイ方法は以下

Getting Started with JBoss EAP for OpenShift Container Platform

$ oc new-project ns-env1
$ oc apply -k overlays/cluster-pt/ns-env-1
$ oc apply -f base/jboss-eap74-openjdk8-openshift-is.yaml
$ oc apply -f base/jboss-eap74-openjdk8-runtime-openshift-is.yaml
$ oc process -f base/eap74-basic-s2i-template.yaml --param-file overlays/cluster-pt/ns-env-1/configs/eap74-basic-s2i-template-param.txt | oc apply -f -

ArgoCD Config Management Plugin Pettern (argocd-cmp)

ArgoCD の Config Management Plugin により OpenShift Template によるマニフェスト生成処理を追加

Kustomize Plugin Pettern (kustomize-plugin)

kustomize generator plugin により OpenShift Template によるマニフェスト生成処理を追加

About

OpenShift GitOps Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%