-
Notifications
You must be signed in to change notification settings - Fork 74
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
Stargate ENV SEED is incorrect when deploying to kubeadm cluster with non-default cluster and domain name #778
Comments
Hi @tlb1galaxy, it looks like we're missing something in the CRD indeed to indicate the cluster domain: https://github.com/k8ssandra/k8ssandra-operator/blob/main/pkg/stargate/deployments.go#L29-L31 @burmanm, should we totally remove the cluster domain part or add the cluster domain in the CRD? |
@adejanovski Move Stargate config to
|
Remove, if we're accessing the local cluster (and not a remote one). We don't need that info and traditionally the Kubernetes cluster itself hasn't known its own cluster name. |
Sounds good, let's remove all occurrences of |
same issue. helm install k8ssandra-cluster k8ssandra/k8ssandra-operator -n k8ssandra-operator --set global.clusterScoped=true --create-namespace Wanting for solution |
What happened?
New K8ssandra deployment via k8ssandra-operator injects incorrect environment variable value for SEED into the Stargate pod.
Did you expect to see something different?
Would expect to see the actual DNS name 'demo-seed-service.k8ssandra-operator.svc.k8s-clst01.domain01.local'
How to reproduce it (as minimally and precisely as possible):
brand new deployment of k8ssandra-operator
Kubernetes cluster name and domain are not cluster.local
a. v0.38.5 has issues, so using 0.38.2
Environment
K8ssandra Operator version:
docker.io/k8ssandra/k8ssandra-operator:v1.2.1
Kubernetes version information:
kubectl version
CNI
calico v3.24.0
CRI
containerd v1.5.9
DNS
coreDNS
Kubernetes cluster kind:
kubeadm
Manifests:
30-k8ssandra-k8ssandracluster.yaml
No errors show in the operator log
The text was updated successfully, but these errors were encountered: