question

nagasree963_193876 avatar image
nagasree963_193876 asked Erick Ramirez edited

How do I use the canaryUpgrade property in the cass-operator?

I am following the below link

"https://github.com/datastax/cass-operator ". In 'operator/example-cassdc-yaml/cassandra-3.11.6/example-cassdc-full.yaml', what is the use of canary upgarde field. Is it used for rolling upgrade versions? Please explain the usage of that field.

cass-operator
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

bettina.swynnerton avatar image
bettina.swynnerton answered nagasree963_193876 commented

Hi @nagasree963_193876,

canaryUpgrade is a boolean field and indicates that configuration and container image changes should only be pushed to the first rack in the datacenter.

Here for the relevant definition in the cass-operator-manifest yaml

https://github.com/datastax/cass-operator/blob/master/docs/user/cass-operator-manifests-v1.18.yaml#L68

If you are happy with the changes in the canaryUpgrade, you can set this field back to false, and the changes will be applied to the rest of the cluster in a rolling fashion.

I hope this clarifies the usage.

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

nagasree963_193876 avatar image nagasree963_193876 commented ·

Thank you @bettina.swynnerton . It cleared my doubt.

0 Likes 0 ·