use v1
This commit is contained in:
parent
bc8bf07e77
commit
3f25c89dc0
1 changed files with 1 additions and 87 deletions
|
|
@ -28,7 +28,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: hello-world
|
- name: hello-world
|
||||||
image: docker.io/waylonwalker/learn-rollouts:v2
|
image: docker.io/waylonwalker/learn-rollouts:v1
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5000
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -46,92 +46,6 @@ spec:
|
||||||
# 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
|
|
||||||
# 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: apps/v1
|
|
||||||
# kind: Deployment
|
|
||||||
# metadata:
|
|
||||||
# labels:
|
|
||||||
# app: hello-world
|
|
||||||
# name: hello-world-deployment
|
|
||||||
# namespace: hello-world
|
|
||||||
# spec:
|
|
||||||
# replicas: 1
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# app: hello-world
|
|
||||||
# template:
|
|
||||||
# metadata:
|
|
||||||
# labels:
|
|
||||||
# app: hello-world
|
|
||||||
# spec:
|
|
||||||
# containers:
|
|
||||||
# - image: docker.io/waylonwalker/learn-rollouts:v2
|
|
||||||
# name: hello-world
|
|
||||||
# ports:
|
|
||||||
# - containerPort: 5000
|
|
||||||
|
|
||||||
# ---
|
|
||||||
#
|
|
||||||
# apiVersion: networking.k8s.io/v1
|
|
||||||
# kind: Ingress
|
|
||||||
# metadata:
|
|
||||||
# labels:
|
|
||||||
# service: hello-world
|
|
||||||
# name: hello-world-ingress
|
|
||||||
# namespace: hello-world
|
|
||||||
# spec:
|
|
||||||
# rules:
|
|
||||||
# - http:
|
|
||||||
# paths:
|
|
||||||
# - backend:
|
|
||||||
# service:
|
|
||||||
# name: hello-world-active
|
|
||||||
# port:
|
|
||||||
# number: 5000
|
|
||||||
# path: /active
|
|
||||||
# pathType: Prefix
|
|
||||||
#
|
|
||||||
# - http:
|
|
||||||
# paths:
|
|
||||||
# - backend:
|
|
||||||
# service:
|
|
||||||
# name: hello-world-preview
|
|
||||||
# port:
|
|
||||||
# number: 5000
|
|
||||||
# path: /preview
|
|
||||||
# pathType: Prefix
|
|
||||||
# status:
|
|
||||||
# loadBalancer: {}
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue