Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-ethr/cluster-management
Kubernetes GitOps
https://github.com/x-ethr/cluster-management
ethr flux gitops kubernetes x-ethr
Last synced: about 1 month ago
JSON representation
Kubernetes GitOps
- Host: GitHub
- URL: https://github.com/x-ethr/cluster-management
- Owner: x-ethr
- License: bsd-3-clause
- Created: 2024-05-28T03:17:10.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T01:23:43.000Z (5 months ago)
- Last Synced: 2024-08-09T02:26:43.736Z (5 months ago)
- Topics: ethr, flux, gitops, kubernetes, x-ethr
- Homepage:
- Size: 390 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cluster-management
Kubernetes GitOps for Management Cluster(s)
## New Cluster Provisioning
*Local* - Create cluster.
```bash
kind create cluster --config "configuration.yaml"
kubectl config set-context "$(printf "%s-kind" "kind")"
```Bootstrap.
```bash
flux bootstrap github --repository "https://github.com/iac-factory/cluster-management" \
--owner "iac-factory" \
--private "false" \
--personal "false" \
--path "clusters/local"
```Sync local cluster repository's `vendors`.
```bash
git submodule update --remote --recursive
```Add `kustomization.yaml` to new cluster directory.
```bash
cat << EOF > ./vendors/cluster-management/clusters/local/kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: []
EOF
```Update.
```bash
git submodule foreach "git add . && git commit --message \"Git Submodule Update(s)\" && git push -u origin HEAD:main"
```## References
- https://kiali.io/docs/configuration/kialis.kiali.io/#example-cr