Skip to content

Instantly share code, notes, and snippets.

@cben
Created February 4, 2019 11:13
Show Gist options
  • Save cben/9bbb982fb8fcf3d88c2c875d04e3a42c to your computer and use it in GitHub Desktop.
Save cben/9bbb982fb8fcf3d88c2c875d04e3a42c to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: null
generation: 1
labels:
run: sise
name: sise
spec:
replicas: "1"
selector:
matchLabels:
run: sise
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: sise
spec:
containers:
- image: mhausenblas/simpleservice:0.5.0
imagePullPolicy: IfNotPresent
name: sise
ports:
- containerPort: 9876
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
creationTimestamp: null
generation: 1
labels:
run: sise
name: sise
spec:
replicas: 1
selector:
matchLabels:
run: sise
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: sise
spec:
containers:
- image: mhausenblas/simpleservice:0.5.0
imagePullPolicy: IfNotPresent
name: sise
ports:
- containerPort: 9876
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment