Skip to content

Commit 6b77a4f

Browse files
committed
fix: remove metrics and health ports
To avoid conflict due to hostnetwork configuration Signed-off-by: Fred Rolland <[email protected]>
1 parent fe2c5d7 commit 6b77a4f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

config/flowcontroller/daemonset.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ spec:
3939
containers:
4040
- command:
4141
- /flowcontroller
42+
- --metrics-bind-address=0
43+
- --health-probe-bind-address=0
4244
image: controller:latest
4345
name: flowcontroller
4446
env:
@@ -66,18 +68,6 @@ spec:
6668
mountPath: /var/run/openvswitch/
6769
- name: ovs-systemd-config
6870
mountPath: /etc/default/openvswitch-switch
69-
livenessProbe:
70-
httpGet:
71-
path: /healthz
72-
port: 8081
73-
initialDelaySeconds: 15
74-
periodSeconds: 20
75-
readinessProbe:
76-
httpGet:
77-
path: /readyz
78-
port: 8081
79-
initialDelaySeconds: 5
80-
periodSeconds: 10
8171
resources:
8272
limits:
8373
cpu: 500m

0 commit comments

Comments
 (0)