Skip to content

Commit d58ae6c

Browse files
authored
fix: remove probes for spectrumx (Mellanox#1670)
Since the pod is hostnetwork, ports can conflicts.
2 parents 4b519f2 + 24b5b71 commit d58ae6c

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

manifests/state-spectrum-x-operator/0050-flowcontroller-ds.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ spec:
1717
labels:
1818
control-plane: spectrum-x-flowcontroller
1919
spec:
20+
nodeSelector:
21+
feature.node.kubernetes.io/pci-15b3.present: "true"
2022
tolerations:
2123
{{- if .Tolerations }}
2224
{{- .Tolerations | yaml | nindent 8 }}
@@ -37,8 +39,8 @@ spec:
3739
- command:
3840
- /flowcontroller
3941
args:
40-
- --metrics-bind-address=:8082
41-
- --health-probe-bind-address=:8084
42+
- --metrics-bind-address=0
43+
- --health-probe-bind-address=0
4244
image: {{ imagePath .CrSpec.Repository .CrSpec.Image .CrSpec.Version }}
4345
name: spectrum-x-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: 8084
73-
initialDelaySeconds: 15
74-
periodSeconds: 20
75-
readinessProbe:
76-
httpGet:
77-
path: /readyz
78-
port: 8084
79-
initialDelaySeconds: 5
80-
periodSeconds: 10
8171
{{- with .RuntimeSpec.ContainerResources }}
8272
{{- with index . "spectrum-x-flowcontroller" }}
8373
resources:

0 commit comments

Comments
 (0)