Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gray release support #87

Open
LinuxSuRen opened this issue Mar 15, 2021 · 0 comments
Open

Add gray release support #87

LinuxSuRen opened this issue Mar 15, 2021 · 0 comments

Comments

@LinuxSuRen
Copy link
Contributor

LinuxSuRen commented Mar 15, 2021

You can get the release strategy list via: ks get --all-namespaces strategy. Below is an example:

apiVersion: servicemesh.kubesphere.io/v1alpha2
kind: Strategy
metadata:
  annotations:
    app.kubernetes.io/icon: /assets/bookinfo.svg
    kubesphere.io/creator: admin
    servicemesh.kubesphere.io/newWorkloadName: details-v2
    servicemesh.kubesphere.io/oldWorkloadName: details-v1
    servicemesh.kubesphere.io/workloadReplicas: "1"
    servicemesh.kubesphere.io/workloadType: deployments
  creationTimestamp: "2021-03-15T05:43:22Z"
  generation: 1
  labels:
    app: details
    app.kubernetes.io/name: bookinfo
    app.kubernetes.io/version: v1
  name: blue-test-1
  namespace: ks
  ownerReferences:
  - apiVersion: app.k8s.io/v1beta1
    blockOwnerDeletion: true
    controller: false
    kind: Application
    name: bookinfo
    uid: 8eb1bbec-d44f-4d5f-8507-500e92775234
  resourceVersion: "152221"
  selfLink: /apis/servicemesh.kubesphere.io/v1alpha2/namespaces/ks/strategies/blue-test-1
  uid: 2ca3bc16-1e91-4cc5-b200-e9630bd2fac0
spec:
  governor: v1
  hosts: details
  principal: v1
  protocol: http
  selector:
    matchLabels:
      app: details
      app.kubernetes.io/name: bookinfo
      app.kubernetes.io/version: v1
  strategyPolicy: WaitForWorkloadReady
  template:
    spec:
      hosts:
      - details
      http:
      - route:
        - destination:
            host: details
            subset: v1
          weight: 100
        - destination:
            host: details
            subset: "1"
          weight: 0
  type: Bluegreen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant