Add traffic weight to canary status

- show current weight on kubectl get canaries and kubectl get all
This commit is contained in:
stefanprodan
2019-01-16 16:29:59 +02:00
parent acdd2c46d5
commit 1ef310f00d
8 changed files with 81 additions and 26 deletions
+5
View File
@@ -19,6 +19,8 @@ spec:
plural: canaries
singular: canary
kind: Canary
categories:
- all
scope: Namespaced
subresources:
status: {}
@@ -26,6 +28,9 @@ spec:
- name: Status
type: string
JSONPath: .status.phase
- name: Weight
type: string
JSONPath: .status.canaryWeight
- name: LastTransitionTime
type: string
JSONPath: .status.lastTransitionTime