Skip to content

Instantly share code, notes, and snippets.

@zshi-redhat
Created January 18, 2019 13:26
Show Gist options
  • Save zshi-redhat/998ecba7f3a2ebbf0d76a7f339cf1980 to your computer and use it in GitHub Desktop.
Save zshi-redhat/998ecba7f3a2ebbf0d76a7f339cf1980 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: test1
spec:
containers:
- name: app1
image: centos/tools
imagePullPolicy: IfNotPresent
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 300000; done;" ]
apiVersion: v1
kind: Pod
metadata:
name: test2
spec:
containers:
- name: app2
image: centos/tools
imagePullPolicy: IfNotPresent
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 300000; done;" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment