Helm/Camunda

From Chorke Wiki
Jump to navigation Jump to search
helm repo add camunda https://helm.camunda.io
helm repo update
helm repo list

Config

export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/config"

Install

Uninstall

helm uninstall -n camunda camunda
kubectl delete namespace camunda

Playground

helm upgrade --install -f values.yaml camunda camunda/camunda-platform
helm upgrade --install camunda camunda/camunda-platform
helm show values camunda/camunda-platform
kubectl exec -n camunda -it svc/camunda -c camunda -- ls -lah /var|grep camunda
kubectl exec -n camunda -it svc/camunda -c camunda -- ls -lah /var
kubectl exec -n camunda -it svc/camunda -c camunda -- bash

kubectl rollout restart deploy camunda -n camunda
kubectl rollout restart sts camunda -n camunda
kubectl logs -f camunda-0 -c init -n camunda
kubectl logs -f camunda-0 -n camunda
kubectl config --kubeconfig=${HOME}/.kube/aws-kubeconfig.yaml view --flatten
kubectl config --kubeconfig=${HOME}/.kube/dev-kubeconfig.yaml view --flatten
kubectl config --kubeconfig=${HOME}/.kube/gcp-kubeconfig.yaml view --flatten
kubectl config --kubeconfig=${HOME}/.kube/config view --flatten

kubectl delete all --all -n camunda
kubectl delete ing --all -n camunda
kubectl delete sts --all -n camunda
kubectl delete svc --all -n camunda
kubectl delete pvc --all -n camunda
kubectl delete pv  --all -n camunda

kubectl get pvc -n camunda -l app.kubernetes.io/instance=camunda
kubectl get pvc -n camunda -l release=camunda
kubectl delete pvc -n camunda -l app.kubernetes.io/instance=camunda
kubectl delete pvc -n camunda -l release=camunda

References