Skip to content

Commit 3dde5af

Browse files
authored
fix: Remove otel agent & collector liveness probe (#788)
This should prevent the otel-agent and otel-collector from being restarted due to CPU throttling.
1 parent bc874e7 commit 3dde5af

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

manifests/templates/otel-collector.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ spec:
152152
volumeMounts:
153153
- name: otel-collector-config-vol
154154
mountPath: /conf
155-
livenessProbe:
156-
httpGet:
157-
path: /
158-
port: 13133 # Health Check extension default port.
159155
readinessProbe:
160156
httpGet:
161157
path: /

manifests/templates/reconciler-manager-configmap.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,6 @@ data:
195195
volumeMounts:
196196
- name: otel-agent-config-vol
197197
mountPath: /conf
198-
livenessProbe:
199-
httpGet:
200-
path: /
201-
port: 13133 # Health Check extension default port.
202-
scheme: HTTP
203198
readinessProbe:
204199
httpGet:
205200
path: /

manifests/templates/reconciler-manager.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ spec:
8484
volumeMounts:
8585
- name: otel-agent-config-vol
8686
mountPath: /conf
87-
livenessProbe:
88-
httpGet:
89-
path: /
90-
port: 13133 # Health Check extension default port.
9187
readinessProbe:
9288
httpGet:
9389
path: /

manifests/third_party/resourcegroup-manifest.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,6 @@ spec:
556556
- name: OTEL_RESOURCE_ATTRIBUTES
557557
value: k8s.pod.name=$(KUBE_POD_NAME),k8s.pod.namespace=$(KUBE_POD_NAMESPACE),k8s.pod.uid=$(KUBE_POD_UID),k8s.pod.ip=$(KUBE_POD_IP),k8s.node.name=$(KUBE_NODE_NAME),k8s.deployment.name=$(KUBE_DEPLOYMENT_NAME)
558558
image: gcr.io/config-management-release/otelcontribcol:v0.54.0-gke.1
559-
livenessProbe:
560-
httpGet:
561-
path: /
562-
port: 13133
563559
name: otel-agent
564560
ports:
565561
- containerPort: 55678

0 commit comments

Comments
 (0)