Skip to content

K8s Snitch and Provider #37

@chrislovecnm

Description

@chrislovecnm

KubernetesSeedProvider java class
KubernetesSnitch java class

Please submit a PR to https://github.com/k8s-for-greeks/cassandra. The https://github.com/k8s-for-greeks/cassandra/tree/removed-10731-migration-task-wait branch should probably be merged into a main offshoot that we maintain.

Rack should be based on GCE Availzone, and DC should probably be ENV props. Thoughts? We could also do rack and DC off of node tags ... Your choice ... I like to do it off of k8s, so @mward29 can use it in aws :)

GCE K8s instances already have the az tagged so that is super easy to pick-up. You should be able to access the k8s api for the node tag. I cannot find the example for a po access its nodes api ... but it should be pretty easy :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions