-
Notifications
You must be signed in to change notification settings - Fork 18
/
deployment.yaml
40 lines (40 loc) · 1 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:
name: kube-aws-iam-controller
namespace: kube-system
labels:
application: kube-aws-iam-controller
version: latest
spec:
replicas: 1
selector:
matchLabels:
application: kube-aws-iam-controller
template:
metadata:
labels:
application: kube-aws-iam-controller
version: latest
spec:
serviceAccountName: kube-aws-iam-controller
# running with hostNetwork to bypass metadata service block from pod
# network.
hostNetwork: true
containers:
- name: kube-aws-iam-controller
image: registry.opensource.zalan.do/teapot/kube-aws-iam-controller:latest
resources:
limits:
cpu: 25m
memory: 100Mi
requests:
cpu: 25m
memory: 100Mi
livenessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 5
initialDelaySecond: 10
periodSeconds: 10