Docs/CloudNative/Kubernetes/Base/DNS.md
2022-10-18 16:59:37 +08:00

10 lines
No EOL
455 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

```
Service
A record生成 my-svc.my-namespace.svc.cluster.local解析 IP 分为两种情况
普通 Service 解析为 Cluster IP
Headless Service 解析为指定的 Pod IP 列表
SRV record生成 _my-port-name._my-port-protocol.my-svc.my-namespace.svc.cluster.local
Pod
A recordpod-ip-address.my-namespace.pod.cluster.local
指定 hostname 和 subdomainhostname.custom-subdomain.default.svc.cluster.local
```