File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5151 spec :
5252 containers :
5353 - name : coredns
54- image : coredns/coredns:1.11.1
54+ image : docker.io/ coredns/coredns:1.11.1
5555 args :
5656 - -conf
5757 - /etc/coredns/Corefile
Original file line number Diff line number Diff line change 4141 spec :
4242 containers :
4343 - name : hello
44- image : nginxdemos/hello:plain-text
44+ image : docker.io/ nginxdemos/hello:plain-text
4545---
4646apiVersion : v1
4747kind : Service
Original file line number Diff line number Diff line change 1- # Deploys two nginxdemos/hello:plain-text containers ("blue" and "red")
1+ # Deploys two docker.io/ nginxdemos/hello:plain-text containers ("blue" and "red")
22# and creates ClusterIP services named "blue-svc" and "red-svc" for the
33# deployments. Additionally, an Ingress resource named "simple" is set
44# up to route requests for "/red" to "red-svc" service and
3737 app : blue
3838 spec :
3939 containers :
40- - image : nginxdemos/hello:plain-text
40+ - image : docker.io/ nginxdemos/hello:plain-text
4141 name : hello
4242---
4343apiVersion : v1
7171 app : red
7272 spec :
7373 containers :
74- - image : nginxdemos/hello:plain-text
74+ - image : docker.io/ nginxdemos/hello:plain-text
7575 name : hello
7676 resources : { }
7777---
Original file line number Diff line number Diff line change 1- # Deploys the nginxdemos/hello:plain-text container and creates a
1+ # Deploys the docker.io/ nginxdemos/hello:plain-text container and creates a
22# loadbalancer service for it:
33#
44# export KUBECONFIG=path/to/kubeconfig
3434 spec :
3535 containers :
3636 - name : hello
37- image : nginxdemos/hello:plain-text
37+ image : docker.io/ nginxdemos/hello:plain-text
3838---
3939apiVersion : v1
4040kind : Service
Original file line number Diff line number Diff line change 4040 spec :
4141 containers :
4242 - name : proxy-hello
43- image : nginxdemos/hello:plain-text
43+ image : docker.io/ nginxdemos/hello:plain-text
4444 volumeMounts :
4545 - name : nginx-config-volume
4646 mountPath : /etc/nginx/nginx.conf
You can’t perform that action at this time.
0 commit comments