From 2236fee028a7cb4c38b3324fdefcddb31e32bbb0 Mon Sep 17 00:00:00 2001 From: David Oppenheimer Date: Fri, 24 Jul 2015 22:45:18 -0700 Subject: [PATCH] Fix link to node selector documentation. --- api/swagger-spec/v1.json | 2 +- pkg/api/v1/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 5c5561df769..8552cf8386a 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -11961,7 +11961,7 @@ }, "nodeSelector": { "type": "any", - "description": "selector which must match a node's labels for the pod to be scheduled on that node; see http://releases.k8s.io/HEAD/examples/node-selection/README.md" + "description": "selector which must match a node's labels for the pod to be scheduled on that node; see http://releases.k8s.io/HEAD/docs/user-guide/node-selection/README.md" }, "serviceAccountName": { "type": "string", diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index d6a23868843..720d316d271 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -873,7 +873,7 @@ type PodSpec struct { // Optional: Set DNS policy. Defaults to "ClusterFirst" DNSPolicy DNSPolicy `json:"dnsPolicy,omitempty" description:"DNS policy for containers within the pod; one of 'ClusterFirst' or 'Default'"` // NodeSelector is a selector which must be true for the pod to fit on a node - NodeSelector map[string]string `json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node; see http://releases.k8s.io/HEAD/examples/node-selection/README.md"` + NodeSelector map[string]string `json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node; see http://releases.k8s.io/HEAD/docs/user-guide/node-selection/README.md"` // ServiceAccountName is the name of the ServiceAccount to use to run this pod ServiceAccountName string `json:"serviceAccountName,omitempty" description:"name of the ServiceAccount to use to run this pod; see http://releases.k8s.io/HEAD/docs/service_accounts.md"`