Hello,
I am trying to install k8ssandra in a GKE cluster, version 1.26.6.
The environment I have doesn’t have access to the helm repo or docker hub, so what I did was to pull all the required images into the private registry and locally downloaded all the required helm charts for k8ssandra-operator v1.11
Operator pods are starting fine:
k8ssandra-operator-7c49d4796d-rh4r7 1/1 Running 0 175m
k8ssandra-operator-cass-operator-c79846f7-dtc4q 1/1 Running 0 175m
2024-01-10T11:12:39.895Z INFO setup watch namespace configured {“namespace”: “k8ssandra-operator”}
2024-01-10T11:12:39.896Z INFO setup watch namespace configured {“namespace”: “k8ssandra-operator”}
I0110 11:12:40.948817 1 request.go:690] Waited for 1.027297832s due to client-side throttling, not priority and fairness, request: GET:https://240.12.20.1:443/apis/networking.istio.io/v1beta1?timeout=32s
2024-01-10T11:12:42.306Z INFO controller-runtime.metrics Metrics server is starting to listen {“addr”: “:8080”}
2024-01-10T11:12:44.718Z DEBUG Finished initializing 0 client configs
2024-01-10T11:12:44.719Z INFO controller-runtime.builder Registering a mutating webhook {“GVK”: “k8ssandra.io/v1alpha1, Kind=K8ssandraCluster”, “path”: “/mutate-k8ssandra-io-v1alpha1-k8ssandracluster”}
2024-01-10T11:12:44.719Z INFO controller-runtime.webhook Registering webhook {“path”: “/mutate-k8ssandra-io-v1alpha1-k8ssandracluster”}
2024-01-10T11:12:44.719Z INFO controller-runtime.builder Registering a validating webhook {“GVK”: “k8ssandra.io/v1alpha1, Kind=K8ssandraCluster”, “path”: “/validate-k8ssandra-io-v1alpha1-k8ssandracluster”}
2024-01-10T11:12:44.719Z INFO controller-runtime.webhook Registering webhook {“path”: “/validate-k8ssandra-io-v1alpha1-k8ssandracluster”}
2024-01-10T11:12:44.725Z INFO controller-runtime.builder skip registering a mutating webhook, object does not implement admission.Defaulter or WithDefaulter wasn’t called {“GVK”: “medusa.k8ssandra.io/v1alpha1, Kind=MedusaBackupSchedule”}
2024-01-10T11:12:44.725Z INFO controller-runtime.builder Registering a validating webhook {“GVK”: “medusa.k8ssandra.io/v1alpha1, Kind=MedusaBackupSchedule”, “path”: “/validate-medusa-k8ssandra-io-v1alpha1-medusabackupschedule”}
2024-01-10T11:12:44.725Z INFO controller-runtime.webhook Registering webhook {“path”: “/validate-medusa-k8ssandra-io-v1alpha1-medusabackupschedule”}
2024-01-10T11:12:44.726Z INFO controller-runtime.webhook Registering webhook {“path”: “/mutate-v1-pod-secrets-inject”}
2024-01-10T11:12:44.726Z INFO setup starting manager
2024-01-10T11:12:44.726Z INFO Starting server {“path”: “/metrics”, “kind”: “metrics”, “addr”: “[::]:8080”}
2024-01-10T11:12:44.726Z INFO Starting server {“kind”: “health probe”, “addr”: “[::]:8081”}
2024-01-10T11:12:44.726Z INFO controller-runtime.webhook.webhooks Starting webhook server
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “replicatedsecret”, “controllerGroup”: “replication.k8ssandra.io”, “controllerKind”: “ReplicatedSecret”, “source”: “kind source: *v1alpha1.ReplicatedSecret”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “replicatedsecret”, “controllerGroup”: “replication.k8ssandra.io”, “controllerKind”: “ReplicatedSecret”, “source”: “kind source: *v1.Secret”}
2024-01-10T11:12:44.727Z INFO Starting Controller {“controller”: “replicatedsecret”, “controllerGroup”: “replication.k8ssandra.io”, “controllerKind”: “ReplicatedSecret”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “stargate”, “controllerGroup”: “stargate.k8ssandra.io”, “controllerKind”: “Stargate”, “source”: “kind source: *v1alpha1.Stargate”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “stargate”, “controllerGroup”: “stargate.k8ssandra.io”, “controllerKind”: “Stargate”, “source”: “kind source: *v1.Deployment”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “stargate”, “controllerGroup”: “stargate.k8ssandra.io”, “controllerKind”: “Stargate”, “source”: “kind source: *v1.Service”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “k8ssandratask”, “controllerGroup”: “control.k8ssandra.io”, “controllerKind”: “K8ssandraTask”, “source”: “kind source: *v1alpha1.K8ssandraTask”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “medusatask”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaTask”, “source”: “kind source: *v1alpha1.MedusaTask”}
2024-01-10T11:12:44.727Z INFO Starting Controller {“controller”: “medusatask”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaTask”}
2024-01-10T11:12:44.727Z INFO Starting Controller {“controller”: “stargate”, “controllerGroup”: “stargate.k8ssandra.io”, “controllerKind”: “Stargate”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”, “source”: “kind source: *v1alpha1.K8ssandraCluster”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”, “source”: “kind source: *v1beta1.CassandraDatacenter”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”, “source”: “kind source: *v1alpha1.Stargate”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”, “source”: “kind source: *v1alpha1.Reaper”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”, “source”: “kind source: *v1.ConfigMap”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “k8ssandratask”, “controllerGroup”: “control.k8ssandra.io”, “controllerKind”: “K8ssandraTask”, “source”: “kind source: *v1alpha1.CassandraTask”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “k8ssandratask”, “controllerGroup”: “control.k8ssandra.io”, “controllerKind”: “K8ssandraTask”}
2024-01-10T11:12:44.728Z INFO controller-runtime.certwatcher Updated current TLS certificate
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “reaper”, “controllerGroup”: “reaper.k8ssandra.io”, “controllerKind”: “Reaper”, “source”: “kind source: *v1alpha1.Reaper”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “medusarestorejob”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaRestoreJob”, “source”: “kind source: *v1alpha1.MedusaRestoreJob”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “reaper”, “controllerGroup”: “reaper.k8ssandra.io”, “controllerKind”: “Reaper”, “source”: “kind source: *v1.Deployment”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “medusarestorejob”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaRestoreJob”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “medusabackupjob”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaBackupJob”, “source”: “kind source: *v1alpha1.MedusaBackupJob”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “medusabackupjob”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaBackupJob”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “reaper”, “controllerGroup”: “reaper.k8ssandra.io”, “controllerKind”: “Reaper”, “source”: “kind source: *v1.Service”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “reaper”, “controllerGroup”: “reaper.k8ssandra.io”, “controllerKind”: “Reaper”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “medusabackupschedule”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaBackupSchedule”, “source”: “kind source: *v1alpha1.MedusaBackupSchedule”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “medusabackupschedule”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaBackupSchedule”}
2024-01-10T11:12:44.727Z INFO Starting EventSource {“controller”: “clientconfig”, “controllerGroup”: “config.k8ssandra.io”, “controllerKind”: “ClientConfig”, “source”: “kind source: *v1beta1.ClientConfig”}
2024-01-10T11:12:44.728Z INFO Starting EventSource {“controller”: “clientconfig”, “controllerGroup”: “config.k8ssandra.io”, “controllerKind”: “ClientConfig”, “source”: “kind source: *v1.Secret”}
2024-01-10T11:12:44.728Z INFO Starting Controller {“controller”: “clientconfig”, “controllerGroup”: “config.k8ssandra.io”, “controllerKind”: “ClientConfig”}
2024-01-10T11:12:44.728Z INFO controller-runtime.webhook Serving webhook server {“host”: “”, “port”: 9443}
2024-01-10T11:12:44.728Z INFO controller-runtime.certwatcher Starting certificate watcher
2024-01-10T11:12:44.832Z INFO Starting workers {“controller”: “medusabackupschedule”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaBackupSchedule”, “worker count”: 1}
2024-01-10T11:12:44.832Z INFO Starting workers {“controller”: “medusatask”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaTask”, “worker count”: 1}
2024-01-10T11:12:44.832Z INFO Starting workers {“controller”: “reaper”, “controllerGroup”: “reaper.k8ssandra.io”, “controllerKind”: “Reaper”, “worker count”: 1}
2024-01-10T11:12:44.832Z INFO Starting workers {“controller”: “stargate”, “controllerGroup”: “stargate.k8ssandra.io”, “controllerKind”: “Stargate”, “worker count”: 1}
2024-01-10T11:12:44.834Z INFO Starting workers {“controller”: “medusabackupjob”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaBackupJob”, “worker count”: 1}
2024-01-10T11:12:44.834Z INFO Starting workers {“controller”: “replicatedsecret”, “controllerGroup”: “replication.k8ssandra.io”, “controllerKind”: “ReplicatedSecret”, “worker count”: 1}
2024-01-10T11:12:44.835Z INFO Starting workers {“controller”: “medusarestorejob”, “controllerGroup”: “medusa.k8ssandra.io”, “controllerKind”: “MedusaRestoreJob”, “worker count”: 1}
2024-01-10T11:12:44.835Z INFO Starting workers {“controller”: “k8ssandratask”, “controllerGroup”: “control.k8ssandra.io”, “controllerKind”: “K8ssandraTask”, “worker count”: 1}
2024-01-10T11:12:44.835Z INFO Starting workers {“controller”: “clientconfig”, “controllerGroup”: “config.k8ssandra.io”, “controllerKind”: “ClientConfig”, “worker count”: 1}
2024-01-10T11:12:44.835Z INFO Starting workers {“controller”: “k8ssandracluster”, “controllerGroup”: “k8ssandra.io”, “controllerKind”: “K8ssandraCluster”, “worker count”: 1}
Now, when I try to create a demo cluster, I get the below error:
Error from server (InternalError): error when creating “…/k8ssandra-demo.yaml”: Internal error occurred: failed calling webhook “vk8ssandracluster.kb.io”: failed to call webhook: Post “https://k8ssandra-operator-webhook-service.k8ssandra-operator.svc:443/validate-k8ssandra-io-v1alpha1-k8ssandracluster?timeout=10s”: context deadline exceeded
Can you please advise on what may be missing?
Thanks,
Dan