xanderdunn / kube-state-rs

A stateless Kubernetes service in Rust to preserve node state between removing and adding nodes in a cluster
0 stars 0 forks source link

Namespace the ConfigMaps #9

Closed xanderdunn closed 11 months ago

xanderdunn commented 11 months ago

Currently we create a ConfigMap for each node and then name of the ConfigMap is the same as the name of the node whose metadata it stores. We may want to namespace the ConfigMap names, such as prepending lbale.storage. to all ConfigMap names created by this service to be sure that we don't create any collisions with other services that may be creating ConfigMaps.

xanderdunn commented 11 months ago

I'm now using TRANSACTION_NAMESPACE for the node created and deleted ConfigMaps and NODE_METADATA_NAMESPACE for the most recent node metadata state ConfigMaps.