-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathtentacle-deployment_test.yaml.snap
More file actions
138 lines (138 loc) · 5.44 KB
/
tentacle-deployment_test.yaml.snap
File metadata and controls
138 lines (138 loc) · 5.44 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
should match snapshot:
1: |
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: octopus-agent
app.kubernetes.io/version: 8.3.3359
helm.sh/chart: kubernetes-agent-2.33.0
name: octopus-agent-tentacle
namespace: NAMESPACE
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: octopus-agent
template:
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: octopus-agent
app.kubernetes.io/version: 8.3.3359
helm.sh/chart: kubernetes-agent-2.33.0
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
- key: kubernetes.io/arch
operator: In
values:
- arm64
- amd64
containers:
- env:
- name: ACCEPT_EULA
value: "N"
- name: AgentName
value: ""
- name: ServerCommsAddresses
value: ""
- name: ServerCommsAddress
value: ""
- name: ServerUrl
value: ""
- name: Space
value: Default
- name: DeploymentTargetEnabled
value: "false"
- name: TargetEnvironment
value: ""
- name: TargetRole
value: ""
- name: TargetTenant
value: ""
- name: TargetTenantTag
value: ""
- name: DefaultNamespace
value: ""
- name: TargetTenantedDeploymentParticipation
value: Untenanted
- name: WorkerEnabled
value: "false"
- name: OCTOPUS__K8STENTACLE__NAMESPACE
value: NAMESPACE
- name: OCTOPUS__K8STENTACLE__PODSERVICEACCOUNTNAME
value: octopus-agent-scripts
- name: OCTOPUS__K8STENTACLE__PODVOLUMECLAIMNAME
value: octopus-agent-nfs-release-name-pvc-10gi
- name: OCTOPUS__K8STENTACLE__HELMRELEASENAME
value: RELEASE-NAME
- name: OCTOPUS__K8STENTACLE__HELMCHARTVERSION
value: 2.33.0
- name: OCTOPUS__K8STENTACLE__DISABLEAUTOPODCLEANUP
value: "false"
- name: OCTOPUS__K8STENTACLE__DISABLEPODEVENTSINTASKLOG
value: "false"
- name: OCTOPUS__K8STENTACLE__NFSWATCHDOGIMAGE
value: octopusdeploy/kubernetes-agent-nfs-watchdog:0.2.0
- name: OCTOPUS__TENTACLE__LOGLEVEL
value: Info
- name: OCTOPUS__K8STENTACLE__KUBERNETESMONITORENABLED
value: "false"
- name: TentacleHome
value: /octopus
- name: TentacleApplications
value: /octopus/Applications
- name: TentaclePollingConnectionCount
value: "5"
- name: OCTOPUS__K8STENTACLE__ENABLEMETRICSCAPTURE
value: "true"
- name: OCTOPUS__K8STENTACLE__PODRESOURCEJSON
value: '{"requests":{"cpu":"25m","memory":"100Mi"}}'
- name: OCTOPUS__K8STENTACLE__PODAFFINITYJSON
value: '{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/os","operator":"In","values":["linux"]},{"key":"kubernetes.io/arch","operator":"In","values":["arm64","amd64"]}]}]}}}'
- name: OCTOPUS__K8STENTACLE__PERSISTENTVOLUMESIZE
value: 10Gi
image: octopusdeploy/kubernetes-agent-tentacle:8.3.3359
imagePullPolicy: IfNotPresent
name: octopus-agent-tentacle
resources:
requests:
cpu: 100m
memory: 150Mi
startupProbe:
exec:
command:
- cat
- /etc/octopus/initialized
failureThreshold: 100
initialDelaySeconds: 2
periodSeconds: 2
volumeMounts:
- mountPath: /octopus
name: tentacle-home
- env:
- name: watchdog_directory
value: /octopus
image: octopusdeploy/kubernetes-agent-nfs-watchdog:0.2.0
imagePullPolicy: IfNotPresent
name: nfs-watchdog
volumeMounts:
- mountPath: /octopus
name: tentacle-home
serviceAccountName: octopus-agent-tentacle
volumes:
- name: tentacle-home
persistentVolumeClaim:
claimName: octopus-agent-nfs-release-name-pvc-10gi