Commit Graph

5488 Commits (472eccc83c1997c82894a592208fb1840f8afc8c)

Author SHA1 Message Date
Jonas Kongslund f2f0842e1f Get pods using a label selector instead of hardcoded indexes. Use JsonPath instead of go-template. 2017-06-22 14:14:47 -07:00
Weihua Meng 4d89c1421b correct_init_container_state (#3972) 2017-06-22 14:14:12 -07:00
Radhika Puthiyetath a5a898347a kubernetes.github.io/docs/tasks/administer-cluster: operating etcd clusters 2017-06-22 14:07:53 -07:00
Jeremy Visser 14a39dfcb5 Remove --no-check-certificate flag in bare_metal_offline.md
Using `--no-check-certificate` is, frankly, dangerous and we shouldn't be recommending that users use it. Not without a good reason, anyway.

If a user's system is sufficiently broken that they are getting certificate validation problems during this step, I fail to see how it is our problem to tell the user to overcome that. Let's focus on installing Kubernetes here.
2017-06-22 14:02:43 -07:00
Andrew Chen 64531da47d Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Document the use of verb if set resourceNames
2017-06-22 13:40:42 -07:00
Charlie R.C 4ac5baaf51 Document the use of verb if set resourceNames
ref to https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/rbac/helpers.go#L225
2017-06-22 13:29:30 -07:00
Michael Burke 83474c06d6 removed lt and gt as operators (#4152)
* removed lt and gt as operators

* replace lt and gt for node-affinfity

* updated based on bsalamat review
2017-06-22 13:28:12 -07:00
Andrew Chen f4dcee7526 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  networkpolicies.md --> network-policies.md for SEO
  Added link (#4161)
  Use "sudo -i" instead of "sudo su -"
  Create a section for kubeadm topics
  Consolidate SecurityContext topics. (#4005)
  Typo fix in "Adding ConfigMap data to a Volume" section (#3966)
2017-06-22 10:57:56 -07:00
Janet Kuo 9f6d8f4788 Update task for DaemonSet history and rollback (#4098)
* Update task for DaemonSet history and rollback

Also remove mentions of templateGeneration field because it's deprecated

* Address comments
2017-06-22 10:56:52 -07:00
Andrew Chen 43b9e97774 Merge pull request #4151 from crassirostris/fix-logging-concept-page
Fix title and add a TOC to the logging concept page
2017-06-22 10:51:32 -07:00
Ahmet Alp Balkan e883a27f3b networkpolicies.md --> network-policies.md for SEO
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-22 10:47:34 -07:00
cody-clark 71ed960d75 Added link (#4161) 2017-06-22 10:37:05 -07:00
Andrew Chen b6cc04ed74 Merge pull request #4116 from feiskyer/gpu
Update GPU docs
2017-06-22 10:35:56 -07:00
Jeremy Visser a877e63b8b Use "sudo -i" instead of "sudo su -"
`sudo su -` is redundant, as you are asking the system to elevate you after you have already elevated.

If what you actually want is to get a login environment, the `sudo -i` flag is designed exactly for that.
2017-06-22 10:27:59 -07:00
Ahmet Alp Balkan 01b9cf25f3 Create a section for kubeadm topics
This helps group kubeadm-related Setup topics together.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-22 10:26:24 -07:00
Steve Perry 9da5890274 Consolidate SecurityContext topics. (#4005) 2017-06-21 18:12:44 -07:00
Mitsuhiro Tanino 0c6b381b7c Typo fix in "Adding ConfigMap data to a Volume" section (#3966) 2017-06-21 16:56:38 -07:00
Andrew Chen e8660d307a Merge pull request #4157 from madhusudancs/coredns
Address comments in PR #3997.
2017-06-21 16:55:31 -07:00
Madhusudan.C.S 553cf9ff8b Address comments in PR #3997.
Comment is in
f6eb59c67e (diff-7a14981f3dd8eb203f897ce6c11d9828)
2017-06-21 16:39:29 -07:00
shashidharatd 4ed792d343 Describe setting coredns server in nameserver resolv chain 2017-06-21 15:58:32 -07:00
Andrew Chen ad9c138f72 Merge pull request #4156 from kubernetes/chenopis-4118-patch
Patch #4118 for typos
2017-06-21 14:56:45 -07:00
Andrew Chen 692d9a42b4 Patch #4118 for typos 2017-06-21 14:50:54 -07:00
Andrew Chen 0ac6a9546a Merge pull request #4118 from DirectXMan12/feature/hpa-status-conditions
HPA autoscaling/v2alpha1 status conditions
2017-06-21 14:46:47 -07:00
Andrew Chen c8f3f8f19f Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  bump openstack cli tools versions to working values
  fix header size for sub-sections under Services
  Finish #4036
  Be more specific about cpu-shares passed to Docker (#4016)
  Clarify the required uniqueness of Label Key
  Add --show-all to documentation
  docs(service): remove invalid `,` from example
  Add  "remove" example for kubectl patch (#4042)
  Fix wrong link to create a ConfigMap
  Fix a typo in the High Availability docs (#4048)
  Remove ports from ExternalName Service example
  remove extra that
  update kops installation instructions
2017-06-21 14:43:13 -07:00
Mikhail Vyatskov fe903aaae3 Fix title and add a TOC to the logging concept page 2017-06-21 17:32:49 +02:00
Anirudh Ramanathan 09bf855b76 Update PDB documentation to explain new field (#3885)
* update-docs-pdb

* Addressed erictune@'s comments
2017-06-20 16:33:44 -07:00
Federico Gimenez 0b5d13704a bump openstack cli tools versions to working values 2017-06-20 16:31:22 -07:00
Andrew Chen 76cb30a271 Merge pull request #4095 from croomes/storageos
Storageos Volume Plugin
2017-06-20 16:27:10 -07:00
Andrew Chen e0ad6ebf6b Merge pull request #4145 from vishh/document-storage-allocatable
Adding storage as a supported resource to node allocatable
2017-06-20 16:18:53 -07:00
Ricky Pai cdf729e223 fix header size for sub-sections under Services 2017-06-20 16:14:09 -07:00
Andrew Chen d2cecced7e Merge pull request #4148 from kubernetes/chenopis-4036-patch
Finish #4036
2017-06-20 16:12:57 -07:00
Andrew Chen f81a6fc682 Finish #4036 2017-06-20 16:07:42 -07:00
Eric Mountain @ Amadeus e53bdeb5d0 Be more specific about cpu-shares passed to Docker (#4016)
Docker documentation (https://docs.docker.com/engine/reference/run/) reads:
  
"To modify the proportion from the default of 1024, use the -c or --cpu-shares flag to set the weighting to 2 or higher. If 0 is set, the system will ignore the value and use the default of 1024."

So the Kubernetes documentation gives the impression that if requests.cpu is zero, Docker would end up applying a value of 1024, which isn't the case.

This change makes the explanation more precise, hopefully without making it much more difficult to read.
2017-06-20 16:01:16 -07:00
Sahdev P. Zala 82449c5dcf Clarify the required uniqueness of Label Key
fixes #16812

https://github.com/kubernetes/kubernetes/issues/16812

The issue was opened year back against Kubernetes, not moving it to k8s.
github.io issues but I will close the issue once these changes merge.
2017-06-20 15:58:26 -07:00
Tommy Falgout fb2ba2d962 Add --show-all to documentation
`kubectl get pods -l jobgroup=jobexample --show-all -o name`
will not show the completed jobs.  This caught me when running through the steps myself.
2017-06-20 15:56:50 -07:00
Ross Guarino 2d159b86f6 docs(service): remove invalid `,` from example
Remove invalid `,` from the ExternalIP example YAML.
2017-06-20 15:49:20 -07:00
Jorge Bianquetti bed2527af1 Add "remove" example for kubectl patch (#4042) 2017-06-20 15:47:42 -07:00
Tomas Pizarro 63687c5ace Fix wrong link to create a ConfigMap 2017-06-20 15:30:03 -07:00
Jonathan MacMillan daca587c77 Fix a typo in the High Availability docs (#4048) 2017-06-20 15:19:04 -07:00
Mark Petrovic 8e06188af4 Remove ports from ExternalName Service example
The text of this document says Services of type ExternalName do not define ports.  This PR removes the port definition from the example.
2017-06-20 15:08:41 -07:00
Pooya Sanooei f58cc22a20 remove extra that 2017-06-20 14:27:10 -07:00
Eren Güven 582f6f5bd3 update kops installation instructions
* change version v1.4.1 -> 1.6.1
* add note about Homebrew
2017-06-20 14:26:35 -07:00
Andrew Chen 91ecf67ad4 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fixes typos and corrects links in the minikube guide (#4051)
  Use native patch functionality instead of JQ
  add the introduce of using wildcard '*' in nonResourceURL
  Rephrase doc about Deployment .spec.rollbackTo field
  create-cluster-kubeadm: add ToC using task template
  install-kubeadm: fix What's Next link text
2017-06-20 14:23:19 -07:00
Sameer Naik 7047cdefbf fixes typos and corrects links in the minikube guide (#4051) 2017-06-20 14:14:37 -07:00
Jeff Peeler c1c6faf59b Add documentation for podpreset opt-out annotation
This adds the annotation for having the podpreset admission controller
to skip (opt-out) manipulating the pod spec.

Also, the annotation format for what presets have acted on a pod has
been modified to add a prefix of "podpreset-". The new naming makes it such
that there is no chance of collision with the newly introduced opt-out
annotation (or future ones yet to be added).

Opt-out annotation PR:
kubernetes/kubernetes#44965
2017-06-20 14:10:34 -07:00
Elliot Anderson 6ce8d8e475 Use native patch functionality instead of JQ 2017-06-20 13:48:44 -07:00
Vishnu kannan 33a3638d5b adding storage as a supported resource to node allocatable
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-06-20 13:21:28 -07:00
xilabao f527759087 add the introduce of using wildcard '*' in nonResourceURL 2017-06-20 13:17:05 -07:00
Janet Kuo fcbef29da7 Rephrase doc about Deployment .spec.rollbackTo field 2017-06-20 11:09:34 -07:00
Ahmet Alp Balkan 3c84f8180a create-cluster-kubeadm: add ToC using task template
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-20 11:03:08 -07:00