nginx 刷新 NGINX_PODNAME=$(kubectl get pod | grep community-nginx | awk ‘{print $1}’) echo $NGINX_PODNAME kubectl exec -it $NGINX_PODNAME — nginx -c /etc/nginx/nginx.conf kubectl exec -it $NGINX_PODNAME — nginx -s reload