
export namespace=cq-ws-260319

kubectl rollout restart deployment -n "${namespace}" -l cmii.type=frontend,octopus.control=frontend-app-wdd

kubectl rollout restart deployment -n "${namespace}" -l cmii.type=backend,octopus/control=backend-app-1.0.0

kubectl rollout restart daemonset/nginx-ingress-controller -n ingress-nginx

kubectl rollout status daemonset/nginx-ingress-controller -n ingress-nginx
# 等待输出: daemon set "nginx-ingress-controller" successfully rolled out
