two services
This commit is contained in:
parent
00a86fb02b
commit
bc8bf07e77
1 changed files with 28 additions and 28 deletions
|
|
@ -45,32 +45,32 @@ spec:
|
||||||
# stack as soon as the ReplicaSet are completely ready/available.
|
# stack as soon as the ReplicaSet are completely ready/available.
|
||||||
# Rollouts can be resumed using: `kubectl argo rollouts promote ROLLOUT`
|
# Rollouts can be resumed using: `kubectl argo rollouts promote ROLLOUT`
|
||||||
autoPromotionEnabled: false
|
autoPromotionEnabled: false
|
||||||
|
#
|
||||||
---
|
# ---
|
||||||
apiVersion: v1
|
# apiVersion: v1
|
||||||
kind: Service
|
# kind: Service
|
||||||
metadata:
|
# metadata:
|
||||||
name: hello-world-active
|
# name: hello-world-active
|
||||||
namespace: hello-world
|
# namespace: hello-world
|
||||||
spec:
|
# spec:
|
||||||
ports:
|
# ports:
|
||||||
- name: "5000"
|
# - name: "5000"
|
||||||
port: 5000
|
# port: 5000
|
||||||
targetPort: 5000
|
# targetPort: 5000
|
||||||
|
#
|
||||||
---
|
# ---
|
||||||
apiVersion: v1
|
# apiVersion: v1
|
||||||
kind: Service
|
# kind: Service
|
||||||
metadata:
|
# metadata:
|
||||||
name: hello-world-preview
|
# name: hello-world-preview
|
||||||
namespace: hello-world
|
# namespace: hello-world
|
||||||
spec:
|
# spec:
|
||||||
# selector:
|
# # selector:
|
||||||
# app: hello-world
|
# # app: hello-world
|
||||||
ports:
|
# ports:
|
||||||
- name: "5000"
|
# - name: "5000"
|
||||||
port: 5000
|
# port: 5000
|
||||||
targetPort: 5000
|
# targetPort: 5000
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
#
|
#
|
||||||
|
|
@ -137,7 +137,7 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: hello-world-nodeport-active
|
name: hello-world-active
|
||||||
namespace: hello-world
|
namespace: hello-world
|
||||||
spec:
|
spec:
|
||||||
type: NodePort # Change service type to NodePort
|
type: NodePort # Change service type to NodePort
|
||||||
|
|
@ -153,7 +153,7 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: hello-world-nodeport-preview
|
name: hello-world-preview
|
||||||
namespace: hello-world
|
namespace: hello-world
|
||||||
spec:
|
spec:
|
||||||
type: NodePort # Change service type to NodePort
|
type: NodePort # Change service type to NodePort
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue