EUGENIO SOUZA CARVALHO 3 years ago
parent
commit
0b6d10931d
1 changed files with 3 additions and 5 deletions
  1. 3 5
      040-app.yaml

+ 3 - 5
040-app.yaml

@@ -1,4 +1,3 @@
-kind: Deployment
 apiVersion: apps/v1
 metadata:
   name: stilton
@@ -20,9 +19,9 @@ spec:
     spec:
       containers:
       - name: cheese
-        image: eugeniucarvalho1/teste:0.0.1
+        image: errm/cheese:stilton
         ports:
-        - containerPort: 8000
+        - containerPort: 80
 ---
 apiVersion: v1
 kind: Service
@@ -31,12 +30,11 @@ metadata:
 spec:
   ports:
   - name: http
-    targetPort: 8000
+    targetPort: 80
     port: 80
   selector:
     app: cheese
     task: stilton
-
 ---
 apiVersion: v1
 kind: Secret