Helm/Camunda: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with " helm repo add camunda https://helm.camunda.io helm repo update helm repo list ==Config== <syntaxhighlight lang="properties"> export KUBECONFIG="${HOME}/.kube/dev-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml" export KUBECONFIG="${HOME}/.kube/config" </syntaxhighlight> ==Install== ==Uninstall== <syntaxhighlight lang="bash"> helm uninstall -n camunda camunda kubectl delete namespace camunda </syntaxhighlight> ==Playground== ==References== {|...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
  helm repo add camunda https://helm.camunda.io
  helm repo add camunda https://helm.camunda.io
  helm repo update
  helm repo update && helm repo list
helm repo list
kubectl config get-contexts


==Config==
==Config==
Line 11: Line 11:


==Install==
==Install==
<syntaxhighlight lang="yaml">
kubectl create namespace camunda
cat <<YML | helm install -n camunda camunda camunda/camunda-platform --version 8.1 -f -
global:
  image:
    tag: 8.1.27
connectors:
  image:
    repository: camunda/connectors-bundle
    tag: 0.16.1
identity:
  keycloak:
    image:
      repository: bitnami/keycloak
      tag: 16.1.1
    postgresql:
      image:
        repository: bitnami/postgresql
        tag: 14.5.0
optimize:
  image:
    repository: camunda/optimize
    tag: 3.9.5
  env:
  - name: CAMUNDA_OPTIMIZE_IDENTITY_REDIRECT_ROOT_URL
    value: "{{ .Values.global.identity.auth.optimize.redirectUrl }}"
webModeler:
  image:
    tag: 0.8.0-beta
elasticsearch:
  image: docker.elastic.co/elasticsearch/elasticsearch
  imageTag: 7.17.21
retentionPolicy:
  image:
    repository: bitnami/elasticsearch-curator-archived
    tag: 5.8.4
YML
</syntaxhighlight>


==Uninstall==
==Uninstall==
Line 19: Line 57:


==Playground==
==Playground==
{|
| valign="top" |
<syntaxhighlight lang="bash">
helm upgrade --install -f values.yaml camunda camunda/camunda-platform
helm upgrade --install camunda camunda/camunda-platform
helm show values camunda/camunda-platform
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
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
</syntaxhighlight>
|-
| colspan="2" |
----
|-
| valign="top" |
<syntaxhighlight lang="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
</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>
|-
| 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>
|-
| colspan="2" |
----
|-
| valign="top" |
<syntaxhighlight lang="bash">
kubectl get pvc -n camunda -l app.kubernetes.io/instance=camunda
kubectl get pvc -n camunda -l release=camunda
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
kubectl delete pvc -n camunda -l app.kubernetes.io/instance=camunda
kubectl delete pvc -n camunda -l release=camunda
</syntaxhighlight>
|-
| colspan="2" |
----
|-
| valign="top" |
<syntaxhighlight lang="bash">
kubectl port-forward -n camunda svc/camunda-operate  8081:80
kubectl port-forward -n camunda svc/camunda-tasklist 8082:80
kubectl port-forward -n camunda svc/camunda-optimize 8083:80
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
kubectl port-forward -n camunda svc/camunda-zeebe-gateway 26500:26500
kubectl port-forward -n camunda svc/camunda-keycloak 18080:80
kubectl port-forward -n camunda svc/camunda-identity 8080:80
</syntaxhighlight>
|}


==References==
==References==
Line 24: Line 150:
| valign="top" |
| valign="top" |
* [https://stackoverflow.com/questions/75596795/ Helm » Pass YAML/JSON using <code>stdin</code>]
* [https://stackoverflow.com/questions/75596795/ Helm » Pass YAML/JSON using <code>stdin</code>]
* [https://artifacthub.io/packages/helm/camunda/camunda-platform Helm » Camunda » Platform]
* [[Helm/Prometheus Stack|Helm » Prometheus Stack]]
* [https://helm.camunda.io/  Helm » Camunda » Install]
* [https://helm.camunda.io/  Helm » Camunda » Install]
* [https://github.com/camunda/camunda-platform-helm Helm » Camunda » SCM]
* [https://github.com/camunda/camunda-platform-helm Helm » Camunda » SCM]
* [[Helm/Cert Manager|Helm » Cert Manager]]
* [https://github.com/camunda/camunda-platform-helm Helm » Camunda]
* [https://github.com/camunda/camunda-platform-helm Helm » Camunda]
* [[Helm]]
* [[Helm]]
Line 50: Line 179:


| valign="top" |
| valign="top" |
* [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]]
* [[Camunda]]
* [[Camunda]]



Latest revision as of 12:14, 22 August 2024

helm repo add camunda https://helm.camunda.io
helm repo update && helm repo list
kubectl config get-contexts

Config

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

Install

kubectl create namespace camunda
cat <<YML | helm install -n camunda camunda camunda/camunda-platform --version 8.1 -f -
global:
  image:
    tag: 8.1.27
connectors:
  image:
    repository: camunda/connectors-bundle
    tag: 0.16.1
identity:
  keycloak:
    image:
      repository: bitnami/keycloak
      tag: 16.1.1
    postgresql:
      image:
        repository: bitnami/postgresql
        tag: 14.5.0
optimize:
  image:
    repository: camunda/optimize
    tag: 3.9.5
  env:
  - name: CAMUNDA_OPTIMIZE_IDENTITY_REDIRECT_ROOT_URL
    value: "{{ .Values.global.identity.auth.optimize.redirectUrl }}"
webModeler:
  image:
    tag: 0.8.0-beta
elasticsearch:
  image: docker.elastic.co/elasticsearch/elasticsearch
  imageTag: 7.17.21
retentionPolicy:
  image:
    repository: bitnami/elasticsearch-curator-archived
    tag: 5.8.4
YML

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

kubectl port-forward -n camunda svc/camunda-operate  8081:80
kubectl port-forward -n camunda svc/camunda-tasklist 8082:80
kubectl port-forward -n camunda svc/camunda-optimize 8083:80
kubectl port-forward -n camunda svc/camunda-zeebe-gateway 26500:26500
kubectl port-forward -n camunda svc/camunda-keycloak 18080:80
kubectl port-forward -n camunda svc/camunda-identity 8080:80

References