Giter VIP home page Giter VIP logo

Comments (6)

chrislovecnm avatar chrislovecnm commented on July 23, 2024

Questions

  1. Are we using CRDs for this?
  2. If the operator does not own the cluster already how are we adjusting the settings?
  3. How is number 4 and number 2 different?

from cockroach-operator.

chrislovecnm avatar chrislovecnm commented on July 23, 2024

https://github.com/chrislovecnm/cockroach-operator/blob/master/pkg/resource/statefulset.go seems to be where all of the configurations for the stateful set are located.

https://github.com/helm/charts/blob/master/stable/cockroachdb/templates/statefulset.yaml is a good example of the stateful set

from cockroach-operator.

chrislovecnm avatar chrislovecnm commented on July 23, 2024

https://www.cockroachlabs.com/docs/stable/cluster-settings.html does DevOps person use these settings?

As an operator, I can configure CockroachDB custom resources on a
new cluster in Kubernetes, so that I can initialize a cluster that will meet
my deployment needs.

Where should we start? What components are not set? Is this just command line configurations?

from cockroach-operator.

johnrk-zz avatar johnrk-zz commented on July 23, 2024

@chrislovecnm ,

Questions

  1. Are we using CRDs for this?

Yes, suspect the existing Operator's CRD contains our desired set of custom resources. @chrisseto , is this consistent with CockroachCloud?

  1. If the operator does not own the cluster already how are we adjusting the settings?

I'm not sure about this one. We need to be able to configure cluster settings to be able to apply a license ("enterprise.license").

  1. How is number 4 and number 2 different?

#2 and #4 are different. #2 should be defined in the CRD and easily applied with yaml file like how one can configure "topology" in 3-nodes-insecure.yaml because it's defined in our CRD. #4 is based on CockroachDB's Cluster which are not all defined in the CRD.

from cockroach-operator.

johnrk-zz avatar johnrk-zz commented on July 23, 2024

@chrislovecnm ,

https://www.cockroachlabs.com/docs/stable/cluster-settings.html does DevOps person use these settings?

As an operator, I can configure CockroachDB custom resources on a
new cluster in Kubernetes, so that I can initialize a cluster that will meet
my deployment needs.

Where should we start? What components are not set? Is this just command line configurations?

We should start on making sure all of these custom resources in the CRD work. nodes, version, and clientTLSSecret are good places to start because we need to be able to start secure clusters with the right version and multiple pods.

from cockroach-operator.

johnrk-zz avatar johnrk-zz commented on July 23, 2024

I've separated out the CockroachDB Cluster Settings configuration in a separate issue: #51

from cockroach-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.