-
Notifications
You must be signed in to change notification settings - Fork 40
/
instance-manager-deployment.yaml
47 lines (47 loc) · 1.12 KB
/
instance-manager-deployment.yaml
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
42
43
44
45
46
47
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: instance-manager
name: instance-manager
namespace: instance-manager
spec:
replicas: 1
selector:
matchLabels:
app: instance-manager
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: instance-manager
spec:
containers:
- image: keikoproj/instance-manager:latest
imagePullPolicy: Always
name: instance-manager
resources:
limits:
cpu: 1000m
memory: 1024Mi
requests:
cpu: 100m
memory: 300Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs/ca-certificates.crt
readOnly: true
dnsPolicy: ClusterFirst
restartPolicy: Always
serviceAccount: instance-manager
serviceAccountName: instance-manager
volumes:
- name: ssl-certs
hostPath:
path: /etc/ssl/certs/ca-bundle.crt