-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
40 lines (40 loc) · 1.17 KB
/
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: preemptible-address-controller
name: preemptible-address-controller
spec:
replicas: 1
selector:
matchLabels:
app: preemptible-address-controller
template:
metadata:
labels:
app: preemptible-address-controller
spec:
containers:
- args:
- --address-label=mangaka.tech/use-address
- --address-name=mangaka-instance
image: quay.io/tsuruda/preemptible-address-controller
imagePullPolicy: Always
name: debug
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /var/secrets/google/key.json
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/secrets/google
name: google-cloud-key
volumes:
- name: google-cloud-key
secret:
defaultMode: 420
secretName: preemptible-address-controller
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
serviceAccountName: preemptible-address-controller