Skip to content

Instantly share code, notes, and snippets.

@rothgar
Created August 16, 2017 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rothgar/e0348d68e5994c591b2452e87b7677d7 to your computer and use it in GitHub Desktop.
Save rothgar/e0348d68e5994c591b2452e87b7677d7 to your computer and use it in GitHub Desktop.
multi-container-pod example
apiVersion: "v1"
kind: Pod
metadata:
name: test
labels:
name: test
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
name: nginx
protocol: TCP
- name: alpine
image: alpine
command: ['sleep']
args: ['15m']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment