22 lines
803 B
Bash
22 lines
803 B
Bash
kind create cluster --name minecraft
|
|
helm repo add argo https://argoproj.github.io/argo-helm
|
|
helm repo update
|
|
helm install argo argo/argo-cd --namespace argocd --create-namespace
|
|
kubectl port-forward service/argo-argocd-server -n argocd 8080:443
|
|
argocd admin initial-password -n argocd
|
|
argocd login localhost:8080
|
|
argocd app list
|
|
argocd app create minecraft --repo https://github.com/waylonwalker/minecraft-servers --path active --dest-server https://kubernetes.default.svc --dest-namespace minecraft
|
|
argocd app list
|
|
argocd app sync minecraft
|
|
argocd app list
|
|
argocd app set minecraft --sync-policy automated --auto-prune
|
|
argocd app list
|
|
argocd app get minecraft
|
|
|
|
# ---
|
|
helm repo update \
|
|
&& helm upgrade openfaas \
|
|
--install openfaas/openfaas \
|
|
--namespace openfaas \
|
|
--create-namespace
|