Explorar o código

container and host port must match

Grega Bremec %!s(int64=2) %!d(string=hai) anos
pai
achega
6b3f07d2fb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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: {}