EUGENIO SOUZA CARVALHO 3 years ago
parent
commit
8542dc033a
1 changed files with 3 additions and 6 deletions
  1. 3 6
      040-app.yaml

+ 3 - 6
040-app.yaml

@@ -20,9 +20,9 @@ spec:
     spec:
       containers:
         - name: containouswhoami
-          image: containous/whoami
+          image: eugeniucarvalho1/teste:0.0.1
           ports:
-            - containerPort: 80
+            - containerPort: 8000
 
 ---
 apiVersion: v1
@@ -34,6 +34,7 @@ spec:
   ports:
     - name: http
       port: 80
+      targetPort: 8000
   selector:
     app: containous
     task: whoami
@@ -54,7 +55,3 @@ spec:
             backend:
               serviceName: whoami
               servicePort: 80
-          # - path: /foo
-          #   backend:
-          #     serviceName: whoami
-          #     servicePort: 80