forked from kubernetes-sigs/agent-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextensions.controller.yaml
More file actions
43 lines (41 loc) · 1.03 KB
/
Copy pathextensions.controller.yaml
File metadata and controls
43 lines (41 loc) · 1.03 KB
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
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: agent-sandbox-controller
namespace: agent-sandbox-system
labels:
app: agent-sandbox-controller
spec:
replicas: 1
selector:
matchLabels:
app: agent-sandbox-controller
template:
metadata:
labels:
app: agent-sandbox-controller
spec:
serviceAccountName: agent-sandbox-controller
containers:
- name: agent-sandbox-controller
image: ko://sigs.k8s.io/agent-sandbox/cmd/agent-sandbox-controller # placeholder value, replaced by deployment scripts
args:
- "--leader-elect=true"
- "--extensions"
ports:
- name: metrics
containerPort: 8080
protocol: TCP
- name: healthz
containerPort: 8081
protocol: TCP
volumeMounts:
- name: config-volume
mountPath: /etc/sandbox-config
readOnly: true
volumes:
- name: config-volume
configMap:
name: agent-sandbox-config
optional: true