Helm/Camunda: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
==Playground== | ==Playground== | ||
{| | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
helm upgrade --install -f values.yaml jenkins jenkins/jenkins | |||
helm upgrade --install jenkins jenkins/jenkins | |||
helm show values jenkins/jenkins | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- ls -lah /var|grep jenkins | |||
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- ls -lah /var | |||
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- bash | |||
</syntaxhighlight> | |||
|- | |||
| colspan="2" | | |||
---- | |||
|- | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
kubectl delete all --all -n jenkins | |||
kubectl delete ing --all -n jenkins | |||
kubectl delete sts --all -n jenkins | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
kubectl delete svc --all -n jenkins | |||
kubectl delete pvc --all -n jenkins | |||
kubectl delete pv --all -n jenkins | |||
</syntaxhighlight> | |||
|- | |||
| colspan="2" | | |||
---- | |||
|- | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
kubectl rollout restart deploy jenkins -n jenkins | |||
kubectl rollout restart sts jenkins -n jenkins | |||
kubectl logs -f jenkins-0 -c init -n jenkins | |||
kubectl logs -f jenkins-0 -n jenkins | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | |||
|} | |||
==References== | ==References== |
Revision as of 08:33, 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 jenkins jenkins/jenkins
helm upgrade --install jenkins jenkins/jenkins
helm show values jenkins/jenkins
|
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- ls -lah /var|grep jenkins
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- ls -lah /var
kubectl exec -n jenkins -it svc/jenkins -c jenkins -- bash
|
| |
kubectl delete all --all -n jenkins
kubectl delete ing --all -n jenkins
kubectl delete sts --all -n jenkins
|
kubectl delete svc --all -n jenkins
kubectl delete pvc --all -n jenkins
kubectl delete pv --all -n jenkins
|
| |
kubectl rollout restart deploy jenkins -n jenkins
kubectl rollout restart sts jenkins -n jenkins
kubectl logs -f jenkins-0 -c init -n jenkins
kubectl logs -f jenkins-0 -n jenkins
|
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
|
References
| ||
| ||