plunder-app / plndr-cloud-provider

A bare metal cloud provider for Kubernetes
Apache License 2.0
40 stars 5 forks source link

Use uPNP SSDP to detect down node status #26

Open displague opened 3 years ago

displague commented 3 years ago

Part of https://github.com/plunder-app/plndr-cloud-provider/issues/25

Originally https://github.com/plunder-app/kube-vip/issues/58#issuecomment-669497412

In a home network environment, with a typical commercial uPNP router, SSDP can be used by the cluster to detect if a node is no longer available so that the CCM can take appropriate actions to affect the node resource (InstanceShutdownByProviderID).

https://github.com/kubernetes/kubernetes/blob/01517e530faab6d600a1bedc730550a218834a73/pkg/controller/cloud/node_controller.go#L256