-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
Description
What happened:
When a node from a cluster is removed the NNCP status is still showing the same number of nodes
status:
conditions:
- lastHeartbeatTime: "2022-06-08T13:35:03Z"
lastTransitionTime: "2022-06-08T13:35:03Z"
message: 2/2 nodes successfully configured
reason: SuccessfullyConfigured
status: "True"
type: AvailableWhat you expected to happen:
NNCP status has to be updated with current number of nodes
status:
conditions:
- lastHeartbeatTime: "2022-06-08T13:35:03Z"
lastTransitionTime: "2022-06-08T13:35:03Z"
message: 1/1 nodes successfully configured
reason: SuccessfullyConfigured
status: "True"
type: AvailableHow to reproduce it (as minimally and precisely as possible):
- Apply an NNCP
- Remove a node from the cluster
Anything else we need to know?:
Environment:
NodeNetworkStateon affected nodes (usekubectl get nodenetworkstate <node_name> -o yaml):- Problematic
NodeNetworkConfigurationPolicy: - kubernetes-nmstate image (use
kubectl get pods --all-namespaces -l app=kubernetes-nmstate -o jsonpath='{.items[0].spec.containers[0].image}'): - NetworkManager version (use
nmcli --version) - Kubernetes version (use
kubectl version): - OS (e.g. from /etc/os-release):
- Others: