Commit Graph

4381 Commits (4a6bf5c688d1db7544732695bd56d9b7b27aad2b)

Author SHA1 Message Date
Ahmet Alp Balkan acef396611 Fix typos and add a paragraph for initializers doc (#4369)
* Fix typos and add a paragraph for initializers doc

- Fixed a few consistency issues and typos in the doc
- Also fixed an username typo in assignees
- Added a paragraph explaining how the example initializerconfiguration will
  be applied once it is created.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Add .pending to metadata.initializers, re-wording

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-31 23:15:39 -07:00
Davanum Srinivas 11238eea0e Fix Typo - Initializer should be Initializers
Looking at the code, the right string to set in --admission-control would be `Initializers`:
https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/admission/initialization/initialization.go#L43
2017-07-31 17:21:10 -07:00
Xiaoyu Zhang aaa7e8a948 add three punctuations (#4539)
* add two punctuation

add two punctuation

* add one more
2017-07-31 17:20:19 -07:00
xiaoy d5595d133f fix container name (#4542)
* fix command and try cla again

* fix command

* the container name should be sidecar
2017-07-31 17:16:41 -07:00
Jennifer Rondeau d27df547b2 Apply templates, some edits for style guide conformance (#4537)
* edit for template, style guide conformance

* fix whitespace errors

* fix template errors
2017-07-31 16:43:08 -07:00
JENNIFER RONDEAU d32de1bedb add links about ports and firewalls 2017-07-31 16:38:48 -07:00
Jennifer Rondeau 3a37833823 fix broken link to concepts topic (#4471)
* rebase and resolve merge conflict

* fix whitespace error
2017-07-31 16:37:40 -07:00
JENNIFER RONDEAU 28939a8eae fix memorypressue and diskpressure descriptions 2017-07-31 16:36:35 -07:00
Andrew Chen 0e500aa7d7 Reimplement #4541 2017-07-31 16:26:37 -07:00
William Chang 5d966136c5 Fix the variables file path. (#4483) 2017-07-28 21:48:45 -07:00
Cody Clark 9f0d7e54b2 Adding Callouts to Docs (#4535)
* Create callouts.css

* Linking callouts.css

* Alphabetical order

* Added doc for using callouts

* Fix link

* Deleting info

* Updates per Ahmet

Added more detailed examples and a common issues section

* Update style-guide.md
2017-07-28 16:59:19 -07:00
Ahmet Alp Balkan f7b3a88df6 Import updated cassandra tutorial
Ran `./update-imported-tutorials.py`.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-28 10:09:41 -07:00
Slava Semushin d629d10178 pod-security-policy.md: clarify the difference between the case when pod being created by a user and a service account. 2017-07-28 10:06:22 -07:00
Tobin Harding f89a999584 Make minor gramatical change 2017-07-28 10:03:49 -07:00
Davanum Srinivas 41ad364646 Fix Typo - "SubjectAccessReviewStatus" -> "status"
- "SubjectAccessReview" is the value of the "kind" field of the request and response. The webhook has to fill in the "status" field to indicate authorization passed or failed.
- For consistency highlight spec better using back ticks
2017-07-28 09:55:45 -07:00
sope be76c4bca7 Add TypeScript client library for kubernetes (#4524) 2017-07-28 08:41:49 -07:00
Andrew Chen 2e257d9707 Changes for move to Netlify (#4464)
* disable jekyll-redirect-from gem

* add _redirects file

* disable 404 redirect script

* add 301 redirect to test

* retain _redirects file

* Convert redirect_from's to _redirect file. (#4409)

* Remove redirect_from's. (#4424)

* Add 301's to _redirects. (#4427)

* add whitespace before 301

* move redirects in /js/redirects/js to _redirects

* add disabled option for cn redirect

* convert include to array in _config.yml

* enable redirects.js script for legacy support
2017-07-28 08:23:11 -07:00
dhilipkumars 130b72927c Simplify sentence 2017-07-28 01:01:48 -07:00
divyenpatel b4317f583e minor correction for datastore storage folder 2017-07-28 00:54:09 -07:00
Adam Schepis eedaff61ee Fix spelling error (#4528)
Fix misspelling of rabbitmq in coarse parallel processing example
2017-07-27 16:51:16 -07:00
divyenpatel 3d05d95e71 Updated Getting Started Guide for vSphere Cloud Provider 2017-07-27 15:26:14 -07:00
steveperry-53 f9ac865c5f In links to ref pages, use {{page.version}}. 2017-07-27 15:23:25 -07:00
Ahmet Alp Balkan 28f3cfdd4f Update backlinks to client libraries page
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-27 14:42:20 -07:00
Xiaoyu Zhang 2d4111833c update version No. to para. (#4442)
update version No. to para.
2017-07-27 14:37:55 -07:00
Saksham Sharma 63167903a5 Change deprecated `kubectl update` to `replace` (#4307) 2017-07-27 14:36:59 -07:00
Slava Semushin 15d9cfbd92 Revert "add host paths to psp (#3971)"
This reverts commit 952e5b4497 because
support of this field was also reverted.
2017-07-27 14:31:43 -07:00
Slava Semushin 99ddcb933e docs/concepts/policy/pod-security-policy.md: update link to example. 2017-07-27 14:27:11 -07:00
jianglingxia 5a4f3c738b change the limit to request 2017-07-27 14:19:42 -07:00
Emmanuel Odeke 5c8944036b concepts/storage: fix minor typo in volumes.md
Fixes pluralization typo from:
many type of volumes
to:
many types of volumes
2017-07-27 14:15:25 -07:00
Lucas Käldström d2d92d9eec kubeadm: Make tabs with information how to install 3rd-party CNI network solutions 2017-07-27 14:14:25 -07:00
Robert Rati 606caa3d7b Add docs for running cloud-controller-manager with persistent volume labeling 2017-07-27 14:07:03 -07:00
Dong Liu 2f50a22c94 Update document for Azure LoadBalancer support. (#4082)
* Add doc for azure internal load balancer support.

* Add note for user-specified 'loadBalancerIP' support on Azure.

* Fix comment.

* Fix comment
2017-07-27 13:39:53 -07:00
Liz Rice 2e63445858 Add note about rkt under CRI to rktnetes page (#4470)
* Add anchor to CRI section

* Add note about CRI rkt shim status

* Don't need to add links manually
2017-07-27 13:02:02 -07:00
Xiaoyu Zhang cdb9af84b4 Delete redundant "see" (#4466)
Delete redundant "see"
2017-07-27 12:08:54 -07:00
Mitsuhiro Tanino 17c045577c Add detail of manual reclamation steps for PV (#4411)
* Add detail of manual reclamation steps for PV

Fix #48609

* add punctuations
2017-07-27 09:52:01 -07:00
Andrew Chen d0be9edb08 add /docs/resources-reference/v1.7/ 2017-07-26 15:34:14 -07:00
Jennifer Rondeau 036f35b891 add info about pulling from image digest (#4508)
* add info about pulling from image digest

* fix nits
2017-07-26 12:53:21 -07:00
Steve Sharp 04776838c9 Update hello-minikube.md (#4468)
Fixes a typo
2017-07-25 14:17:03 -07:00
Howie Benefiel bd916fbd76 Fix name of ConfigMap in example (#4379)
The docs tell the reader to get a ConfigMap with the name `game-config-2`, but only one ConfigMap had been made in the documentation thusfar, `game-config`. This PR simply changes the name of that ConfigMap to the only existing ConfigMap if the reader follows the docs.
2017-07-25 14:01:35 -07:00
Howie Benefiel d3d96550d6 Change big to large to avoid awkward verbiage (#4384)
In canonical American English, "large" is generally used to describe the size of a number. This is purely a style change, but "large number of" is less awkward sounding than "big number of".
2017-07-25 12:52:01 -07:00
Xiaoyu Zhang ba0172468d update links for afely-drain-node.md (#4373)
update links for afely-drain-node.md
2017-07-25 08:17:50 -07:00
xiangpengzhao 5d30aaf25c Update supported resource types 2017-07-25 09:14:19 +08:00
liyao c4b110a08c fix some writen mistake
rm duplicated `resource` and insert a space between `during` and `leader` both at line 57
2017-07-24 09:43:48 -07:00
Ahmet Alp Balkan 8b687fcb12 First-time tutorials import from k/examples (#4353)
This imports the tutorials from kubernetes/examples repository for the first
time. It adds "DO NOT UPDATE" notices and updates some titles. These tutorials
will be maintained at k/examples repository.

Also fixing a bug in the update script (we were inserting the `<!--` comments
before the metadata section on the top, causing articles to render incorrectly).

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-21 11:52:38 -07:00
Wang 498d666f42 Fix An error 404 and fix a wrong hyperlink 2017-07-21 16:49:48 +08:00
Kevin Kirsche 09c94a963f Fix Secrets Syntax in Volume Spec (#4378)
Fix #4377
2017-07-17 23:00:48 -07:00
MofeLee b325abf830 Update authentication.md 2017-07-17 14:16:42 +08:00
ymqytw 5827f51779 sync imported docs 2017-07-14 23:18:04 -07:00
Clenimar Filemon dbeade20c0 Fix gcloud docker push command (#4058)
Use `gcloud docker -- push` instead of `gcloud docker push`.
2017-07-14 11:44:43 -07:00
xiaoy 99ed8cc5c0 fix command and try cla again (#4255)
* fix command and try cla again

* fix command
2017-07-14 11:43:54 -07:00
Mike Bryant a0607d1bf0 Fix typo in NetworkPolicy example
The given example results in:
```
The NetworkPolicy "test-network-policy" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: TCP, UDP
```
2017-07-14 11:43:07 -07:00
Jay Oster 7adbe501e7 Fix a typo (#4325)
* Fix a typo

* Fix grammatical error
2017-07-14 11:42:30 -07:00
Kathryn Alexander e7e2a37d03 Correcting typo in name 2017-07-14 11:41:48 -07:00
Michelle Au 4e05394b86 Add note about local PV delete limitation 2017-07-14 11:41:08 -07:00
Stuart Grice e8e2777854 Update how resources are schedule
This page's description of resource scheduling conflicts with the definition on the page below.

https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2017-07-12 09:31:34 -07:00
Jonathan Boulle 78a54dd02a security-context: fix typo (seacomp -> seccomp) 2017-07-11 15:51:14 +02:00
Andrew Chen 5b2cecf308 Patch PR #4056, update links 2017-07-10 22:50:57 -07:00
Guangya Liu d61d3a4acd Updated yaml template for ingress. 2017-07-10 22:47:30 -07:00
Phillip Wittrock 51d19f271c Merge branch 'master' into kubectl-v 2017-07-10 19:04:39 -07:00
Ahmet Alp Balkan c58aeecc9c Fix what's next links for networkpolicy guides
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-10 15:24:39 -07:00
Ahmet Alp Balkan 0667180dd4 Remove self-links with domain names in docs (#4299)
* Remove self-links with domain names in docs

Fixes #4191. Skipping the tutorials we import from kubernetes/examples.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* update federation/index.md user-guide links

* update assign-pod-node.md links

* update dns-pod-service.md link

* update link in jobs-run-to-completion.md

* update link in minikube.md

* update PS link in minikube.md

* update links in stackpoint.md

* update links in storage.md

* fix link in vsphere.md

* fix links in deprecation-policy.md

* Update pick-right-solution.md

* Update web-ui-dashboard.md

* Update ingress.md

* Update federation-service-discovery.md

* Update user-guide.md

* Update expose-external-ip-address.md

* Update README.md

* Update README.md
2017-07-10 15:13:19 -07:00
Ahmet Alp Balkan ecf490b756 Document API client libraries
Add concept page about the Kubernetes API client libraries explaining what they
do and list officially-supported & community-maintained client libraries.

The list is obtained from https://github.com/kubernetes/community/blob/master/contributors/devel/client-libraries.md
and I am planning to add a notice there urging people to update the
/docs/reference/client-libraries.md when they add something there.

Alternatively we could remove that page altogether.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-10 14:35:52 -07:00
jianglingxia e069623969 disruptions.md replicaset.md service.md replicationcontroller.md update (#4329)
* disruptions.md replicaset.md service.md replicationcontroller.md update

* update it

* amend the error
2017-07-10 14:31:32 -07:00
Shashank bc465ddedd Update daemonset.md 2017-07-10 14:27:18 -07:00
Kathryn Alexander 5298a05c7d Replacing Conductor for Containers
Replacing CfC with IBM Cloud private.
2017-07-10 14:24:56 -07:00
Xiaoyu Zhang 1bb2b9a9cf manage-deployment.md: use {{page.version}}
manage-deployment.md: use {{page.version}} to replace v1.6
2017-07-10 14:18:31 -07:00
Xiaoyu Zhang bcb3b7c9c0 basic-stateful-set.md: replace v1.6 with page.version (#4321)
basic-stateful-set.md: replace v1.6 with page.version
2017-07-10 14:17:57 -07:00
Xiaoyu Zhang 0b028dbc97 object-management.md: replace v1.6 (#4316)
* object-management.md: replace v1.6

object-management.md: replace v1.6

* Update object-management.md
2017-07-10 14:17:18 -07:00
Xiaoyu Zhang 3870235bed zookeeper.md:use page.version to replace v1.6
zookeeper.md:use page.version to replace v1.6
2017-07-10 14:16:46 -07:00
Xiaoyu Zhang 700a1c7bd4 imperative-object-management:replace v1.6 (#4317)
* imperative-object-management:replace v1.6

imperative-object-management:replace v1.6

* Update imperative-object-management-configuration.md
2017-07-10 14:16:09 -07:00
Brandon Philips 63564ba428 configure-aggregation-layer: remove proxy note
The referenced doc doesn't mention "kube-proxy" anywhere and I don't think this is a general best-practice in many environments. And even if it is the opinion doesn't help users.
2017-07-10 14:03:39 -07:00
Xiaoyu Zhang b654786ee1 Add a space for source IP
Add a space.
2017-07-10 13:47:42 -07:00
Xiaoyu Zhang 64a3f7ab2e logging.md: replace v1.6 with page.version
logging.md: replace v1.6 with page.version
2017-07-10 13:27:52 -07:00
jianglingxia 797b769ad8 nodes.md change v1.6 to v1.7 (#4327)
* change v1.6 to v1.7

Signed-off-by: jianglingxia <jiang.lingxia@zte.com.cn>

* update it
2017-07-10 11:19:45 -07:00
Xiaoyu Zhang 249c93ef2f sysctl-cluster.md: use {{page.version}} to replace v1.6
sysctl-cluster.md: use {{page.version}} to replace v1.6
2017-07-10 11:12:36 -07:00
Cao Shufeng c36769337d fix nine 404 page in doc
I wrote a crawl to fetch all invalid herf in website: https://kubernetes.io/docs/
Fix nine of them first.
I will fix others if there are.
2017-07-08 19:02:19 +08:00
Xiaoyu Zhang e338c8c874 use page.version to replace authenticate-across-clusters-kubeconfig.md
use page.version to replace authenticate-across-clusters-kubeconfig.md
2017-07-08 05:43:45 +08:00
Dong Liu 5bb907341e Add doc for azure file 2017-07-06 16:03:40 -07:00
Andrew Chen 7bbb72505a Remove colon in What is K8s 2017-07-06 13:57:13 -07:00
jianglingxia 257b1cfbc0 update the link 2017-07-06 09:26:53 -07:00
jianglingxia db27e45b7c this page was not found 404 error 2017-07-06 09:12:20 -07:00
jianglingxia a2a68de281 change the link 2017-07-06 09:11:37 -07:00
Chao Xu e792a9f383 fix a bug in the example initializerconfiguration 2017-07-05 15:06:37 -07:00
Rye Terrell a2f86aee6c Update upgrades.md 2017-07-05 14:41:29 -07:00
Andrew Chen 1d6f765d55 Patch PR #4275 2017-07-05 14:30:53 -07:00
Tim Van Steenburgh d38ecacd8b Update instructions for deploying on LXD (#4278)
* Update instructions for deploying on LXD

* Restore prerequisites section

* Fix headings
2017-07-05 14:20:46 -07:00
xiangpengzhao 12d834d8bc Downward API supports pod's UID 2017-07-05 13:24:01 -07:00
Mik Vyatskov 8deadb5815 Remove link to the removed code in Kubernetes repo 2017-07-05 13:23:23 -07:00
Zihong Zheng 47ace3ac71 Update source-ip doc with new ESIPP fields 2017-07-05 13:19:51 -07:00
Xiaoyu Zhang e4a74467bf docker-cli-to-kubectl.md: update links to 1.7
docker-cli-to-kubectl.md: update links from 1.6 to 1.7
2017-07-05 13:14:37 -07:00
Lucas Käldström 5f52c69f9a
Update some wording on kubeadm upgrades 2017-07-05 21:59:14 +03:00
Fabrizio Pandini 30fd81db49 remove duplicate paragraph in "kubeadm Setup Tool Reference Guide" (#4260)
* remove duplicate paragraph

* remove duplicate paragraph
2017-07-05 11:44:43 -07:00
Robert Günzler ce830b2867 Clear up use of hostPort with DaemonSet
Reading through the communication patterns it was not obvious to me that the `hostPort` option is something I have to set myself.

While the **DNS** and **Service** options explicitly say one has to *create a service*.
2017-07-05 10:27:04 -07:00
Cao Shufeng 06bd423401 fix 404 page of invalid herf
This error is caused in pr #4259.
It's my fault.
2017-07-05 10:23:59 -07:00
JR f08c6423d9 Clarify what is co-located
Prior to this change, it was not clear what was co-located/scheduled; pods vs their contents.
2017-07-05 10:22:34 -07:00
Xiaoyu Zhang 2adfb49ba9 Update urls to 1.7 (#4276)
* assign-pod-node.md

* secret.md

* kubernetes-objects.md

* service.md
2017-07-05 10:21:45 -07:00
Cao Shufeng c806114c1d remove dead link
There is no "kubectl" section in this page. And non-resource urls do not
have too much relationship with kubectl(At least I think so), so we
don't need "see kubectl"
2017-07-03 09:41:30 -07:00
Xiaoyu Zhang 2dc0134ecb Update kubectl cli from 1.6 to 1.7
Update kubectl cli from 1.6 to 1.7
2017-07-03 09:30:37 -07:00
Cao Shufeng 58d9c1399f some nits for advanced audit document 2017-07-03 20:31:16 +08:00
Jamie Hannaford 09b2b86137 Document kubeadm ports 2017-07-01 13:18:11 -07:00
Marlon 12e324655c Fixes typo: configuered -> configured (#4123) 2017-07-01 12:35:49 -07:00
Andrew Chen b67e532138 Reimplement edits (#4249)
* Reimplement PR #3920

* Reimplement PR #3976

* Reimplement PR #4055 and #4128

* Reimplement PR #4146

* Reimplemented PR #4163
2017-07-01 12:34:12 -07:00
Timo Reimann b16949794b Update link to node condition.
The anchor changed from `#node-condition` to `#node`.

We also switch to the redirected base path.
2017-07-01 11:19:49 -07:00
Ryan ad557aad1c Remove extra storageClassName
The second empty declaration for storageClassName overwrites the first.
2017-07-01 11:18:25 -07:00
Eric Tune 7ecccf44f9 Un-block-quote an unordered list 2017-07-01 11:17:15 -07:00
Andrew Chen e5238e8a92 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix a couple of typos in tasks/debug-application-cluster/audit.md
  Add an explanation of how the kubeadm kubelet dropin file works and a note about cAdvisor
  All files for both new case study pages (#4235)
  Add empty layout template
2017-06-30 17:58:32 -07:00
Andrew Chen d99ba502ae Merge pull request #4239 from CaoShuFeng/invalid_audit_example
Use the new right link for audit policy example
2017-06-30 17:57:19 -07:00
Andrew Chen 89e1dd5043 Merge pull request #4238 from ahmetb/netpolicy-apigroup
Use correct apigroup for NetworkPolicy
2017-06-30 17:55:02 -07:00
Matt Moyer ea504e9353 Fix a couple of typos in tasks/debug-application-cluster/audit.md 2017-06-30 09:27:05 -05:00
Lucas Käldström b9f0a5d0f4 Add an explanation of how the kubeadm kubelet dropin file works and a note about cAdvisor 2017-06-30 01:19:35 -07:00
Andrew Chen 3cb315606c v1.7 patch 01 2017-06-30 00:02:17 -07:00
Cao Shufeng 2ea2b8a24c Use the new right link for audit policy example
v1.7.0-rc.1 tag doesn't contain this pr:
https://github.com/kubernetes/kubernetes/pull/48086
so, it's a wrong example for users.
Uese the new v1.7.0 tag instead.
2017-06-30 13:40:04 +08:00
zhangchaolei aae3bfaf3e Release 1.7 (#4094)
* Minor fixes in the Deployment doc

Signed-off-by: Michail Kargakis <mkargaki@redhat.com>

* add NodeRestriction to admission-controllers (#3842)

* Admins Can Configure Zones in Storage Class

The PR #38505 (https://github.com/kubernetes/kubernetes/pull/38505) added zones optional parameter to Storage Class for AWS and GCE provisioners.

That's why documentation needs to be updated accordingly.

* document custom resource definitions

* add host paths to psp (#3971)

* add host paths to psp

* add italics

* Update ConfigMap doc to explain TTL-based cache updates (#3989)

* Update ConfigMap doc to explain TTL-based cache updates

* swap word order

Change "When a ConfigMap being already consumed..." to "When a ConfigMap already being consumed..."

* Update NetworkPolicy docs for v1

* StorageOS Volume plugin

* Update GPU docs

* docs: HPA autoscaling/v2alpha1 status conditions

This commit documents the new status conditions feature for HPA
autoscaling/v2alpha1.  It demonstrates how to get the status conditions
using `kubectl describe`, and how to interpret them.

* Update description about NodeRestriction

kubelet node can alse create mirror pods for their own static pods.

* adding storage as a supported resource to node allocatable

Signed-off-by: Vishnu kannan <vishnuk@google.com>

* 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

* Update PDB documentation to explain new field (#3885)

* update-docs-pdb

* Addressed erictune@'s comments

* Fix title and add a TOC to the logging concept page

* Patch #4118 for typos

* Describe setting coredns server in nameserver resolv chain

* Address comments in PR #3997.

Comment is in
f6eb59c67e (diff-7a14981f3dd8eb203f897ce6c11d9828)

* 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

* 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

* Initial draft of upgrade guide for kubeadm clusters.

In-place upgrades are supported between 1.6 and 1.7 releases. Rollback
instructions to come in a separate commit.

Fixes https://github.com/kubernetes/kubeadm/issues/278

* Add local volume documentation (#4050)

* Add local volume documentation

* Add PV local volume example

* Patch PR #3999

* Add documentation for Stackdriver event exporter

* Add documentation about controller metrics

* Federation: Add task for setting up placement policies (#4075)

* Add task for setting up placement policies

* Update version of management sidecar in policy engine deployment

* Address @nikhiljindal's comments

- Lower case filenames
- Comments in policy
- Typo fixes
- Removed type LoadBalancer from OPA Service

* Add example that sets cluster selector

Per-@nikhiljindal's suggestion

* Fix wording and templating per @chenopis

* PodDisruptionBudget documentation Improvements (#4140)

* Changes from #3885

Title: Update PDB documentation to explain new field
Author: foxish

* Added Placeholder Disruptions Concept Guide

New file: docs/concepts/workloads/pods/disruptions.md
Intented contents: concept for Pod Disruption Budget,
 cross reference to Eviction and Preemption docs.
Linked from: concepts > workloads > pods

* Added placeholder Configuring PDB Task

New file: docs/tasks/run-application/configure-pdb.md
Intented contents: task for writing a Pod Disruption Budget.
Linked from: tasks > configuring-applications > configure pdb.

* Add refs to the "drain a node" task.

* Refactor PDB docs.

Move the "Requesting an eviction" section from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
-- which is going away -- to:
docs/tasks/administer-cluster/safely-drain-node.md

The move is verbatim, except for an introductory sentence.

Also added assignees.

* Refactor of PDB docs

Moved the section:
Specifying a PodDisruptionBudget
from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
to:
docs/tasks/run-application/configure-pdb.md
because that former file is going away.
Move is verbatim.

* Explain how Eviction tools should handle failures

* Refactor PDB docs

Move text from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
to:
docs/concepts/workloads/pods/disruptions.md

Delete the now empty:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md

Added a redirects_from section to the new doc, containing the path
of the now-deleted doc, plus all the redirects from the deleted
doc.

* Expand PDB Concept guide

Building on a little content from the old task,
greatly expanded the Disruptions concept
guide, including an abstract example.

* Update creating a pdb Task.

* Address review comments.

* Fixed for all cody-clark's review comments

* Address review comments from mml

* Address review comments from maisem

* Fix missing backtick

* Api and Kubectl reference docs updates for 1.7 (#4193)

* Fix includes groups

* Generated kubectl docs for 1.7

* Generated references docs for 1.7 api

* Document node authorization mode

* API Aggregator (#4173)

* API Aggregator

* Additional bullet points

* incorporated feedback for apiserver-aggregation.md

* split setup-api-aggregator.md into two docs and address feedback

* fix link

* addressed docs feedback

* incorporate feedback

* integrate feedback

* Add documentation for DNS stub domains (#4063)

* Add documentation for DNS stub domains

* add additional prereq

* fix image path

* review feedback

* minor grammar and style nits

* documentation for using hostAliases to manage hosts file (#4080)

* documentation for using hostAliases to manage hosts file

* add to table of contents

* review comments

* update the right command to see hosts file

* reformat doc based on suggestion and change some wording

* Fix typo for #4080

* Patch PR #4063

* Fix wording in placement policy task introduction

* Add update to statefulset concepts and basic tutorial (#4174)

* Add update to statefulset concpets and basic tutorial

* Address tech comments.

* Update ESIPP docs for new added API fields

* Custom resource docs

* update audit document with advanced audit features added in 1.7

* kubeadm v1.7 documentation updates (#4018)

* v1.7 updates for kubeadm

* Address review comments

* Address Luke's comments

* Encrypting secrets at rest and cluster security guide

* Edits for Custom DNS Documentation (#4207)

* reorganize custom dns doc

* format fixes

* Update version numbers to 1.7

* Patch PR #4140 (#4215)

* Patch PR #4140

* fix link and typos

* Update PR template

* Update TLS bootstrapping with 1.7 features

This includes documenting the new CSR approver built into the
controller manager and the kubelet alpha features for certificate
rotation.

Since the CSR approver changed over the 1.7 release cycle we need
to call out the migration steps for those using the alpha feature.
This document as a whole could probably use some updates, but the
main focus of this PR is just to get these features minimally
documented before the release.

* Federated ClusterSelector

formatting updates from review

* complete PR #4181 (#4223)

* complete PR #4181

* fix security link

* Extensible admission controller (#4092)

* extensible-admission-controllers

* Update extensible-admission-controllers.md

* more on initializers

* fixes

* Expand external admission webhooks documentation

* wrap at 80 chars

* more

* add reference

* Use correct apigroup for network policy

* Docs changes to PR #4092 (#4224)

* Docs changes to PR #4092

* address feedback

* add doc for --as-group in cli

Add doc for this pr:
https://github.com/kubernetes/kubernetes/pull/43696
2017-06-29 22:39:40 -07:00
Ahmet Alp Balkan 1f6a98d134
Use correct apigroup for NetworkPolicy
Follow-up to #4225. networking -> networking.k8s.io.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-29 21:49:53 -07:00
Andrew Chen ac5c52f860 Merge branches 'release-1.7' and 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'release-1.7' of https://github.com/kubernetes/kubernetes.github.io:
  add doc for --as-group in cli

* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  cassandra.md: Fix Liquid syntax warning
2017-06-29 16:03:38 -07:00
Andrew Chen c606bbdc31 Merge pull request #4226 from CaoShuFeng/as-group
add doc for --as-group in cli
2017-06-29 15:59:44 -07:00
Ahmet Alp Balkan cbdb17706f cassandra.md: Fix Liquid syntax warning
Fixes #4198

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-29 15:58:48 -07:00
Cao Shufeng 181bdba067 add doc for --as-group in cli
Add doc for this pr:
https://github.com/kubernetes/kubernetes/pull/43696
2017-06-29 15:51:40 +08:00
Andrew Chen d74dbcc7d5 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  add small blurb about reclaim policies and SCs
2017-06-28 23:51:53 -07:00
Patrick Christopher 46be5c6bc7 add small blurb about reclaim policies and SCs 2017-06-28 23:27:17 -07:00
Andrew Chen b40d09fe77 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update links to proper repos

# Conflicts:
#	docs/admin/kubeadm.md
#	docs/concepts/overview/kubernetes-api.md
#	docs/reference/api-overview.md
#	docs/setup/independent/create-cluster-kubeadm.md
#	docs/tasks/administer-cluster/configure-pod-disruption-budget.md
2017-06-28 22:29:21 -07:00
Christoph Blecker 2e192598a0 Update links to proper repos 2017-06-28 22:08:36 -07:00
Andrew Chen 26e3c39204 Merge pull request #4225 from thockin/release-1.7
Use correct apigroup for network policy
2017-06-28 22:04:40 -07:00
Andrew Chen 61892b82ec Docs changes to PR #4092 (#4224)
* Docs changes to PR #4092

* address feedback
2017-06-28 22:03:44 -07:00
Tim Hockin 472eccc83c Use correct apigroup for network policy 2017-06-28 17:25:22 -07:00
Andrew Chen b9593e8e1d Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Add no_proxy settings to use minikube and kubectl (#4108)
  Fix installing autocompletion documentation (#4189)
  Set storageClassName to match earlier manual disk creation
2017-06-28 16:39:36 -07:00
Chao Xu 19b386d06e Extensible admission controller (#4092)
* extensible-admission-controllers

* Update extensible-admission-controllers.md

* more on initializers

* fixes

* Expand external admission webhooks documentation

* wrap at 80 chars

* more

* add reference
2017-06-28 16:38:44 -07:00
Andrew Chen 7df02064bd complete PR #4181 (#4223)
* complete PR #4181

* fix security link
2017-06-28 16:37:32 -07:00
emaildanwilson ad48f6720f Federated ClusterSelector
formatting updates from review
2017-06-28 13:29:07 -07:00
Andrew Chen 93861d8371 Merge pull request #4208 from ericchiang/tls-boostrapping-17
Update TLS bootstrapping with 1.7 features
2017-06-28 12:02:42 -07:00
Eric Chiang fbb1904823 Update TLS bootstrapping with 1.7 features
This includes documenting the new CSR approver built into the
controller manager and the kubelet alpha features for certificate
rotation.

Since the CSR approver changed over the 1.7 release cycle we need
to call out the migration steps for those using the alpha feature.
This document as a whole could probably use some updates, but the
main focus of this PR is just to get these features minimally
documented before the release.
2017-06-28 11:56:49 -07:00
Yohann B 206a264c0e Add no_proxy settings to use minikube and kubectl (#4108)
* Add no_proxy settings one might need to use minikube and kubectl behind a proxy.

* add extra line before shell block for formatting

* include suggestions from chenopis
2017-06-28 11:51:25 -07:00
Bastian Klein 00df48fb9c Fix installing autocompletion documentation (#4189)
* Fix installing autocompletion documentation

The written solution did not work for me with the error `-bash: __git_ps1: command not found`. Since the auto-completion is already installed you can simply add the Kubernetes autocompletion to it.

* Remove sourcing bash-completion in .bash_profile
2017-06-28 11:49:52 -07:00
Andrew Chen 7b069cf1d5 Merge pull request #4181 from smarterclayton/secrets
Encrypting secrets at rest and cluster security guide
2017-06-28 10:02:31 -07:00
Chainarong Tangsurakit c6d4695cb8 Set storageClassName to match earlier manual disk creation
https://github.com/kubernetes/kubernetes.github.io/issues/4218
2017-06-28 14:02:28 +07:00
Andrew Chen 7b5394e725 Patch PR #4140 (#4215)
* Patch PR #4140

* fix link and typos
2017-06-27 21:42:07 -07:00
Andrew Chen 7d9ceddf7b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  outdate link (#4199)
2017-06-27 21:10:46 -07:00
jianglingxia 68b4abc1f4 outdate link (#4199)
* outdate link

* resubmit the outdate link
2017-06-27 21:08:02 -07:00
Andrew Chen a424a4785b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Removed -fs from troubleshooting command (#4177)
2017-06-27 16:48:26 -07:00
Zachary Corleissen 37311bc0d8 Removed -fs from troubleshooting command (#4177)
* Removed -fs from troubleshooting command

* Add YAML file for configmaps in concepts

* Add new topic for configmaps in concepts

* Add configuration entry for understanding configmaps

* Move Understanding Configmaps to a separate concept file

* Revert "Move Understanding Configmaps to a separate concept file"

This reverts commit 71bd80d7bc.

* Revert "Add configuration entry for understanding configmaps"

This reverts commit c27fc13f56.

* Revert "Add new topic for configmaps in concepts"

This reverts commit 3d535f5917.

* Revert "Add YAML file for configmaps in concepts"

This reverts commit 8ecabd6d10.
2017-06-27 16:41:01 -07:00
Jessica Yao a18484cad2 Edits for Custom DNS Documentation (#4207)
* reorganize custom dns doc

* format fixes
2017-06-27 16:26:46 -07:00
Andrew Chen 3e5b11f901 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update definitions for Task and Tutorial. (#4206)
2017-06-27 16:11:48 -07:00
Steve Perry 2727003775 Update definitions for Task and Tutorial. (#4206)
* Update definitions for Task and Tutorial.

* Fix broken links.

* Still fixing broken links.
2017-06-27 15:26:50 -07:00
Clayton Coleman f8f3ec1ca4
Encrypting secrets at rest and cluster security guide 2017-06-27 15:41:39 -04:00
Andrew Chen 7152ca37f8 Merge pull request #4101 from ericchiang/advanced-audit-logging
update audit document with advanced audit features added in 1.7
2017-06-27 11:37:18 -07:00
Lucas Käldström 0391995573 kubeadm v1.7 documentation updates (#4018)
* v1.7 updates for kubeadm

* Address review comments

* Address Luke's comments
2017-06-27 11:32:54 -07:00
Eric Chiang 3ea952f04c update audit document with advanced audit features added in 1.7 2017-06-27 11:11:02 -07:00
Anthony Yeh 171a5aeddf Custom resource docs 2017-06-27 10:27:51 -07:00
Andrew Chen d8f5b4f8a4 Merge pull request #4093 from MrHohn/release-1.7-esipp-ga
Update ESIPP documentation to reflect new fields
2017-06-27 10:24:19 -07:00
Zihong Zheng 48caf205e9 Update ESIPP docs for new added API fields 2017-06-27 10:03:13 -07:00
Andrew Chen 55d63bb3ea Merge pull request #4204 from tsandall/patch-1
Fix wording in placement policy task introduction
2017-06-27 09:48:19 -07:00
Kenneth Owens 4641b51e1b Add update to statefulset concepts and basic tutorial (#4174)
* Add update to statefulset concpets and basic tutorial

* Address tech comments.
2017-06-27 09:46:39 -07:00
Torin Sandall 34dfba7d56 Fix wording in placement policy task introduction 2017-06-27 09:42:19 -07:00
Andrew Chen 8df3312cdc Patch PR #4063 2017-06-27 09:33:50 -07:00
Andrew Chen 0e08493616 Merge pull request #4202 from kubernetes/chenopis-4080-patch
Fix typo for PR #4080
2017-06-27 09:31:24 -07:00
Andrew Chen a3b46cfcdf Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Replace remaining kargo usages to kubespray
  update example templates
  redirect fix for meanstack article
2017-06-27 09:23:04 -07:00
Andrew Chen b2161bcc6a Fix typo for #4080 2017-06-27 09:21:29 -07:00
Ricky Pai 79754a0ffa documentation for using hostAliases to manage hosts file (#4080)
* documentation for using hostAliases to manage hosts file

* add to table of contents

* review comments

* update the right command to see hosts file

* reformat doc based on suggestion and change some wording
2017-06-27 09:19:41 -07:00
Dan Kohn 67e4f54aaa Replace remaining kargo usages to kubespray 2017-06-27 08:49:03 -07:00
Andrew Chen 97e1775cc2 Merge pull request #4077 from liggitt/node-authz
Document node authorization mode
2017-06-27 00:45:55 -07:00
Bowei Du c3ebbbe00f Add documentation for DNS stub domains (#4063)
* Add documentation for DNS stub domains

* add additional prereq

* fix image path

* review feedback

* minor grammar and style nits
2017-06-27 00:38:14 -07:00
Andrew Chen 025f2faff4 API Aggregator (#4173)
* API Aggregator

* Additional bullet points

* incorporated feedback for apiserver-aggregation.md

* split setup-api-aggregator.md into two docs and address feedback

* fix link

* addressed docs feedback

* incorporate feedback

* integrate feedback
2017-06-27 00:22:47 -07:00
Jordan Liggitt 91e90da99f
Document node authorization mode 2017-06-27 02:07:30 -04:00
Andrew Chen 4d3a7a315d update example templates 2017-06-26 16:12:21 -07:00
Phillip Wittrock 57a769f506 Api and Kubectl reference docs updates for 1.7 (#4193)
* Fix includes groups

* Generated kubectl docs for 1.7

* Generated references docs for 1.7 api
2017-06-26 15:37:56 -07:00
Eric Tune 4ff5587583 PodDisruptionBudget documentation Improvements (#4140)
* Changes from #3885

Title: Update PDB documentation to explain new field
Author: foxish

* Added Placeholder Disruptions Concept Guide

New file: docs/concepts/workloads/pods/disruptions.md
Intented contents: concept for Pod Disruption Budget,
 cross reference to Eviction and Preemption docs.
Linked from: concepts > workloads > pods

* Added placeholder Configuring PDB Task

New file: docs/tasks/run-application/configure-pdb.md
Intented contents: task for writing a Pod Disruption Budget.
Linked from: tasks > configuring-applications > configure pdb.

* Add refs to the "drain a node" task.

* Refactor PDB docs.

Move the "Requesting an eviction" section from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
-- which is going away -- to:
docs/tasks/administer-cluster/safely-drain-node.md

The move is verbatim, except for an introductory sentence.

Also added assignees.

* Refactor of PDB docs

Moved the section:
Specifying a PodDisruptionBudget
from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
to:
docs/tasks/run-application/configure-pdb.md
because that former file is going away.
Move is verbatim.

* Explain how Eviction tools should handle failures

* Refactor PDB docs

Move text from:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md
to:
docs/concepts/workloads/pods/disruptions.md

Delete the now empty:
docs/tasks/administer-cluster/configure-pod-disruption-budget.md

Added a redirects_from section to the new doc, containing the path
of the now-deleted doc, plus all the redirects from the deleted
doc.

* Expand PDB Concept guide

Building on a little content from the old task,
greatly expanded the Disruptions concept
guide, including an abstract example.

* Update creating a pdb Task.

* Address review comments.

* Fixed for all cody-clark's review comments

* Address review comments from mml

* Address review comments from maisem

* Fix missing backtick
2017-06-26 13:54:25 -07:00
Andrew Chen 098b4a84ef Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  /docs/samples revamp: move examples to /tutorials
  Copy-to-clipboard fix (#4190)
2017-06-26 11:54:33 -07:00
Ahmet Alp Balkan 9ec9c73466 /docs/samples revamp: move examples to /tutorials
Addresses the work described at #4134.

- Remove /docs/samples page: This page mostly had links to examples on
  kubernetes/kubernetes (examples dir) which is now at kubernetes/examples
  repository. It was linking to README.md files for tutorials. Now removing
  this page as we are moving tutorials from kubernetes/examples to here:

  - Create redirects from /docs/samples/ to /docs/tutorials/ (both JS and
    redirect_from).
  - Deprecate "MEAN Stack" tutorial: This tutorial overlaps quite a bit with
    existing "maintained" examples and has been out-of-date for a while.
    Creating an external redirect to its original and more up-to-date location:
    https://medium.com/google-cloud/running-a-mean-stack-on-google-cloud-platform-with-app-engine-and-mongolab-4bbd2040ea75

- Import README.md files of maintained examples (guestbook, wordpress+mysql and
  cassandra) to this repository and serve them under /docs/tutorial.

- Update /docs/tutorials ToC:
  - Link to imported tutorials.
  - Fix missing articles on sidebar (_data/tutorials.yml) and make the tutorials
    listed on tutorials/index.md available on the sidebar (closes #4007).

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-26 11:22:35 -07:00
Torin Sandall 5825ea1af0 Federation: Add task for setting up placement policies (#4075)
* Add task for setting up placement policies

* Update version of management sidecar in policy engine deployment

* Address @nikhiljindal's comments

- Lower case filenames
- Comments in policy
- Typo fixes
- Removed type LoadBalancer from OPA Service

* Add example that sets cluster selector

Per-@nikhiljindal's suggestion

* Fix wording and templating per @chenopis
2017-06-26 11:13:43 -07:00
Andrew Chen 3d417575df Merge pull request #4138 from gnufied/controller-metrics
Add documentation about controller metrics
2017-06-26 11:12:43 -07:00
Andrew Chen fbbd8922a4 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 kubeadm KUBELET_DNS_ARGS issue
  CronJobs aren't enabled in 1.6 by default
  Fix typo
  Document pod-template-hash label
  Rename last remaining reference of kargo to kubespray
2017-06-26 10:58:27 -07:00
Hemant Kumar 99ff364e61 Add documentation about controller metrics 2017-06-26 13:16:54 -04:00
Andrew Chen d7aeb5cf41 Merge pull request #4132 from CaoShuFeng/NodeRestriction
Update description about NodeRestriction
2017-06-26 09:22:29 -07:00
Jamie Hannaford ddb6636f2c Document kubeadm KUBELET_DNS_ARGS issue 2017-06-26 09:00:20 -07:00
Denis Gladkikh 8716e152b3 CronJobs aren't enabled in 1.6 by default 2017-06-26 08:56:03 -07:00
hanks 386a2a0982 Fix typo
trivial update `kublet` to `kubelet`
2017-06-26 08:46:54 -07:00
Andrew Chen c2bc54a4db Merge pull request #4155 from crassirostris/add-event-exporter-doc-page
Add documentation for Stackdriver event exporter
2017-06-26 08:45:47 -07:00
Michail Kargakis 8c414800a0 Document pod-template-hash label
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-06-25 20:42:50 -07:00
Hans Kristian Flaatten 9794339d2a Rename last remaining reference of kargo to kubespray 2017-06-25 22:46:02 +02:00
Andrew Chen 9e283a542a Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fixed loopback plugin link
2017-06-25 12:29:05 -07:00
Matej Baćo 9347a503c8 fixed loopback plugin link 2017-06-25 12:23:10 -07:00
Andrew Chen 5882ed2963 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 how to use custom certs with kubeadm (#4113)
  Document product_uuid and MAC reqs
2017-06-25 11:52:29 -07:00
Jamie Hannaford 686b7aef38 Document how to use custom certs with kubeadm (#4113) 2017-06-25 11:44:44 -07:00
Jamie Hannaford fac7653113 Document product_uuid and MAC reqs 2017-06-25 11:43:49 -07:00
Ian Chakeres 46e52915c9 Added a section to kubectl cheatsheet about verbosity levels 2017-06-25 10:22:07 -07:00
Andrew Chen cec3167df2 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fixed #3968 (#4105)
2017-06-23 14:05:27 -07:00
Vincent 80c90ba8fb fixed #3968 (#4105)
* fixed #3968

* advise from @chenopis
2017-06-23 14:03:07 -07:00
Andrew Chen b5eb6b6b85 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Add documentation for ip-masq-agent.
  Update installation instructions with snap (#4171)
  Update scratch.md: include download binary tarball (#3933)
  Typo in authentication.md
2017-06-23 11:58:31 -07:00
Mikhail Vyatskov 4c219641f0 Add documentation for Stackdriver event exporter 2017-06-23 11:31:18 +02:00
Daniel Nardo 79eca9b815 Add documentation for ip-masq-agent. 2017-06-23 01:29:35 -07:00
Ihor Dvoretskyi 24820772e5 Update installation instructions with snap (#4171)
* Update installation instructions with snap

Update installation instructions with snap - the package manager for Ubuntu and other Linux distributions.

* fix md formatting

* fix shell formating

* fix shell block

* fix shell for Check the kubectl configuration

* switch to full width shell
2017-06-23 01:22:08 -07:00
xinsnake dc4819e3ff Update scratch.md: include download binary tarball (#3933)
* Update scratch.md: include download binary tarball

As `kubernetes-server-linux-amd64.tar.gz` is not provided with the tarball now, an extra step is required.

* Updated scratch.md to follow review comments
2017-06-23 01:03:52 -07:00
Selvi K 0b5ff11185 Typo in authentication.md 2017-06-23 00:49:31 -07:00
Andrew Chen 7d4f4b1402 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix broken links to client samples. (#4139)
2017-06-23 00:39:11 -07:00
jlewi e74ec1f2a9 Fix broken links to client samples. (#4139)
* Remove code snippets since they will just get out of sync with the samples.
2017-06-22 17:57:17 -07:00
Andrew Chen 5bd740ef7e Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Edits for clarity, concision, style, formatting, (#4160)
2017-06-22 15:43:48 -07:00
cody-clark e32c0aea6e Edits for clarity, concision, style, formatting, (#4160)
and according to the getting started project.
2017-06-22 15:23:27 -07:00
Andrew Chen 2ce3742278 Patch PR #3999 2017-06-22 15:19:48 -07:00
Andrew Chen e2b6349a11 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  rename kargo to kubespray in getting started docs (#4119)
2017-06-22 15:09:23 -07:00
Andrew Chen 38812baf2a Merge pull request #3999 from pipejakob/kubeadm-upgrades
Initial draft of upgrade guide for kubeadm clusters.
2017-06-22 15:08:45 -07:00
Michelle Au 034c7929e2 Add local volume documentation (#4050)
* Add local volume documentation

* Add PV local volume example
2017-06-22 15:06:05 -07:00
Spencer Smith 60054a2f04 rename kargo to kubespray in getting started docs (#4119)
* rename kargo to kubespray in getting started docs

* remove old kargo guide, update link to kubespray doc

* update setup.yml with new kubespray pointer
2017-06-22 14:56:19 -07:00
Jacob Beacham 5946f21e99 Initial draft of upgrade guide for kubeadm clusters.
In-place upgrades are supported between 1.6 and 1.7 releases. Rollback
instructions to come in a separate commit.

Fixes https://github.com/kubernetes/kubeadm/issues/278
2017-06-22 14:45:06 -07:00
Andrew Chen 6b3c84602d Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  whatisk8s - Chinese version (#3243)
  split rows and nest to stack columns (#4129)
  Updates to docs/admin/kubelet-tls-bootstrapping (#3617)
  Replace "Pod Injection Policy" with "Pod Preset" (#3667)
  Change example PersistentVolumeClaim
  add PodNodeSelector to admission-controllers (#3691)
  Get pods using a label selector instead of hardcoded indexes. Use JsonPath instead of go-template.
  correct_init_container_state (#3972)
  kubernetes.github.io/docs/tasks/administer-cluster: operating etcd clusters
  Remove --no-check-certificate flag in bare_metal_offline.md
2017-06-22 14:43:14 -07:00
Peter d092214f84 split rows and nest to stack columns (#4129)
* split rows and nest to stack columns

* fix order
2017-06-22 14:24:48 -07:00
Murad Korejo bbffb34c6c Updates to docs/admin/kubelet-tls-bootstrapping (#3617)
* update TLS bootstrapping doc

* formatting edits on top of prev edits

* revert to lowercase b in title
2017-06-22 14:22:20 -07:00
Nail Islamov 6283e51faa Replace "Pod Injection Policy" with "Pod Preset" (#3667)
* Replace "Pod Injection Policy" with "Pod Preset"

There are some leftovers of the old term, fixing it.

* Extra typos fix, line breaks
2017-06-22 14:21:14 -07:00
Remi Rampin 1984b52e7a Change example PersistentVolumeClaim
If a default storage class exists, it is going to create a new persistent volume to bind to that claim instead of using our example one, which will make the tutorial fail. In particular, this happens on minikube.

Specifying an empty storageClassName will prevent the storage class to be used, and force our volume to be selected.
2017-06-22 14:20:27 -07:00
Charlie R.C 4edbe7449d add PodNodeSelector to admission-controllers (#3691) 2017-06-22 14:19:28 -07:00
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
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
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 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 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