-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdaemonSet.yaml
43 lines (43 loc) · 1.07 KB
/
daemonSet.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
---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: controlm-agent
namespace: controlm-agent
spec:
template:
metadata:
labels:
name: controlm-agent
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: controlm
operator: Exists
serviceAccount: controlm-agent
serivceAccountName: controlm-agent
securityContext:
privileged: true
containers:
- name: ctmagent-container
securityContext:
privileged: true
ports:
- containerPort: 7750
name: "ctm"
protocol: TCP
env:
- name: CTM_ENV
value: "workbench"
- name: CTM_SERVER
value: "workbench"
- name: CTM_HOSTGROUP
value: "appgroup01"
- name: CTM_AGENT_PORT
value: "7750"
image: quay.io/eformat/controlm:latest
imagePullPolicy: Always
terminationGracePeriodSeconds: 30