Преглед на файлове

container and host port must match

Grega Bremec преди 2 години
родител
ревизия
6b3f07d2fb
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      deployment/exporter/base/daemonset.yml

+ 2 - 1
deployment/exporter/base/daemonset.yml

@@ -91,7 +91,8 @@ spec:
           ports:
             - name: http
               protocol: TCP
-              containerPort: 8080
+              # Must be the same as hostPort with hostNetwork==true.
+              containerPort: 28080
               # Need some host port because hostNetwork==true.
               hostPort: 28080
           #livenessProbe: {}