Hello Team, I was reading canaries feature in avai...
# troubleshooting
s
Hello Team, I was reading canaries feature in available in flink-operator. Can anyone provide more info about it? Is this feature providing a way to achieve canary deployments for flink pipeline? https://flink.apache.org/2023/05/17/apache-flink-kubernetes-operator-1.5.0-release-announcement/#health-probe-and-canary-resources
s
Thanks. I have gone through this doc. I am sorry i din understand what does this line infer “Canary deployments are identified by a special label:
"<http://flink.apache.org/canary|flink.apache.org/canary>": "true"
. These resources do not need to define a spec and they will not start any pods or consume other cluster resources and are purely there to assert the operator reconciliation functionality.” Can u please elaborate?
g
it just means this is all you need for a canary:
Copy code
apiVersion: <http://flink.apache.org/v1beta1|flink.apache.org/v1beta1>
kind: FlinkDeployment
metadata:
  name: canary
  labels:
    "<http://flink.apache.org/canary|flink.apache.org/canary>": "true"
the operator will see the label and treat it as a canary