- Take me to Video Tutorial
In this section, we will take a look at multi-container pods
- To create a new multi-container pod, add the new container information to the pod definition file.
apiVersion: v1 kind: Pod metadata: name: simple-webapp labels: name: simple-webapp spec: containers: - name: simple-webapp image: simple-webapp ports: - ContainerPort: 8080 - name: log-agent image: log-agent