-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeploy.yml
More file actions
41 lines (41 loc) · 819 Bytes
/
deploy.yml
File metadata and controls
41 lines (41 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: deployer
labels:
app: deployer
env: production
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 3
maxUnavailable: 0
template:
metadata:
labels:
app: deployer
env: production
spec:
containers:
- name: deployer
image: gapfish/deployer
env:
- name: RACK_ENV
value: production
- name: VERBOSE
value: "true"
ports:
- containerPort: 8080
volumeMounts:
- name: env
mountPath: /deployer/.env
subPath: .env
resources:
requests:
memory: 100Mi
volumes:
- name: env
secret:
secretName: deployer-env