LoginSignup
2
1

More than 1 year has passed since last update.

k8sのディレクトリ設計の個人的に好きな管理

Posted at

k8s+argocdでリソースを管理するときの構成について記述してみました。

.
├── argocd
│   ├── application //基本applyするときはここのみ
│   │   ├── dev
│   │   │   └── <※1の名前>
│   │   │       └──  <※1の名前>.yaml
│   │   └── prod
│   │       └── <※1の名前>
│   │           └── <※1の名前>.yaml
│   └── ns.yaml // argocdのns
├── <argocdにapplyさせるk8sリソースの名前 ※1>
│   ├── <argocdにapplyさせるk8sリソースの名前> //基本この中身がargocdによってk8s-clusterの中に展開される
│   │   ├── configmap.yaml
│   │   ├── deployment.yaml
│   │   ├── secret.yaml
│   │   ├── statefulset.yaml
│   │   └── svc.yaml
│   └── ns.yaml
└── readme.md

terraformバージョンはこちら

おまけ

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1