-
Notifications
You must be signed in to change notification settings - Fork 79
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
Support two or more multidatacenter on same nodes? #1443
Comments
We already support running multiple Cassandra pods on the same nodes. It's just affinities. What you're seeing is probably the use of hostNetworking which then takes the ports on the host. If using pod network, this isn't an issue, you can have as many pods as you want with the default port settings. |
Hi burmanm, |
1 similar comment
Hi burmanm, |
Yes, we don't support port changes at this point from the CRD. For mgmt-api configuration, it would be this ticket: k8ssandra/cass-operator#242 In theory, the PodTemplateSpec in CassandraDatacenter allows to change the ports, but I'm not sure if the information is shared correctly (as only the mgmt-api port is stored in the status that's used for connection from operator <-> mgmt-api). |
What is missing?
Support two or more multidatacenter on same nodes:
Why do we need it?
We use a lot of tables and differents apps in the same cassandra cluster multidatacenter. We need to separate this cluster into several, to avoid the impact in Cassandra:
Environment
Cassandra 5.0.1
K8ssandra Operator version:
cr.k8ssandra.io/k8ssandra/k8ssandra-operator:v1.20.2
Anything else we need to know?:
You already support the change of the hostPort: https://docs-v2.k8ssandra.io/reference/crd/k8ssandra-operator-crds-latest/#k8ssandraclusterspeccassandracontainersindexportsindex
But we can't change the default ports used in the cointainers images and it gives us erros like:
ERROR [main] 2024-10-29 10:38:27,940 CassandraDaemon.java:887 - Port already in use: 7199; nested exception is: java.net.BindException: Address already in use (Bind failed)
I only see this one: MGMT_API_LISTEN_TCP_PORT: 8080 , k8ssandra/management-api-for-apache-cassandra#398
Thanks you in advance!
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: K8OP-285
The text was updated successfully, but these errors were encountered: