Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: extensions/v1beta1
- kind: Deployment
- metadata:
- name: bitbloq-front-0917
- namespace: bitbloq
- spec:
- minReadySeconds: 10
- strategy:
- rollingUpdate:
- maxSurge: 1
- maxUnavailable: 0
- type: RollingUpdate
- replicas: 2
- template:
- metadata:
- labels:
- app: bitbloq-front-0917
- name: bitbloq-front
- spec:
- containers:
- - image: bitbloq/bitbloq-front:3.8.5
- imagePullPolicy: Always
- name: bitbloq-front
- ports:
- - containerPort: 80
- hostPort: 2816
- volumeMounts:
- - name: front-config
- mountPath: /usr/share/nginx/html/res/config
- readinessProbe:
- httpGet:
- path: /index.html
- port: 80
- initialDelaySeconds: 10
- timeoutSeconds: 1
- livenessProbe:
- httpGet:
- path: /index.html
- port: 80
- initialDelaySeconds: 10
- timeoutSeconds: 1
- volumes:
- - name: front-config
- secret:
- secretName: frontend-development
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement