ceph-csi icon indicating copy to clipboard operation
ceph-csi copied to clipboard

Provide a sidecar to fetch information from Kubernetes

Open nixpanic opened this issue 5 years ago • 4 comments

Describe the feature you'd like to have

There should be a sidecar that can be used to request information from Kubernetes (or any other CO) that is used by the provisioner and node-plugins.

What is the value to the end user? (why is it a priority?)

Currently the provisioner and node-plugins use a Kubernetes client to fetch extra information from the Kubernetes environment. This makes it impossible to use certain features (Topology based provisioning, Vault Tokens encryption) on non-Kubernetes container orchestration platforms.

How will we know we have a good solution? (acceptance criteria)

The Ceph-CSI provisioner and node-plugins should not connect to Kubernetes directly anymore.

Additional context

See conversations in #1743

nixpanic avatar Dec 10 '20 11:12 nixpanic

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 04 '21 21:09 github-actions[bot]

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

github-actions[bot] avatar Sep 12 '21 21:09 github-actions[bot]

@nixpanic should we consider this one or close it as we have adding auto detect mechanism for CO

Madhu-1 avatar Nov 03 '23 09:11 Madhu-1

Ideally Ceph-CSI does not use Kubernetes directly at all... It would be cleaner to just talk to a CSI-Addons sidecar and fetch things that are needed through that. But that is a major effort.

There are currently several usages of the internal/util/k8s api that do not check with RunsOnKubernetes(). Those need to be cleaned up. Once that is done, I guess this issue can be closed.

nixpanic avatar Nov 03 '23 10:11 nixpanic