website/content/en/examples
Rajesh Deshpande 83f50b828f
A new task page for assigining a pod to nodes using node affinity (#19265)
* Example for required node affinity tasks

Example for required node affinity tasks

* Create pod-nginx-preffered-affinity.yaml

* task for assigning pods nodes using node affinity

A new task for assigning pods nodes using node affinity

* Correcting syntax and spelling

Correcting syntax and spelling

* Correcting syntax and spelling

Correcting syntax and spelling

* fix for review comment 

Fix for review comment

* Adding min k8s server version

Adding min k8s server version

* Correcting small style issues

Correcting small style issues. This will also retrigger new build.
2020-03-26 01:26:30 -07:00
..
admin
application Update nginx to modern versions (#19198) 2020-03-17 10:48:23 -07:00
audit
configmap
controllers Update nginx to modern versions (#19198) 2020-03-17 10:48:23 -07:00
debug
minikube
podpreset
pods A new task page for assigining a pod to nodes using node affinity (#19265) 2020-03-26 01:26:30 -07:00
policy
service
windows
README.md
examples.go
examples_test.go

README.md

Note: These tests are importing code from kubernetes that isn't really meant to be used outside the repo. This causes vendoring problems. As a result, we have to work around those with these lines in the travis config:

- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/