Hi,
I am facing an issue in my attempt to install a single cluster using k8ssandra operator in my on-premises IPv6-only Kubernetes cluster (Ubuntu 23.10).
kubectl logs demo-dc1-default-sts-0 -n k8ssandra-operator -c server-system-logger
INFO [main] 2024-10-19 12:47:34,313 GossipingPropertyFileSnitch.java:67 - Unable to load cassandra-topology.properties; compatibility mode disabled
WARN [main] 2024-10-19 12:47:34,415 K8SeedProvider4x.java:47 - Seed provider couldn’t lookup host demo-seed-service
WARN [main] 2024-10-19 12:47:34,529 K8SeedProvider4x.java:47 - Seed provider couldn’t lookup host demo-dc1-additional-seed-service
ERROR [main] 2024-10-19 12:47:34,530 CassandraDaemon.java:909 - Exception encountered during startup: The seed provider lists no seeds.
kubectl get pods -n k8ssandra-operator
NAME READY STATUS RESTARTS AGE
demo-dc1-default-sts-0 1/2 Running 0 85m
demo-dc1-default-sts-1 1/2 Running 0 85m
demo-dc1-default-sts-2 1/2 Running 0 85m
k8ssandra-operator-697f749dd6-dgz2k 1/1 Running 0 2d19h
k8ssandra-operator-cass-operator-789c79564-48z77 1/1 Running 0 2d19h
kubectl get svc -n k8ssandra-operator
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
demo-dc1-additional-seed-service ClusterIP None 3h19m
demo-dc1-all-pods-service ClusterIP None 9042/TCP,8080/TCP,9103/TCP,9000/TCP 3h19m
demo-dc1-contact-points-service ClusterIP None 9000/TCP,9042/TCP,8080/TCP,9103/TCP 3h19m
demo-dc1-service ClusterIP None 9042/TCP,9142/TCP,8080/TCP,9103/TCP,9000/TCP 3h19m
demo-seed-service ClusterIP None 3h19m
k8ssandra-operator-cass-operator-webhook-service ClusterIP 443/TCP 2d20h
k8ssandra-operator-webhook-service ClusterIP 443/TCP 2d20h
My K8ssandraCluster configuration is below:
---
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
name: demo
spec:
cassandra:
resources:
requests:
cpu: 1000m
memory: 1Gi
serverVersion: "4.0.1"
datacenters:
- metadata:
name: dc1
namespace: k8ssandra-operator
size: 3
racks:
- name: rack1
nodeAffinityLabels:
"topology.kubernetes.io/zone": zone1
storageConfig:
cassandraDataVolumeClaimSpec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
config:
jvmOptions:
heapSize: 2048M
stargate:
size: 1
resources:
requests:
cpu: 1000m
memory: 1Gi
kubectl describe pods demo-dc1-default-sts-0 -n k8ssandra-operator
…
Events:
Type Reason Age From Message
Warning Unhealthy 19s (x679 over 99m) kubelet Readiness probe failed: HTTP probe failed with statuscode: 500
Worker nodes have at least 8 GB of RAM.
Could someone help me? I have already searched through a lot of content, including the following, but haven’t been able to resolve the error.
[ Link ]