docs(service): remove invalid , from example
Remove invalid `,` from the ExternalIP example YAML.
This commit is contained in:
committed by
Andrew Chen
parent
bed2527af1
commit
2d159b86f6
@@ -487,8 +487,8 @@ In the ServiceSpec, `externalIPs` can be specified along with any of the `Servic
|
|||||||
In the example below, my-service can be accessed by clients on 80.11.12.10:80 (externalIP:port)
|
In the example below, my-service can be accessed by clients on 80.11.12.10:80 (externalIP:port)
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: Service,
|
kind: Service
|
||||||
apiVersion: v1,
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: my-service
|
name: my-service
|
||||||
spec:
|
spec:
|
||||||
@@ -496,8 +496,8 @@ spec:
|
|||||||
app: MyApp
|
app: MyApp
|
||||||
ports:
|
ports:
|
||||||
- name: http,
|
- name: http,
|
||||||
protocol: TCP,
|
protocol: TCP
|
||||||
port: 80,
|
port: 80
|
||||||
targetPort: 9376
|
targetPort: 9376
|
||||||
externalIPs:
|
externalIPs:
|
||||||
- 80.11.12.10
|
- 80.11.12.10
|
||||||
|
|||||||
Reference in New Issue
Block a user