mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-21 10:39:26 +08:00
Blue/Green Refactor (#229)
* fresh new branch * Added coverage to gitignore Signed-off-by: Jaiveer Katariya <jaiveerkatariya@Jaiveers-MBP.lan> * reverted package-lock.json Signed-off-by: Jaiveer Katariya <jaiveerkatariya@Jaiveers-MBP.lan> Co-authored-by: Jaiveer Katariya <jaiveerkatariya@Jaiveers-MBP.lan>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: unrouted-service
|
||||
spec:
|
||||
selector:
|
||||
app: fake-application
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
---
|
||||
kind: TrafficSplit
|
||||
metadata:
|
||||
name: foobar-rollout
|
||||
spec:
|
||||
service: foobar
|
||||
backends:
|
||||
- service: foobar-v1
|
||||
weight: 1000
|
||||
- service: foobar-v2
|
||||
weight: 500
|
||||
Reference in New Issue
Block a user