23 Haziran 2022 Perşembe

kubectl wait seçeneği

Giriş
--for condition = available deployment şeklinde kullanılır

Örnek
Şöyle yaparız
# Add the Repo
helm repo add datawire https://app.getambassador.io helm repo update # Create Namespace kubectl create namespace emissary && \ kubectl apply -f https://app.getambassador.io/yaml/emissary/2.2.2/emissary-crds.yaml kubectl wait --timeout=90s --for=condition=available deployment emissary-apiext \ -n emissary-system # Install helm install emissary-ingress --namespace emissary datawire/emissary-ingress && \ kubectl -n emissary wait --for condition=available --timeout=90s deploy \ -lapp.kubernetes.io/instance=emissary-ingress

Hiç yorum yok:

Yorum Gönder

Cluster Propotional Autoscaler - ReplicaSet Ekler/Siler

Giriş Açıklaması şöyle CPA aims to horizontally scale the number of Pod replicas based on the cluster’s scale. A common example is DNS ser...