Originally from the User Slack
@Greg_Day: Hello, I am looking for some guidance on the proper ways to apply configurations after provisioning a ScyllaCluster manifest via scylla-operator. If I want to add or remove racks, do I simply need to reconfigure the manifest and scylla-operator will handle it? Also is there a recommended way to change immutable fields, like exposeOptions, or does that require a complete re-provisioning?
additionally, I do not see a way to use preallocated IP addresses for GKE internal loadbalancers:
exposeOptions:
broadcastOptions:
clients:
type: ServiceLoadBalancerIngress
nodeService:
annotations:
<http://networking.gke.io/load-balancer-type|networking.gke.io/load-balancer-type>: Internal
type: LoadBalancer
I tried using the <http://kubernetes.io/ingress.regional-static-ip-name|kubernetes.io/ingress.regional-static-ip-name>
annotation on the CRD, but it turns out this is wrong and does not apply to internal passthrough loadbalancers, only Ingresses.
@Maciej_Zimnoch: > If I want to add or remove racks, do I simply need to reconfigure the manifest and scylla-operator will handle it?
Simply change ScyllaCluster spec and scylla-operator will take care of reconciling it.
Also is there a recommended way to change immutable fields, like exposeOptions, or does that require a complete re-provisioning
Immutable fields are immutable. You have to recreate the cluster. If you don’t delete PVC’s (they survive ScyllaCluster deletion), you won’t loose any data, there will be a downtime though.
> I do not see a way to use preallocated IP addresses for GKE internal loadbalancers:
Annotation you mentioned only works on Ingresses. To expose ScyllaCluster via Ingress there’s exposeOptions.cql.ingress
but it requires SNI proxy.
Seems like we are missing a field to support preallocated LB address. You may submit a feature request in scylla-operator repo.
@Greg_Day: > Immutable fields are immutable.
yes, sorry for the confusing language, I was just looking for tips on that recreation process, but I can handle that no problem.
> Seems like we are missing a field to support preallocated LB address. You may submit a feature request in scylla-operator repo.
sounds good, I might even take a look and see if I could add it and submit a PR