2019-05-20 17:59:13 -07:00
|
|
|
kind: "Deployment"
|
2019-05-31 16:57:39 -07:00
|
|
|
apiVersion: "apps/v1"
|
2019-05-20 17:59:13 -07:00
|
|
|
metadata:
|
|
|
|
name: "ghost"
|
|
|
|
labels:
|
|
|
|
nirmata.io/deployment.name: "ghost"
|
|
|
|
nirmata.io/application.name: "ghost"
|
|
|
|
nirmata.io/component: "ghost"
|
|
|
|
cli: test
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
revisionHistoryLimit: 5
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
nirmata.io/application.name: "ghost"
|
|
|
|
nirmata.io/component: "ghost"
|
|
|
|
strategy:
|
|
|
|
type: "RollingUpdate"
|
|
|
|
rollingUpdate:
|
|
|
|
maxSurge: 1
|
|
|
|
maxUnavailable: 0
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
nirmata.io/deployment.name: "ghost"
|
|
|
|
nirmata.io/application.name: "ghost"
|
|
|
|
nirmata.io/component: "ghost"
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: "ghost"
|
2019-05-31 16:57:39 -07:00
|
|
|
image: "nginx:latest"
|
2019-07-01 12:16:12 -07:00
|
|
|
imagePullPolicy: Always
|
2019-05-20 17:59:13 -07:00
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
protocol: "TCP"
|