mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Rename the etcd path for pods to be /registry/nodes/<>/boundpods
This commit is contained in:
committed by
Eric Paris
parent
6ae611aedd
commit
26cff8b9bf
@@ -34,7 +34,7 @@ import (
|
||||
)
|
||||
|
||||
func EtcdKeyForHost(hostname string) string {
|
||||
return path.Join("/", "registry", "hosts", hostname, "kubelet")
|
||||
return path.Join("/", "registry", "nodes", hostname, "boundpods")
|
||||
}
|
||||
|
||||
type SourceEtcd struct {
|
||||
@@ -111,7 +111,3 @@ func eventToPods(ev watch.Event) ([]api.BoundPod, error) {
|
||||
|
||||
return pods, nil
|
||||
}
|
||||
|
||||
func makeContainerKey(machine string) string {
|
||||
return "/registry/hosts/" + machine + "/kubelet"
|
||||
}
|
||||
|
Reference in New Issue
Block a user