diff --git a/charts/kube-ovn/templates/ovn-dpdk-ds.yaml b/charts/kube-ovn/templates/ovn-dpdk-ds.yaml index 1d799899980..c46e3389fce 100644 --- a/charts/kube-ovn/templates/ovn-dpdk-ds.yaml +++ b/charts/kube-ovn/templates/ovn-dpdk-ds.yaml @@ -94,8 +94,7 @@ spec: exec: command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh periodSeconds: 5 timeoutSeconds: 45 livenessProbe: diff --git a/charts/kube-ovn/templates/ovsovn-ds.yaml b/charts/kube-ovn/templates/ovsovn-ds.yaml index 72a5eb40e22..8e11d767abb 100644 --- a/charts/kube-ovn/templates/ovsovn-ds.yaml +++ b/charts/kube-ovn/templates/ovsovn-ds.yaml @@ -134,8 +134,7 @@ spec: {{- else }} command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh {{- end }} initialDelaySeconds: 10 periodSeconds: 5 diff --git a/dist/images/install.sh b/dist/images/install.sh index 254719eba61..57f6cf43dae 100644 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -3719,8 +3719,7 @@ spec: exec: command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh initialDelaySeconds: 10 periodSeconds: 5 timeoutSeconds: 45 @@ -3877,8 +3876,7 @@ spec: exec: command: - bash - - -c - - LOG_ROTATE=true /kube-ovn/ovs-healthcheck.sh + - /kube-ovn/ovs-healthcheck.sh periodSeconds: 5 timeoutSeconds: 45 livenessProbe: