Skip to content
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

Generate K8ssandraCluster spec to match test input model #15

Open
jeffbanks opened this issue Feb 23, 2022 · 0 comments
Open

Generate K8ssandraCluster spec to match test input model #15

jeffbanks opened this issue Feb 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jeffbanks
Copy link
Contributor

Automation for test precondition setup to populate the K8ssandraCluster specification used in a cloud-readiness test with references to unique names as defined by the test input model.

Request: The cloud-readiness framework will generate a unique K8ssandra cluster name and full context name(s) based on the number of clusters provisioned.

Example

Cluster name:

  • bootz-k8c-cluster

Contexts:

  • gke_community-ecosystem_us-central1_dev-bootz1
  • gke_community-ecosystem_us-central1_dev-bootz2
  • gke_community-ecosystem_us-central1_dev-bootz3

Load and populate the K8ssandraCluster specification used in the install to include those names.

File reference: K8ssandra -> test -> config -> k8ssandra-clusters.yaml

metadata:
  name: bootz-k8c-cluster
...
spec:
  cassandra:
    datacenters:
      - metadata:
          name: dc1
        k8sContext: gke_community-ecosystem_us-central1_dev-bootz1
        size: 3
        stargate:
          size: 1
          heapSize: 256M
      - metadata:
          name: dc2
        k8sContext: gke_community-ecosystem_us-central1_dev-bootz2
        size: 3
        stargate:
          size: 1
          heapSize: 256M
      - metadata:
          name: dc3
        k8sContext: gke_community-ecosystem_us-central1_dev-bootz3
        size: 3
        stargate:
          size: 1
          heapSize: 256M
@jeffbanks jeffbanks added the enhancement New feature or request label Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant