diff --git a/dist/images/install.sh b/dist/images/install.sh index 03971b0662b..e90fa8eab15 100644 --- a/dist/images/install.sh +++ b/dist/images/install.sh @@ -3041,6 +3041,9 @@ spec: name: localtime - mountPath: /var/log/kube-ovn name: kube-ovn-log + # ovn-ic log directory + - mountPath: /var/log/ovn + name: ovn-log - mountPath: /var/run/tls name: kube-ovn-tls readinessProbe: @@ -3073,6 +3076,9 @@ spec: - name: kube-ovn-log hostPath: path: /var/log/kube-ovn + - name: ovn-log + hostPath: + path: /var/log/ovn - name: kube-ovn-tls secret: optional: true diff --git a/kubeovn-helm/templates/controller-deploy.yaml b/kubeovn-helm/templates/controller-deploy.yaml index fb4f6e8084d..5b187d2afee 100644 --- a/kubeovn-helm/templates/controller-deploy.yaml +++ b/kubeovn-helm/templates/controller-deploy.yaml @@ -126,6 +126,9 @@ spec: name: localtime - mountPath: /var/log/kube-ovn name: kube-ovn-log + # ovn-ic log directory + - mountPath: /var/log/ovn + name: ovn-log - mountPath: /var/run/tls name: kube-ovn-tls readinessProbe: @@ -158,6 +161,9 @@ spec: - name: kube-ovn-log hostPath: path: /var/log/kube-ovn + - name: ovn-log + hostPath: + path: /var/log/ovn - name: kube-ovn-tls secret: optional: true