diff --git a/hello-world/deployments/deployment.yaml b/hello-world/deployments/deployment.yaml index 32a207e..96c2c18 100644 --- a/hello-world/deployments/deployment.yaml +++ b/hello-world/deployments/deployment.yaml @@ -45,32 +45,32 @@ spec: # stack as soon as the ReplicaSet are completely ready/available. # Rollouts can be resumed using: `kubectl argo rollouts promote ROLLOUT` autoPromotionEnabled: false - ---- -apiVersion: v1 -kind: Service -metadata: - name: hello-world-active - namespace: hello-world -spec: - ports: - - name: "5000" - port: 5000 - targetPort: 5000 - ---- -apiVersion: v1 -kind: Service -metadata: - name: hello-world-preview - namespace: hello-world -spec: - # selector: - # app: hello-world - ports: - - name: "5000" - port: 5000 - targetPort: 5000 +# +# --- +# apiVersion: v1 +# kind: Service +# metadata: +# name: hello-world-active +# namespace: hello-world +# spec: +# ports: +# - name: "5000" +# port: 5000 +# targetPort: 5000 +# +# --- +# apiVersion: v1 +# kind: Service +# metadata: +# name: hello-world-preview +# namespace: hello-world +# spec: +# # selector: +# # app: hello-world +# ports: +# - name: "5000" +# port: 5000 +# targetPort: 5000 # --- # @@ -137,7 +137,7 @@ spec: apiVersion: v1 kind: Service metadata: - name: hello-world-nodeport-active + name: hello-world-active namespace: hello-world spec: type: NodePort # Change service type to NodePort @@ -153,7 +153,7 @@ spec: apiVersion: v1 kind: Service metadata: - name: hello-world-nodeport-preview + name: hello-world-preview namespace: hello-world spec: type: NodePort # Change service type to NodePort