Skip to content

Instantly share code, notes, and snippets.

@coresolve
Created September 15, 2017 19:13
Show Gist options
  • Save coresolve/840b4dc4a9326697ee8db71873ebf795 to your computer and use it in GitHub Desktop.
Save coresolve/840b4dc4a9326697ee8db71873ebf795 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: null
generation: 1
labels:
run: test
name: test
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/test
spec:
replicas: 1
selector:
matchLabels:
run: test
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: test
spec:
containers:
- args:
- /bin/sh
image: ubuntu
imagePullPolicy: Always
name: test
resources: {}
stdin: true
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
tty: true
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment