Helm/Keda: Difference between revisions
Jump to navigation
Jump to search
(10 intermediate revisions by the same user not shown) | |||
Line 43: | Line 43: | ||
helm uninstall -n keda keda | helm uninstall -n keda keda | ||
kubectl delete namespace keda | kubectl delete namespace keda | ||
kubectl get crd|grep keda.sh | |||
kubectl delete crd scaledjobs.keda.sh | |||
kubectl delete crd scaledobjects.keda.sh | |||
kubectl delete crd triggerauthentications.keda.sh | |||
kubectl delete crd cloudeventsources.eventing.keda.sh | |||
kubectl delete crd clustertriggerauthentications.keda.sh | |||
kubectl delete crd clustercloudeventsources.eventing.keda.sh | |||
kubectl get apiservice | |||
kubectl delete apiservice v1beta1.external.metrics.k8s.io | |||
kubectl patch ns keda -p '{"metadata":{"finalizers":null}}'s":null}}' | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 49: | Line 62: | ||
| colspan="2" | | | colspan="2" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
helm -n | helm -n keda install fission kedacore/keda --version=2.15.0 | ||
helm -n | helm -n keda upgrade -i fission kedacore/keda --version=2.16.0 | ||
helm show values kedacore/keda --version=2.15.0|less | helm show values kedacore/keda --version=2.15.0|less | ||
kubectl get crd|grep keda.sh | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 109: | Line 124: | ||
* [[Helm/Prometheus Stack|Helm » Prometheus Stack]] | * [[Helm/Prometheus Stack|Helm » Prometheus Stack]] | ||
* [[Helm/Cert Manager|Helm » Cert Manager]] | * [[Helm/Cert Manager|Helm » Cert Manager]] | ||
* [ | * [[Helm/Fission|Helm » Fission]] | ||
* [[Helm/MinIO|Helm » MinIO]] | * [[Helm/MinIO|Helm » MinIO]] | ||
* [[Helm]] | * [[Helm]] | ||
| valign="top" | | | valign="top" | | ||
Line 150: | Line 149: | ||
| valign="top" | | | valign="top" | | ||
* [https://stackoverflow.com/questions/52369247/ K8s » Namespace "stuck" as Terminating] | |||
* [https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/ K8s » <code>kubectl rollout</code>] | * [https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/ K8s » <code>kubectl rollout</code>] | ||
* [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]] | * [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]] |
Latest revision as of 19:25, 24 November 2024
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
kubectl get crd|grep keda.sh
kubectl delete crd scaledjobs.keda.sh
kubectl delete crd scaledobjects.keda.sh
kubectl delete crd triggerauthentications.keda.sh
kubectl delete crd cloudeventsources.eventing.keda.sh
kubectl delete crd clustertriggerauthentications.keda.sh
kubectl delete crd clustercloudeventsources.eventing.keda.sh
kubectl get apiservice
kubectl delete apiservice v1beta1.external.metrics.k8s.io
kubectl patch ns keda -p '{"metadata":{"finalizers":null}}'s":null}}'
Playground
helm -n keda install fission kedacore/keda --version=2.15.0
helm -n keda upgrade -i fission kedacore/keda --version=2.16.0
helm show values kedacore/keda --version=2.15.0|less
kubectl get crd|grep keda.sh
| |
| |
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
| ||