Helm/Keda

From Chorke Wiki
Revision as of 18:22, 24 November 2024 by Shahed (talk | contribs) (Created page with " helm repo add kedacore https://kedacore.github.io/charts helm repo update && helm repo list kubectl config get-contexts ==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== {| |valign="top"| <syntaxhighlight lang="bash"> kubectl get ns|grep keda kubectl delete ns keda </syntaxhighlight> |vali...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
helm repo add kedacore https://kedacore.github.io/charts
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 get ns|grep keda
kubectl delete ns   keda
kubectl get ns|grep keda
kubectl create ns   keda

cat <<YML | helm -n keda install keda kedacore/keda --version=2.16.0 -f -
---
clusterName: minikube
clusterDomain: cluster.local
YML

Uninstall

helm uninstall -n keda   keda
kubectl delete namespace keda

Playground

helm -n fission install    fission kedacore/keda --version=2.15.0
helm -n fission upgrade -i fission kedacore/keda --version=2.16.0
helm show values kedacore/keda --version=2.15.0|less

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 -n keda delete all --all
kubectl -n keda delete ing --all
kubectl -n keda delete sts --all
kubectl -n keda delete svc --all
kubectl -n keda delete pvc --all
kubectl -n keda delete pv  --all

kubectl -n keda rollout history deploy keda-operator-metrics-apiserver
kubectl -n keda rollout status  deploy keda-admission-webhooks
kubectl -n keda rollout restart deploy keda-operator
kubectl -n keda logs -f svc/keda-operator-metrics-apiserver
kubectl -n keda logs -f svc/keda-admission-webhooks
kubectl -n keda logs -f svc/keda-operator

References