mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #18983 from davidxia/fix-doc-typo
Auto commit by PR queue bot
This commit is contained in:
commit
68cb50e7e4
@ -333,7 +333,7 @@ Lets test this from a pod (the same secret is being reused for simplicity, the p
|
||||
|
||||
```console
|
||||
$ cat curlpod.yaml
|
||||
vapiVersion: v1
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: curlrc
|
||||
@ -411,7 +411,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`:
|
||||
|
||||
```console
|
||||
$ kubectl delete rc, svc -l app=nginx
|
||||
$ kubectl delete rc,svc -l app=nginx
|
||||
$ kubectl create -f ./nginx-app.yaml
|
||||
$ kubectl get svc nginxsvc
|
||||
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
|
||||
|
Loading…
Reference in New Issue
Block a user