May 2018
Intermediate to advanced
554 pages
13h 51m
English
The following are the steps to create a Pod has 2 containers:
$ cat my-first-pod.yaml apiVersion: v1kind: Podmetadata: name: my-first-podspec: containers: - name: my-nginx image: nginx - name: my-centos image: centos command: ["/bin/sh", "-c", "while : ;do curl http://localhost:80/; sleep 10; done"]
Read now
Unlock full access