mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Fix typo in user guide docs
This commit is contained in:
parent
c59fad149b
commit
ac80a09e24
@ -332,7 +332,7 @@ Lets test this from a pod (the same secret is being reused for simplicity, the p
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
$ cat curlpod.yaml
|
$ cat curlpod.yaml
|
||||||
vapiVersion: v1
|
apiVersion: v1
|
||||||
kind: ReplicationController
|
kind: ReplicationController
|
||||||
metadata:
|
metadata:
|
||||||
name: curlrc
|
name: curlrc
|
||||||
@ -410,7 +410,7 @@ $ curl https://104.197.63.17:30645 -k
|
|||||||
Lets now recreate the Service to use a cloud load balancer, just change the `Type` of Service in the nginx-app.yaml from `NodePort` to `LoadBalancer`:
|
Lets now recreate the Service to use a cloud load balancer, just change the `Type` of Service in the nginx-app.yaml from `NodePort` to `LoadBalancer`:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ kubectl delete rc, svc -l app=nginx
|
$ kubectl delete rc,svc -l app=nginx
|
||||||
$ kubectl create -f ./nginx-app.yaml
|
$ kubectl create -f ./nginx-app.yaml
|
||||||
$ kubectl get svc nginxsvc
|
$ kubectl get svc nginxsvc
|
||||||
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
|
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
|
||||||
|
Loading…
Reference in New Issue
Block a user