forked from aws-controllers-k8s/community
/
deployment.yaml
44 lines (44 loc) · 924 Bytes
/
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
apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller
name: ack-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ack-s3-controller
namespace: ack-system
labels:
control-plane: controller
spec:
selector:
matchLabels:
control-plane: controller
replicas: 1
template:
metadata:
labels:
control-plane: controller
spec:
containers:
- command:
- ./bin/controller
args:
- --aws-account-id
- "$(AWS_ACCOUNT_ID)"
- --aws-region
- "$(AWS_REGION)"
- --enable-development-logging
- "$(ACK_ENABLE_DEVELOPMENT_LOGGING)"
image: controller:latest
name: controller
resources:
limits:
cpu: 100m
memory: 300Mi
requests:
cpu: 100m
memory: 200Mi
terminationGracePeriodSeconds: 10