kubernetes获取cluster_domain

  sre


默认:

svc.cluster.local

awk

awk '1 ~ /search/ { print2 }' /etc/resolv.conf

awk

awk '/search/{print $2}' /etc/resolv.conf

LEAVE A COMMENT

Captcha Code