k8ssandra-operator icon indicating copy to clipboard operation
k8ssandra-operator copied to clipboard

k8ssandra-operator unable to handle DNS names

Open renoypaulose opened this issue 1 year ago • 1 comments

What happened? with old k8ssandra(helm based) FQDNs where accepted in additionalSeeds. But with current k8ssandra-operator (v1.5.2), if i give domain name, then error is shown as below. Endpoints "playcassandra-last-scass-dc2-additional-seed-service" is invalid: [subsets[0].addresses[0].ip: Invalid value: "scass-dc3-0-a.play.abc.com": must be a valid IP address, (e.g. 10.9.8.7 or 2001:db8::ffff), subsets[0].addresses[0].ip: Invalid value: "scass-dc3-0-a.play.abc.com": must be a valid IP address]

Did you expect to see something different? additionalSeeds should accept FQDNs

How to reproduce it (as minimally and precisely as possible): Give a DNS name under additionalSeeds in k8ssandracluster yaml

Environment

  • K8ssandra Operator version: v1.5.2

    Insert image tag or Git SHA here

  • Kubernetes version information: 1.24.3

  • Kubernetes cluster kind:

    insert how you created your cluster: kops, bootkube, etc.

  • Manifests:

insert manifests relevant to the issue
  • K8ssandra Operator Logs:
insert K8ssandra Operator logs relevant to the issue here

Anything else we need to know?:

┆Issue is synchronized with this Jira Story by Unito

renoypaulose avatar Mar 10 '23 11:03 renoypaulose