Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # Kubernetes名前解決
  2.  
  3. Podの/etc/resolv.confには以下がデフォルトで設定されている
  4.  
  5. ```
  6. nameserver 10.96.0.xxx
  7. search Namespace名.svc.cluster.local svc.cluster.local cluster.local localdomain
  8. options ndots:5
  9. ```
  10.  
  11. #### Pod名.Namespace名.svc.cluster.localでポッドの名前解決ができる。
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement