Helm/Camunda: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 22: Line 22:
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
helm upgrade --install -f values.yaml jenkins jenkins/jenkins
helm upgrade --install -f values.yaml camunda camunda/camunda-platform
helm upgrade --install jenkins jenkins/jenkins
helm upgrade --install camunda camunda/camunda-platform
helm show values jenkins/jenkins
helm show values camunda/camunda-platform
</syntaxhighlight>
</syntaxhighlight>


| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- ls -lah /var|grep jenkins
kubectl exec -n camunda -it svc/camunda -c camunda -- ls -lah /var|grep camunda
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- ls -lah /var
kubectl exec -n camunda -it svc/camunda -c camunda -- ls -lah /var
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- bash
kubectl exec -n camunda -it svc/camunda -c camunda -- bash
</syntaxhighlight>
</syntaxhighlight>


Line 40: Line 40:
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
kubectl delete all --all -n jenkins
kubectl rollout restart deploy camunda -n camunda
kubectl delete ing --all -n jenkins
kubectl rollout restart sts camunda -n camunda
kubectl delete sts --all -n jenkins
kubectl logs -f camunda-0 -c init -n camunda
kubectl logs -f camunda-0 -n camunda
</syntaxhighlight>
</syntaxhighlight>


| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
kubectl delete svc --all -n jenkins
kubectl config --kubeconfig=${HOME}/.kube/aws-kubeconfig.yaml view --flatten
kubectl delete pvc --all -n jenkins
kubectl config --kubeconfig=${HOME}/.kube/dev-kubeconfig.yaml view --flatten
kubectl delete pv  --all -n jenkins
kubectl config --kubeconfig=${HOME}/.kube/gcp-kubeconfig.yaml view --flatten
kubectl config --kubeconfig=${HOME}/.kube/config view --flatten
</syntaxhighlight>
 
|-
| colspan="2" |
----
|-
| valign="top" |
<syntaxhighlight lang="bash">
kubectl delete all --all -n camunda
kubectl delete ing --all -n camunda
kubectl delete sts --all -n camunda
</syntaxhighlight>
 
| valign="top" |
<syntaxhighlight lang="bash">
kubectl delete svc --all -n camunda
kubectl delete pvc --all -n camunda
kubectl delete pv  --all -n camunda
</syntaxhighlight>
</syntaxhighlight>


Line 58: Line 78:
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
kubectl rollout restart deploy jenkins -n jenkins
kubectl get pvc -n camunda -l app.kubernetes.io/instance=camunda
kubectl rollout restart sts jenkins -n jenkins
kubectl get pvc -n camunda -l release=camunda
kubectl logs -f jenkins-0 -c init -n jenkins
kubectl logs -f jenkins-0 -n jenkins
</syntaxhighlight>
</syntaxhighlight>


| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
kubectl config --kubeconfig=${HOME}/.kube/aws-kubeconfig.yaml view --flatten
kubectl delete pvc -n camunda -l app.kubernetes.io/instance=camunda
kubectl config --kubeconfig=${HOME}/.kube/dev-kubeconfig.yaml view --flatten
kubectl delete pvc -n camunda -l release=camunda
kubectl config --kubeconfig=${HOME}/.kube/gcp-kubeconfig.yaml view --flatten
kubectl config --kubeconfig=${HOME}/.kube/config view --flatten
</syntaxhighlight>
</syntaxhighlight>



Revision as of 08:40, 6 June 2024

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