Skip to content

Instantly share code, notes, and snippets.

@jfchevrette
Created December 14, 2017 20:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfchevrette/2833c0fb2f685f4eaf221f681dfc755b to your computer and use it in GitHub Desktop.
Save jfchevrette/2833c0fb2f685f4eaf221f681dfc755b to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hello-openshift
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
name: hello-openshift
template:
metadata:
labels:
name: hello-openshift
spec:
containers:
- name: hello-openshift
image: openshift/hello-openshift
ports:
- containerPort: 8080
protocol: TCP
resources: {}
terminationMessagePath: "/dev/termination-log"
imagePullPolicy: IfNotPresent
securityContext:
capabilities: {}
privileged: false
restartPolicy: Always
dnsPolicy: ClusterFirst
serviceAccount: ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment