Control plane and data plane in same kubernetes

Hi Team,

Is it possible to have control plane and data plane in the two different namespaces of the same cluster…
If so, could you guys help me whether it is possible or not.

Thanks & Regards,
Ajith

Hi @Ajith_Palani, you can create a single control plane installation of K8ssandra-operator (which will be deployed in the k8ssandra-operator for example) and then a multi DC cluster that will place each DC in a different namespace (k8ssandra-one and k8ssandra-two here):

apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: test-cluster
  namespace: k8ssandra-operator
spec:
  auth: true
  cassandra:
    datacenters:
        - metadata:
            name: dc1
            namespace: k8ssandra-one
          size: 3
        - metadata:
            name: dc2
            namespace: k8ssandra-two
          size: 3

You’ll just need to create the K8ssandraCluster object in the k8ssandra-operator namespace so that the operator can pick it up.

1 Like

Thanks @alexander … Appreciate your reply!!

Hi @alexander ,
Is is possible to install k8ssandra operator without cert-manager operator…?
Does the k8ssandra operator has a strong dependency with cert-manager operator…?
Just curious about if we have an option having cassandra cluster without tls encryption …

cert-manager is required indeed, and it’s not used for TLS encryption, but for generating webhook certificates.

1 Like

Thanks @alexander …now it makes sense…

Hi @alexander
How to do the networking for pod to pod communication across multiple kubernetes cluster…?
Do you have any suggestion for that which can fit for production…?

Thanks ,
Ajith