Update service.md

http-web-service as a name for port is failing as it has more than 15 characters, hence the change to http-web-svc
pull/32501/head
Onur 2022-03-25 16:07:49 +03:00 committed by GitHub
parent c883ec32af
commit fe86ff7ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 12 deletions

View File

@ -125,7 +125,7 @@ spec:
image: nginx:11.14.2
ports:
- containerPort: 80
name: http-web-service
name: http-web-svc
---
apiVersion: v1
@ -139,7 +139,7 @@ spec:
- name: name-of-service-port
protocol: TCP
port: 80
targetPort: http-web-service
targetPort: http-web-svc
```
@ -299,7 +299,6 @@ Note that the kube-proxy starts up in different modes, which are determined by i
- The ConfigMap parameters for the kube-proxy cannot all be validated and verified on startup. For example, if your operating system doesn't allow you to run iptables commands, the standard kernel kube-proxy implementation will not work. Likewise, if you have an operating system which doesn't support `netsh`, it will not run in Windows userspace mode.
### User space proxy mode {#proxy-mode-userspace}
{{< feature-state for_k8s_version="v1.23" state="deprecated" >}}
In this (legacy) mode, kube-proxy watches the Kubernetes control plane for the addition and
removal of Service and Endpoint objects. For each Service it opens a