Add node's IP range cidr to NodeSpec

This commit is contained in:
Tomek Kulczynski
2015-02-16 13:53:00 +01:00
parent 28dd73dd8c
commit 09c955f94e
6 changed files with 14 additions and 1 deletions

View File

@@ -812,6 +812,8 @@ type NodeSpec struct {
// Capacity represents the available resources of a node
// see https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/resources.md for more details.
Capacity ResourceList `json:"capacity,omitempty"`
// PodCIDR represents the pod IP range assigned to the node
PodCIDR string `json:"cidr,omitempty"`
}
// NodeStatus is information about the current status of a node.