PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

jayachandran.radhakrishnan1_183130 avatar image
jayachandran.radhakrishnan1_183130 asked ·

Connecting from outside the Kubernetes cluster

The details provided int the GitHub helps, but we use DSE does all these statements mentioned are applicable to DSE 6.8 deployment using operator ? I don't see the reference of Management API sidecar for DSE6.8 is it planned to be released to support in further releases ?


we are having a Anthos GKE (on-prem) based Kubernetes cluster and need some clarity on the below reference

https://github.com/datastax/cass-operator/tree/master/docs/user#using-a-specific-image

Connecting from outside the Kubernetes cluster

Accessing the instances from CQL clients located outside the Kubernetes cluster is an advanced topic, for which a detailed discussion is outside the scope of this document.

Note that exposing Cassandra or DSE on the public internet with authentication disabled or with the default username and password in place is extremely dangerous. It's strongly recommended to protect your cluster with a network firewall during deployment, and secure the default superuser account before exposing any ports publicly.


  • How we can connect OpsCenter to the Cassandra Cluster deployed
    • Are we expecting the OpsCenter to be deployed in Kubernetes cluster itself ?
  • How applications outside of the Kubernetes cluster can access the cluster ?
    • Do you have any reference ?
dseopscenterkubernetescass-operator
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

bradfordcp avatar image
bradfordcp answered ·
  • Does all these statements mentioned are applicable to DSE 6.8 deployment using operator?

    This question isn't entirely clear. The documentation in the cass-operator repo applies to both Apache Cassandra and DSE.

  • I don't see the reference of Management API sidecar for DSE6.8 is it planned to be released to support in further releases ?

    The Management API is included as part of 6.8. It does not need to be downloaded or installed separately. We include the enablement of the management API as part of our entrypoint scripts for all Docker images where it is present.

  • https://github.com/datastax/cass-operator/tree/master/docs/user#using-a-specific-image

    If you need to specify a private registry or image use the serverImage and configBuilderImage keys to specify the specific coordinates. You must continue to specify the serverType and serverVersion as those values are passed to the config builder.

  • How we can connect OpsCenter to the Cassandra Cluster deployed?

    Right now we do not recommend running OpsCenter inside of Kubernetes with DSE. Almost all functionality provided by OpsCenter has been moved in-process (NodeSync, Backups, etc) or to dedicated tooling (DSE Metrics Collector with Prometheus and Grafana for monitoring and alerting)

    Additionally, when running the management API we do not start the DataStax Agent process. As such OpsCenter will be missing its bridge to the running DSE process.

  • Are we expecting the OpsCenter to be deployed in Kubernetes cluster itself?

    No, OpsCenter should not be deployed within Kubernetes. Please leverage the tooling available mentioned in the previous question's answer.

  • How applications outside of the Kubernetes cluster can access the cluster?

    There are a number of options available for outside connectivity to C* clusters running within k8s. We are currently pulling together documentation and reference configurations for a number of approaches, but it is not available publicly at this time.

    In the meantime check out http://alesnosek.com/blog/2017/02/14/accessing-kubernetes-pods-from-outside-of-the-cluster/ for some information on how to expose services until we can be a bit more prescriptive in our guidance. I'll be sure to update this answer when that documentation becomes available.
1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi Brad,

Thanks for the prompt response, this really helps us to plan our deployment,

Need some additional Inputs related to our Kubernetes architecture


We are large consumer of DataStax and we are planning to deploy DSE6.8 Operator in our on-prem Anthos GKE cluster ( Single Tenant for each applications and application will be running outside of the Kubernetes cluster hosting Cassandra)


Also Anthos Service Mesh which implements Istio Ingress Gateway for exposing services, can you provide some inputs on whether DSE is supporting Service Mesh and also Istio Ingress gateway ?

Istio supports Stateful sets services with the version we have and we are also trying to understand from Google how it can help us to expose stateful sets outside the Anthos cluster parallel.

* If Service Mesh or Istio Ingress is not supported, what is the alternate to expose the services, is nodeport or any other service type recommended ?


any inputs and reference will help us to progress with our POC


0 Likes 0 · ·
smadhavan avatar image
smadhavan answered ·

@jayachandran.radhakrishnan1_183130, Cass Operator requires using the management-api-for-apache-cassandra REST interface. For accessing data outside of the k8s cluster itself, please refer to this reference implementation. I hope that helps!

4 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

The management API is not related to OpsCenter at all. It provides a RESTful interface which cass-operator leverages.

0 Likes 0 · ·

Thank you!

0 Likes 0 · ·

No worries, your other links and information was super helpful. Thank you for being a part of the community.

1 Like 1 · ·

Thanks Madhavan for the inputs, it helps.

1 Like 1 · ·