Exercise 2.4: Multi-Container Pods
kubectl delete pod nginxcat <<EOF | kubectl apply -f - apiVersion: v1 kind: Pod metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 - name: fdlogger image: fluent/fluentd EOFkubectl get pod nginxkubectl describe pod nginxkubectl delete pod nginx
Last updated