Commit Graph

68 Commits

Author SHA1 Message Date
Mengjiao Liu e8b136c3b3 Use code_sample shortcode instead of code shortcode 2023-09-05 17:10:14 +08:00
Tim Bannister 20b43d6095
Merge branch 'main' into 'dev-1.28' 2023-08-09 11:13:31 +01:00
Mengjiao Liu 68ba9633a2 Switch English to use code not codenew shortcode 2023-08-01 16:57:17 +08:00
Andrey Goran eb522c126f
Replace {{< codenew ... >}} with {{% codenew ... %}} in all English docs (#42180)
* Replaced {{< codenew ... >}} with {{% codenew ... %}} in all files

* Reverted changes in non-english localizations
2023-07-25 05:54:06 -07:00
Gunju Kim 29b7887d38
Mark ExpandedDNSConfig feature to stable 2023-07-25 21:21:13 +09:00
Gunju Kim 8d42b3a9a0
Update ExpandedDNSConfig docs for GA 2023-05-31 09:19:14 +09:00
Reeta Singh f78e3bf0e5
updating Pod DNS config example to use documentation IP address (#39169)
* updating Pod DNS config example to use documentation IP address

* add this is an example in note

* empty commit
2023-02-07 22:44:59 -08:00
carolina valencia 7cd85d1fc4 Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-12-07 11:40:37 -03:00
Kubernetes Prow Robot 86794dc5e7
Merge pull request #37898 from thockin/master
Clarify Pod/Service DNS a little
2022-12-06 05:36:36 -08:00
carolina valencia b4ad83ef13 Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-11-24 11:49:25 -03:00
Chris Seto e2c34dff6c Correct misleading wording in Pod DNS Policies
A debugging rabbit hole lead me to digging around kublet's behavior
regarding certain DNS Policies.

This commit updates some potentially misleading wordings to more
correctly convey kubelet's behavior which was discovered after some
rabbit hole debugging of DNS Policies.

The ClusterFirst policy documentation would imply that the resolve.conf
of a Pod would contain a fallback to the Node's nameserver. This is not
the cause, [kubelet explicitly
mentions](4276ed3628/pkg/kubelet/network/dns/dns.go (L403-L407))
that the fallback is handled by whatever system is running kube-dns or
coredns which dramatically changes the behavior of the system when the
cluster's DNS is unavailable.

The ClusterFirstWithHostNet policy is lacking any amount of detail as to
why one would desire to use it. This commit doesn't go into complete
detail but adds an important note about the behavior of `hostNetwork`
when not using the `ClusterFirstWIthHostNet` Policy.
2022-11-22 16:45:23 -05:00
Tim Hockin aa67276f2c
Clarify Pod/Service DNS a little 2022-11-18 15:41:20 -08:00
carolina valencia 4d9111a85c Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-11-08 18:17:11 -03:00
Haosdent Huang fbdd10071f KubeCon Docs Sprint: Update page weights for content/en/docs/concepts/services-networking. 2022-10-24 15:38:32 -04:00
Gunju Kim a2b4c34eca
Add DNS search domain list limits and remove resolved DNS issue 2022-10-20 21:43:33 +09:00
Kubernetes Prow Robot b8c355df0d
Merge pull request #37389 from sachinparihar/master
Remove the Introduction heading from DNS for Services and Pods page
2022-10-19 17:14:57 -07:00
sachinparihar a110463b7f Removed the Introduction title from DNS for Services and Pods page 2022-10-19 22:01:39 +05:30
Tim Bannister 1eef742465
Favor EndpointSlice over Endpoints
Document EndpointSlice as the preferred and most appropriate mechanism
to record the backing endpoints of a Service.

Co-authored-by: Rob Scott <rob.scott87@gmail.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-10-11 12:38:39 +01:00
Kubernetes Prow Robot d29b547ea7
Merge pull request #36671 from sftim/20220110_reorganize_services_load_balancing_networking
Reorganize “Services, Load Balancing, and Networking” concept
2022-09-21 17:39:08 -07:00
Antonio Ojea 86264eae3b use use IPv6 Address Prefix Reserved for Documentation 2022-09-08 11:45:07 +02:00
Tim Bannister 3970b2be71
Reorganize "Services, Load Balancing, and Networking" concept
- Add descriptions
- Change page weights
2022-09-07 20:36:04 +01:00
William Steinford d6a1ba2a6d Fix the grammar by using the verb form 'set up' where appropriate instead of the noun 'setup' 2022-08-08 16:48:26 -04:00
song ea450fb176 formatting Pod and Service
Signed-off-by: song <tinysong1226@gmail.com>
2022-05-30 00:18:36 +08:00
Kinzhi 6475a8e5b6 [en]Update content/en/docs/concepts/services-networking/dns-pod-service.md 2022-05-28 19:33:46 +08:00
Mark Rossetti 4d9e6d736b
Windows documentation overhaul (#33582)
* Move Windows storage concepts to a new page

- Move FlexVolume plugins section to docs/concepts/storage/volumes.md
- Move CSI plugins section to en/docs/concepts/storage/volumes.md
- Move in-tree plugins section to en/docs/concepts/storage/volumes.md

* Moving networking related content in
/docs/setup/production-environment/windows to various locations
- Moving windows DNS limitations to/docs/concepts/services-networking/dns-pod-service.md
- Moving windows session sticky time disclaimer to /docs/concepts/services-networking/service.md
- Moving windows dual stack support info to /docs/concepts/services-networking/dual-stack.md
- Moving generic Windows content to
/docs/concepts/services-networking/windows-networking.md

Signed-off-by: Mark Rossetti <marosset@microsoft.com>

* Moving Windows troubleshooting topics to /tasks/debug-application-cluster/

Signed-off-by: Mark Rossetti <marosset@microsoft.com>

* Moving windows containers user guide out of /setup/production-environment/

Signed-off-by: Mark Rossetti <marosset@microsoft.com>

* fixup! Moving windows containers user guide out of /setup/production-environment/

* moving intro-windows-in-kubernetes content out of /setup/production-environment/

Signed-off-by: Mark Rossetti <marosset@microsoft.com>

Co-authored-by: Aravindh Puthiyaparambil <aravindh@redhat.com>
2022-05-26 17:19:55 -07:00
Mitesh Jain bcc87b7c34
Remove stale information about pod dnsConfig. 2022-04-11 20:58:24 +05:30
Yashodhan Mohan Bhatnagar 3a6fa8fea2 Correcting DNS record for pods exposed by a Service
For pods, DNS record incorrectly specifies deployment name
instead of service name. This commit corrects that.
2022-01-17 01:39:01 +05:30
Kubernetes Prow Robot 5cad9834f7
Merge pull request #28626 from sandipb/patch-1
dns-pod-service.md: Fix unqualified host search ex
2021-11-27 10:38:40 -08:00
xiao.li abadaf1ead Fix the page links to a section that doesn't exist 2021-10-01 14:25:25 -07:00
Christopher Negus 548ba073da Merge main into dev-1.22 to keep in sync 2021-07-09 18:19:13 +00:00
Sandip Bhattacharya 08506d03da
dns-pod-service.md: Fix unqualified host search ex
Unless I am mistake, according to the provided search config, the query for `data` is missing the `svc` component in the full search.
2021-06-25 13:15:19 +02:00
Kubernetes Prow Robot cdfdd3eda3
Merge pull request #27717 from kpanic9/patch-1
Corrected service dns name
2021-06-23 13:34:10 -07:00
Victor Palade 1064c8dcff Merge master into dev-1.22 to keep in sync. 2021-06-22 19:52:26 +02:00
chenxuc 97a453a505 Update feature availability for dns-pod-service
Removed the outdated availability section and add feature state
shortcode.
2021-06-12 16:24:35 +08:00
Javier Diaz-Montes e16b64c43e Updating docs to reflect graduation of setHostnameAsFQDN feature to GA. KEP PR: kubernetes/enhancements#2641, Kubernetes PR: kubernetes/kubernetes#101294 2021-06-09 14:00:17 -04:00
Gunju Kim 30d4d4ee68 Add ExpandedDNSConfig feature gate 2021-05-27 20:20:30 +09:00
Namesh Sanjitha 7dda1ca2e7
Corrected service dns name
I think data.prod.cluster.local should change to data.prod.svc.cluster.local
2021-04-26 06:53:52 +10:00
Geoffrey Cline 5ead4bf8e8 revise docs for service DNS 2021-03-02 20:08:14 +00:00
Karen Bradshaw 3fd65482e8 clean up use of word: simply 2021-02-07 12:15:29 -05:00
Javier Diaz-Montes c29185dac5 Updating doc to reflect that setHostnameAsFQDN feature will be beta in v1.20 2020-10-20 07:17:24 -04:00
Amos Chu ad13389bf7
fix typo in content/en/docs/concepts/services-networking/dns-pod-service.md 2020-10-13 17:22:27 +08:00
Kubernetes Prow Robot 70b75e16f0
Merge pull request #22981 from shuuji3/en/replace-special-quote-with-normal-ones
Replace special quote characters with normal ones
2020-08-26 14:55:02 -07:00
TAKAHASHI Shuuji c6a96128c4
Replace special quote characters with normal ones. 2020-08-11 21:05:22 +09:00
Savitha Raghunathan 53c71ad3f9 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-08-03 16:09:39 -04:00
Eric Pederson 19a8bbc82b
Add non-exposed Pod DNS name (#22797)
* Add Pod DNS name

I could not get the hostname/subdomain example to work.  For example:
```
$ kubectl describe svc busybox1                                               
Name:              busybox1
Namespace:         default
Labels:            name=busybox
Annotations:       <none>
Selector:          name=busybox
Type:              ClusterIP
IP:                10.109.13.10
Port:              <unset>  9000/TCP
TargetPort:        9000/TCP
Endpoints:         172.17.0.6:9000
Session Affinity:  None
Events:            <none>

$ kubectl get ep busybox1   
NAME       ENDPOINTS         AGE
busybox1   172.17.0.6:9000   4m5s

$ kubectl get pod busybox1 -o jsonpath="{.metadata.labels} {.spec.hostname} {.spec.subdomain}"
map[name:busybox] busybox-1 default-subdomain

$ kubectl exec  busybox -- nslookup busybox-1.default-subdomain.default.svc.cluster.local
nslookup: can't resolve 'busybox-1.default-subdomain.default.svc.cluster.local'
Server:    10.96.0.10
Address 1: 10.96.0.10 kube-dns.kube-system.svc.cluster.local

command terminated with exit code 1
```

* Update content/en/docs/concepts/services-networking/dns-pod-service.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/concepts/services-networking/dns-pod-service.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-08-01 15:39:41 -07:00
Javier Diaz-Montes 6b0192ef72 Adding feature status and prerequisite to new feature. 2020-07-24 12:56:47 -04:00
Javier Diaz-Montes 64422b159a Documenting setHostnameAsFQDN feature
KEP: kubernetes/enhancements#1797 and kubernetes/enhancements#1792
Code PR: kubernetes/kubernetes#91699
2020-07-07 16:42:31 -04:00
Kubernetes Prow Robot 942ea85717
Merge pull request #20287 from ytsarev/pod-dns-fqdn
Document pod DNS resolution schema
2020-06-10 11:24:51 -07:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
divyabhushan 276d7da86b Removed extra quoting in “DNS for Services and Pods”#21161 2020-05-24 15:01:06 +02:00