Compare commits

..

2311 Commits

Author SHA1 Message Date
Zach Corleissen 7645853f5f Backport OWNERS from master to 1.7 (#9490) 2018-07-12 15:22:58 -07:00
Qiming 0579ff708d Merge pull request #9358 from harshvkarn/release-1.7
fix version navigation in release v1.7
2018-07-12 08:45:52 +08:00
Misty Linville b92f0182d6 Trivial commit to test Netlify (#9475) 2018-07-11 15:55:47 -07:00
Zach Corleissen ee7c275b50 Remove 1.6
K8s docs availability is <current>+4
2018-07-11 12:56:12 -07:00
Qiming 8b12b0b073 Update .travis.yml 2018-07-05 17:46:24 +08:00
Qiming f7bbcfd82a Update .travis.yml 2018-07-05 17:39:56 +08:00
Qiming 001350f6c1 Update .travis.yml 2018-07-05 17:25:58 +08:00
Qiming 251b881476 Update .travis.yml 2018-07-05 17:15:50 +08:00
Qiming de48d0c5ba Update .travis.yml 2018-07-05 17:01:02 +08:00
harshvkarn 7fae018f64 changing branch from master to release-1.7
- checking out from master to release-1.7 for CI

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-05 11:42:10 +05:30
Harshvardhan Karn 168e165540 Update _config.yml 2018-07-03 19:35:12 +05:30
Harshvardhan Karn 6e2bb09ca7 Update _config.yml 2018-07-03 19:34:45 +05:30
Harshvardhan Karn 4b2ea721aa Update _config.yaml
- add v1.11 support
2018-07-03 13:55:40 +05:30
Harshvardhan Karn c9ba487cde remove v1.5.7 selector support
- remove v1.5 selector since it is no longer supported
- updating config file
2018-07-03 09:56:33 +05:30
harshvkarn 6520fb2d80 fix version navigation in release v1.7
- In `release v1.7`, navigating selector to version `v1.10` disappears
- modified `_config.yml` in branch `release-1.7`

Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-07-03 03:09:15 +05:30
Zach Corleissen 944e862e87 Update release-1.7 for version changes in 1.9 (#6520)
* Update version numbers to include 1.9

🛑 DO NOT MERGE 🛑

Update config files to use 1.9 as version number.

* Update _config.yml
2017-12-15 17:40:31 -06:00
Joseph Heck 0e0b7a8d83 resolves #5618 (#5824)
* resolves #5618

regenerate kube-proxy documentation from latest 1.7 branch source and
copied across to this repository

* match content update to generated source from PR https://github.com/kubernetes/kubernetes/pull/53671
2017-10-23 12:12:41 -07:00
Steve Perry e0dec8a057 Remove old ref docs from 1.7 doc set. (#5853)
* Remove old ref docs from 1.7 doc set.

* Redirect old ref pages.
2017-10-10 15:58:03 -07:00
Steve Perry ad0af1bff0 Update _config.yml
Updater URL for 1.7 docs.
2017-10-10 12:28:06 -07:00
Steve Perry ab2e62c49a Add 1.8 to version picker for 1.7 docs. (#5830) 2017-10-09 21:27:21 -07:00
steveperry-53 cdae961ad4 Add deprecation banner to 1.7 docs. 2017-09-29 09:53:36 -07:00
steveperry-53 793dd13d6a Merge branch 'master' into release-1.7 2017-09-28 13:37:55 -07:00
Dean Shi 88d3ed821d k8smeetup-shirdrn-pr-2017-8-15 (#5376)
* Chinese translation: 7.24-9.3, by shirdrn.

* Translate and review again, and fix any translation problems for these 14 docs.

* Delete network-policies.md temporarily, and then re-submit it for this PR.
2017-09-28 08:50:35 -07:00
Kevin Frommelt d4e8e8fb9e Fix typo in pod preset conflict example
Move container port definition to the correct line.
2017-09-27 23:18:24 -07:00
steveperry-53 23e9d47690 Merge branch 'master' into release-1.7 2017-09-27 12:49:03 -07:00
eddytruyen 21a2110f25 Update create-cluster-kubeadm.md 2017-09-28 02:17:50 +08:00
eddytruyen 9fb891b963 Update create-cluster-kubeadm.md 2017-09-28 02:17:50 +08:00
eddytruyen c5ebd07d8f Update create-cluster-kubeadm.md 2017-09-28 02:17:50 +08:00
Sam Hagan 45d92f805f fix name typo in reference to deployment example 2017-09-28 01:37:32 +08:00
Matt Brown ed94d7351a fix typo in api/resources reference: "Worloads" 2017-09-28 01:20:53 +08:00
chenhuan 267c026201 fix the command output
fix the command output
2017-09-27 09:36:23 -07:00
kairen 63b8e39c5c Link to using kubeadm page 2017-09-27 09:24:56 -07:00
jianglingxia 2624ce66ea fix envFrom in configmap 2017-09-26 13:22:03 -07:00
steveperry-53 ca05d97164 Merge branch 'master' into release-1.7 2017-09-26 12:59:11 -07:00
Andrew Chen 2d3e488818 Add link to example for CRDs (#5641)
* Add link to example for CRDs

In the CustomResourceDefinitions section, add a link to the [Custom Resource Example](https://github.com/kubernetes/kubernetes/tree/master/staging/src/k8s.io/apiextensions-apiserver/examples/client-go).

* add note
2017-09-26 11:52:28 -07:00
Ian Chakeres dae523734a Fixed links to architecture.md and principles.md 2017-09-26 11:48:51 -07:00
Qiming Teng b176f8e3fb Polish AppArmor tutorial 2017-09-26 11:47:15 -07:00
Qiming Teng c34b2a6c39 Remove dangling files related to apparmor 2017-09-26 11:42:57 -07:00
jianglingxia ad4dc7c81d fix the typo of serviceaccount (#5533)
* fix the typo of serviceaccount

* update it
2017-09-26 11:40:39 -07:00
Nathan LeClaire 5b9c1d91ac Correct setup link (#5634)
The current link to https://kubernetes.io/docs/setup/ presently ends up
redirecting to https://kubernetes.io/docs/setup/. This corrects the link
to what seems to be the correct endpoint.
2017-09-26 13:11:15 -05:00
jianglingxia a3d5d03ada relink the persistent volume of petset (#5582) 2017-09-26 13:09:28 -05:00
Kaitlyn Barnard 69db088a3f Updates to case study landing page (#5629) 2017-09-26 12:15:28 -05:00
Tim(Xiaoyu) Zhang bf2deb36ee Merge pull request #5636 from lichuqiang/translation-temp3
Translate doc resource-quotas into chinese
2017-09-26 21:32:49 +08:00
lichuqiang c88e80b7c0 translate doc resource-quotas into chinese 2017-09-26 19:22:10 +08:00
Tim(Xiaoyu) Zhang f55c395ec6 Merge pull request #5541 from XuJun00192603/1-xujun-github
ZTE-SH-CN-cluster-administration-federation-2017-09-19
2017-09-26 13:55:55 +08:00
Peter (XiangPeng) Zhao 4fb880fcbb Merge pull request #5631 from tanshanshan/patch-13
fix typo
2017-09-26 13:00:30 +08:00
Peter (XiangPeng) Zhao b160dc27cd Merge pull request #5633 from heckj/minor_encoding_fix
minor encoding fix for CN page
2017-09-26 12:58:53 +08:00
Joe Heck 356d3ad2ff minor encoding fix for CN page 2017-09-25 20:44:33 -07:00
Tim(Xiaoyu) Zhang 0092a367cd Merge pull request #4308 from markthink/master
kubernetes-concepts-overview-components-pr
2017-09-26 11:10:59 +08:00
tanshanshan 1309ea3832 fix typo 2017-09-26 11:05:43 +08:00
Dragons e8d9bb60f4 concepts-overview-components+abac-fix 2017-09-26 10:59:22 +08:00
Dragons 255e3eb83d concepts-overview-components-fix 2017-09-26 10:30:48 +08:00
Tim(Xiaoyu) Zhang 29877213bd Merge pull request #5563 from Yuan-Junliang/app-trans
ZTE-SH-CN-debug-application
2017-09-26 10:16:46 +08:00
Steve Perry cfa77d4670 Update links to avoid redirects. (#5627)
* Update links to avoid redirects.

* Fix double forward slash.
2017-09-25 19:14:20 -07:00
Steve Perry 096fee2c39 Update links to avoid redirects. (#5625) 2017-09-25 18:43:26 -07:00
Tim(Xiaoyu) Zhang f54f54ade6 Merge pull request #5449 from houjun41544/20170907
ZTE-SH-CN-static-pod
2017-09-26 08:45:57 +08:00
Steve Perry 39a3da735f Fix 404s. (#5624) 2017-09-25 17:35:40 -07:00
Steve Perry e227272f5c Fix 404s. (#5623) 2017-09-25 16:43:35 -07:00
Ryan McGinnis 0ab5bb1432 Edits cpu-constraint-namespace.md
- Removes stray link in middle of paragraph
- "cpu" becomes "CPU" throughout
2017-09-25 16:22:30 -07:00
MengZnLee 5a665549f2 Fix index redirects (#5502)
* Add command.yaml file

* Fix fix index picking the right solution  redirects
2017-09-25 16:21:29 -07:00
Adam Fordham 7b305cb11c minor updates tutorial
- change afinity field value to match yaml spec
- update and reorder steps for cordoning nodes to make more sense. currenlty says "all but four". In reality, want to cordon the three nodes that the pods are scheduled on. not "all but four".
- add new line to code snippet for easier "copy/paste"
2017-09-25 16:19:44 -07:00
jianglingxia f7edb82547 the pod yaml type error and add apiVersion 2017-09-25 16:15:59 -07:00
jianglingxia b9fa59644f update some redirects and scale type 2017-09-25 16:12:39 -07:00
jianglingxia 9d835058cc fix the typo of lable in statefulset (#5555)
* fix the typo of lable in statefulset

* update it
2017-09-25 16:09:16 -07:00
Steve Perry 779c64dd15 Update links to avoid redirects. (#5622) 2017-09-25 16:06:20 -07:00
lostlivio 248c1c854c Updated outdated information regarding API deprecation policy with pointer to current information 2017-09-25 16:03:30 -07:00
Michael Vorburger ⛑️ 69114e0cfe Remove 3 links in jobs-run-to-completion.md which go nowhere
these links don't go anywhere anymore (the respective pages must have been moved?), and are more of a distraction than adding any real value when reading that paragraph.
2017-09-25 15:59:12 -07:00
Michal Skalski cb795036b1 Remove outdated link
Flannel combained RBAC info into main manifest [1].

[1] https://github.com/coreos/flannel/commit/a154d2f68edd511498c948e33c8cbde20a5901ee
2017-09-25 15:58:43 -07:00
Yash Thakkar bd1ef6e464 Fixed hyperlinks for different ConfigMap headers
ConfigMap Header names are starting with "create", but in link it is written as "creating", because of that hyperlink was not working.
2017-09-25 15:56:38 -07:00
jianglingxia fd46c299f4 api-reference add version number 2017-09-25 15:55:24 -07:00
Nikhita Raghunath 56006b8cdc Fix link after design proposal move 2017-09-25 15:54:22 -07:00
Vitaliy Tverdokhlib d28f19900e Update zookeeper.md 2017-09-25 15:47:23 -07:00
Quentin Revel d9ccdfa85c Update mysql-wordpress-persistent-volume.md (#5155) 2017-09-25 15:46:33 -07:00
Anatoli Babenia f0b6b95abd Update organize-cluster-access-kubeconfig.md (#5611)
* Update organize-cluster-access-kubeconfig.md

Explain that context is just a named group for convenience, and
that current context is used by default if no other params are present

* Update organize-cluster-access-kubeconfig.md
2017-09-25 16:50:11 -05:00
Nick Leli fd31a775c6 Updating DC/OS getting started guide with the new integration. (#5547)
Resolving merge conflicts
2017-09-25 16:40:49 -05:00
Zack Proser d9a853e9a3 Add missing 'a' on line 123. (#5616) 2017-09-25 16:15:46 -05:00
jianglingxia dc3c4305e0 update pageversion and 404 error (#5612) 2017-09-25 15:57:42 -05:00
Steve Perry 7792c801e3 Revert "Update links to avoid redirects." (#5617)
* Revert "Fix the doc example"

This reverts commit 2872def62b.

* Revert "add the set of sessionAffinity timeoutseconds (#5474)"

This reverts commit 657734de6f.

* Revert "pod-security-policy.md: fix broken link to PSP proposal."

This reverts commit 8db51e099f.

* Revert "fix typo"

This reverts commit 24e5383071.

* Revert "Update images.md"

This reverts commit f844a41502.

* Revert "Update links to avoid redirects. (#5614)"

This reverts commit 35c7393849.
2017-09-25 13:43:15 -07:00
linzhaoming 2872def62b Fix the doc example 2017-09-25 13:14:21 -07:00
Lion-Wei 657734de6f add the set of sessionAffinity timeoutseconds (#5474)
* add the set of sessionAffinity timeoutseconds

* Update service.md
2017-09-25 13:07:34 -07:00
Slava Semushin 8db51e099f pod-security-policy.md: fix broken link to PSP proposal. 2017-09-25 12:58:13 -07:00
chenhuan12 24e5383071 fix typo
fix typo
2017-09-25 12:57:22 -07:00
pao f844a41502 Update images.md 2017-09-25 12:48:10 -07:00
Steve Perry 35c7393849 Update links to avoid redirects. (#5614) 2017-09-25 10:04:09 -07:00
XuJun00192603 771a2a40be ZTE-SH-CN-cluster-administration-federation-2017-09-25-13 2017-09-25 22:10:38 +08:00
Tim(Xiaoyu) Zhang 8edb72657d Merge pull request #5569 from lichuqiang/translation-az
Translate doc accessing-the-api into chinese
2017-09-25 20:53:24 +08:00
Tim(Xiaoyu) Zhang 2990c18a05 Merge pull request #5543 from jianglingxia/jlx-damin
modify the link of kubelet.md bootstrap-tokens.md federation/index.md
2017-09-25 15:53:32 +08:00
Tim(Xiaoyu) Zhang 950c5bbcad Merge pull request #5457 from jianglingxia/jlx-91419
link error of statefulset
2017-09-25 15:50:44 +08:00
Tim(Xiaoyu) Zhang 2cb5a8e33e Merge pull request #5579 from lichuqiang/translation-temp2
Translate doc multiple-zones into chinese
2017-09-25 15:10:18 +08:00
Tim(Xiaoyu) Zhang 22ee058d8c Merge pull request #5607 from lichuqiang/translation-temp3
Translate doc network-policies into chinese
2017-09-25 15:08:14 +08:00
Tim(Xiaoyu) Zhang 7f8b2f002e Merge pull request #5450 from houjun41544/20170914
ZTE-SH-CN: downward-api-volume-expose-pod-information.md
2017-09-25 15:05:58 +08:00
Tim(Xiaoyu) Zhang 5c1383fb00 Merge pull request #5453 from zhangmingld/translate-images
ZTE-SH-CN-images.md
2017-09-25 14:47:04 +08:00
houjun41544 4b381be9d1 Modify 2017-09-25 14:40:07 +08:00
Tim(Xiaoyu) Zhang 1b8cf7627c Merge pull request #5434 from XuJun00192603/xujun-github
ZTE-SH-CN-cluster-administration-sysctl-cluster translate-2017-09-13
2017-09-25 14:22:55 +08:00
houjun41544 b10df80e55 Add static-pod.md 2017-09-25 14:05:28 +08:00
lichuqiang f3279dcc94 translate doc network-policies into chinese 2017-09-25 12:05:49 +08:00
Fabrizio Milo 179b35d2e3 update wrong link (#5596) 2017-09-24 22:46:05 -05:00
houjun41544 492d7e32eb modify 2017-09-25 11:44:17 +08:00
Lion-Wei b23b91a3ab update network-policy by adding egress and ipBlock usage (#5473) 2017-09-24 22:22:16 -05:00
houjun41544 a9a81a99bf Add inject-data-application and two docs in it. 2017-09-25 10:21:29 +08:00
Tim(Xiaoyu) Zhang 7bffd97b9a Merge pull request #5455 from wmengRH/patch-1
Update podpreset.md
2017-09-25 09:48:20 +08:00
zhangmingld ab50634f63 fix linefeed 2017-09-25 09:21:43 +08:00
Steve Perry ad77d693c7 Update links to avoid redirects. (#5605) 2017-09-24 11:41:34 -07:00
Steve Perry 0e6de2c657 Update link targets to avoid redirects. (#5604) 2017-09-24 11:06:23 -07:00
Steve Perry 5afbb0d1e0 Update _redirects to fix 404s. (#5603) 2017-09-24 09:43:22 -07:00
Steve Perry d5ef16ae4e Update _redirects to fix 404s. (#5600) 2017-09-23 16:20:15 -07:00
Steve Perry b09593e98c Update link targets to avoid redirects. (#5598) 2017-09-23 15:51:02 -07:00
Steve Perry d7ddfdacb9 Update link targest to avoid redirects. (#5597) 2017-09-23 15:20:49 -07:00
Steve Perry 9b31b9a4d3 Add trailing slashes to reduce redirects. (#5592) 2017-09-23 03:41:18 -07:00
Steve Perry ed5d92d91e Experiment: Add trailing slash to eliminate redirection. (#5590)
Please enter the commit message for your changes. Lines starting
2017-09-22 19:54:37 -07:00
lichuqiang 27f78d7d53 translate doc accessing-the-api into chinese 2017-09-23 09:57:18 +08:00
lichuqiang eb660976ff translate doc multiple-zones into chinese 2017-09-23 09:33:21 +08:00
Dragons a25b597805 concepts-overview-components-pr-fix 2017-09-23 09:16:39 +08:00
Steve Perry 1612f0f86c Update _redirects. (#5589) 2017-09-22 18:16:19 -07:00
steveperry-53 982db0bc2a Merge branch 'master' into release-1.7 2017-09-22 12:58:49 -07:00
Tim Hockin 8f9677227d Update deprecation doc with default versions 2017-09-22 14:23:22 -04:00
jianglingxia 0f10ca7fd8 managing change back 2017-09-22 13:37:22 -04:00
jianglingxia 8a2eb56234 another problem in the paper 2017-09-22 13:37:22 -04:00
jianglingxia df15a80963 change the managing in statefulset basics 2017-09-22 13:37:22 -04:00
Jordan Liggitt ae5f5f94f2 http proxy url (#5520) 2017-09-22 09:38:22 -07:00
Vyacheslav Semushin 01cedc5a19 docs/tasks/administer-cluster/encrypt-data: mention etcdv3 requirement. (#5521) 2017-09-22 09:27:19 -07:00
Kyle Bai e9e246552b Fix refer links in minikube and garbage collection (#5545) 2017-09-22 09:26:38 -07:00
Kyle Bai 3d8385e2ca Fix kubernetes/community#1010 PR links change (#5546) 2017-09-22 09:25:57 -07:00
Vyacheslav Semushin e7fc8cf845 Cleanup leftovers after moving PSP doc to concepts/policy. (#5557) 2017-09-22 09:24:54 -07:00
sngchlko 0831dd62d6 synchronize memory request value (#5567) 2017-09-22 09:23:59 -07:00
Cliff Burdick e17789966d Update nodes.md (#5578)
--api-servers has been deprecated and is no longer in 1.7+.
2017-09-22 09:20:17 -07:00
Tim(Xiaoyu) Zhang 03d23c1bb0 Merge pull request #5552 from zhangmingld/translate-example-concept-template
ZTE-SH-CN-example-concept-template.md
2017-09-22 16:57:15 +08:00
Tim(Xiaoyu) Zhang 5ebd4240da Merge pull request #5553 from zjj2wry/cn-translate-kubectl-overview
k8smeetup-kubectl-overview-2017-7-15
2017-09-22 16:54:42 +08:00
zhengjiajin 00f4aab96a k8smeetup-kubectl-overview-2017-7-15 2017-09-22 16:51:04 +08:00
Tim(Xiaoyu) Zhang c4180cb5c4 Merge pull request #5568 from jianglingxia/jlx-92115
some error in statefulset
2017-09-22 15:07:23 +08:00
Steve Perry d2a4a6cdbb Experiment: Fix one link that currently gets redirected. (#5577) 2017-09-21 20:15:19 -07:00
Steve Perry 685ea833ac Experiment: Add trailing slash to one redirect target. (#5576) 2017-09-21 19:45:39 -07:00
Tim(Xiaoyu) Zhang 0d250f75b6 Merge pull request #5451 from jianglingxia/jlx-91414
delete ConfigMap in secret
2017-09-22 08:40:22 +08:00
steveperry-53 b205cca225 Merge branch 'master' into release-1.7 2017-09-21 15:33:48 -07:00
jianglingxia ca9c8fddf8 fix ex to example in kubernetes-api 2017-09-21 18:23:26 -04:00
kairen ac88f914e3 Fix broken refer links 2017-09-21 18:22:11 -04:00
Spike Curtis 192e9cd4cd RBAC doc describes escalation of privilege via pod creation. (#5551)
* Added docs about privilege escalation via pod creation.

* Fix docs style.

* Update index.md

* Update index.md

* Removed line about k8s policing policy

* Update index.md
2017-09-21 17:08:06 -05:00
Stewart-YU 88b4eeca2b Update create-cluster-kubeadm.md (#5369)
* Update fedora_ansible_config.md

Fix format.

* Update create-cluster-kubeadm.md

Fix format: add a blank line.

* Update vsphere.md

Fix leading spaces in commands.

* Update fedora_ansible_config.md again
2017-09-21 17:01:45 -05:00
Jon Mosco 29621addd9 change send to sent, and change a period to be a colon to follow the rest of the guide 2017-09-21 16:18:03 -04:00
Slava Semushin 67c0fcd274 Fix broken links after moving proposals to subdirs. 2017-09-21 13:30:31 -05:00
Tim(Xiaoyu) Zhang e9065a984c Merge pull request #5514 from jianglingxia/jlx-less
ZTE-SH-CN-run-application-run-stateless-application-deployment-pr-201…
2017-09-21 21:41:28 +08:00
jianglingxia 18254f4413 another error 2017-09-21 17:27:41 +08:00
jianglingxia 94f8bfbeed some error in statefulset 2017-09-21 15:57:21 +08:00
Jennifer Rondeau be367f221f Merge pull request #5558 from php-coder/psp_allow_all_caps
psp.yaml: add allowedCapabilities: '*' to permissive PSP
2017-09-20 13:06:18 -07:00
Slava Semushin 91f526421d Fix some broken links to proposals. 2017-09-20 13:47:45 -05:00
steveperry-53 f10af47a0a Merge branch 'master' into release-1.7 2017-09-20 11:27:31 -07:00
Slava Semushin ec3671b0ea psp.yaml: add allowedCapabilities: '*' to permissive PSP. 2017-09-20 14:40:50 +02:00
YuanJunliang10067740 1c00298426 ZTE-SH-CN-debug-application 2017-09-20 19:24:55 +08:00
Tim(Xiaoyu) Zhang b2c715d3bf Merge pull request #5469 from mysunshine92/train_test
ZTE-SH-CN-configure-pod-container-opaque-integer-resource-2017-09-15
2017-09-20 11:16:18 +08:00
zhangmingld 2c54dff8a1 ZTE-SH-CN-example-concept-template.md
translate /docs/concepts/example-concept-template
2017-09-20 11:02:10 +08:00
Jennifer Rondeau 7ba3d7c67e Merge pull request #5438 from lcfang/patch-53
Update install-kubeadm.md
2017-09-19 19:29:46 -04:00
Jennifer Rondeau ba25e6228f Merge pull request #5435 from jianglingxia/jlx-91317
fix typo of basic-stateful-set
2017-09-19 19:25:12 -04:00
Jennifer Rondeau c04d4c2a3e Merge pull request #5466 from YuxiJin-tobeyjin/inject-env2
ZTE-SH-CN-define-environment-variable-container
2017-09-19 19:22:15 -04:00
Jennifer Rondeau 73e224794c Merge pull request #5501 from torvitas/patch-1
fixes kubernetes/contrib/issues/2749
2017-09-19 19:09:10 -04:00
Tim(Xiaoyu) Zhang d5be5252a5 Merge pull request #5470 from Pingan2017/modify0915
ZTE-SH-CN-quota-pod-namespace.md
2017-09-20 06:33:14 +08:00
Tim(Xiaoyu) Zhang 750dc783f3 Merge pull request #5512 from Pingan2017/modifyrollingupdate
ZTE-SH-CN-rolling-update-replication-controller.md
2017-09-20 06:32:18 +08:00
Kyle Bai cd67108ba7 Remove User FAQ refer links (#5467)
* Remove User FAQ refer links

* Remove all of the wiki refer links
2017-09-19 17:22:19 -05:00
Jennifer Rondeau c49c964635 Merge pull request #5506 from ianfisk/spelling
Fix spelling mistake.
2017-09-19 15:31:33 -04:00
Jennifer Rondeau a26ddaa6da Merge pull request #5531 from zouyee/version
fix version.md link
2017-09-19 15:29:31 -04:00
Jennifer Rondeau c08e547db8 Merge pull request #5532 from zouyee/api-group
update api-group link
2017-09-19 15:28:24 -04:00
Jennifer Rondeau 01be561eb6 Merge pull request #5534 from zouyee/aggerated-api-servers
update aggregated-api-servers.md link
2017-09-19 15:24:23 -04:00
Jennifer Rondeau 32161536bb Merge pull request #5538 from kairen/patch-hpa-1
Fix incorrect links
2017-09-19 15:19:35 -04:00
Jennifer Rondeau 2bf010d5ee Merge pull request #5542 from kubernetes/zhangxiaoyu-zidif-patch-99
use para. page.version to replace specific version
2017-09-19 15:14:27 -04:00
jianglingxia db0623830e fix link of secret 2017-09-19 13:39:41 -05:00
wangyamei 0bcdd3c714 ZTE-SH-CN-configure-pod-container-opaque-integer-resource-2017-09-19-22 2017-09-19 09:14:26 -04:00
Tim(Xiaoyu) Zhang 7f7dd01e94 Merge pull request #5411 from qingsenLi/translate_2
ZTE-SH-CN-debug-stateful-set
2017-09-19 19:39:02 +08:00
qingsenLi f81b83998e ZTE-SH-CN-debug-stateful-set-2017-09-19 2017-09-19 14:03:32 +00:00
Pingan2017 d47d404477 ZTE-SH-CN-rolling-update-replication-controller.md-5 2017-09-19 18:53:52 +08:00
jianglingxia fa16762e0b modify the link of kubelet.md bootstrap-tokens.md federation/index.md 2017-09-19 17:27:28 +08:00
Tim(Xiaoyu) Zhang 5e07e96abf use para. page.version to replace specific version 2017-09-19 16:21:28 +08:00
jianglingxia 308e243a5f update the admission-controllers.md index.md what-is-kubernetes.md link 2017-09-19 02:15:03 -05:00
kairen 08479e46db Fix incorrect links 2017-09-19 13:50:04 +08:00
zouyee 6f76cc9145 update aggregated-api-servers.md link 2017-09-19 11:16:03 +08:00
zouyee 7a9ab3eda6 update api-group link 2017-09-19 10:46:51 +08:00
zouyee 5095e3ea39 fix version.md link 2017-09-19 10:32:13 +08:00
jianglingxia e710d489d9 ZTE-SH-CN-run-application-run-stateless-application-deployment-pr-201709181423 2017-09-19 08:39:15 +08:00
jianglingxia 5e73ae8afc ZTE-SH-CN-run-application-run-stateless-application-deployment-pr-2017-09-18-1414 2017-09-19 08:39:15 +08:00
Andrew Chen 99fbc2b4ae Monthly 404 fix (#5494)
* Monthly 404 fix

* WIP

* 404 fixes cont

* finish 404 fixes

* file syntax tested and fixed

* fix cn file for netlify preview

* syntax cleanup for consistency
2017-09-18 15:20:15 -07:00
Pingan2017 01c5fd3846 ZTE-SH-CN-quota-pod-namespace.md-0918-10 2017-09-18 19:24:19 +08:00
YuxiJin-tobeyjin fc4731a77e add envars.yaml 2017-09-18 09:31:38 +08:00
Ian Fisk c77139f1b4 Fix spelling mistake. 2017-09-17 07:45:02 -07:00
Sascha Marcel Schmidt 4aadfef47c fixes #2749 2017-09-16 14:54:18 +02:00
Kaitlyn Barnard 667b7d474a Adding Treasure Data to KCSP page (#5488)
* Adding Treasure Data to KCSP page

* Updating service partner text
2017-09-15 17:30:54 -07:00
Weibin Lin 831833d6b3 Update docs/admin/authentication.md (#5408)
* Update docs/admin/authentication.md

* Update authentication.md
2017-09-15 17:30:05 -07:00
Andrew Chen 0f9391df21 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  ZTE-SH-CN-debug-pod-replication-controller-2017-09-14-14
  ZTE-SH-CN-define-command-argument-container (#5381)
  Update index.md
  Update Kompose docs
  Improve host aliases page (#5443)
  Add link to AlwaysPullImages admission controller
  Revert "create homepage for user journeys"
  create homepage for user journeys
  fix the command output
  ZTE-SH-CN-run-application-run-single-instance-stateful-application-pr-2017-… (#5363)
  Add a note to static pod manifest scanning
  revert WordPress and MySQL PV doc changes to use apps/v1beta2 APIs (#5461)
  Fix pod probes yaml file
  Redirect v1 docs. (#5460)
  Fix error link (#5459)
  Fix typo in deployment documentation
2017-09-15 17:19:56 -07:00
qingsenLi 82ac9251fd ZTE-SH-CN-debug-pod-replication-controller-2017-09-14-14 2017-09-15 16:52:32 -07:00
jinyuxi fc7ea442af ZTE-SH-CN-define-command-argument-container (#5381)
* ZTE-SH-CN:define-command-argument-container

* ZTE-SH-CN-define-command-argument-container detele en
2017-09-15 16:52:01 -07:00
Weibin Lin 9d9f87257a Update index.md 2017-09-15 16:47:17 -07:00
Charlie Drage 933d6a1d43 Update Kompose docs
This updates the current page of Kompose with our quickstart,
installation as well as user guide.
2017-09-15 16:35:34 -07:00
Kyle Bai 5a0c3014fc Improve host aliases page (#5443)
* Fix confusion code block

* Add more detail command

* Add pod wide output
2017-09-15 16:30:06 -07:00
Qiming Teng 34df90be81 Add link to AlwaysPullImages admission controller 2017-09-15 16:22:36 -07:00
Andrew Chen 855556c1f7 Revert "create homepage for user journeys"
This reverts commit fe97c0b9c8.
2017-09-15 10:33:43 -07:00
Alex Contini fe97c0b9c8 create homepage for user journeys 2017-09-15 10:32:31 -07:00
YuxiJin-tobeyjin 6147385088 ZTE-SH-CN-define-environment-variable-container 2017-09-15 10:02:18 +08:00
chenhuan12 fcdf4ecc83 fix the command output
fix the command output
2017-09-14 16:36:47 -07:00
jianglingxia 7eeb603154 ZTE-SH-CN-run-application-run-single-instance-stateful-application-pr-2017-… (#5363)
* zte-run-application-run-single-instance-stateful-application-pr-2017-09-09

* ZTE-SH-CN-run-application-run-single-instance-stateful-application-pr-2017-09-12

* ZTE-SH-CN-run-application-run-single-instance-stateful-application-pr-2017-09-13

* ZTE-SH-CN-run-application-run-single-instance-stateful-application-pr-2017-09-14
2017-09-14 16:17:17 -07:00
Qiming Teng 6dd10648a6 Add a note to static pod manifest scanning 2017-09-14 13:47:26 -07:00
Jun Xiang Tee e229c03584 revert WordPress and MySQL PV doc changes to use apps/v1beta2 APIs (#5461) 2017-09-14 13:17:51 -07:00
kairen dc6c994085 Fix pod probes yaml file 2017-09-14 13:46:29 -05:00
Jennifer Rondeau c6211e19be Merge pull request #5433 from heshoots/patch-1
Fix typo in deployment documentation
2017-09-14 14:44:11 -04:00
Steve Perry ef7db9422b Redirect v1 docs. (#5460) 2017-09-14 10:54:37 -07:00
Kyle Bai 3498f8a437 Fix error link (#5459) 2017-09-14 10:25:26 -07:00
steveperry-53 4c89d4bed2 Merge branch 'master' into release-1.7 2017-09-14 09:56:11 -07:00
Jennifer Rondeau 6da3922bb5 Merge pull request #5439 from kairen/patch-pvc-1
Improve persistent volumes page
2017-09-14 10:29:44 -04:00
jianglingxia 677cea2ed9 link error 2017-09-14 19:44:09 +08:00
Weihua Meng 9d20d15520 Update podpreset.md 2017-09-14 19:18:03 +08:00
zhangmingld 3c79f8c40a ZTE-SH-CN-images.md
translation to the docs/concept/containers/images.md
2017-09-14 15:29:10 +08:00
jianglingxia 25eb8099e5 delete ConfigMap in secret 2017-09-14 14:16:28 +08:00
emanic d428cf6581 Adds link to Calico install instructions (#5423) 2017-09-13 19:46:14 -07:00
Jun Xiang Tee c912140727 update wordpress and mysql PV doc to use apps/v1beta2 APIs (#5424) 2017-09-13 19:43:00 -07:00
Kyle Bai ccb82b10f2 Fix init containers code block (#5428) 2017-09-13 19:39:01 -07:00
Ahmet Alp Balkan db3f59bea5 Link cassandra statefulset tutorial from the guide (#5446)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-09-13 19:37:35 -07:00
Ahmet Alp Balkan bfecfa7f9c Link to persistent volume tutorial from concept doc (#5447)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-09-13 19:31:14 -07:00
Weibin Lin 34d2a2e7f2 fix typos in /admin/authorization/rbac.md (#5427) 2017-09-13 15:40:32 -07:00
XuJun00192603 d0aa820c76 ZTE-SH-CN-cluster-administration-sysctl-cluster translate-2017-09-13 2017-09-14 01:34:40 +08:00
Joseph Heck c8adeb0154 Merge pull request #5441 from samgiles/patch-1
Typo in environment variable
2017-09-13 08:11:25 -07:00
Samuel Giles d13227afa4 Typo in environment variable
`KUBECONGIG` -> `KUBECONFIG`
2017-09-13 15:33:58 +01:00
kairen 9e19846706 Fix typo and examples 2017-09-13 20:41:01 +08:00
lemon-tree eb443b0b7d Update install-kubeadm.md
Added the lost period, and modified the layout in some lines.
2017-09-13 19:34:15 +08:00
jianglingxia b935664c81 fix typo of basic-stateful-set 2017-09-13 17:29:58 +08:00
Max Prettyjohns 6fe16ae8d0 Fix typo in deployment documentation 2017-09-13 10:16:42 +01:00
Kyle Bai 97f089ed88 Unified use of YAML for Secret example (#5418)
* Unified use of YAML for Secret example

* Fix dotfiles in secret volume yaml
2017-09-12 14:21:34 -05:00
kairen 48714d5c9d Remove manual deploy on Ubuntu 2017-09-12 14:07:18 -05:00
jianglingxia 6dabd96cd6 fix typo of configure-volume-storage 2017-09-12 14:01:39 -05:00
chenhuan12 ac3c40c91d fix the command output
fix the command output
2017-09-12 13:22:09 -05:00
Stewart-YU 496b1758c7 Update libvirt-coreos.md
Add som urls.
2017-09-12 13:18:56 -05:00
chenhuan12 9a472c4fbb fix typo
fix typo
2017-09-11 13:52:05 -07:00
Stewart-YU 87bf3696ca Update photon-controller.md
Fix leading spaces in commands.
2017-09-11 13:49:55 -07:00
Jennifer Rondeau 5c5780beb5 Merge pull request #5311 from krishna-mk/master
updated Readme  with one tab called Review Issues added and several links fixed.
2017-09-11 15:48:28 -04:00
Jennifer Rondeau 82e0c86863 Merge pull request #5346 from jianglingxia/jlx-scalestateful
ZTE-SH-CN-run-application-scale-stateful-set-2017-09-08
2017-09-11 15:45:30 -04:00
Jennifer Rondeau a82e94bddb Merge pull request #5353 from kinvolk/iaguis/fix-jsonpath
Add quotes to JSONPATH bash variable
2017-09-11 15:43:43 -04:00
Jennifer Rondeau 27eba734ce Merge pull request #5371 from stewart-yu/patch-55
Update bare_metal_offline.md
2017-09-11 14:59:37 -04:00
Jennifer Rondeau 152dad953a Merge pull request #5378 from the-redback/patch-1
update docs/admin/authentication.md
2017-09-11 14:52:44 -04:00
Jennifer Rondeau a475be0ccf Merge pull request #5379 from chenhuan12/patch-92
fix typo
2017-09-11 14:51:39 -04:00
Kaitlyn Barnard a9208e8a5d Updates to partner page design to add KCSPs (#5336)
* Updates to partner page design to add KCSPs

* Update index.html

* Update partner-style.css

* Update partner-script.js

* Add files via upload

* Update partner-script.js

* Add files via upload

* Update partner-script.js
2017-09-11 12:01:43 -05:00
chenhuan12 51104cb1fc fix the command output (#5380)
fix the command output
2017-09-11 09:00:38 -07:00
Qiu Jian be8ea1e37c Elaborate the scheme field in httpGet (#5386) 2017-09-11 08:58:47 -07:00
Johannes 'fish' Ziemke 010449ee60 Fix configmaps resource name in rbac.md (#5389)
The resource is 'configmaps', not 'configmap'.
2017-09-11 08:54:35 -07:00
jianglingxia 4165c64a8e run-application-scale-stateful-set-pr-2017-09-11-13 2017-09-11 13:44:08 +08:00
Krishna m-Kumar fc809cb1d7 Merge branch 'master' into master 2017-09-11 09:04:01 +05:30
chenhuan12 c9e835c66e fix typo
fix typo
2017-09-11 10:33:56 +08:00
jianglingxia f482482d72 run-application-scale-stateful-set-pr-2017-09-11 2017-09-11 09:56:49 +08:00
jianglingxia f9f9d60c84 run-application-scale-stateful-set-2017-09-08 2017-09-11 09:40:04 +08:00
Stewart-YU 94d9e27597 Update bare_metal_offline.md
Fix copy error.
2017-09-11 07:59:24 +08:00
Abdullah Al Maruf - Tuhin e96a9f992c Fix Typos 2017-09-11 03:38:49 +06:00
Stewart-YU 3e49e008cc Update bare_metal_offline.md
Fix format.
2017-09-10 18:07:38 +08:00
Sylvain WITMEYER 4a55e28166 Label can't have whitespaces (#4086)
My nvidia GPU name was "GeForce GTX 1070" which isn't a correct label
"a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character"
2017-09-09 19:41:45 -07:00
Tony-CCIE 7f83f2be59 k8smeetup-admin-ovs-networking-pr-2017-07-15 (#5356)
* admin-ovs-networking-pr-2017-07-15

* Update ovs-networking.md
2017-09-09 09:50:45 -07:00
Jesse Kinkead eac3d83e94 Complete documentation of SSL-on-AWS. (#5357)
The SSL-on-AWS documentation was missing a critical annotation, without which SSL termination doesn't work (all ports are configured to use SSL).

This also fixes the indentation of the existing YAML.
2017-09-09 09:48:50 -07:00
打雷不怕 fdbe5086a0 cn-translation-from-2017-08-14-to-2017-09-03 (#5364) 2017-09-09 09:45:38 -07:00
Steve Perry 7eb3fa9f2e Update opaque-integer-resource-node.md 2017-09-09 09:22:48 -07:00
Weihua Meng d58b78d058 Update opaque-integer-resource-node.md (#5330)
typo correction
2017-09-09 09:18:05 -07:00
Malepati Bala Siva Sai Akhil 38d3414a79 Fixed Broken Link (#4798)
Fixed Broken Link in Case Study of Box

Signed-off-by: Malepati Bala Siva Sai Akhil <malepatib.akhil@huawei.com>
2017-09-08 22:52:39 -07:00
Errien 16e44fcc9a Update configure-pod-configmap.md (#4017)
Setting correct key for LOG_LEVEL env value
2017-09-08 22:14:12 -07:00
Joseph Heck c4fde406f0 fixing broken note annotation, and cleaning blank line endings (#5360)
* fixing broken note annotation, and cleaning blank line endings

* fixing caution annotation typo
2017-09-08 21:20:29 -07:00
chenhuan12 511402d8e2 fix the command output (#5350)
fix the command output
2017-09-08 21:15:45 -07:00
XsWack d19e83c3c1 add Node Condition Type (#5334)
add Node Condition Type
2017-09-08 21:08:09 -07:00
Weihua Meng 8c37e43a18 Update opaque-integer-resource.md (#5331)
remove irrelevant words
2017-09-08 21:05:36 -07:00
Joel Roggeman de452f864e Fix MD formatting issue in docs (#5326) 2017-09-08 20:43:23 -07:00
Luis Pabón 6a4fde54b2 Update link in AWS documentation (#5325) 2017-09-08 17:51:21 -07:00
Anatoli Babenia 1e4399ee89 Mailing list moved to kubernetes-users group (#5320) 2017-09-08 17:50:44 -07:00
Stewart-YU f179452a9a Update create-cluster-kubeadm.md (#5318)
Fix leading spaces in commands.
2017-09-08 17:49:56 -07:00
chenhuan12 7a7718378a fix the command output (#5317)
fix the command output
2017-09-08 17:48:15 -07:00
chenhuan12 162e042d42 fix the command output (#5316)
fix the command output
2017-09-08 17:47:46 -07:00
chenhuan12 728598298f fix the command output (#5315)
fix the command output
2017-09-08 17:46:32 -07:00
Evgeny Shmarnev bc0eae1b34 Update persistent-volumes.md (#5314)
Add necessary line breaks so vSphere yaml examples will be shown correctly.
2017-09-08 17:45:40 -07:00
Kyle Bai 9981d7e6c9 Remove unknown flag for apiserver (#5312) 2017-09-08 17:44:41 -07:00
Cliff Burdick ef24a54abd Update downward-api-volume-expose-pod-information.md (#5309)
Keeping the capitalization uniform.
2017-09-08 17:37:19 -07:00
John Belamaric e0cb103488 Add coredns to add-on list (#5358)
* Add CoreDNS addon

* Update text
2017-09-08 13:17:08 -07:00
chenhuan12 c3209bb680 fix the command output
fix the command output
2017-09-08 13:06:42 -07:00
Ahmet Kizilay 108a4051fe updated kops download link to latest version (#5345)
* 1.6.1 -> 1.7.0
2017-09-08 09:10:24 -07:00
lemon-tree 53debf5df0 Update kube-proxy.md (#5344)
there lost a blank character.
2017-09-08 09:09:48 -07:00
jianglingxia 93133cca2f duplicate not (#5347) 2017-09-08 09:04:16 -07:00
Ryan McGinnis edb249a74f Merge pull request #5342 from kubernetes/ryanmcginnis-patch-1
Edits deployment.md
2017-09-08 08:01:18 -07:00
Ryan McGinnis 0347e50b82 Update deployment.md 2017-09-08 07:32:40 -07:00
Iago López Galeiras 02155b7b96 Add quotes to JSONPATH bash variable
The command was failing with

    error: error parsing jsonpath {range, unclosed action

We need to quote `$JSONPATH` so the full contents of the variable are
passed to `-o jsonpath=`.

Fixes #4258
2017-09-08 13:14:21 +02:00
Andrew Bonventre 15b57839b8 Fix typo (TEMPALTE -> TEMPLATE) (#5337) 2017-09-07 18:40:35 -07:00
Ryan McGinnis 11161b6351 Edits deployment.md
- Fixes an inaccuracy: `template: metadata: labels:` labels the Pod template rather than the containers
- Elaborates some more on the explanation of the manifest
2017-09-07 17:09:24 -07:00
steveperry-53 361beaef7d Merge branch 'master' into release-1.7 2017-09-07 15:56:35 -07:00
Liz Rice 7b2ed94079 Include kubelet and kube-proxy in list of pre-reqs (#4469)
* Include kubelet and kube-proxy in list of pre-reqs

Fixes #4454

* Use relative links
2017-09-06 16:37:07 -07:00
Murali Reddy 11787fa521 add kube-router as network policy provider 2017-09-06 13:07:24 -07:00
Ziqi Zhao ef36140de2 Signed-off-by: Ziqi Zhao <zhaoziqi@qiniu.com>
Fix the mistakes in the "StatefulSet Basics"

In the section "Updating StatefulSets", when the update strategy is OnDelete and the web-0 pod is updated by deleting it manually.
Then the web-1 and web-2 should still have the original image. But in the current version, the article says that the web-0 and web-1
still have the original image.
2017-09-06 13:03:52 -07:00
Andre Marschalek 683c288bcc Update fedora_ansible_config.md 2017-09-06 13:02:29 -07:00
Qiming Teng ee641854a6 Fix admission-controllers section
This patch refactors the admin/admission-controllers section:

- Reorder the built-in controllers based on their names
- Added controllers that were not documented:

* GenericAdmissionWebhook
* Initializers
* LimitPodHardAntiAffinity
* NamespaceAutoProvision
* NamespaceExists
* OwnerReferencesPermissionEnforcement
* PersistenVolumeLabel
* PodPreset
* PodTolerationRestriction
2017-09-06 12:53:32 -07:00
steveperry-53 9de0ed3d56 Merge branch 'master' into release-1.7 2017-09-06 12:32:25 -07:00
Harry Zhang 75a104c609 Merge pull request #5313 from WIZARD-CXY/adddoc
add doc for special note for hpa
2017-09-06 13:16:36 +08:00
chenxingyu f520d3940d add doc for special note for hpa 2017-09-06 13:09:40 +08:00
Krishna m-Kumar 1d3b7c4228 updated Readme with several links missing
5 missing links updated 
Added Review Issues Tab  and Link from the same folder's file.
2017-09-06 07:27:36 +05:30
Andrew Chen 5033d8d79e Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (23 commits)
  concepts/configuration/manage-compute-resources-container.md: fix a conversion (#4952)
  Update authentication.md (#5281)
  Update static-pod.md for consistency
  Space needed before list in kramdown.
  Update downward-api-volume-expose-pod-information.md
  fix the command output
  fix the command output
  fix the command output
  fix the command output
  fix the command output
  Fix CRD page typo
  fix 404 page
  Update binary_release.md
  Update disruptions.md
  fix the command output
  fix typo
  fix the command output
  Fix curl does not work in zsh
  use the term 'node' for consistency
  fix typo
  ...
2017-09-05 16:09:53 -07:00
Andrew Chen 6e584be28e Merge pull request #4673 from lpabon/patch-2
Add annotation documentation for AWS ELBs
2017-09-05 15:36:27 -07:00
Andrew Chen 5d71c06c36 Merge pull request #4360 from CaoShuFeng/404_page_part_2
fix one 404 page in doc
2017-09-05 15:32:38 -07:00
Radhika Puthiyetath e0517e0799 concepts/configuration/manage-compute-resources-container.md: fix a conversion (#4952)
Rewrite the description for spec.containers[].resources.limits.cpu
2017-09-05 15:28:36 -07:00
Andrew Chen 8d79723fe6 Merge pull request #5258 from mattjmcnaughton/mattjmcnaughton/add-links-to-cassandra-example-previous-knowledge
Add links to cassandra example objectives
2017-09-05 14:33:21 -07:00
Andrew Chen db2d983c4c Merge pull request #5259 from chenhuan12/patch-75
fix typo
2017-09-05 14:32:10 -07:00
Andrew Chen 3322229467 Merge pull request #5262 from madorn/patch-1
use the term 'node' for consistency
2017-09-05 14:30:58 -07:00
Andrew Chen 49037b0896 Merge pull request #5264 from kairen/fix-zsh-not-work
Fix curl does not work in zsh
2017-09-05 14:29:50 -07:00
Stewart-YU 1bc0bda657 Update authentication.md (#5281)
* Update authentication.md

Add links, and fix format.

* add that

* add code format
2017-09-05 14:28:47 -07:00
Andrew Chen fde2f830ff Merge pull request #5266 from chenhuan12/patch-77
fix the command output
2017-09-05 14:26:01 -07:00
Andrew Chen 5d15f4e288 Merge pull request #5273 from chenhuan12/patch-78
fix typo
2017-09-05 14:25:43 -07:00
Andrew Chen c3a0e84b92 Merge pull request #5274 from chenhuan12/patch-79
fix the command output
2017-09-05 14:25:22 -07:00
Andrew Chen d92c325ee1 Merge pull request #5275 from hzxuzhonghu/patch-12
Update disruptions.md
2017-09-05 14:24:29 -07:00
Andrew Chen cdccb052f6 Merge pull request #5280 from stewart-yu/patch-50
Update binary_release.md
2017-09-05 14:23:34 -07:00
Andrew Chen 0f3f366d45 Merge pull request #5286 from kairen/fix-crd-typo
Fix CRD page typo
2017-09-05 14:17:15 -07:00
Andrew Chen b6d83bfffa Merge pull request #5287 from chenhuan12/patch-80
fix the command output
2017-09-05 14:16:40 -07:00
Andrew Chen ae299f0cd9 Merge pull request #5288 from chenhuan12/patch-81
fix the command output
2017-09-05 14:16:05 -07:00
Andrew Chen de1f24d4c9 Merge pull request #5295 from chenhuan12/patch-83
fix the command output
2017-09-05 14:14:00 -07:00
Andrew Chen 5a18f9fba6 Merge pull request #5296 from chenhuan12/patch-84
fix the command output
2017-09-05 14:13:19 -07:00
Andrew Chen d6a96e4cfb Merge pull request #5297 from chenhuan12/patch-85
fix the command output
2017-09-05 14:12:35 -07:00
Andrew Chen 7034bda857 Merge pull request #5302 from cliffburdick/patch-2
Update downward-api-volume-expose-pod-information.md
2017-09-05 14:11:48 -07:00
Andrew Chen e540545bcc Merge pull request #5303 from zmlka/patch-2
Space needed before list in kramdown.
2017-09-05 14:09:20 -07:00
Andrew Chen 69f9a408c8 Merge pull request #5305 from shashidharatd/patch-2
Update static-pod.md for consistency
2017-09-05 14:08:23 -07:00
Andrew Chen 738e220fe4 Merge pull request #5256 from dhilipkumars/patch-18
fix a broken link
2017-09-05 14:06:59 -07:00
Andrew Chen 1032e41489 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 photon-controller.md (#5279)
  add back Zach and Steve to PR assignment
  fix the command output
  Update troubleshooting.md
  Update guaranteed-scheduling-critical-addon-pods.md
  Include filename fix (#5139)
  k8s-tutorials-stateful-application (#5112)
  Update gce.md (#5163)
  Update stage-documentation-changes.md (#5213)
  fix the command output
  Fix token-authentication-file internal link
2017-09-05 14:04:42 -07:00
Andrew Chen 3164b8a979 Merge pull request #5249 from chenhuan12/patch-73
fix the command output
2017-09-05 14:03:46 -07:00
Andrew Chen ebef9a24c6 Merge pull request #5208 from justinsb/fix_token_auth_file_link
Fix token-authentication-file internal link
2017-09-05 14:01:50 -07:00
Andrew Chen 7ab1dd0e46 Merge pull request #5277 from stewart-yu/patch-47
Update guaranteed-scheduling-critical-addon-pods.md
2017-09-05 13:59:48 -07:00
Stewart-YU aa5df3c4c8 Update photon-controller.md (#5279)
* Update photon-controller.md

Fix format: number order in Prerequisites Part  is 1->2->3->4->5->6, rather than 1->2->1->1->2->3

* add intents to fix ordered bullets
2017-09-05 13:58:58 -07:00
Andrew Chen ca57c2a80c Merge pull request #5278 from stewart-yu/patch-48
Update troubleshooting.md
2017-09-05 13:58:10 -07:00
Andrew Chen 4648c01d40 Merge pull request #5289 from chenhuan12/patch-82
fix the command output
2017-09-05 13:53:24 -07:00
Andrew Chen 2678159f5c Merge pull request #5306 from kubernetes/chenopis-owners-patch
add back Zach and Steve to PR assignment
2017-09-05 13:31:06 -07:00
Andrew Chen a22eb2a9d9 add back Zach and Steve to PR assignment 2017-09-05 10:45:36 -07:00
shashidharatd e6042bd5f5 Update static-pod.md for consistency
It confuses user to use different directories for `--pod-manifest-path` within the same document. So fixed to maintain consistency.
2017-09-05 22:39:51 +05:30
Martin Zemlicka 8b154e2f45 Space needed before list in kramdown.
Need to have a space there for the list to work with the kramdown markdown engine. Without it it is just a paragraph.
2017-09-05 17:03:41 +02:00
cliffburdick 541323baca Update downward-api-volume-expose-pod-information.md
Adding node IP, which was added as part of PR #42717
2017-09-05 07:59:47 -07:00
chenhuan12 06b396ff1e fix the command output
fix the command output
2017-09-05 11:00:37 +08:00
chenhuan12 14ce35f3ab fix the command output
fix the command output
2017-09-05 10:13:21 +08:00
chenhuan12 2c5ae8d514 fix the command output
fix the command output
2017-09-05 09:40:07 +08:00
chenhuan12 3227e17acd fix the command output
fix the command output
2017-09-04 16:42:40 +08:00
chenhuan12 fe11347d6f fix the command output
fix the command output
2017-09-04 15:46:47 +08:00
chenhuan12 fed5d25fb8 fix the command output
fix the command output
2017-09-04 15:37:12 +08:00
kairen c6636e89df Fix CRD page typo 2017-09-04 15:08:07 +08:00
Cao Shufeng 64e198b9ff fix 404 page 2017-09-04 14:35:10 +08:00
Stewart-YU 41067dec8a Update binary_release.md
It should add a url.
2017-09-03 11:09:38 +08:00
Stewart-YU 34a9e707bd Update troubleshooting.md
Fix format: " Load Balancer interfering with Helm" should Block Body.
2017-09-03 10:35:55 +08:00
Stewart-YU 8c7015d4fa Update guaranteed-scheduling-critical-addon-pods.md
Fix format: make note multiline.
2017-09-03 10:22:26 +08:00
Max Kuchin 3c8a775588 Include filename fix (#5139)
* Include filename fix

mysql-deployment.yaml was included instead of wordpress-deployment.yaml in the last step.

* removing footer change #5139
2017-09-02 16:58:08 -07:00
打雷不怕 593dc8cca1 k8s-tutorials-stateful-application (#5112)
* k8s-tutorials-stateful-application

* change author and email to pass CLA
2017-09-02 16:04:43 -07:00
Anthony cc8d5283b4 Update gce.md (#5163)
* Update gce.md

modify use` gcloud` to use ` gcloud` and upper ssh

* Update gce.md

modify ` gcloud` to `gcloud`
2017-09-02 16:01:41 -07:00
TigerXu a9d76d294e Update disruptions.md 2017-09-02 11:41:03 +08:00
chenhuan12 67fa4f2312 fix the command output
fix the command output
2017-09-02 10:24:35 +08:00
chenhuan12 90877ea0b9 fix typo
fix typo
2017-09-02 10:01:53 +08:00
Stewart-YU 061a16bfb5 Update stage-documentation-changes.md (#5213)
* Update stage-documentation-changes.md

Fix the format. The format in orginal web page is confusion.

* convert note to callout

* make note multiline

* fix code block
2017-09-01 17:42:21 -07:00
Andrew Chen 45e406570a Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (32 commits)
  Fixed broken link to Pods concept documentation (#5223)
  Update some docs in /cn/docs (#4842)
  Update deployment.md
  fix the command output
  Translate into chinese about NetworkPolicy
  rootsongjc-pr-20170815
  fix typo
  fix the command output
  Translate into chinese about GPU
  index-pr-2017-08-15
  Example links use kubernetes/examples
  Make caret for version drop-down more visible
  fix typo:ConfigMap
  fix the command output
  Fixed incorrect links for YAML files
  Clean up the index page.
  Remove broken link.
  Update pod names to match what's in the spec.
  Update daemonset.md
  Update configure-aggregation-layer.md
  ...
2017-09-01 17:20:53 -07:00
Andrew Chen cc289c8f6c Merge pull request #5062 from stewart-yu/patch-22
Update index.md
2017-09-01 17:17:07 -07:00
Andrew Chen 24f59986fc Merge pull request #5220 from stewart-yu/patch-46
Update daemonset.md
2017-09-01 17:16:04 -07:00
Andrew Chen 40636dd438 Merge pull request #5229 from sivasamyk/patch-1
Fixed incorrect links for YAML files under Run Application section
2017-09-01 17:14:47 -07:00
Andrew Chen 28541dab89 Merge pull request #5238 from zoidbergwill/enhancement/more-visible-dropdown-caret
Make caret for version drop-down more visible
2017-09-01 16:59:19 -07:00
Andrew Chen b9eca0473c Merge pull request #5237 from zhangxiaoyu-zidif/patch-23
fix typo:ConfigMap
2017-09-01 16:58:14 -07:00
Andrew Chen ddb6cc7581 Merge pull request #5230 from chenhuan12/patch-71
fix the command output
2017-09-01 16:57:48 -07:00
James Turnbull 8c1d5fe1c8 Fixed broken link to Pods concept documentation (#5223)
* Fixed broken link to Pods concept documentation

* Fixed link to statefulset too
2017-09-01 16:57:29 -07:00
Andrew Chen 409a3040cb Merge pull request #5221 from mindprince/patch-3
Update pod names to match what's in the spec.
2017-09-01 16:56:40 -07:00
Andrew Chen d7cbe46e51 Merge pull request #5196 from hanxiaoshuai/patch-86
Update bootstrap-tokens.md
2017-09-01 16:55:30 -07:00
Andrew Chen 969bd29685 Merge pull request #5199 from robyoung/use-bundler-for-jekyll
Update json gem and use bundler
2017-09-01 16:55:07 -07:00
Andrew Chen 343fd9a490 Merge pull request #5206 from chenhuan12/patch-68
fix the command output
2017-09-01 16:50:20 -07:00
Andrew Chen 838312e431 Merge pull request #5162 from netroby/pr/fix-centos-doc
Fix document style
2017-09-01 16:44:21 -07:00
Andrew Chen b33c537a78 Merge pull request #5224 from mindprince/patch-4
Remove broken link.
2017-09-01 16:40:34 -07:00
Andrew Chen b25c5a54e6 Merge pull request #5219 from stewart-yu/patch-45
Update configure-aggregation-layer.md
2017-09-01 16:40:09 -07:00
Andrew Chen b59e0e7f98 Merge pull request #5218 from stewart-yu/patch-44
Update namespaces.md
2017-09-01 16:39:45 -07:00
Andrew Chen a4016b1a5f Merge pull request #5211 from stewart-yu/patch-36
Update fedora_manual_config.md
2017-09-01 16:39:17 -07:00
Andrew Chen 89e0c5f6e7 Merge pull request #5204 from adrukh/patch-1
docs: fixing a typo
2017-09-01 16:38:52 -07:00
Andrew Chen 19548473d1 Merge pull request #5268 from jolcese/patch-1
Update deployment.md
2017-09-01 16:10:44 -07:00
Andrew Chen f61c805743 Merge pull request #5265 from chenhuan12/patch-76
fix the command output
2017-09-01 16:05:36 -07:00
Andrew Chen 5286ce4438 Merge pull request #5247 from chentao1596/translate-network-policy
Translate into chinese about NetworkPolicy
2017-09-01 16:02:39 -07:00
Andrew Chen dcc8970fe1 Merge pull request #5253 from rootsongjc/official
k8smeetup-rootsongjc-pr-2017-08-15
2017-09-01 15:27:27 -07:00
Andrew Chen ce3950a126 Merge pull request #5246 from chentao1596/translate-manage-GPUs
Translate into chinese about GPU
2017-09-01 15:23:26 -07:00
Andrew Chen c43fb7444b Merge pull request #5113 from xiaosuiba/k8s-tutorials-services-source-ip
k8s-tutorials-services-source-ip
2017-09-01 15:22:12 -07:00
Andrew Chen fd55eec930 Merge pull request #5110 from xiaosuiba/k8s-hihg-availability-index
admin-high-availability-index-pr-cn
2017-09-01 15:21:43 -07:00
Andrew Chen 19b2d46b63 Merge pull request #5109 from xiaosuiba/k8s-kube-apiserver-pr
admin-kube-apiserver-pr-cn
2017-09-01 15:21:04 -07:00
Andrew Chen b82f00f556 Merge pull request #5250 from chenhuan12/patch-74
fix typo
2017-09-01 15:15:41 -07:00
Andrew Chen 01f5b4424b Merge pull request #5248 from chenhuan12/patch-72
fix the command output
2017-09-01 15:12:20 -07:00
Andrew Chen 222f2a7653 Merge pull request #5245 from brucehex/upstream
k8smeetup-index-pr-2017-08-15
2017-09-01 15:11:51 -07:00
Andrew Chen 6bd6931a67 Merge pull request #5240 from mattjmcnaughton/mattjmcnaughton/fix-links-pointing-to-old-kubernetes-examples-format
Example links use kubernetes/examples
2017-09-01 15:04:08 -07:00
Andrew Chen e3a349073b Merge pull request #5225 from mindprince/clean-up-index
Clean up the index page.
2017-09-01 15:00:39 -07:00
Andrew Chen 7445de9b82 Merge pull request #4727 from ericchiang/auth-remove-custom-module
docs/admin: encourage out-of-tree auth-N/Z integrations
2017-09-01 14:59:06 -07:00
Weibin Lin 34c58235fd Update some docs in /cn/docs (#4842)
* Add docs in Chinese

Add configure-redis-using-configmap.md in Chinese

* Modify docs in Chinese

Modify imperative-object-management-command.md in Chinese
2017-09-01 14:54:40 -07:00
Andrew Chen 7814ded8f2 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (33 commits)
  Added a prerequisite to using CoreDNS provider in federation (#5159)
  Edits "Creating a Deployment" section (#5195)
  Updating vSphere Cloud Provider Documentation (#5241)
  Update disruptions.md
  update OWNERS file
  Cilium network policy, update link: configure-pod-container -> administer-cluster
  Update volumes.md (#5214)
  Update images.md (#5212)
  fix resource quota redirect
  Fix link to Pod overview from concepts index
  fix the command output
  fix the command output
  Improve taint and toleration documentation
  Update deployment.md
  Update deployment.md
  Fix invalid internal links in federation doc
  Update images.md (#5034)
  Update docker-cli-to-kubectl.md (#5040)
  Update parallel-processing-expansion.md (#5060)
  Update cluster-management.md (#5130)
  ...
2017-09-01 14:48:03 -07:00
Andrew Chen d15b138d2e Merge pull request #5235 from danwent/cilium-url-tweak
Cilium net-policy, update link: configure-pod-container -> administer-cluster
2017-09-01 14:37:33 -07:00
shashidharatd dd9befb2ca Added a prerequisite to using CoreDNS provider in federation (#5159)
* Added a prerequisite to using CoreDNS provider in federation

* turn prereqs into bullets
2017-09-01 14:35:40 -07:00
Jose Olcese b99a6e9743 Update deployment.md
deployment name is nginx-deployment and not nginx
2017-09-01 14:30:02 -07:00
Ryan McGinnis 7f828b9ee3 Edits "Creating a Deployment" section (#5195)
* Edits "Creating a Deployment" section

* Explains the example Deployment
* Explains command output
* Comprehensive edit for reader comprehension, length, and style

* Update deployment.md
2017-09-01 10:55:03 -07:00
chenhuan12 e8ade71000 fix the command output
fix the command output
2017-09-01 16:34:07 +08:00
chenhuan12 6ce4d572f4 fix the command output
fix the command output
2017-09-01 16:16:55 +08:00
chentao1596 4d6e4604dd Translate into chinese about NetworkPolicy 2017-09-01 14:14:49 +08:00
kairen 4cd97a2162 Fix curl does not work in zsh 2017-09-01 11:33:08 +08:00
Matt Dorn e99a7c9db8 use the term 'node' for consistency 2017-08-31 17:41:35 -07:00
divyenpatel 69d2091ca6 Updating vSphere Cloud Provider Documentation (#5241)
* adding vSphere Cloud Provider Documentation Link, updated introduction and added slack support link

* content edits
2017-08-31 16:16:24 -07:00
Jennifer Rondeau e2f09b8f3a Merge pull request #5244 from vuil/patch-2
Update disruptions.md
2017-08-31 16:45:14 -04:00
chenhuan12 b61bc9b32f fix typo
fix typo
2017-08-31 10:57:24 +08:00
mattjmcnaughton e9ca01a46e Add links to cassandra example required knowledge
When going through this section of the documentation, I found myself
wishing the concepts linked to the relevant documentation, so I could
verify I understood the concepts.
2017-08-30 20:41:15 -04:00
Dhilip 8cec9c3987 fix a broken link 2017-08-31 01:20:14 +05:30
Jimmy Song 9164d30955 rootsongjc-pr-20170815 2017-08-30 20:45:01 +08:00
chenhuan12 2c85669fb9 fix typo
fix typo
2017-08-30 16:53:19 +08:00
chenhuan12 70c2df3e1d fix the command output
fix the command output
2017-08-30 16:32:46 +08:00
chenhuan12 7b3ca0814f fix the command output
fix the command output
2017-08-30 16:02:47 +08:00
chentao1596 ab4f5c3e38 Translate into chinese about GPU 2017-08-30 11:09:38 +08:00
Dragons 5fcf7f6e8c index-pr-2017-08-15 2017-08-30 10:53:15 +08:00
vuil 46aa547642 Update disruptions.md 2017-08-29 15:27:33 -07:00
Jennifer Rondeau 1696664888 Merge pull request #5227 from chenhuan12/patch-70
fix the command output
2017-08-29 16:45:25 -04:00
Andrew Chen 182461aa0d Merge pull request #5242 from kubernetes/chenopis-owners-patch
update OWNERS file
2017-08-29 11:15:52 -07:00
Andrew Chen 1a420bacc3 update OWNERS file 2017-08-29 10:55:38 -07:00
Luis Pabón 03e91e6015 Create new cloud-provider documentation
This new document location now houses the specific configurations
for cloud providers, starting with AWS.
2017-08-29 11:43:03 -04:00
mattjmcnaughton 959cd767f5 Example links use kubernetes/examples
Fix #5203

Previously, many of the Kubernetes links used
`https://github.com/kubernetes/kubernetes/examples`. This directory was
deprecated through
https://github.com/kubernetes/kubernetes/commit/cb712e41d435dbb42519bded680fef4043dd23b3,
in favor of the new `examples` repo hosted at
`https://github.com/kubernetes/examples`. This commit updates all links
accordingly.
2017-08-29 09:10:08 -04:00
William Stewart e50af70c1f Make caret for version drop-down more visible 2017-08-29 12:42:55 +02:00
Tim(Xiaoyu) Zhang 60afe11100 fix typo:ConfigMap
ConfigMap is a kind of volume. So We should use its formal name.
2017-08-29 15:08:41 +08:00
Dan Wendlandt 0609e2a4fe Cilium network policy, update link: configure-pod-container -> administer-cluster
Signed-off-by: Dan Wendlandt <dan@covalent.io>
2017-08-28 16:29:06 -07:00
Ryan McGinnis 8c9e84c201 Merge pull request #5217 from fgogolli/patch-1
Update deployment.md
2017-08-28 13:51:13 -07:00
Stewart-YU e7384f280e Update volumes.md (#5214)
* Update volumes.md

Fix the formats.

* Convert important and note into callouts
2017-08-28 12:28:11 -07:00
Andrew Chen 3cfaa2ad44 Merge pull request #5048 from tengqm/taint-and-toleration
Improve taint and toleration documentation
2017-08-28 12:26:29 -07:00
Andrew Chen 1e452393a7 Merge pull request #5164 from fisherxu/master
fix incorrect configmap-key in /docs/tasks/configure-pod-container/vi…
2017-08-28 12:22:49 -07:00
Andrew Chen 992573fe36 Merge pull request #5231 from chrismytton/patch-1
Fix link to Pod overview from concepts index
2017-08-28 12:22:21 -07:00
Andrew Chen ddcb817b45 Merge pull request #5226 from chenhuan12/patch-69
fix the command output
2017-08-28 12:21:39 -07:00
Stewart-YU 12722567fe Update images.md (#5212)
* Update images.md

Add signals.

* Add capitalization

* Add additional capitalization and punctuation.
2017-08-28 12:20:29 -07:00
Andrew Chen f8b235fca0 Merge pull request #5209 from justinsb/fix_internal_links_federation
Fix invalid internal links in federation doc
2017-08-28 12:03:37 -07:00
Andrew Chen 18405d227f Merge pull request #5233 from kubernetes/chenopis-resource-quota-limit-patch
fix resource quota redirect
2017-08-28 11:34:35 -07:00
Andrew Chen 127b5f9a9d fix resource quota redirect 2017-08-28 11:25:27 -07:00
Radhika Puthiyetath a99a577ca3 Merge pull request #5189 from cloudnativelabs/kubeadm
kubernetes cluster setup with kube-router using kubeadm
2017-08-28 11:18:59 -07:00
Chris Mytton 2fdca62f97 Fix link to Pod overview from concepts index
There was a typo in the path which was causing the link to the "Pod Overview" page to 404.
2017-08-28 13:54:32 +01:00
chenhuan12 71a2128884 fix the command output
fix the command output
2017-08-28 17:22:18 +08:00
Sivasamy Kaliappan 613dcc6585 Fixed incorrect links for YAML files
The current links for YAML files throws 404. Updated the links from tutorials to tasks
2017-08-28 14:32:40 +05:30
chenhuan12 b1b57365bb fix the command output
fix the command output
2017-08-28 11:07:42 +08:00
chenhuan12 cd210dc278 fix the command output
fix the command output
2017-08-28 10:42:47 +08:00
Qiming Teng 82ca38f8df Improve taint and toleration documentation 2017-08-28 09:50:46 +08:00
Rohit Agarwal 8019d73c97 Clean up the index page.
'Picking the Right Solution' already points to all these tools along with all other options.
2017-08-27 16:01:52 -07:00
Rohit Agarwal 681fd11bac Remove broken link. 2017-08-27 15:44:59 -07:00
Rohit Agarwal beb3591662 Update pod names to match what's in the spec. 2017-08-27 10:10:20 -07:00
Stewart-YU 9f901b1cf8 Update daemonset.md
Missing a signal.
2017-08-27 18:36:40 +08:00
Stewart-YU 9071a63b85 Update configure-aggregation-layer.md
Missing a signal.
2017-08-27 18:27:48 +08:00
fgogolli 1d11905cb5 Update deployment.md 2017-08-27 11:26:51 +01:00
Stewart-YU 7e7170cecb Update namespaces.md
Missing signal.
2017-08-27 18:25:45 +08:00
fgogolli 586081ad48 Update deployment.md 2017-08-27 11:05:17 +01:00
Stewart-YU a6abd035ec Update fedora_manual_config.md
Fix signal.
2017-08-27 09:38:40 +08:00
Justin Santa Barbara 02e5ef9a51 Fix invalid internal links in federation doc
Remove double-# links
2017-08-26 11:38:22 -04:00
Justin Santa Barbara ffe506f76a Fix token-authentication-file internal link
Had a triple-#
2017-08-26 11:36:19 -04:00
chenhuan12 4416d79eb9 fix the command output
fix the command output
2017-08-26 15:33:34 +08:00
Eric Chiang 78c2801d1b docs/admin: encourage out-of-tree auth-N/Z integrations
Remove the custom modules description in the authorization and
authentication docs. While we could add more later, we probably
don't want to advertise them to end users.

Also note that the authentication webhook and authenticating proxy
can be used to integrate with unsupported auth protocols.
2017-08-25 16:23:29 -07:00
Stewart-YU a17a3b9cb1 Update images.md (#5034)
Fix the format. The format in orginal web page is confusion.
2017-08-25 13:13:20 -07:00
lemon-tree 4376fa34fd Update docker-cli-to-kubectl.md (#5040)
Added the lost ",".
2017-08-25 13:12:18 -07:00
Quentin Revel f4f58b646f Update parallel-processing-expansion.md (#5060)
Fix job.yaml.jinja2 job
2017-08-25 13:06:27 -07:00
Stewart-YU c17803f912 Update cluster-management.md (#5130)
Missing equal sign.
2017-08-25 12:59:22 -07:00
XsWack bc9bb3e929 Update clc.md (#5107)
Fix leading spaces in kubectl commands and unified format.This is causing bash/zsh shells to not to record the executed command in the history.
2017-08-25 12:57:11 -07:00
Chris Stryczynski 4ae4607f6c Added additional information about retrieving a secret (#5198) 2017-08-25 12:56:29 -07:00
chenhuan12 bb3437058b fix typo (#5197)
fix typo
2017-08-25 11:58:07 -07:00
Matt McNaughton 0a56b9db51 Add description of k8s dns to guestbook (#5201)
Going through the guestbook tutorial for the first time,
the deployment configuration mentioned that whether my configuration
included a DNS service would dictate which env value I used for the
`GET_HOSTS_FROM` variable. According to
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/,
k8s includes DNS by default starting with v1.3.

Add this additional info to help the user better understand when DNS
may/may not be enabled.
2017-08-25 11:54:16 -07:00
Anton Drukh 5b79d36e59 docs: fixing a typo 2017-08-25 21:46:50 +03:00
Quentin Revel d13c10d0ff Update memory-constraint-namespace.md (#5135) 2017-08-25 11:06:59 -07:00
Malepati Bala Siva Sai Akhil ec6a0f078a Fix minor typo in Replication Controller (#5173) 2017-08-25 11:00:06 -07:00
Matt McNaughton 650a370d89 Add section on specifying k8s version for minikube (#5172)
I struggled to discover information on how to specify a kubernetes
version when starting minikube. Ultimately, I found the answer through
searching Github issues, and also running `minikube start --help`.

Given it seems like a fairly common task, I think it could be useful to
include it in the getting started documentation.
2017-08-25 10:57:55 -07:00
Malepati Bala Siva Sai Akhil 7d8b9b0b45 Fix minor typo in Deploying WordPress and MySQL with PVs (#5181)
Signed-off-by: Malepati Bala Siva Sai Akhil <malepatib.akhil@huawei.com>
2017-08-25 10:55:18 -07:00
Malepati Bala Siva Sai Akhil 4c7f17b8da Fix minor typo in buffer case study (#5174) 2017-08-25 10:49:04 -07:00
Pablo Guerrero 400cdbf068 typo: duplicate "to" (#5200) 2017-08-25 10:37:09 -07:00
Rob Young 3823bed2a3 Link to individual concepts on concept overview (#5202)
On the concept overview page there are lists of example concepts.
Currently only two are linked to (and one of those to an old location).
This change adds links to all of the concepts so that a new user quickly
see some exaple concepts.
2017-08-25 10:36:38 -07:00
steveperry-53 04aaaa2958 Merge branch 'master' into release-1.7 2017-08-25 10:25:56 -07:00
Rob Young 07931517e3 Update json gem and use bundler
- json 1.8.3 was failing to install on Mac. Upgrading has fixed this.
- Call jekyll through bundler so that Gemfile versions
2017-08-25 14:09:30 +01:00
Anthony a492cee70d Update bootstrap-tokens.md
modify "discription" to "description"
2017-08-25 14:43:29 +08:00
Murali Reddy 195533d412 kubernetes cluster setup with kube-router using kubeadm 2017-08-25 11:13:23 +05:30
Radhika Puthiyetath 44f3acad1e Merge pull request #5157 from wackxu/patch-71
Update update-daemon-set.md
2017-08-24 21:10:02 -07:00
Malepati Bala Siva Sai Akhil e6c3c25be1 Fix minor typo in Wink Case Study (#5175) 2017-08-24 16:58:21 -07:00
Malepati Bala Siva Sai Akhil 4ca26203b7 Fix minor typos in Box Case Study (#5177) 2017-08-24 16:54:52 -07:00
Malepati Bala Siva Sai Akhil 751fd12f39 Fix minor typo in Ancestry Case Study (#5176) 2017-08-24 16:49:39 -07:00
Radhika Puthiyetath 1097b25e4e Merge pull request #5115 from hanxiaoshuai/patch-74
Update daemonset.md
2017-08-24 15:42:49 -07:00
Radhika Puthiyetath b6fb005a81 Merge pull request #4284 from dnardo/ip-masq-doc
Update ip-masq-agent docs
2017-08-24 15:41:38 -07:00
Radhika Puthiyetath 3a06c0bd82 Merge pull request #5154 from qrevel/patch-3
Update basic-stateful-set.md
2017-08-24 15:39:34 -07:00
Radhika Puthiyetath 91d5f137f7 Merge pull request #5152 from stewart-yu/patch-34
Update update-daemon-set.md
2017-08-24 14:29:18 -07:00
chenhuan12 e05a662aee fix the command output (#5185)
fix the command output
2017-08-24 14:19:23 -07:00
Zihong Zheng e121181198 Add known issues for source ip preservation (#5190) 2017-08-24 14:12:11 -07:00
Jessica Yao 9ec9dc299a replace deprecated kube-ui with dashboard description (#5194) 2017-08-24 14:09:42 -07:00
zhang dongqi ad7e057283 It should be CPU NOT memory here. (#5167) 2017-08-24 13:59:59 -07:00
Tim Hockin 4501e6449b Remove mungedocs and md-check (#5191) 2017-08-24 12:50:48 -07:00
Alexander Prokopyev dd0c9d5c49 Update dns-horizontal-autoscaler.yaml
`mode` is deprecated in favor of dynamic switching starting from 1.1.2
2017-08-24 11:14:45 -07:00
chenhuan12 c959eeecd0 fix the command output
fix the command output
2017-08-24 11:04:16 -07:00
chenhuan12 082b5d0403 fix typo
fix typo
2017-08-24 11:02:36 -07:00
Andrew Chen f6e51e6611 [glossary] Glossary MVP (#4865)
* [glossary] Glossary MVP

* resolve conflict

* initial pass at includable glossary data

* tag to term mapping

* Change StatefulSets to singular, StatefulSet

* revise glossary style guide, move

* make descriptions plural
2017-08-24 10:51:59 -07:00
Andrew Chen 89849fbcdd Merge pull request #5180 from kubernetes/chenopis-cname-patch
Remove CNAME file
2017-08-24 10:47:55 -07:00
Andrew Chen f86e9d4494 remove CNAME file 2017-08-24 10:43:27 -07:00
netroby 62c55763fe command name style
https://kubernetes.io/docs/home/contribute/style-guide/#use-code-style-for-inline-code-and-commands

Use code style for inline code and commands

Use code style for object field names
2017-08-24 10:27:24 -07:00
Anthony 69a6c605b2 Update ingress.md
modify "Replicaset" to "ReplicaSet"
2017-08-24 09:55:12 -07:00
Stewart-YU b72473c39e Update install-kubectl.md
Fix url. Original are not url.
2017-08-24 09:54:28 -07:00
Anthony e8029bdc4e Update highly-available-master.md (#5006)
* Update highly-available-master.md
2017-08-24 09:41:07 -07:00
Anthony 1d06ea0095 Update ip-masq-agent.md
modify "A boolean" to "A Boolean"
2017-08-24 09:39:10 -07:00
Stewart-YU 9105932510 Update declare-network-policy.md
Fix the format. The format in orginal web page is confusion.
2017-08-24 09:38:12 -07:00
Tim Hockin 618c212c32 Move mungedocs tool to the docs repo. (#5178)
* Remove seemingly errant file

* Move mungedocs tool to docs repo

* Bump go version to 1.8.3
2017-08-24 09:36:36 -07:00
XsWack 1245055dfc Update managing-tls-in-a-cluster.md (#5101)
fix bad url
2017-08-23 13:13:52 -07:00
steveperry-53 1409a3b3bb Merge branch 'master' into release-1.7 2017-08-23 10:09:53 -07:00
Steve Perry 74fe1170cc Update kubeconfig topics. (#4439) 2017-08-22 22:51:55 -07:00
fisherxu 6e408656af fix incorrect configmap-key in /docs/tasks/configure-pod-container/vim configure-pod-configmap.md 2017-08-23 10:51:44 +08:00
Daniel Nardo ca31adc78c Update ip-masq-agent docs:
- adds the node label requirements to the steps for running ip-masq-agent
- change the wording on when this is the default.
2017-08-22 19:43:56 -07:00
huzhifeng 8a46359353 Fix document style
Signed-off-by: huzhifeng <huzhifeng@douyu.tv>
2017-08-23 09:00:23 +08:00
lemon-tree 3af984a7aa Update kube-proxy.md (#5051)
Modified "ip" to "IP".
2017-08-22 16:59:47 -07:00
Anthony 53bc03dbe1 Update rollback-daemon-set.md (#5068)
add "." to the sentence
2017-08-22 16:54:53 -07:00
Weibin Lin 0bcb1cef76 Update access-cluster.md (#5078)
update link and fix typos
2017-08-22 16:54:27 -07:00
netroby 91be0526d3 Uppercase first letter of the words (#5084) 2017-08-22 16:52:50 -07:00
netroby 10fc912b5b Uppercase first letter (#5085) 2017-08-22 16:52:27 -07:00
Stewart-YU e960ee7f6e Update out-of-resource.md (#5087)
Setting a url.
2017-08-22 16:51:29 -07:00
Stewart-YU 47117093ef Update labels.md (#5089)
key value ->key/value changed in line 42.
2017-08-22 16:50:58 -07:00
Stewart-YU 0f31e7de8a Update index.md (#5092)
Setting a url.
2017-08-22 16:49:55 -07:00
Anthony ecf9025d30 Update nodes.md (#5094)
modify "daemonSet"to "DaemonSet"
2017-08-22 16:49:10 -07:00
Stewart-YU 87dcad5db6 Update force-delete-stateful-set-pod.md (#5095)
Fix the format. The format in orginal web page is confusion.
2017-08-22 16:48:39 -07:00
Anthony 305de5967d Update disruptions.md (#5098)
modify "occuring" to "occurring"
2017-08-22 16:48:04 -07:00
XsWack 9248fca03e Update debug-pod-replication-controller.md (#5100)
Fix leading spaces in kubectl commands and unified format.This is causing bash/zsh shells to not to record the executed command in the history.
2017-08-22 16:47:33 -07:00
XsWack 60a6ed4f4f Update authentication.md (#5102)
fix typo
2017-08-22 16:46:27 -07:00
XsWack 7306fd77c0 Update cpu-constraint-namespace.md (#5103)
fix bad url
2017-08-22 16:45:59 -07:00
XsWack b8800e670f Update local.md (#5108)
Fix leading spaces in kubectl commands and unified format.This is causing bash/zsh shells to not to record the executed command in the history.
2017-08-22 16:45:08 -07:00
Anthony b919d9e9df Update petset.md (#5114)
add "." to the sentence
2017-08-22 16:44:30 -07:00
Anthony 0c95b4dd84 Update cron-jobs.md (#5116)
modify "." of the sentence
2017-08-22 16:43:21 -07:00
XsWack 2645a13cf1 Update fedora_ansible_config.md (#5117)
fix typo and format the command line
2017-08-22 16:42:45 -07:00
Anthony 8a0c414bfa Update deployment.md (#5118)
fix "modifyingrevision" to "modifying revision"
2017-08-22 16:42:17 -07:00
Anthony 38e01c4778 Update network-policies.md (#5141)
modify "tcp" to "TCP"
2017-08-22 16:38:08 -07:00
XsWack 761cafedc0 Update monitoring.md (#5145)
format the command line
2017-08-22 16:37:44 -07:00
Anthony c6450cb087 Update add-entries-to-pod-etc-hosts-with-host-aliases.md (#5146)
modify the first letter of sentence to be in uppercase
2017-08-22 16:37:06 -07:00
Andrew Chen 07bb1d2aec Merge pull request #4805 from ianchakeres/rbd-image-params
Added rbd imageFormat and imageFeatures
2017-08-22 16:07:40 -07:00
XsWack 2d61504274 Update gce.md (#4858)
* Update gce.md

fix bad url

* Update gce.md

fix bad url and use the relative URLs
2017-08-22 15:59:59 -07:00
Jennifer Rondeau 9a0a22032c Merge pull request #5128 from wackxu/patch-64
Update operational-considerations.md
2017-08-22 18:39:23 -04:00
Jennifer Rondeau f5ec4b5b73 Merge pull request #5126 from stewart-yu/patch-31
Update vsphere.md
2017-08-22 18:35:24 -04:00
Jennifer Rondeau b1cb9f31b1 Merge pull request #5140 from hanxiaoshuai/patch-77
Update ingress.md
2017-08-22 18:33:58 -04:00
Jennifer Rondeau 1fde3b43f5 Merge pull request #5143 from stewart-yu/patch-33
Update access-cluster.md
2017-08-22 18:32:38 -04:00
Jennifer Rondeau 4e3cfc94fa Update access-cluster.md
Fix one addition in original PR (added period is incorrect at l238). Rewrote the paragraph for greater clarity, however.
2017-08-22 18:29:05 -04:00
Jennifer Rondeau 845b9f0ea2 Merge pull request #5144 from wackxu/patch-67
Update assign-cpu-resource.md
2017-08-22 17:19:39 -04:00
Jennifer Rondeau d7975266c6 Merge pull request #5149 from wackxu/patch-69
Update troubleshooting.md
2017-08-22 17:18:37 -04:00
steveperry-53 48e24aaf16 Merge branch 'master' into release-1.7 2017-08-22 13:02:54 -07:00
seperry53test 106ec5c826 Merge pull request #5147 from hanxiaoshuai/patch-81
Update logging.md
2017-08-22 12:19:09 -07:00
seperry53test 48205802d7 Merge pull request #5150 from hanxiaoshuai/patch-82
Update resource-quotas.md
2017-08-22 12:14:56 -07:00
seperry53test b837ead057 Merge pull request #5151 from hanxiaoshuai/patch-83
Update pod-security-policy.md
2017-08-22 12:14:03 -07:00
Andrew Chen 5907ebba31 Merge pull request #5086 from ahmetb/stop-importing
Stop importing tutorials from k/examples repo
2017-08-22 10:55:39 -07:00
Cody Clark 066dd86948 Merge pull request #5125 from stewart-yu/patch-29
Update page-templates.md
2017-08-22 13:51:06 -04:00
Cody Clark 410dfdf46b Merge branch 'master' into patch-29 2017-08-22 13:43:16 -04:00
Cody Clark 1b5aa1a833 Merge pull request #5099 from wackxu/patch-56
Update determine-reason-pod-failure.md
2017-08-22 13:31:51 -04:00
Cody Clark 5d8dbf6b04 Merge branch 'master' into patch-56 2017-08-22 13:23:39 -04:00
Cody Clark 74825e3cf7 Merge pull request #5090 from stewart-yu/patch-26
Update kubectl-overview.md
2017-08-22 13:22:34 -04:00
Cody Clark ce0ec151b1 Merge branch 'master' into patch-26 2017-08-22 13:19:01 -04:00
Ahmet Alp Balkan c0e33050ab Stop importing tutorials from k/examples repo
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-22 10:02:01 -07:00
Jennifer Rondeau 7ef36070ed Merge pull request #5156 from wackxu/patch-70
Update rollback-daemon-set.md
2017-08-22 11:37:33 -04:00
XsWack fc453318a9 Update update-daemon-set.md
The output is wrong and it should be "daemonset"
2017-08-22 22:02:09 +08:00
XsWack a44edb64b0 Update rollback-daemon-set.md
The output is wrong and it should be "daemonset"
2017-08-22 21:59:31 +08:00
Quentin Revel 6961877c8b Update basic-stateful-set.md 2017-08-22 15:21:31 +02:00
Ian Chakeres 637691f425 Added rbd image related params 2017-08-22 06:19:53 -07:00
Quentin Revel b8bb7f0c3d Update basic-stateful-set.md 2017-08-22 15:14:16 +02:00
Stewart-YU 9d56d650cf Update update-daemon-set.md
Fix a TODO url.
2017-08-22 19:54:07 +08:00
Anthony 8296d727e0 Update pod-security-policy.md
modify "api" to "API" and "boolean" to "Boolean"
2017-08-22 15:51:51 +08:00
Anthony af1a7532c4 Update resource-quotas.md
modify "Gib" to "GiB"
2017-08-22 15:46:18 +08:00
XsWack bf4a8d6f7d Update troubleshooting.md
format the command line
2017-08-22 14:47:15 +08:00
Anthony f76768cdc2 Update logging.md
add ":" to the sentence
2017-08-22 11:34:24 +08:00
XsWack 165dc3f80f Update assign-cpu-resource.md
Remove extra blank line and format the command line
2017-08-22 10:09:13 +08:00
Stewart-YU 527682ca66 Update access-cluster.md
Missing  signals.
2017-08-22 09:21:03 +08:00
Anthony d98467f15f Update networking.md
modify "ethernet" to "Ethernet"
2017-08-21 18:02:11 -07:00
Slava Semushin 1f5b64b24f encrypt-data.md: fix name of the secret in kubectl command. 2017-08-21 17:59:57 -07:00
Weibin Lin 3cc885a3b9 Update list-all-running-container-images.md
fixed syntax error
2017-08-21 17:58:34 -07:00
Weibin Lin d971806377 Update authenticate-across-clusters-kubeconfig.md 2017-08-21 17:57:47 -07:00
irfanurrehman 120960b954 Make kubefed docs similar to rest of the docs in docs/admin (#4934)
* Change update-imported.docs.sh for kubefed docs

* Stop skipping title check for kubefed docs

* Update kubefed docs with titles
2017-08-21 17:52:50 -07:00
Anthony 97b27031d3 Update ingress.md
modify "url" to "URL"
2017-08-22 08:41:45 +08:00
Stewart-YU 33ae774e3f Update volumes.md (#5026)
* Update volumes.md

Fix leading spaces in commands. And fix command line format.

* change bullet points into tabs

* tidy
2017-08-21 17:31:29 -07:00
steveperry-53 60e8f43d1a Merge branch 'master' into release-1.7 2017-08-21 16:59:59 -07:00
Dan Wendlandt eb84048739 Add Cilium to list of network policy plugins in docs (#4725)
Signed-off-by: Dan Wendlandt <dan@covalent.io>
2017-08-21 16:47:06 -07:00
XsWack 94d91de1b2 Update monitoring.md
format the command line
2017-08-21 16:38:53 -07:00
XsWack 36dd257ba1 The etcd container link is out of date in the yaml
The etcd container link is out of date in the  yaml file and there is something wrong when run the gcr.io/google_containers/etcd:2.0.9 container
2017-08-21 16:36:25 -07:00
Weibin Lin d6415cfe99 Update change-pv-reclaim-policy.md 2017-08-21 16:34:46 -07:00
Anthony 52e2df7e82 Update kubernetes-api.md
modify "kubernetes" to "Kubernetes"
2017-08-21 16:34:30 -07:00
netroby 7a514e7cc6 Uppercase first letter, Providing seems better 2017-08-21 16:34:08 -07:00
Lion-Wei d5270b167d Update README.md
fix the dead chain
2017-08-21 16:29:35 -07:00
TigerXu e81e3c8464 unify all service yaml: use 2 spaces indent (#4754) 2017-08-21 16:28:12 -07:00
drinktee 68def552fb Fix several typos in reference README.md file (#5065) 2017-08-21 16:20:33 -07:00
XsWack b10efe5564 Update assign-memory-resource.md
Remove the extra blank lines and unified command line format
2017-08-21 16:20:11 -07:00
Anthony b0668569e8 Update set-up-cluster-federation-kubefed.md
add "." to the sentence
2017-08-21 16:19:43 -07:00
Anthony ca88e8825a Update federation-service-discovery.md (#5052)
* Update federation-service-discovery.md

add "." to the sentence

* Update federation-service-discovery.md
2017-08-21 16:19:21 -07:00
Johanan Liebermann 745facc260 Update manage-compute-resources-container.md
Add a missing period.
2017-08-21 16:17:54 -07:00
Anatoli Babenia c179046d1e deploy-intro.html Simplify explanation of Deployment
In particular mention that Deployment is a configuration
2017-08-21 16:17:35 -07:00
Weibin Lin 642d35b47b Update access-cluster.md
Line 203: remove redundant "it"
2017-08-21 16:15:59 -07:00
Weibin Lin 7f01590fe3 Update create-cluster-kubeadm.md
adjust format
2017-08-21 16:12:42 -07:00
Weibin Lin 25608e206e Update service-accounts-admin.md
fixed typos
2017-08-21 16:11:45 -07:00
Weibin Lin 401d6026cc Update links and fix typos
Update links and fix typos in /tools/kompose/user-guide.md
2017-08-21 16:11:17 -07:00
Weibin Lin ec7116258d Update security-context.md (#5075)
* Update security-context.md

* Update security-context.md
2017-08-21 15:48:56 -07:00
Weibin Lin e0f0a3ab73 Update README.md
fixed typos
2017-08-21 15:30:35 -07:00
Qiming Teng 93409bb6c0 Improve daemonset doc for more taints tolerated 2017-08-21 15:29:26 -07:00
Weibin Lin 71715a8ce2 Update rollback-daemon-set.md 2017-08-21 15:23:51 -07:00
XsWack 4e191c440a Update operational-considerations.md
remove redundant blank line and format the command line
2017-08-21 10:10:21 +08:00
Stewart-YU 860c7d0a42 Update vsphere.md
Fix the format. The format in orginal web page is confusion.
2017-08-21 08:39:05 +08:00
Stewart-YU 221383088e Update page-templates.md
Fix the size of Font.
2017-08-21 08:16:34 +08:00
Anthony b8411c9084 Update daemonset.md
modify "nodes ips" to "node IPs"
2017-08-19 19:02:24 +08:00
Li Jingjing 070143a1c9 k8s-tutorials-services-source-ip 2017-08-19 15:33:01 +08:00
Li Jingjing cec1723e1e k8s-hihg-availability-index 2017-08-19 15:17:14 +08:00
Li Jingjing ea05cd4a56 kube-apiserver-pr 2017-08-19 15:13:23 +08:00
XsWack edb999f227 Update determine-reason-pod-failure.md
format the command line
2017-08-19 11:24:21 +08:00
Stewart-YU cb18a8519e Update kubectl-overview.md
Fix the format. The format in orginal web page is confusion.
2017-08-19 10:00:31 +08:00
Ahmet Alp Balkan acff65891f tutorials/guestbook, tutorials/cassandra: import latest (#4775)
* tutorials/guestbook: fix broken links

Importing from kubernetes/examples repository.

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

* Import newer versions for guestbook and cassandra

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-18 17:10:40 -07:00
Ahmet Alp Balkan beff4d8499 Import wordpress tutorial from k/examples (#5079)
* Update mysql-wordpress-pd import script

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

* Import wordpress-mysql tutorial

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-18 14:57:06 -07:00
Murali Reddy cbc0815ad6 Add kube-router as networking solution (#5071)
* Add kube-router as networking solution

* Add kube-router as networking solution
2017-08-18 13:15:30 -07:00
Anthony 50dbd9877b Update set-up-coredns-provider-federation.md
modify "Bringup" to "Bring up"
2017-08-18 12:21:02 -07:00
Andy Zhang f189975d27 update Azuredisk doc (#4912)
* rebase

* fix azure disk doc issue

* use storageaccounttype instead of skuName

* Update persistent-volumes.md
2017-08-18 12:19:10 -07:00
netroby 910e35c457 Tips for centos to resolve startup problem (#4755)
* Tips for centos to resolve startup problem

* Update document to diagnose centos setup problem

* Update create-cluster-kubeadm.md
2017-08-18 12:06:59 -07:00
XsWack bea2c15aa3 Update static-pod.md
Remove blank lines and unified the command line format
2017-08-18 11:58:20 -07:00
Cody Clark 7cfd99d05e Merge pull request #5057 from wackxu/patch-54
Update configure-service-account.md
2017-08-18 10:04:23 -07:00
Cody Clark a5cf309102 Merge branch 'master' into patch-54 2017-08-18 10:01:08 -07:00
Cody Clark 487c4a87c6 Merge pull request #5055 from wackxu/patch-53
Update configure-pdb.md
2017-08-18 09:44:25 -07:00
Cody Clark 181652e439 Merge branch 'master' into patch-53 2017-08-18 09:42:04 -07:00
Anthony 8b2485c441 Update scheduling-gpus.md
modify "nvidia drivers" to "Nvidia drivers"
2017-08-18 09:19:32 -07:00
lemon-tree c549dffaaf Update kubefed_init.md
“Init” is redundant.
2017-08-18 09:19:17 -07:00
XsWack 25091ef09f Update scratch.md
fix bad url
2017-08-18 09:19:02 -07:00
XsWack 1fdaa2baa4 Update define-environment-variable-container.md
format the command line
2017-08-18 09:17:56 -07:00
lemon-tree d3823d4734 Update docker-cli-to-kubectl.md
Added the lost "." and ":".
2017-08-18 09:17:39 -07:00
Weibin Lin eee656902f Update audit.md 2017-08-18 09:17:20 -07:00
Weibin Lin 818fa9b3a1 Update configure-liveness-readiness-probes.md
fix typo
2017-08-18 09:15:11 -07:00
Stewart-YU 98b0d1fde6 Update deployment.md
Missing a signal.
2017-08-18 09:13:15 -07:00
Andrew Chen d897b6b195 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update running-cloud-controller.md
  Update running-cloud-controller.md
2017-08-18 09:12:11 -07:00
Anthony 8a1a91eb54 Update running-cloud-controller.md (+1 squashed commit)
Squashed commits:
[49b911e] Update running-cloud-controller.md
2017-08-18 09:11:04 -07:00
Anthony 08a5d4d728 Update running-cloud-controller.md 2017-08-18 09:06:19 -07:00
Anthony 573442c182 Update running-cloud-controller.md
add "." to the sentence
2017-08-18 09:06:19 -07:00
Anthony 49b911e7d1 Update running-cloud-controller.md 2017-08-18 09:06:19 -07:00
Stewart-YU 8ec5b44696 Update audit.md
Missing a symbol.
2017-08-18 08:59:55 -07:00
Anthony d629ec4a1c Update cluster.md
modify "Configmap" to "ConfigMap"
2017-08-18 08:59:35 -07:00
lemon-tree b22ca98b83 Update kubectl-cheatsheet.md
I think ":" is better than ".", so I changed the "." to ":".
2017-08-18 08:54:54 -07:00
Stewart-YU 08083aeb20 Update kubectl-overview.md
Fix the format of web page.
2017-08-18 08:54:29 -07:00
Stewart-YU 532900f819 Update index.md
Fix the format. The format in orginal web page is confusion.
2017-08-18 17:30:16 +08:00
XsWack f02ff5ba7e Update configure-service-account.md
Remove the extra blank lines and unified command line format
2017-08-18 14:38:27 +08:00
XsWack 5a721e9ceb Update configure-pdb.md
There will be 404 status in the jump process and fix the url
2017-08-18 14:29:16 +08:00
Cody Clark f502ad6336 Merge pull request #5045 from hanxiaoshuai/patch-60
Update dns-custom-nameservers.md
2017-08-17 22:18:02 -07:00
Anthony 75c8b3c0f0 Update dns-custom-nameservers.md
add "." to the sentence
2017-08-18 11:05:58 +08:00
XsWack 58a2077b7a Update expose-external-ip-address.md
Fix leading spaces in kubectl commands and unified format.As ahmetb says,This is causing bash/zsh shells to not to record the executed command in the history. See this link for details: https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces
2017-08-17 17:50:25 -07:00
Weibin Lin 895ffc0ba9 Update debug-application.md 2017-08-17 17:50:00 -07:00
Zach Corleissen 8479ff24ba Merge pull request #5031 from islinwb/patch-9
Update resource-usage-monitoring.md
2017-08-17 17:48:54 -07:00
Weibin Lin 63b7be887e Update resource-usage-monitoring.md 2017-08-18 08:43:15 +08:00
dengyi1996 58fa6bf42c Update scheduling-gpus.md (#4850)
* Update scheduling-gpus.md

It sounds like that kubelet will not automatically load the nvidia uvm driver,I have recurrent it when my cluster reboot nvml driver and nvidia-uvm driver not loaded.
To fix it simply,make the docker-plugin autostart.
I think it's important to tell other developers to prevent this situation

* Update scheduling-gpus.md
2017-08-17 17:00:10 -07:00
Lion-Wei 4e7764a890 modify link of 'Configure Default CPU Requests and Limits for a Namespace' 2017-08-17 16:42:56 -07:00
Anthony 1400af048b Update declare-network-policy.md
modify the double "using" of sentence
2017-08-17 16:26:07 -07:00
Cody Clark 97e07f9d3e Removing extra spaces per Issue #4602 (#5021) 2017-08-17 16:25:11 -07:00
IrinaAndronachi c029a9ddb4 The output of removal of taint should be untainted (#4720) 2017-08-17 16:24:33 -07:00
Cody Clark 7c4e01887b Callouts and other small formatting (#5022)
* Removing Extra Spaces

Issue 4602 | Configure Pods and Containers

* Update security-context.md

Adding callouts

* Update security-context.md

* Adding callout and fixing code block

* Removing extra space

* Adding callout

* Addling callouts

* Update assign-cpu-resource.md

* Adding callout

* Update configure-persistent-volume-storage.md

* Update configure-service-account.md

* Update quality-service-pod.md

* Update security-context.md
2017-08-17 16:19:24 -07:00
Cody Clark c5ad73c2d8 Adding Callouts to Tasks > Inject Data Into Applications (#5023)
* Adding callout

* Adding callout

* Adding callouts

* Update distribute-credentials-secure.md
2017-08-17 16:17:32 -07:00
Dhilip d761d6bc96 Small grammar change (#4777)
* Small grammar change

small grammar change

* bulletize apiserver -> kubelet

bulletize apiserver -> kubelet for better clarity.
2017-08-17 16:15:19 -07:00
Dhilip 5013a3ce94 [minor] grammar (#4779)
* [minor] grammar

[minor] grammar

* [minor] grammar

[minor] grammar
2017-08-17 16:13:36 -07:00
Deirdre Storck 37f92b2843 spelling fix (#4780) 2017-08-17 16:12:19 -07:00
Dhilip 8900fba06c [minor] grammar (#4781)
[minor] grammar
2017-08-17 16:11:56 -07:00
Anthony 34b927c417 Update web-ui-dashboard.md (#4900)
modify the first letter of sentence to be in uppercase
2017-08-17 16:10:58 -07:00
linweibin 092ab3d509 Fix some typos and syntax errors
Fix some typos and syntax errors involving cluster.md, ingress.md and replicaset.md
2017-08-17 16:08:59 -07:00
XsWack 51cfd800d9 Update quality-service-pod.md
fix bad url
2017-08-17 16:07:42 -07:00
XsWack eb6ad67805 Update quota-api-object.md (#4944)
fix bad url
2017-08-17 16:07:20 -07:00
Lion-Wei 83569cd7eb Update kubernetes-api.md 2017-08-17 15:57:34 -07:00
Stewart-YU a22c45265d Update deployment.md (#4946)
The first letter needs to be capitalized.
2017-08-17 15:56:47 -07:00
Anthony ee090c8621 Update debug-application-introspection.md
add "." to sentence.
2017-08-17 15:53:42 -07:00
Anthony 408d8d610e Update debug-application.md
add "." to the sentence
2017-08-17 15:53:24 -07:00
Lion-Wei 41a710b58f Update create-cluster-kubeadm.md (#4948) 2017-08-17 15:50:24 -07:00
Lion-Wei 0267ae7020 modify link of 'resource-qos.md' (#4960) 2017-08-17 15:49:38 -07:00
Stewart-YU 621959eeb2 Update authentication.md
Fix leading spaces in commands.
2017-08-17 15:48:42 -07:00
lichuqiang b568610c08 fix typo (#4964) 2017-08-17 15:48:30 -07:00
Lion-Wei f24434c75a Update declarative-object-management-configuration.md (#4965) 2017-08-17 15:47:47 -07:00
Weibin Lin dae117d2c9 Update logging-stackdriver.md (#4966)
fix typos
2017-08-17 15:47:19 -07:00
Irfan Ur Rehman adc08d543e Add links to kubefed commands in federation set up doc 2017-08-17 15:45:23 -07:00
Dhilip 0166cb7fce [minor] Grammar
[minor] Grammar
2017-08-17 15:40:47 -07:00
Dhilip f0a914ca66 [minor] Grammar
[minor] Grammar
2017-08-17 15:40:32 -07:00
Anthony 583a582a18 Update access-cluster-services.md (#4972)
modify "url" to "URL"
2017-08-17 15:40:17 -07:00
Stewart-YU c9d01fe528 Update scratch.md
The first letter needs to be capitalized.
2017-08-17 15:40:02 -07:00
Dhilip 83b731720d [minor] Grammar
[minor] Grammar
2017-08-17 15:39:31 -07:00
Dhilip 37b639e508 [minor] Grammar
[minor] Grammar
2017-08-17 15:39:09 -07:00
Anthony f10a59109d Update resource-usage-monitoring.md
modify "cadvisor" to "cAdvisor"
2017-08-17 15:38:24 -07:00
Dhilip 40864059c2 [minor] Removed repetition
[minor] Removed repetition
2017-08-17 15:37:40 -07:00
Anthony d8ef089c18 Update configure-cloud-provider-firewall.md
modify "ips" to "IPs"
2017-08-17 15:36:57 -07:00
Weibin Lin 5b95a18947 Update apparmor.md 2017-08-17 15:36:00 -07:00
Weibin Lin 4a7d977170 Update apparmor.md
fix typos
2017-08-17 15:36:00 -07:00
Dhilip a0fd2054bf [minor] Grammar
[minor] Grammar
2017-08-17 15:34:03 -07:00
Dhilip c8d68579ca [minor] Grammar and typo
[minor] Grammar and typo
2017-08-17 15:33:40 -07:00
Dhilip e2f2487c39 [minor] Grammar and typo
[minor] Grammar and typo
2017-08-17 15:33:04 -07:00
Anthony d39c22e69b Update authenticate-across-clusters-kubeconfig.md
modify the first letter of sentence to be in uppercase
2017-08-17 15:32:54 -07:00
Zachary Corleissen b8a0fbbdd0 Fixes nav errors introduced in #4694 (#4888)
* Fixing tutorial dropdown nav

* Changed indentation levels

* Syntax fix

* Trying to get Udacity to work

* Removed a redundant section heading
2017-08-17 14:42:29 -07:00
lemon-tree 732aef8820 Update rbac.md (#4973)
Added the lost "." .And the "NOTE" should  be in a new line.
2017-08-17 14:04:45 -07:00
XsWack 3c99a5c584 Update manual.md (#4974)
format command line
2017-08-17 14:04:21 -07:00
Anthony 025ce41945 Update securing-a-cluster.md (#4975)
modify "their namespace" to "their namespaces"
2017-08-17 14:03:49 -07:00
Anthony ebb38a98e7 Update configure-upgrade-etcd.md (#4978)
add "." to the sentence
2017-08-17 14:02:43 -07:00
Anthony b3fe14a5ca Update namespaces.md (#4981)
modify "the value of cluster and user are" to "the values of cluster and user are"
2017-08-17 13:57:21 -07:00
Stewart-YU 446d95ac38 Update http-proxy-access-api.md (#4982)
Fix leading spaces in commands.
2017-08-17 13:52:51 -07:00
Nikhita Raghunath cd69302ea8 JSONPath: rename title (#4986) 2017-08-17 13:52:23 -07:00
lemon-tree b3664e80df Update labels-annotations-taints.md (#4987)
Added the lost ".", and modified the "." in the brackets .
2017-08-17 13:51:45 -07:00
XsWack 82d421f82a Update index.md (#4988)
format the command line
2017-08-17 13:51:02 -07:00
XsWack 5b4c1a4ace Update clc.md (#4989)
format the command line
2017-08-17 13:50:15 -07:00
lemon-tree 5e39dacbce Update kubectl-overview.md (#4990)
* Update kubectl-overview.md

The first letter of "where" should be capital, and some lost "." should be added.

* Update kubectl-overview.md

* Update kubectl-overview.md
2017-08-17 13:49:44 -07:00
Anthony ad79020aa5 Update out-of-resource.md (#4992)
add "." to the sentence
2017-08-17 13:47:56 -07:00
lemon-tree 437318b26f Update deprecation-policy.md (#4994)
Modified "API version" to "API versions".
2017-08-17 13:44:38 -07:00
Stewart-YU 8d28bc2d73 Update assign-pod-node.md (#4996)
The code highlight is unnecessary here.
2017-08-17 13:43:18 -07:00
Vladimir Rutsky fd1704e2c9 trying to fix line breaks in raw blocks in list (#4997)
Lets see on deploy preview if adding block type helps.
2017-08-17 13:42:13 -07:00
Weibin Lin cf8b1bc6f7 Update index.md (#4999)
fix typos
2017-08-17 13:40:00 -07:00
Andrew Chen be3eb50fb2 Merge pull request #5020 from kubernetes/chenopis-patch-1
fix link in object-management-kubectl.md
2017-08-17 13:28:38 -07:00
Andrew Chen 815df94989 fix link in object-management-kubectl.md 2017-08-17 13:21:55 -07:00
Anthony 511aaf4d5d Update encrypt-data.md
add ":" to the sentence
2017-08-17 15:25:33 -04:00
Dhilip b34cfc4d2f [minor] Grammar and typo
[minor] Grammar and typo
2017-08-17 12:20:28 -07:00
Dhilip c163bb17c8 [minor] Grammar
[minor] Grammar
2017-08-17 12:12:28 -07:00
Anthony 1ab3f9ab2f Update create-external-load-balancer.md
modify the "." of the sentence
2017-08-17 12:12:06 -07:00
Anthony 2590f59f24 Update configure-pdb.md
add "." and ":"  to the sentence
2017-08-17 11:57:14 -07:00
lemon-tree 7041867ee8 Update admission-controllers.md
Modified "is run" to "runs".
2017-08-17 11:56:51 -07:00
XsWack 726e9ff26f Update memory-constraint-namespace.md
we can not access the URL and update it to the right URL
2017-08-17 11:56:28 -07:00
XsWack 1d7169e88b Update safely-drain-node.md
There will be 404 status in the jump process and fix the url
2017-08-17 11:55:53 -07:00
XsWack 92800a4bb2 Update resource-quotas.md
fix bad url
2017-08-17 11:53:21 -07:00
Anthony 2cf0e8f0b4 Update share-configuration.md (#5000)
modify "Bearer token/basic auth are" to " Bearer token/basic auth is"
2017-08-17 11:50:33 -07:00
Weibin Lin bce2807455 Update dns-pod-service.md (#5002)
fix typos
2017-08-17 11:49:42 -07:00
lemon-tree 98ce8444e0 Update kubeadm.md (#5004)
There is a lost "." should be added, and I modified "is use for" to "is used for".
2017-08-17 11:48:35 -07:00
Ti Zhou 53177b5de0 Fixed several typos in markdown files. (#5005) 2017-08-17 11:45:12 -07:00
Weibin Lin bc5951ca10 fix some typos (#5007)
* Update ingress.md

fix typo

* Update source-ip.md
2017-08-17 11:43:08 -07:00
Stewart-YU 72c78a9788 Update install-kubectl.md
Fix leading spaces in commands.
2017-08-17 11:42:28 -07:00
Anthony 1ad1fd5f16 Update ip-masq-agent.md (#5008)
delete "Kubernetes 1.7"
2017-08-17 11:41:57 -07:00
Kenblair1226 21f09fd6cc Modify the wrong hpa command. (#5009) 2017-08-17 11:40:55 -07:00
Anthony 5af8f6feae Update index.md
add "." for the sentence
2017-08-17 11:40:24 -07:00
Stewart-YU b3513842ba Update kubectl-overview.md (#4894)
* Update kubectl-overview.md

Fix leading spaces in commands.

* fix block shell
2017-08-17 11:40:08 -07:00
steveperry-53 cdb8edc491 Merge branch 'master' into release-1.7 2017-08-17 11:31:43 -07:00
XsWack f9d6dfdc11 Update init-containers.md (#4896)
fix the bad link
2017-08-17 11:21:36 -07:00
lemon-tree 4dcfd3588f Update petset.md
Fix the bad link.
2017-08-17 11:18:46 -07:00
XsWack ef9adeab73 Update delete-stateful-set.md
fix bad URL
2017-08-17 11:18:18 -07:00
XsWack 3a4325dc7b fix bad url
fix bad URL
2017-08-17 11:17:41 -07:00
XsWack 87a50e159b fix six bad url
fix six bad url
2017-08-17 14:12:16 -04:00
XsWack ccca789ee0 Update volumes.md
fix bad url
2017-08-17 13:54:16 -04:00
lemon-tree d55906f8dd Update accessing-the-api.md
Modified the "root certificates" to "root certificate".
2017-08-17 10:48:04 -07:00
Lion-Wei a846d2807f Update managing-tls-in-a-cluster.md 2017-08-17 10:47:28 -07:00
Lion-Wei 68240a3a4e Update flannel_multi_node_cluster.md 2017-08-17 10:47:06 -07:00
Stewart-YU c91f767b4d Update expose-intro.html (#4868)
* Update expose-intro.html

Pods each --> each Pods

* fix grammar
2017-08-17 10:32:47 -07:00
Anthony cc248ef32c Update force-delete-stateful-set-pod.md
modify "node" to "Node"
2017-08-17 10:32:12 -07:00
Tony Li 287fdab71a Clarify the contents of the secrets being mounted
It read like both containers had the config for both environments.
2017-08-17 10:22:51 -07:00
Weibin Lin 098cb806d1 Update define-command-argument-container.md
update links
2017-08-17 10:21:13 -07:00
Anthony 6b0db5ff90 Update reserve-compute-resources.md
add "." to the sentence
2017-08-17 10:20:48 -07:00
Stewart-YU 7cc9c4b873 Update configure-service-account.md
Missing a signal.
2017-08-17 10:20:26 -07:00
XsWack 693680a67b Update minikube.md
format the command line
2017-08-17 10:19:58 -07:00
Anthony bfe4ac9f65 Update index.md
modify " ' " of the sentence
2017-08-17 10:14:18 -07:00
XsWack 907d1faf5a Update petset.md
fix bad url
2017-08-17 10:14:01 -07:00
Anthony c8acd9950c Update parallel-processing-expansion.md
modify the first letter of sentence to be in uppercase
2017-08-17 10:13:33 -07:00
Anthony cf4abdbe39 Update run-single-instance-stateful-application.md
modify "mysql" to "MySQL"
2017-08-17 10:12:12 -07:00
XsWack 3945f9cf65 fix bad url
fix bad url
2017-08-17 10:11:44 -07:00
XsWack a8697c1180 Update networking.md
fix bad url
2017-08-17 10:11:15 -07:00
netroby e30516fbeb update read me for unable to connect to the server (#4803)
* update read me for unable to connect to the server

* Fix words, thanks tengqm

* Update create-cluster-kubeadm.md
2017-08-17 10:10:37 -07:00
TigerXu bd17a0e819 update accessing-the-api.md (#4734) 2017-08-17 10:09:16 -07:00
lemon-tree 4fffcae260 Update kubefed.md (#5010)
Modified a bad link.
2017-08-17 10:02:03 -07:00
Weibin Lin c22250dfc9 fix misspelling of daemonset (#5013) 2017-08-17 10:00:28 -07:00
lemon-tree c9e79b5bd8 Update docker-cli-to-kubectl.md (#5015)
Modified "is different than" to "is different from".
2017-08-17 09:58:57 -07:00
lemon-tree 776980a1ff Update kubectl-conventions.md (#5016)
Modified the position of ".", deleted the extra ",", and added the lost ".".
2017-08-17 09:58:08 -07:00
lemon-tree b89cfd0116 Update jsonpath.md (#5017)
Modified "JSONpath " to "JSONPath ".
2017-08-17 09:55:14 -07:00
a-mccarthy 3e74a22586 Merge pull request #5018 from islinwb/onze
Fix typos
2017-08-17 11:16:06 -04:00
linweibin f90bca6e09 Fix typos
docs/admin/kube-apiserver.md, Line112: "recieving" --> "receiving"
docs/getting-started-guides/vsphere.md: add "." and "does" --> "do"
2017-08-17 20:05:03 +08:00
Jessica Yao ba5b7decda Merge pull request #4967 from Lion-Wei/pr-link2
modify link of 'Configure Default Memory Requests and Limits for a Namespace'
2017-08-16 09:52:24 -07:00
steveperry-53 f68b165a9a Merge branch 'master' into release-1.7 2017-08-16 09:29:25 -07:00
Lion-Wei cff22f5829 modify link of 'Configure Default Memory Requests and Limits for a Namespace' 2017-08-16 10:19:58 +08:00
Andrew Chen 98e2c105ef Merge pull request #4954 from kubernetes/chenopis-mesos-patch
close raw tag
2017-08-15 11:53:32 -07:00
Andrew Chen 2c06a7a853 close raw tag 2017-08-15 11:45:08 -07:00
Andrew Chen ee2dca44bb Merge pull request #4953 from kubernetes/chenopis-owners-patch-1
add auto-assignees to PR queue
2017-08-15 11:23:27 -07:00
Andrew Chen 644b6c29ed add auto-assignees 2017-08-15 11:13:42 -07:00
Lion-Wei 43fcd5a832 Update access-cluster-api.md (#4878) 2017-08-15 00:44:09 -07:00
Li Yi 5971ca0158 Add getting started guides for Alibaba Cloud (#4789)
* Add getting started guides for Alibaba Cloud

* Update alibaba-cloud.md

* Update alibaba-cloud.md
2017-08-15 00:34:24 -07:00
Stewart-YU e7d7acf2e8 Update configure-cloud-provider-firewall.md (#4884)
The code highlight is unnecessary here.
2017-08-15 00:29:38 -07:00
Stewart-YU 93cb9e0275 Update create-external-load-balancer.md (#4882)
Fix leading spaces in commands.
2017-08-15 00:24:23 -07:00
Dhilip f851afc084 [minor] fixed the grammar (#4776)
* fix a simple typo

fix a simple typo

* update notes callout

update notes callout
2017-08-15 00:16:49 -07:00
TigerXu fe11c3f8f7 Update extensible-admission-controllers.md (#4795)
fix typo
2017-08-14 22:58:11 -07:00
Ce Gu 506842bc16 Remove duplicate 'the'. (#4715)
* Remove duplicate 'the'.

* Update add-entries-to-pod-etc-hosts-with-host-aliases.md
2017-08-14 22:51:37 -07:00
Yecheng Fu eede65a3c9 FIX: Use absoluate path instead of relative. (#4730) 2017-08-14 22:39:25 -07:00
Dragons f4ad2b179f kubernetes-concepts-overview-components-pr-update-fix 2017-08-15 10:47:31 +08:00
steveperry-53 b8d479486a Merge branch 'master' into release-1.7 2017-08-14 13:08:24 -07:00
Andrew Chen 77086a90b8 [glossary] Glossary Template (#4785)
* [glossary] Glossary Template

* simplify
2017-08-14 11:04:38 -07:00
Jessica Yao 20f96b3951 add initial set of canonical glossary tags 2017-08-14 11:01:07 -07:00
Chulmin Kang c3808f6da7 Update connect-applications-service.md
Remove a word useless contextually and making the textbox broken below it
2017-08-14 10:53:39 -07:00
linweibin e072f0f486 Update some links
update some links in declarative-object-management-configuration.md
2017-08-14 10:51:34 -07:00
Stewart-YU dead30958f Update expose-intro.html (#4859)
delete "Enter Services.". This may be a mistake.
2017-08-14 10:47:18 -07:00
linweibin 69f0c01b68 Update imperative-object-management-configuration.md
fix a broken link
2017-08-14 10:43:01 -07:00
Anthony 886fe53b88 Update assign-cpu-resource.md
modify "1 CPU" to "1 cpu" and "container" to "Container"
2017-08-14 10:40:43 -07:00
Irfan Ur Rehman 91b73938ba Fix bin name in kubefed docs 2017-08-14 10:40:23 -07:00
Anthony 9353bb9836 Update install-kubectl.md
modify kubernetes to Kubernetes
2017-08-14 10:39:15 -07:00
Anthony cdf7613c6a Update set-up-coredns-provider-federation.md
modify "coredns" to "CoreDNS"
2017-08-14 10:38:54 -07:00
XsWack 4a6bf5c688 Update index.md
fix bad url
2017-08-14 10:38:29 -07:00
linweibin 56518164d3 Update source-ip.md
fix some typos
2017-08-14 10:38:00 -07:00
Stewart-YU 568d7d29ed Update kubefed_init.md
Fix leading spaces in commands
2017-08-14 10:37:01 -07:00
Anthony 0f73f145fa Update apiserver-aggregation.md
modify "their API" to "an API"
2017-08-14 10:28:15 -07:00
Stewart-YU 4df67765e6 Update gce.md
Fix leading spaces in commands
2017-08-14 10:27:47 -07:00
Anthony e4362bda83 Update configure-pod-configmap.md
modify "a ConfigMaps" to "a ConfigMap"
2017-08-14 10:26:45 -07:00
Stewart-YU 8072c0c1ac Update clc.md
api server -> apiserver. In addition, fix leading spaces in commands.
2017-08-14 10:26:23 -07:00
Stewart-YU 2f2dc6691d Update minikube.md
The code highlight is unnecessary here
2017-08-14 10:24:50 -07:00
Anthony 98607fd3cc Update access-cluster.md
modify "api server" to "apiserver"
2017-08-14 10:24:20 -07:00
lemon-tree 8ff1c80bf5 Update assign-memory-resource.md
Because "Container" is a specific word in Kubernetes, so the first letter need to be capitalized.
2017-08-14 10:23:52 -07:00
lemon-tree cdbac541a9 Update master-node-communication.md
Modified "a root certificates" to "a root certificate".
2017-08-14 10:15:10 -07:00
XsWack e3d0567a40 Update quality-service-pod.md
fix bad url
2017-08-14 10:14:18 -07:00
TigerXu 352363708a Update bootstrap-tokens.md 2017-08-14 10:13:36 -07:00
TigerXu 6e3af1055c Update multiple-zones.md (#4819)
* Update multiple-zones.md

update link

* Update multiple-zones.md
2017-08-14 10:12:21 -07:00
TigerXu f0872f4464 Update install-kubeadm.md
update link
2017-08-14 10:11:22 -07:00
XsWack 74a714aa11 Update cluster-large.md
fix typo
2017-08-14 10:09:46 -07:00
Malepati Bala Siva Sai Akhil 210f36584c Fixed Broken Link
Fixed Broken Link in getting started guide of DCOS
2017-08-14 10:09:24 -07:00
Steve Perry 176b91d558 New Task topic for kubectl patch. (#4519) 2017-08-14 09:43:56 -07:00
lichuqiang 52fd55d372 fix typo 2017-08-12 09:44:14 -07:00
TigerXu d525d940e5 Update webhook.md (#4790)
* Update webhook.md

update link to webhook.go source file

* Update webhook.md
2017-08-12 09:31:43 -07:00
TigerXu 957dac9309 Update node-conformance.md (#4792)
* Update node-conformance.md

update link

* Update node-conformance.md

use relative branch
2017-08-12 09:30:18 -07:00
TigerXu a66859b862 Update what-is-kubernetes.md
update link in what-is-kubernetes.md
2017-08-12 09:28:33 -07:00
XsWack 0e8832960d fix bad url
fix some bad url
2017-08-12 09:25:54 -07:00
TigerXu 6faf28c027 Update manage-deployment.md (#4787)
* Update manage-deployment.md

update link and fix typo

* grammar fix

* edit
2017-08-12 09:24:57 -07:00
lichuqiang af9a02aab1 fix typo 2017-08-12 09:22:53 -07:00
Tree-fang 417eb1b8dd Update container-environment-variables.md
Modify "are" to "is"
2017-08-12 09:22:01 -07:00
TigerXu 254234bbe3 Update cluster-administration-overview.md
fix grammar mistake
2017-08-12 09:17:34 -07:00
Kaitlyn Barnard fdbb658d2f All files for Pear Deck case study 2017-08-12 09:16:29 -07:00
Dhilip 3554ea42d9 minor grammar fix
minor grammar fix
2017-08-12 09:04:30 -07:00
TigerXu fb043d33be Update pod.md (#4764)
* Update pod.md

update pod desc

* Update pod.md

* edit
2017-08-12 08:48:21 -07:00
XsWack bf3bbf42a2 Update port-forward-access-application-cluster.md
Fix leading spaces in kubectl commands
2017-08-11 11:00:24 -07:00
Andrew Chen 1585774014 Merge pull request #4766 from hzxuzhonghu/patch-4
Update disruptions.md
2017-08-11 10:59:44 -07:00
steveperry-53 297f7f74c7 Merge branch 'master' into release-1.7 2017-08-11 09:55:40 -07:00
TigerXu 3c0b541b96 Update disruptions.md
update links to prevent redirect
2017-08-11 16:20:47 +08:00
TigerXu a26f5c5ce6 Add some links for pod-overview.md (#4763)
* Add some links for pod-overview.md

Add some links

* use relative paths for URLs
2017-08-11 00:56:50 -07:00
TigerXu 0d671d8c06 Update pod-overview.md (#4762)
* Update pod-overview.md

fix typo

* reword
2017-08-11 00:39:10 -07:00
hanxiaoshuai 02430b4c7e Update pod-security-policy.md
modify "their value is" to "their values are"
2017-08-11 00:28:25 -07:00
netroby cb6f20d727 To install latest weave net plugin
Ref:
https://www.weave.works/docs/net/latest/kubernetes/kube-addon/
2017-08-11 00:19:19 -07:00
William Martin Stewart 34693b50c9 Add deprecated docs warning mechanism (#4731)
* Deprecated docs warning

* Unknown tag 'endcomment'

* only add css when necessary

* try lighter bgcolor

* tweak copy

* change development url to point at vnext-staging

* try callout

* rollback

* change var names

* update var used

* fix var typo

* turn off deprecation message
2017-08-10 23:07:00 -07:00
Lion-Wei 290e77988f Update federation-service-discovery.md
add a space.
2017-08-10 21:49:23 -07:00
Lion-Wei 23e16bd150 Modify some of the syntax errors in the Chinese document 'scale-intro' 2017-08-10 21:48:17 -07:00
xuzhonghu 7e018fd376 fix typo in authentication.md 2017-08-10 21:43:55 -07:00
Kaitlyn Barnard b2799fbe81 adding partners to partner pages (#4747) 2017-08-10 21:38:22 -07:00
Slava Semushin b6c5ecd438 encrypt-data.md: make base64 command work on Linux. 2017-08-10 21:34:34 -07:00
XsWack 551587e727 Update service-access-application-cluster.md
Fix leading spaces in kubectl commands and unified format.As ahmetb says,This is causing bash/zsh shells to not to record the executed command in the history. See this link for details: https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces
2017-08-10 17:57:34 -07:00
Stewart-YU 8f887edaf1 Update run-single-instance-stateful-application.md (#4709)
missing a space
2017-08-10 16:58:08 -07:00
William Martin Stewart fa691dafe7 Version Selector (#4386)
* Show current version of docs in nav

* Branch in edit link

* WIP version selector

* An actual working but not pretty version dropdown

* update URLs for versions

v1.7: https://kubernetes.io/docs/home/
v1.6: https://v1-6.docs.kubernetes.io/docs/home/
v1.5: https://v1-5.docs.kubernetes.io/docs/home/
v1.4: https://v1-4.docs.kubernetes.io/docs/home/

* fix v1.4 and v1.5 paths

* Tidier drop downs

* Make font visible always

* Make background match main nav always

* change to major.minor version number

* show only major.minor version in drop down list

* switch from githubbranch to docsbranch

* update githubbranch

* update githubbranch values

* Border radius for bottom of dropdown

* Tabs are hard
2017-08-10 16:41:10 -07:00
Michelle Au c835bfc68d Add multizone limitations regarding dynamic provisioning (#4706) 2017-08-10 16:04:02 -07:00
Stewart-YU cc7cadb138 Update ingress.md (#4712)
spelling mistake.
2017-08-10 12:03:54 -07:00
Stewart-YU a0a999d88e Update kubeadm.md
spelling mistake.
2017-08-10 10:49:48 -07:00
Stewart-YU 23944b4092 Update zookeeper.md
delete word "documentation"
2017-08-10 10:49:19 -07:00
Stewart-YU b3eca614c7 Update ingress.md
missing space.
2017-08-10 10:48:51 -07:00
Matthew Huxtable 2bd131f98f Correct indent bug in httpGet liveness probe 2017-08-10 10:47:17 -07:00
lichuqiang 53a1e25103 fix typo 2017-08-10 10:46:47 -07:00
Andrew Chen 30ac1561a2 Merge pull request #4729 from wackxu/patch-16
Update jobs-run-to-completion.md
2017-08-10 10:35:30 -07:00
XsWack 13b6ea0707 Update jobs-run-to-completion.md
fix typo
2017-08-10 14:51:34 +08:00
Stewart-YU 1be8ef6513 Update resource-quotas.md (#4728)
* Update resource-quotas.md

Invalid link.

* fix url
2017-08-09 23:17:01 -07:00
Andrew Chen dd1d71890d Merge pull request #4724 from tmjd/update-calico-2-4-1
Update Calico to latest
2017-08-09 11:45:32 -07:00
Erik Stidham c357416682 Update Calico to latest
- kubectl does not follow the "latest" redirects so they need the real
  version
2017-08-09 13:35:58 -05:00
Andrew Chen c83062aeb3 Merge pull request #4723 from chamankang/patch-2
Update deployment.md
2017-08-09 11:04:29 -07:00
Chulmin Kang 95331dad38 Update deployment.md
Fix the broken textboxes
2017-08-10 02:39:35 +09:00
Dhilip 041a680483 Minor grammar change
Minor grammar fix
2017-08-09 10:12:59 -07:00
steveperry-53 99c76f299e Merge branch 'master' into release-1.7 2017-08-09 10:12:58 -07:00
Dhilip 470ced01ba Slightly improves the readability.
fix a couple of places that slightly improves the clarity.
2017-08-09 10:12:27 -07:00
lichuqiang 25f0f09775 fix typo 2017-08-09 10:10:16 -07:00
Stewart-YU da5872845f Update daemonset.md
The first letter needs to be capitalized
2017-08-09 10:09:47 -07:00
Rohit Sharma cd90b08c06 Update extend-api-third-party-resource.md 2017-08-09 10:09:13 -07:00
XsWack 97f27d6f4f fix typo
fix typo
2017-08-09 10:07:54 -07:00
Xiaoyu Zhang da139b36be Update kubectl get scale's output (#4708) 2017-08-09 10:07:21 -07:00
SrinivasChilveri eceb421911 Update master-node-communication.md (#4691)
* Update master-node-communication.md

Not working Links are updated

* Update master-node-communication.md

changed based on suggestion

* updated as per suggestion
2017-08-09 10:06:22 -07:00
supereagle 23b482294e Update configure-pod-configmap.md 2017-08-09 09:59:48 -07:00
XsWack 64d8c68a3f Update configure-liveness-readiness-probes.md
Fix bad url. http://k8s.io/docs/user-guide/liveness/image/server.go is a bad url and it should be https://github.com/kubernetes/kubernetes/blob/master/test/images/liveness/server.go
2017-08-09 09:54:58 -07:00
Stewart-YU 2d47c4834f Update upgrades.md
spelling mistake
2017-08-09 09:53:10 -07:00
Michelle Au dad3701316 Fix statefulset storageclass example 2017-08-09 09:48:46 -07:00
XsWack 1ebeb23b48 Update user-guide.md
fix typo
2017-08-09 09:12:00 -07:00
XsWack 646880aaba Update resource-usage-monitoring.md
fix typo
2017-08-09 09:11:27 -07:00
Stewart-YU b9ef86b07e Update style-guide.md (#4699)
spelling mistake
2017-08-09 09:10:53 -07:00
dengyi1996 627ff5d40a Update weave-network-policy.md (#4683)
* Update weave-network-policy.md

add weavenet networkpolicy example

* Edits from zacharysarah

* Merge branch 'master' into patch-10

* Merge branch 'patch-10' of github.com:dengyi1996/kubernetes.github.io into patch-10

* Merge branch 'master' into patch-10
2017-08-08 22:49:09 -07:00
Brad Beam 36c4ea8923 Updates for kubespray deployment (#4690)
* Updates for kubespray deployment

* Update kubespray.md
2017-08-08 22:23:10 -07:00
Zachary Corleissen 5e0681279b Merge pull request #4703 from wackxu/patch-13
Update configmap.md
2017-08-08 22:17:14 -07:00
XsWack 544891a7e2 Update configmap.md
fix typo
2017-08-09 08:58:32 +08:00
Kaitlyn Barnard d4d5f3ec3c Adding online tutorials to nav 2017-08-08 16:31:07 -07:00
Stewart-YU 01778992aa Update review-issues.md
spelling mistake
2017-08-08 16:30:28 -07:00
Andrew Chen 091f52f901 escape liquid curly braces 2017-08-08 16:19:45 -07:00
lichuqiang b5e030dcbd fix typo in connect-application-service.md 2017-08-08 16:17:40 -07:00
Zachary Corleissen 179e188919 Automatic review assignment (#4697)
* Add automatic review assignment

* Remove approvers section
2017-08-08 16:15:42 -07:00
XsWack 230abbce22 Update declarative-object-management-configuration.md
fix typo
2017-08-08 15:20:23 -07:00
Slava Semushin 8bbae8df49 encrypt-data.md: update all secrets in all namespaces. 2017-08-08 15:09:39 -07:00
Zachary Corleissen 14c2094ece Merge pull request #4681 from wackxu/patch-9
Update set-up-cluster-federation-kubefed.md
2017-08-08 11:45:22 -07:00
steveperry-53 b551662dee Merge branch 'master' into release-1.7 2017-08-08 11:25:29 -07:00
XsWack 428a03de7c Merge branch 'master' into patch-9 2017-08-08 16:46:29 +08:00
Steve Perry 2576f404f0 Start new task for Opaque Integer Resources. (#4363) 2017-08-08 01:05:23 -07:00
XsWack 90b7489ecf Update set-up-cluster-federation-kubefed.md
fix typo and unified format
2017-08-08 14:22:27 +08:00
Matthew Bates 9af4d559d9 Update Jetstack logo 2017-08-07 21:28:07 -07:00
Andrew Chen 5734322407 Merge pull request #4679 from stewart-yu/patch-6
Update daemonset.md
2017-08-07 21:26:23 -07:00
Andrew Chen 82d16c6a9a Merge pull request #4680 from wackxu/patch-8
Update index.md
2017-08-07 21:25:39 -07:00
XsWack 07bd50d390 Update index.md
fix typo
2017-08-08 12:05:33 +08:00
Stewart-YU 2a074578d9 Update daemonset.md
Spelling mistakes: DeamonSet,  using DaemonSet
2017-08-08 11:35:20 +08:00
Stewart-YU 5e601c2010 Update disruptions.md
using administrator instead of admin
2017-08-07 20:19:51 -07:00
Andrew Chen 355b7f9ca1 Merge pull request #4678 from wackxu/patch-7
Update load-balance-access-application-cluster.md
2017-08-07 20:18:47 -07:00
XsWack ad01c19d9a Update load-balance-access-application-cluster.md
Fix leading spaces in kubectl commands
2017-08-08 08:47:42 +08:00
Zachary Corleissen d5fdf214de [404 fix] One character syntax fix (#4674)
* One character syntax fix

* Added redirect for delete-pods

* Removed redirect_from statement
2017-08-07 16:55:19 -07:00
Denis Gladkikh cf766879b8 Logrotation for kubeadm (#4670)
* Logrotation for kubeadm

Fixes #369

* Suggested PR update
2017-08-07 16:54:19 -07:00
Andrew Chen 490fb99a30 Patch PR #4671 2017-08-07 16:52:37 -07:00
dengyi1996 d76fbb0b27 Update scheduling-gpus.md
privileged mode is not needed on my kubernetes cluster, and it will make other developers confuse.
e.g:
I try to use this example to test whether the keyword "resources->limit" will work.when I set limit:1 with privileged,I can reach all gpus instead of single gpu.

```
kind: Pod
apiVersion: v1
metadata:
  name: gpu-pod-1
spec:
  containers:
  - name: gpu-container-1
    image: tensorflow/tensorflow:latest-gpu
    securityContext:
      privileged: true
    env:
    - name: LD_LIBRARY_PATH
      value: "$LD_LIBRARY_PATH:/usr/lib/nvidia"
    - name: CUDA_HOME
      value: "/usr/local/nvidia"
#    securityContext:
#      privileged: true
    resources:
      limits:
        alpha.kubernetes.io/nvidia-gpu: 1
    volumeMounts:
    - mountPath: /usr/local/nvidia/bin
      name: bin
    - mountPath: /usr/lib/nvidia
      name: lib
  volumes:
  - hostPath:
      path: /usr/local/cuda/bin
    name: bin
  - hostPath:
      path: /var/lib/nvidia-docker/volumes/nvidia_driver/375.26/lib64/
    name: lib
```
it show all gpu devices because of privileged mode
```
[name: "/cpu:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 3223127178054071976
, name: "/gpu:0"
device_type: "GPU"
memory_limit: 103809024
locality {
  bus_id: 1
}
incarnation: 6184347283432924133
physical_device_desc: "device: 0, name: Quadro K4200, pci bus id: 0000:03:00.0"
, name: "/gpu:1"
device_type: "GPU"
memory_limit: 103809024
locality {
  bus_id: 1
}
incarnation: 1058630844567460797
physical_device_desc: "device: 1, name: Quadro K4200, pci bus id: 0000:04:00.0"
]

```
2017-08-07 16:49:35 -07:00
Andrew Chen 2900d9f8f4 update githubbranch and fullversion 2017-08-07 16:35:52 -07:00
Andrew Chen 06cc09e000 update branch version variables 2017-08-07 16:32:24 -07:00
Ahmet Alp Balkan 3ee6599cc7 Import guestbook tutorial and manifest files (#4631)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-07 15:56:20 -07:00
Luis Pabón fdf2c5a02b Note on cascading deletes and Deployments (#4671) 2017-08-07 15:54:59 -07:00
Malepati Bala Siva Sai Akhil b795543eb2 Fix Broken Link
Fix Broken Link related to client-go in Access Clusters Using the Kubernetes API
2017-08-07 15:53:53 -07:00
Ahmet Alp Balkan a75b15ef5b Create "make stage" for staging container
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-07 15:53:08 -07:00
Qiming 291a583515 Fix typo in extensible-admission-controllers doc (#4405) 2017-08-07 15:50:40 -07:00
lichuqiang 58f454f424 fix typo 2017-08-07 15:41:21 -07:00
Stewart-YU 0114ddf60f Update nodes.md
Missing  a  signal
2017-08-07 15:40:59 -07:00
XsWack 6c0e3bdbba Update encrypt-data.md
fix typo
2017-08-07 15:40:31 -07:00
XsWack 0951183d64 Update managing-tls-in-a-cluster.md
fix typo
2017-08-07 15:40:14 -07:00
lichuqiang 6143903853 fix typo 2017-08-07 15:39:51 -07:00
fisherxu fb39f2f76a fix typo 2017-08-07 15:39:32 -07:00
Stewart-YU 9ad9948e64 Update kubernetes-api.md
The first letter should be capitalized
2017-08-07 15:39:12 -07:00
Steve Perry 3d2c06c4c3 Update Task topics on resource management. (#4158) 2017-08-07 15:30:29 -07:00
Andrew Chen 6da5f52fb2 Add 404 redirects (#4675)
* Add redirect for legacy kubectl links

* remove js redirect for kubectl

* fix link URLs

* add 404 redirects

* remove js forwarding rules

* clean up _redirects

* fix coreos links
2017-08-07 15:13:14 -07:00
Zachary Corleissen c153bcb02b Merge pull request #4587 from zacharysarah/4167-no-more-calico
Removed link/section, added redirect
2017-08-07 14:12:14 -07:00
Zachary Corleissen b1ae7714a5 Merge branch 'master' into 4167-no-more-calico 2017-08-07 14:08:35 -07:00
Andrew Chen 68a3a7e074 Add redirect for legacy kubectl links (#4672)
* Add redirect for legacy kubectl links

* remove js redirect for kubectl
2017-08-07 12:05:44 -07:00
steveperry-53 fcba6ded3e Merge branch 'master' into release-1.7 2017-08-07 08:50:41 -07:00
Michael Smith f16dfcf349 Use more realistic IP address 2017-08-06 14:20:32 -07:00
DuJun 86b9845c72 fix typo in storage (#4645)
* fix typo in storage

* Update volumes.md
2017-08-06 14:19:45 -07:00
XsWack 50c9226442 Update bootstrap-tokens.md
fix typo
2017-08-06 14:19:20 -07:00
Ahmet Alp Balkan a86d9355b0 Fix leading spaces in kubectl commands
This is causing bash/zsh shells to not to record the executed command in the
history. See this link for details: https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-06 14:19:04 -07:00
Stewart-YU 0c6bca5b7f Update labels.md
modify key to Key in line #43
2017-08-06 14:17:08 -07:00
fisherxu ac5ea078b9 fix typo 2017-08-06 14:16:38 -07:00
XsWack 5e766d7ba6 Update assign-pod-node.md
Fix some typo in assign-pod-node.md
2017-08-06 14:16:16 -07:00
Malepati Bala Siva Sai Akhil d2958d03b6 Fixed grammatical error in names
Fixed grammatical error in names of working with object
2017-08-06 14:15:57 -07:00
Andrew Chen 52653c61df Merge pull request #4647 from mbssaiakhil/patch-1
Fixed grammatical error in Understanding Kubernetes Objects
2017-08-06 14:15:35 -07:00
Andrew Chen e782aa6e99 Merge pull request #4646 from lichuqiang/admin
fix typo in audit.md
2017-08-06 14:13:27 -07:00
Malepati Bala Siva Sai Akhil d3f796ebc0 Fixed grammatical error
Fixed grammatical error in Understanding Kubernetes Objects
2017-08-05 10:21:53 +05:30
lichuqiang b27bbecb89 fix typo 2017-08-05 12:15:36 +08:00
Andrew Chen 4501b715c1 Update service.md (#4644)
* Update service.md

Put Internal Load Balancer YAML in tabs.

* add the
2017-08-04 17:50:50 -07:00
Nick Sardo 1cd67351e0 Add annotation for GCP Internal Load Balancer 2017-08-04 17:31:40 -07:00
Jessica Yao 59349b8bdc edit instructions for hpa based on custom metrics 2017-08-04 17:25:43 -07:00
Andrew Chen b21d201d4a Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Chenopis vnext staging noindex (#4641)
2017-08-04 17:23:18 -07:00
Andrew Chen 8be19e168a Chenopis vnext staging noindex (#4641)
* include _headers

* revert vnext-staging context

* add proto _headers file

* fix build settings
2017-08-04 17:22:47 -07:00
Andrew Chen 84bdc88a51 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 noindex for vnext-staging (#4640)
  Add network overlay details to cloud routes flag
  Revert "Update volumes.md"
  add examples for interpod configurations (#4557)
  Update "readonly" in abac
2017-08-04 16:36:04 -07:00
Andrew Chen 8825d5a61e fix noindex for vnext-staging (#4640)
* include _headers

* revert vnext-staging context

* add proto _headers file
2017-08-04 16:35:21 -07:00
Hazim 5da7b72b2d Add network overlay details to cloud routes flag
Add details for the `configure-cloud-routes` flag in case of network overlay being used.
2017-08-04 16:26:08 -07:00
Andrew Chen 03d0017d63 Revert "Update volumes.md" 2017-08-04 16:22:06 -07:00
Dhilip cdf4cc3769 add examples for interpod configurations (#4557)
* add examples for interpod configurations

* re-word and fix typo based on review comments

* explain podAffinity with examples

* review comments: make replicas 3 for both workload types

* Address final review comments
2017-08-04 16:21:39 -07:00
Charlie R.C 8a31c8ad56 Update "readonly" in abac 2017-08-04 16:06:55 -07:00
Andrew Chen ee26d55e43 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  include _headers (#4636)
  Update callouts.css
  Update callouts.css
2017-08-04 15:59:44 -07:00
Andrew Chen 414f61b2ea include _headers (#4636) 2017-08-04 15:59:07 -07:00
Cody Clark 8c2c2ef91e Update callouts.css 2017-08-04 15:50:31 -07:00
Cody Clark d0d1313b4a Update callouts.css 2017-08-04 15:50:31 -07:00
Andrew Chen 834c47ebb7 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 command
2017-08-04 15:47:38 -07:00
Andrew Chen d8bac63c0b Merge pull request #4635 from kubernetes/chenopis-vnext-staging-noindex
fix command in #4633
2017-08-04 15:46:57 -07:00
Andrew Chen da18bb735c fix command 2017-08-04 15:41:35 -07:00
Andrew Chen 6ee3de11f0 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 noindex to vnext-staging
  Add note for 1.8 release. (#4632)
  fix create-cluster-kubeadm docs
  Update aws.md
  add newline above kube-apiserver
  Update scheduling-gpus.md
  Fix spacing with shell commands
  Documenting another (potential) callout issue (#4604)
  Update reference docs with most recent version of brodocs (#4600)
  Update kubernetes-api.md
  fix spelling mistake
  fix typos in fedration docs
  fix kubelet garbage collected typo
  fix typo in network-policies.md
  fix typo
  Add /_includes/glossary directory for snippets (#4628)
  Fixed typo in getting started guide using minikube
  Update to include Python library (#4624)
  Rename OWNERS assignees: to approvers:
2017-08-04 15:25:42 -07:00
Andrew Chen 3a4246c175 Merge pull request #4633 from kubernetes/chenopis-vnext-staging-noindex
Add noindex to vnext-staging
2017-08-04 15:24:58 -07:00
Andrew Chen 6957eb01ec Add noindex to vnext-staging 2017-08-04 15:20:15 -07:00
Steve Perry 61f01a4e59 Add note for 1.8 release. (#4632) 2017-08-04 14:56:08 -07:00
fisherxu 5fa22b2365 fix create-cluster-kubeadm docs 2017-08-04 14:43:10 -07:00
Dave Purrington 435696a0d1 Update aws.md 2017-08-04 14:39:50 -07:00
Håvar Eggereide 33112de115 add newline above kube-apiserver
kube-apiserver heading did not render correct on my Chrome. The change did nothing to the github preview so maybe there is a fix already, but consistency with the other headings might be worth the change.
2017-08-04 14:37:37 -07:00
dengyi1996 bda690e547 Update scheduling-gpus.md 2017-08-04 14:36:53 -07:00
Jesse White 6fb0dd9d17 Fix spacing with shell commands 2017-08-04 14:33:24 -07:00
Cody Clark 729aed2b99 Documenting another (potential) callout issue (#4604)
* Documenting another (potential) callout issue

* Deleting ` that was hiding other rendering

* Fixing spacing
2017-08-04 14:32:27 -07:00
Phillip Wittrock 217c86642f Update reference docs with most recent version of brodocs (#4600)
* Update 1.7 apidocs with new brodocs

* Update 1.7 resource reference docs with new brodocs

* Update 1.7 kubectl reference docs with new brodocs
2017-08-04 14:30:56 -07:00
Mikael 4b004cf717 Update kubernetes-api.md
Just correcting what I think is a typo.
2017-08-04 14:28:54 -07:00
lichuqiang a03a98e9d5 fix spelling mistake 2017-08-04 14:27:53 -07:00
m1093782566 4f2434ff66 fix typos in fedration docs 2017-08-04 14:27:30 -07:00
m1093782566 225310ccff fix kubelet garbage collected typo 2017-08-04 14:27:03 -07:00
m1093782566 2178c54da4 fix typo in network-policies.md 2017-08-04 14:26:39 -07:00
lichuqiang 40f5d85c38 fix typo 2017-08-04 14:26:20 -07:00
Andrew Chen edf01af6d9 Add /_includes/glossary directory for snippets (#4628)
* Add /_includes/glossary directory for snippets

* typo
2017-08-04 14:19:39 -07:00
Malepati Bala Siva Sai Akhil 6b41f6ca41 Fixed typo in getting started guide using minikube
Fixed typo in doc, "Running Kubernetes Locally via Minikube" present under getting started guides
2017-08-04 13:40:18 -07:00
Andrew Chen ceda402544 Merge pull request #4607 from spiffxp/assignees-to-approvers
Rename OWNERS assignees: to approvers:
2017-08-04 13:16:41 -07:00
Andrew Chen a02d76a2c0 Merge branch 'master' into assignees-to-approvers 2017-08-04 12:59:54 -07:00
Sebastien Coutu 409f0f74cd Update to include Python library (#4624)
Hi, we've created and are maintaining the kubernetes-py library. It uses python objects to manipulate the kubernetes API objects. We're using it to manage our operations on kubernetes daily.
2017-08-04 09:38:34 -07:00
steveperry-53 d1e7987476 Merge branch 'master' into release-1.7 2017-08-04 09:16:33 -07:00
Wojciech Tyczynski a29cfd7d0c Merge pull request #4621 from craigbox/patch-7
Update node/pod limits
2017-08-04 16:27:17 +02:00
craigbox 63092de7ba Update node/pod limits
Initial PR to reflect new scalability limits.  I have assumed the new number of total containers from the previous relationship but would prefer Wojciech to confirm
2017-08-04 15:22:14 +01:00
Jan Šafránek 69a1c7eb85 Merge pull request #4618 from wackxu/patch-2
Update volumes.md
2017-08-04 15:06:21 +02:00
XsWack d1b24144b1 Update volumes.md
Fix typo and some syntax error
2017-08-04 20:53:32 +08:00
Aaron Crickenberger 18e9aa59d1 Rename OWNERS assignees: to approvers:
They are effectively the same, assignees is deprecated
2017-08-03 16:22:52 -07:00
Rye Terrell 3fd1ff3036 add instructions for installing kubefed with snap 2017-08-03 13:51:41 -07:00
lichuqiang f86258314d fix typo 2017-08-03 13:47:18 -07:00
XsWack 2c11c0de1f Update access-cluster.md
https://git.k8s.io/client-go/examples/examples/in-cluster/main.go is a bad url and it should be  https://git.k8s.io/client-go/examples/examples/in-cluster-client-configuration/main.go
2017-08-03 13:46:55 -07:00
Drinky Pool 3ee607a78e fix typo
fix typo
2017-08-03 13:27:03 -07:00
Andrew Chen 087a0cded2 Merge pull request #4603 from kubernetes/cody-clark-patch-1
Removing extra spaces
2017-08-03 13:25:38 -07:00
Cody Clark 8e012468a4 Removing extra spaces
Per Issue [4602](https://github.com/kubernetes/kubernetes.github.io/issues/4602)
2017-08-03 13:08:15 -07:00
x00416946 fisherxu fa665b5bb9 Add . to the end of the entry 2017-08-03 08:50:06 -07:00
Xing Zhou 610b62d167 Address some translation comments in PR #4359
Addressed some translation comments in PR #4359
2017-08-03 08:49:02 -07:00
Zachary Corleissen 99ad2bb168 Fixed broken link (#4578)
* Fixed broken link

* Fixed link text

* Pointed link to releases.k8s.io

* Used variable in link
2017-08-02 23:31:41 -07:00
TalyaF 212197fdcb changed first sentence for parallel structure (#4304)
* changed first sentence for parallel structure 

/@chenopis

* Update what-is-kubernetes.md
2017-08-02 23:14:28 -07:00
lichuqiang 80ea815b28 fix some spelling mistake 2017-08-02 23:00:45 -07:00
Andrew Chen 894446f52a Merge pull request #4586 from cliffburdick/patch-1
Fixed apostrophe
2017-08-02 22:59:08 -07:00
steveperry-53 6e8ade49a8 Merge branch 'master' into release-1.7 2017-08-02 21:18:27 -07:00
zacharysarah 42a0fd25b1 Removed redundant redirect 2017-08-02 14:42:02 -07:00
zacharysarah aa8068c3e6 Removed link/section, added redirect 2017-08-02 14:25:53 -07:00
cliffburdick ec0c650e6a Fixed apostrophe 2017-08-02 14:06:20 -07:00
Zachary Corleissen c1ecce52fe Merge pull request #4576 from zacharysarah/4549-complete-sentence
Complete unfinished sentence, apply style guide
2017-08-02 13:50:29 -07:00
Zachary Corleissen da64587427 Merge branch 'master' into 4549-complete-sentence 2017-08-02 13:46:12 -07:00
lichuqiang 4ecdd2c3cc Fix sentence begins with an uppercase letter 2017-08-02 11:29:44 -07:00
chaowang95 1f7f9aa0e6 Add an yaml example in Writing a DaemonSet Spec (#4553)
* Add yaml example in DeamonSet doc

* Update daemonset.md

* use code include instead of duplicate in md

* remove redundant download link
2017-08-02 10:31:32 -07:00
Andrew Chen 97b86a6fba Merge branch 'master' into 4549-complete-sentence 2017-08-01 22:55:07 -07:00
Andrew Chen d4893d4fe6 bump up final notes to h2 2017-08-01 22:42:55 -07:00
Andrew Chen 7febf3e780 add template tags 2017-08-01 22:37:46 -07:00
zacharysarah 2f5370e0a7 Fixed an awkward sentence 2017-08-01 15:45:18 -07:00
zacharysarah d507cf888d Merge branch '4549-complete-sentence' of https://github.com/zacharysarah/kubernetes.github.io into 4549-complete-sentence 2017-08-01 15:43:19 -07:00
zacharysarah b80cebf70b Fixed broken link, consistent style usage 2017-08-01 15:38:20 -07:00
zacharysarah 700bb5564b Add task template 2017-08-01 15:34:50 -07:00
Luke Heidecke abd60bc4be Fix use of on-premises terminology (#4413)
* Fix use of on-premises terminology

* Update ingress doc with on-premises term
2017-08-01 15:10:37 -07:00
Ryan McGinnis bd2c8cdd61 Merge pull request #4577 from kubernetes/ryanmcginnis-patch-1
Adds note callouts throughout
2017-08-01 14:44:21 -07:00
Ryan McGinnis b6566e99f2 Adds note callouts throughout
Implementing our new note callouts by way of experimentation. A couple other minor edits.
2017-08-01 14:40:46 -07:00
WanLinghao 4d9320bb40 yaml file errors on scheduling-gpus.md (#4436)
* Update scheduling-gpus.md

* Update scheduling-gpus.md
2017-08-01 14:33:04 -07:00
Andrew Chen c5e214633d Merge branch 'master' into 4549-complete-sentence 2017-08-01 14:10:03 -07:00
irfanurrehman e142f0fe9c [Federation] Add reference docs for kubefed (#2937)
* Update the reference docs for kubefed

* fix syntax typos

* add period

* fix ToC links

* fix kubefed link

* revert to Kubefed title as link

* Add kubefed reference docs for the first time

* Add link for base kubefed command also
2017-08-01 13:57:19 -07:00
Daisuke Fujita 248f7deec7 Modify journalctl flag in ECR doc 2017-08-01 13:52:04 -07:00
zacharysarah a4003ad766 Completed sentence, applied style guide to section 2017-08-01 13:38:15 -07:00
Steve Perry e2508ee656 Keep 1.7 up to date with master. (#4574)
* secrets: add a best practices section and API access recommentations (#4380)

* secrets: add a best practices section and API access recommentations

This section attempts to capture some of the best practices around
client API access to secrets. Specitically that controllers should
avoid list and watch operations in favor of getting specific secrets.

* add "are"

* update scratch.md for issue #4068 (#4069)

* update scratch.md for issue #4068

Issue #4068 details the dangers of recommending single etcd instance.

This will likely need to be expanded into better "highly available" cluster documentation

* Refactor list style

* fix ordered list

* fix unordered list

* ul

* add back shell

* Adding tutorial links to docs (#4570)

* Adding tutorial links to docs

* Update index.md
2017-08-01 11:52:37 -07:00
Kaitlyn Barnard 487c8d610d Add Buffer case study. Updates to Ancestry and Wink case study. Updates to Case Study index. Sizes fixes from logo images. (#4568) 2017-08-01 11:44:09 -07:00
Cody Clark bb47b3f43f Example for sig-docs meeting (#4571) 2017-08-01 11:41:33 -07:00
Kaitlyn Barnard 47fb29d668 Adding tutorial links to docs (#4570)
* Adding tutorial links to docs

* Update index.md
2017-08-01 09:30:19 -07:00
Drew Rapenchuk bfdc9a64e8 update scratch.md for issue #4068 (#4069)
* update scratch.md for issue #4068

Issue #4068 details the dangers of recommending single etcd instance.

This will likely need to be expanded into better "highly available" cluster documentation

* Refactor list style

* fix ordered list

* fix unordered list

* ul

* add back shell
2017-08-01 03:39:52 -07:00
Eric Chiang 787d50a1af secrets: add a best practices section and API access recommentations (#4380)
* secrets: add a best practices section and API access recommentations

This section attempts to capture some of the best practices around
client API access to secrets. Specitically that controllers should
avoid list and watch operations in favor of getting specific secrets.

* add "are"
2017-08-01 03:04:42 -07:00
Manjunath A Kumatagi ab0bd00e74 Move update-demo and liveness images to kubernetes/test/images (#4536)
* Move update-demo and liveness images to kubernetes/test/images

* Skip the README.md files
2017-08-01 02:56:20 -07:00
jianglingxia 64aa7c0a66 update the kubernetes version no. (#4328)
* update the kubernetes version no.

* update it

* modify the error
2017-08-01 02:46:04 -07:00
Ianeta Hutchinson 9af54c7c5a Applying template to Namespaces topic and moving to Tasks. (#2925)
* Applying template to Namespaces topic and moving to Tasks.

* update links
2017-08-01 02:34:55 -07:00
Andrew Chen 72508c26fe Reimplement PR #4339 2017-08-01 02:23:13 -07:00
Andrew Chen 6ec54a096e Reimplement PR #4545 2017-08-01 02:09:29 -07:00
Andrew Chen cc85c292f3 Reimplement PR #4552 2017-08-01 02:06:03 -07:00
Andrew Chen 98c068abea Merge pull request #4559 from kubernetes/chenopis-3981-patch
Reimplement PR #3981
2017-08-01 01:58:56 -07:00
Andrew Chen ff1432531c Reimplement PR #3981 2017-08-01 01:54:43 -07:00
WanLinghao 704e14a2d7 Update assign-pod-node.md (#4356)
* Update assign-pod-node.md

I am a freshman on Kubernetes development.When I use the affinity feature,it confuses me that why the pod won't stop after I changing  the node's label which makes the node no longer satisfy the  affinity condition.Although I learn  how this feature works by community, I hope the documentation can help  people especially fresh man better.^_^

* Update assign-pod-node.md after review

I have fixed the commit after review
2017-08-01 01:49:23 -07:00
Andrew Chen 7d77edd74a Reimplement PR #4383 2017-08-01 01:33:08 -07:00
xufei 6549a0b34a docs: Fix sentence begins with an uppercase letter (#4556) 2017-08-01 01:31:55 -07:00
Lyubomir Gardev 6925e45052 Update labels.md (#4417)
Added code formatting to the third operator available for Set-based requirements of label scopes.
2017-08-01 01:25:57 -07:00
Xing Zhou d9e099b7af Turn env variables to upper case in the example.
As K8s won't change the env variable from configmap(using envFrom
to upper case, so change the variable names to upper case in the
example.
2017-08-01 01:17:24 -07:00
Jian Qiu 77c05ef418 Add dns policy setting 2017-08-01 01:14:14 -07:00
Matthew Dorn 52b8d44683 use raw github url for ip-masq-agent.yaml 2017-08-01 01:12:22 -07:00
dlorenc 1009f889d5 Remove the alpha storage-class annotation.
This doesn't work when run in beta storage class clusters.
2017-08-01 01:11:15 -07:00
Sahdev Zala c2dfbb46ec Fix incorrect link and add missing ones for pod template (#4366)
* Fix incorrect link and add missing ones for pod template

The current link to the pod template is pointing to replication controller
page. Also couple places missing a link to get better view of what pod
template is.

* fix pod link

* fix pods url
2017-08-01 01:08:49 -07:00
Ryan Roden-Corrent 373d10f1fd Fix aggregation link in custom resources page. (#4338) 2017-08-01 01:06:26 -07:00
Sahdev P. Zala 47b0f2f0a4 Fix unresolvable element
The incorrect element pointer gives an error,
cannot resolve element with id updating-a-replication-controller, with a
broken link. Fix it.
2017-08-01 01:01:23 -07:00
sudr 2170ffbc76 Update install-kubectl.md to include instructions for kubectl auto-completion in oh-my-zsh (#4370)
* Update install-kubectl.md

* Move Oh-My-Zsh and edit

* add "the"
2017-08-01 00:52:12 -07:00
Fabian Deutsch 9e74703ad1 docs: Fix link in horizontal-pod-autoscale to #support-for-custom-metrics 2017-08-01 00:36:28 -07:00
Justin W. Flory e448f859ce Fix redirected link
Updates the reference to bring you to the right location on the current page (instead of leaving you at the top)
2017-08-01 00:35:16 -07:00
Cao Shufeng 14df916093 Update NamespaceLifecycle admission controller 2017-08-01 00:34:29 -07:00
Dino Hensen 8ff2710305 Fix indent and use valid keys for configMapKeyRef (#4428)
Fix restartPolicy indent.
Use valid keys from the ConfigMap in the step previous to the last special-config creation. Key special.type was not created anywhere in previous steps anywars.
2017-08-01 00:25:26 -07:00
Vijay Dhama 90bc317621 Fixed application troubleshooting guide link (#4441) 2017-08-01 00:19:45 -07:00
Eric Mountain @ Amadeus 2934358f13 Minor fix in example resource limit policy
Looks like 

```
the cluster operator may want to set limits that a pod must consume at least 20% of the memory and CPU
```

was meant to be 

```
the cluster operator may want to set limits that a pod must consume no more than 20% of the memory and CPU
```
2017-07-31 23:58:34 -07:00
Mik Vyatskov 6f42c332ec Fix a small bug in the Stackdriver Logging documentation (#4453) 2017-07-31 23:56:15 -07:00
Lachlan Evenson 723bdc97a8 Update TLS bootstrapping docs (#4490)
* Add bootstrap tokens reference
Update kubelet required flags

* update kubelet flag

* update bootstrap tokens to add alpha wording

* update authorization provider background and standardize on system:bootstrappers group

* made kubelet requirements more prominant

* fix grammar

* wording updates based on review

* update md links
2017-07-31 23:55:48 -07:00
Davanum Srinivas cdaeaa56fe Fix Typo - "TokenAccessReviewStatus" -> "status" (#4475)
* Fix Typo - "TokenAccessReviewStatus" -> "status"

"TokenAccessReview" is the value of the "kind" field of the request and response. The webhook has to fill in the "status" field to indicate authenticate pass/fail status.

* Use back ticks for spec

For consistency highlight spec better using back ticks
2017-07-31 23:53:04 -07:00
Andrew Chen 63c16a7636 Merge pull request #4555 from kubernetes/chenopis-4397-patch
Fix Kuberentes typo
2017-07-31 23:50:14 -07:00
Andrew Chen d40b245c9b Fix Kuberentes typo 2017-07-31 23:45:38 -07:00
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
Xing Zhou cf75fef7fb Translate getting-started-guides/coreos/bare_metal_offline.md into Chinese 2017-07-31 16:56:18 -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 51f3d013b1 Merge pull request #4551 from kubernetes/chenopis-4541-patch
Reimplement #4541
2017-07-31 16:34:50 -07:00
Andrew Chen 0e500aa7d7 Reimplement #4541 2017-07-31 16:26:37 -07:00
Andrew Chen fadf7b5f96 Merge pull request #4550 from steveperry-53/playgrounds
Add playgrounds to Task and Tutorial prerequisites.
2017-07-31 16:06:13 -07:00
steveperry-53 53b8d8f667 Add playgrounds to Task and Tutorial prerequisites. 2017-07-31 15:25:55 -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 28f66c1f71 Add new manifests, storageclass validation
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-28 10:09:41 -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
Xing Zhou 3c5e457989 Translate getting-started-guides/centos/centos_manual_config.md into Chinese
Translate getting-started-guides/centos/centos_manual_config.md into Chinese
2017-07-27 14:39:29 -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
Ahmet Alp Balkan fe5f08a28e Allow importing of manifest files with tutorial import script
Unblocks https://github.com/kubernetes/examples/pull/38.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-27 11:52:31 -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 65d81f32c3 Merge pull request #4518 from kubernetes/chenopis-res-ref-v1.7
add /docs/resources-reference/v1.7/
2017-07-26 15:42:24 -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
Kaitlyn Barnard 46525253b2 All files for Ancestry.com and Wink Case Studies (#4412)
* Add CSS files for Ancestry case study

* Add HTML file for Ancestry case study

* Add images for Ancestry case study

* Delete golfnow.png

* Add files via upload

* Update index.html

* Delete ancestry-logo.png

* Add files via upload

* Update index.html

* Update style_ancestry.css

* All files for Wink case study and updated index files and logo fixes

* Update ancestry.html

* Update ancestry.html
2017-07-25 13:02:02 -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
Andrew Chen 017209c9d8 Merge pull request #4430 from xiangpengzhao/add-crd
Update supported resource types
2017-07-24 23:11:35 -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
Jeff Mendoza 35cc32f87c Merge pull request #4435 from charrywanganthony/bug404fix
Fix An error 404 and fix a wrong hyperlink
2017-07-21 10:09:36 -07:00
Wang 498d666f42 Fix An error 404 and fix a wrong hyperlink 2017-07-21 16:49:48 +08:00
Alex Contini 9a89b61103 Updates to box.html and golfnow.html (#4277)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* fix layout and logo

* fix golfnow layout and logo

* fix golfnow link

* Update box.html

* Update golfnow.html

* add custom css logic

* switch layouts back to *basic*

* remove class gridPage

* debug

* Update style_golfnow.css

realized the footer class was what making the bg dark, so added an override to white

* remove logo class on logo image

* remove logo class from golfnow image

* add mechanism to turn off default styles

* debug liquid logic

* rename variable

* Setup custom SASS

* test custom sass for case studies

* remove class for image logos

* cleanup and simplify

* New logo for landing page

* change GolfNow logo on landing page

* fix spacing on case studies landing page

* Updated custom sass 

Fixed mobile issues and some spacing issues

* Update _case-studies.sass

* Update _case-studies.sass
2017-07-20 14:50:16 -07:00
Andrew Chen 2921631001 Merge pull request #4421 from kubernetes/chenopis-fix-4389
Fixes issue #4389
2017-07-20 11:05:17 -07:00
Andrew Chen bc3075de36 Fixes issue #4389 2017-07-20 10:57:38 -07:00
Kevin Kirsche 09c94a963f Fix Secrets Syntax in Volume Spec (#4378)
Fix #4377
2017-07-17 23:00:48 -07:00
Ahmet Alp Balkan d973a781b4 Merge pull request #4385 from MofeLee/patch-2
fixtypo
2017-07-17 22:29:21 -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
Yu-Ju Hong 953fea1a35 Merge pull request #4349 from jonboulle/patch-3
security-context: fix typo (seacomp -> seccomp)
2017-07-11 10:04:16 -07:00
Jonathan Boulle 78a54dd02a security-context: fix typo (seacomp -> seccomp) 2017-07-11 15:51:14 +02:00
Ahmet Alp Balkan 109a0dc0a1 Script to import tutorials from examples repo
This Python script imports the tutorials that are going to be maintained
at the https://github.com/kubernetes/examples repository. Currently only
pulls the tutorials from master ref of examples.

This script:

- Deletes content between `<!-- EXCLUDE_FROM_DOCS BEGIN -->` and
  `<!-- EXCLUDE_FROM_DOCS END -->` (including the markers). This is to drop
  website redirection notices appear in the examples repo.
- Adds Jekyll title to the imported docs. The title can be customized so we do
  not need to parse h1 elements from the markdown.
- Insert "DO NOT UPDATE" section (commented out HTML) to the markdown files
  that are imported.

Once merged, I will go ahead and update the tutorials in kubernetes/examples,
then I will run this script and check in its results in a separate PR.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-10 23:16:45 -07:00
Andrew Chen 7205370791 Merge pull request #4343 from kubernetes/chenopis-4056-patch
Patch PR #4056, update links
2017-07-10 22:58:46 -07: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
Cody Clark f5d3e3bc9a Deleted bullet points (•) (#4341)
* Deleted bullet points (•)

They were grammatically unnecessary and were rendering as boxes on the page.

* Update pearson.html
2017-07-10 22:32:36 -07:00
Phillip Wittrock 81735b0894 Merge pull request #4186 from ianchakeres/kubectl-v
Added a section to kubectl cheatsheet about verbosity levels
2017-07-10 19:10:47 -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
Ahmet Alp Balkan 052cc28a15 Create nesting for Network Policy providers
This helps shortening the /docs/tasks→Administer Cluster section by creating
a section for current and future networking providers. Also changing the
NetworkPolicy to Network Policy in titles.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-07-10 14:05:06 -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
Kaitlyn Barnard b86ba3fdc0 Updates to partners page (#4337)
* Add files via upload

* Update partner-script.js
2017-07-10 13:46:57 -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
Dragons 77b1039aec admin-authorization-index-pr 2017-07-10 22:20:51 +08:00
Dragons c35043d0fe templates-concept-pr 2017-07-10 21:54:48 +08:00
Dragons b3bce95c2b admin-authorization-abac-pr 2017-07-10 21:48:09 +08:00
Andrew Chen d23bbbc198 Merge pull request #4330 from CaoShuFeng/invalid_herf
fix nine 404 page in doc
2017-07-08 21:22:37 -07:00
Dragons 35baee076b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io 2017-07-09 11:49:26 +08: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
Andrew Chen e320d57547 Merge pull request #4323 from zhangxiaoyu-zidif/patch-13
use page.version to replace authenticate-across-clusters-kubeconfig.md
2017-07-07 16:54:15 -07: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
Dragons dd6f491a2d Merge branch 'master' of https://github.com/markthink/kubernetes.github.io 2017-07-07 10:47:22 +08:00
Dragons 48ffe5ca1a kubernetes-concepts-overview-components-pr 2017-07-07 10:46:20 +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
Tim Hockin 87f8e327af Add a google verfication for kubernetes.io (#4294) 2017-07-05 21:14:13 -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 3803b34565 Merge pull request #4287 from kubernetes/chenopis-4275-patch
Patch PR #4275
2017-07-05 14:36:10 -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
xuxinkun 4763859551 Add link for case studies. 2017-07-05 13:27:56 -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
Andrew Chen 9e38450a74 Merge pull request #4282 from thockin/master
Move Google domain verification to a file
2017-07-05 13:07:46 -07:00
Tim Hockin f84db04850 Move Google domain verification to a file 2017-07-05 13:03:33 -07:00
Tim Hockin 41c395771a Add Google domain verification 2017-07-05 12:57:21 -07:00
Andrew Chen acb10cc5a8 Merge pull request #4272 from luxas/kubeadm_upgrade_notice
Update some wording on kubeadm upgrades
2017-07-05 12:09:33 -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
Dragons 8f43584db5 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io 2017-07-05 09:58:05 +08: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
Andrew Chen 0b07b713a1 Merge pull request #4259 from CaoShuFeng/audit.md
some nits for advanced audit document
2017-07-03 09:20:11 -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 b82ec67530 Merge pull request #4244 from mattmoyer/patch-1
Fix a couple of typos in tasks/debug-application-cluster/audit.md
2017-06-30 17:57:49 -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
Alex Contini 826ca8d51f All files for both new case study pages (#4235)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* fix layout and logo

* fix golfnow layout and logo

* fix golfnow link
2017-06-30 01:06:36 -07:00
Andrew Chen 3f70472680 Merge pull request #4243 from kubernetes/chenopis-4235-prepatch
Add empty layout template
2017-06-30 00:47:56 -07:00
Andrew Chen 1056438310 Add empty layout template 2017-06-30 00:40:33 -07:00
Andrew Chen 06a58cd1b5 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  v1.7 patch 01
  kubernetes-cn-translation-update (#4182)
2017-06-30 00:09:22 -07:00
Andrew Chen 3cb315606c v1.7 patch 01 2017-06-30 00:02:17 -07:00
Dragons c7b1119a98 kubernetes-cn-translation-update (#4182)
* what-is-kubernetes-pr

* kubernetes-basics-pr

* kubernetes-basics-cluster-pr

* kubernetes-basics-deploy-pr

* kubernetes-basics/explore-pr

* kubernetes-basics-expose-pr

* kubernetes-basics-scale-pr

* kuberntes-basics-update-pr

* tutorials-object-management-kubectl-object-management-pr

* tutorials-object-management-kubectl-imperative-object-management-command-pr

* xingzhou-fix-pr
2017-06-29 23:37:40 -07:00
Andrew Chen 8d806d89de Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Release 1.7 (#4094)
2017-06-29 22:56:19 -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
https://github.com/kubernetes/kubernetes.github.io/pull/3997/files/f6eb59c67e28efc298c87b1ef49a96bc6adacd1e#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
Dragons 534e42079c Merge branch 'master' into master 2017-06-29 17:07:53 +08:00
Dragons fb7650ba29 xingzhou-fix-pr 2017-06-29 17:01:22 +08: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 ad23d013d7 Merge pull request #4219 from chaintng/master
Set storageClassName to match earlier manual disk creation
2017-06-28 11:49:11 -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 de56f68c61 Merge pull request #4217 from kubernetes/chenopis-pr-template-patch
Update PR template
2017-06-27 22:45:41 -07:00
Andrew Chen 6d1139912b Update PR template 2017-06-27 22:34:51 -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
Andrew Chen d918cc9ba7 Merge pull request #4210 from kubernetes/chenopis-update-ver
Update version numbers to 1.7
2017-06-27 16:42:49 -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 71bd80d7bccd090d0aa1829ae9e4db6cc4dc590c.

* Revert "Add configuration entry for understanding configmaps"

This reverts commit c27fc13f56453dff6e6b8b8f1f9641cbad8ace53.

* Revert "Add new topic for configmaps in concepts"

This reverts commit 3d535f59170a4b5cb290975871f167217484e7ab.

* Revert "Add YAML file for configmaps in concepts"

This reverts commit 8ecabd6d106647631819441be8bf7e834f0dbb54.
2017-06-27 16:41:01 -07:00
Andrew Chen a1ed636b58 Update version numbers to 1.7 2017-06-27 16:34:04 -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 2f4c251a9f 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 script.js
2017-06-27 10:01:56 -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
Andrew Chen 329aa4672f Merge pull request #4203 from kubernetes/chenopis-4063-patch
Patch PR #4063
2017-06-27 09:43:38 -07:00
Andrew Chen 3d5e8086b6 Merge pull request #4201 from kubernetes/ryanmcginnis-patch-1-1
Prevents sweetAlert in copyCode function from being cut off on page
2017-06-27 09:42:45 -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
Ryan McGinnis f0c445980d Update script.js
In copyCode function, removes target.value from if (succeed) sweetAlert function. 

Sometimes target.value is too long, which causes the sweetAlert box to be cut off from the page. The confirmation button also gets cut off, which means that the user can't close the box, which means they need to refresh the page to continue.

Instead, the alert tells the user which file was copied.
2017-06-27 08:58:02 -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 56ae8bf3f7 Merge pull request #4197 from kubernetes/chenopis-task-template-patch
update example templates
2017-06-26 16:33:52 -07:00
Andrew Chen 4d3a7a315d update example templates 2017-06-26 16:12:21 -07:00
Andrew Chen d8a8d8d718 Merge pull request #4195 from ahmetb/meanstack-fix
redirect fix for meanstack article
2017-06-26 15:51:48 -07:00
Ahmet Alp Balkan d94196e14f redirect fix for meanstack article
Linking to the correct article.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-26 15:41:17 -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
Ahmet Alp Balkan d33222a6c3 Copy-to-clipboard fix (#4190)
* Copy-to-clipboard fix

target.setSelectionRange(0, target.value.length); does not always seem to be
working. It doesn't work once the text is unselected. Using textarea.select()
function: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select

Fixes #3965.

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

* Empty commit

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-26 11:12:14 -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
Dragons 5fa66df44b tutorials-object-management-kubectl-imperative-object-management-command-pr 2017-06-26 17:00:46 +08:00
Dragons a5aea25a2f tutorials-object-management-kubectl-object-management-pr 2017-06-26 16:59:52 +08: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
Andrew Chen 25b8f9a799 Merge pull request #4187 from Starefossen/patch-1
Rename last remaining reference of kargo to kubespray
2017-06-25 14:35:09 -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
Dragons e41d03e957 kuberntes-basics-update-pr 2017-06-24 11:03:32 +08:00
Dragons ce93d29e9d kubernetes-basics-scale-pr 2017-06-24 11:03:32 +08:00
Dragons 0de03a50a8 kubernetes-basics-expose-pr 2017-06-24 11:03:21 +08:00
Dragons 9181bb31e4 kubernetes-basics/explore-pr 2017-06-24 10:30:48 +08:00
Dragons b5cb8321ce kubernetes-basics-deploy-pr 2017-06-24 10:30:10 +08:00
Dragons 88ed4d38bd kubernetes-basics-cluster-pr 2017-06-24 10:29:44 +08:00
Dragons bb02346e47 kubernetes-basics-pr 2017-06-24 10:28:34 +08:00
Dragons ea0bca2394 what-is-kubernetes-pr 2017-06-24 10:27:38 +08: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
Andrew Chen 82e049dc6e Merge pull request #4170 from kubernetes/chenopis-3999-patch
Patch PR #3999
2017-06-22 15:43:06 -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
Dragons 0dbeb6d1bf whatisk8s - Chinese version (#3243)
* whatisk8s

* kubernetes-basics tutorials

* Update whatisk8s.md

* Update what-is-kubernetes.md
2017-06-22 14:39:41 -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
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
https://github.com/kubernetes/kubernetes.github.io/pull/3997/files/f6eb59c67e28efc298c87b1ef49a96bc6adacd1e#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
Ahmet Alp Balkan 553e091742 install-kubeadm: fix What's Next link text
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-20 11:01:39 -07:00
Andrew Chen bea52c8e5c Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  info about cron jobs updated (#4110)
  fix example in configure-pod-configmap.md
  Remove extraneous files from autogeneration of ref pages. (#4044)
  Add notes for file/flag precedence
  Removed "networked" from PersistentVolume (PV) definition. (#4121)
  Fix syntax err in example
2017-06-20 10:52:58 -07:00
Jorge Bianquetti eb3f374d37 info about cron jobs updated (#4110) 2017-06-20 10:33:22 -07:00
Charlie R.C a9863612bc fix example in configure-pod-configmap.md 2017-06-20 10:26:55 -07:00
Steve Perry 57a3ad4544 Remove extraneous files from autogeneration of ref pages. (#4044)
* Remove extraneous files from autogeneration of ref pages.

* Revert "Remove extraneous files from autogeneration of ref pages."

This reverts commit 39ec47ee44354c96070f89064374eb729d6da5ec.
2017-06-20 09:17:07 -07:00
Jamie Hannaford 0ef468e48b Add notes for file/flag precedence 2017-06-19 16:53:02 -07:00
ianchakeres b4b64e9dc2 Removed "networked" from PersistentVolume (PV) definition. (#4121) 2017-06-19 16:31:08 -07:00
Andrew Chen 5bf06f9e4e Merge pull request #4130 from jerairrest/patch-1
Fix documentation syntax err in Persistent Volume example
2017-06-19 16:23:56 -07:00
Andrew Chen 628e88ecc6 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 typo 'bash' -> 'brew'
  update pod persistent volume example storage class (#3979)
  Change Task titles to imperative: Admin. (#4033)
  Change Task titles to imperative: Daemons, GPUs. (#4032)
  Change Task titles to imperative: Federation. (#4031)
  Change Task titles to imperative: TLS. (#4030)
  Change Task titles to imperative: Access Extend. (#4029)
  Change Task titles to imperative: Monitor. (#4028)
  Change Task titles to imperative: Access Apps. (#4027)
  Change Task title to imperative: Run Job. (#4026)
  Change Task titles to imperative: Run Apps. (#4025)
  Change Task titles to imperative: Inject. (#4024)
  Change Task titles to imperative: Tools. (#4023)
  Change Task titles to imperative. (#4022)
  Fix typo in update-imported-docs.sh
  Add internal provisioner support matrix (#4009)

# Conflicts:
#	docs/tasks/administer-cluster/declare-network-policy.md
2017-06-19 10:15:52 -07:00
Cao Shufeng 4bd94ec393 Update description about NodeRestriction
kubelet node can alse create mirror pods for their own static pods.
2017-06-19 11:35:25 +08:00
Jeremy Ayerst a988182a96 Fix syntax err in example
Missing " made example unusable
2017-06-18 09:44:13 -05:00
Ahmet Alp Balkan ce4fe04bb3 Merge pull request #4122 from xLegoz/patch-1
Fix documentation typo: 'bash' -> 'brew'
2017-06-16 22:06:52 -07:00
Joey Pereira 951a3211a3 Fix typo 'bash' -> 'brew' 2017-06-16 18:53:30 -04:00
Solly Ross 7023dc32c5 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.
2017-06-16 14:30:51 -04:00
Pengfei Ni a0ffa2569c Update GPU docs 2017-06-16 21:15:28 +08:00
Simon Croome 69cebea16b StorageOS Volume plugin 2017-06-15 16:56:42 +01:00
Adnan Abdulhussein 1088bca024 update pod persistent volume example storage class (#3979)
* update pod persistent volume example storage class

When binding to a manually created PersistentVolume, the claim must
disable dynamic provisioning by specifying an empty storage class.

Fixes #2803

* use specific storageclass

* revert gibibytes -> gigabytes change
2017-06-13 23:55:58 -07:00
Phillip Wittrock eb71492f88 Merge pull request #4014 from irfanurrehman/patch-1
Fix typo in update-imported-docs.sh
2017-06-13 09:31:47 -07:00
Steve Perry e2a898ad41 Change Task titles to imperative: Admin. (#4033) 2017-06-08 15:13:29 -07:00
Steve Perry 6c99bbb509 Change Task titles to imperative: Daemons, GPUs. (#4032) 2017-06-08 14:48:46 -07:00
Steve Perry 54eb7d2449 Change Task titles to imperative: Federation. (#4031) 2017-06-08 14:42:56 -07:00
Steve Perry 2167367a6a Change Task titles to imperative: TLS. (#4030) 2017-06-08 14:34:34 -07:00
Steve Perry fbf7782ebf Change Task titles to imperative: Access Extend. (#4029) 2017-06-08 13:47:48 -07:00
Steve Perry 423884e8b7 Change Task titles to imperative: Monitor. (#4028) 2017-06-08 13:41:57 -07:00
Steve Perry c59b2b6935 Change Task titles to imperative: Access Apps. (#4027) 2017-06-08 13:29:52 -07:00
Steve Perry 63c282927c Change Task title to imperative: Run Job. (#4026) 2017-06-08 13:21:07 -07:00
Steve Perry 10cd61bc62 Change Task titles to imperative: Run Apps. (#4025) 2017-06-08 13:15:43 -07:00
Steve Perry 962989b443 Change Task titles to imperative: Inject. (#4024) 2017-06-08 12:12:52 -07:00
Steve Perry e1e00561f3 Change Task titles to imperative: Tools. (#4023) 2017-06-08 11:58:27 -07:00
Steve Perry adf00a04a2 Change Task titles to imperative. (#4022) 2017-06-08 11:48:28 -07:00
irfanurrehman 7d06b71131 Fix typo in update-imported-docs.sh 2017-06-08 11:26:21 +05:30
Mitsuhiro Tanino 67ece8bc15 Add internal provisioner support matrix (#4009)
* Add internal provisioner support matrix

* Change links and add example of NFS plugin

* Remove usages related to hostpath
2017-06-07 14:12:59 -07:00
Andrew Chen ccd2b46864 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 the line giving the template for creating configmap, should include the word configmap as part of the creation process.
  Fixes issue #3939
  Add CRI runtime support
2017-06-07 10:23:36 -07:00
Alejandro Escobar ffc4769285 fixed the line giving the template for creating configmap, should include the word configmap as part of the creation process. 2017-06-07 10:22:26 -07:00
Dan Winship 4b6b970d51 Update NetworkPolicy docs for v1 2017-06-07 10:21:23 -07:00
Karthik Gaekwad 1808475968 Fixes issue #3939
Adds comment for per issue #3939
2017-06-07 10:20:31 -07:00
Harry Zhang ed00765f3c Add CRI runtime support 2017-06-07 10:05:06 -07:00
Andrew Chen 23175c12e0 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Updaated install-kubeadm.md, removed redundant kubectl installation (#4006)
  Add Chocolatey Package Manager for Windows (#4000)
2017-06-07 09:56:43 -07:00
Michal Cwienczek 9305c4a9aa Updaated install-kubeadm.md, removed redundant kubectl installation (#4006) 2017-06-06 15:53:20 -07:00
Onuralp Taner 783de986d9 Add Chocolatey Package Manager for Windows (#4000)
* Add Chocolatey Package Manager for Windows

* Small grammar changes
2017-06-06 13:17:33 -07:00
Andrew Chen be02ca1705 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Make issue title automatically a link
  Update directions for macOS bash completion
2017-06-06 09:24:27 -07:00
Ahmet Alp Balkan bec1399cc1 Make issue title automatically a link
e.g. "Issue with k8s.io/docs/getting-started-guides/kubeadm/" when people
open issues on the repo. This way we can just select the text, right-click
and say Go to Link.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-06 09:21:38 -07:00
Andrew Chen 3824fdf5c7 Merge pull request #3737 from cblecker/update-mac-bash
Update directions for macOS bash completion
2017-06-06 09:02:44 -07:00
Christoph Blecker 1bb02c055e Update directions for macOS bash completion 2017-06-05 21:52:25 -07:00
Andrew Chen 0b15bf57e8 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 TCP socket health check example (#3977)
  Update networking.md (#3950)
  [authorization] fix invalid href for webhook
2017-06-05 14:06:37 -07:00
tompizmor 9f2ecee260 Add TCP socket health check example (#3977)
* Add TCP socket health check example

* Add test case for pod-with-tcp-socket-healthcheck
2017-06-05 13:50:29 -07:00
Shyam JVS f21480504d 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..."
2017-06-05 11:24:49 -07:00
kshafiee 8d20ed8580 Update networking.md (#3950)
* Update networking.md

Added CNI-Genie as one of the many options

* Update networking.md

Addressed!

* Update networking.md
2017-06-05 11:04:45 -07:00
Andrew Chen b5c0e0603e Merge pull request #3985 from CaoShuFeng/webhook
[authorization] Fix invalid url for webhook
2017-06-05 10:48:44 -07:00
Andrew Chen 36b472183b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Remove self-referential link
  Add fibre channel volume explanation (#3967)
2017-06-05 10:41:54 -07:00
Cao Shufeng 8dd901ee98 [authorization] fix invalid href for webhook 2017-06-05 11:42:13 +08:00
Andrew Chen bec79028f5 Merge pull request #3980 from kubernetes/ryanmcginnis-patch-1
Remove self-referential link
2017-06-02 15:06:47 -07:00
Ryan McGinnis 8117b56cc6 Remove self-referential link
The second link in the "What's next" section redirects the reader to this doc. This PR removes this link.
2017-06-02 15:01:05 -07:00
Mitsuhiro Tanino 1cec609586 Add fibre channel volume explanation (#3967)
* Add fibre channel volume explanation

This patch adds explanation of fibre channel volume including
usage of multiple WWNs.

Fix #33602

* Fix typos
2017-06-02 14:53:19 -07:00
Andrew Chen 92e31296ff Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Improve RBAC doc (#3951)
  Clarify CNI acronym
  Fix 404 to kubectl install link
  install-kubectl.md: Fix Windows texts, link to latest macOS binaries
2017-06-02 14:28:50 -07:00
Jordan Liggitt 2841f6dabe Improve RBAC doc (#3951)
* Remove spurious cluster-status role description

* Indicate controller-manager must be granted controller roles when not run with --use-service-account-credentials
2017-06-02 14:26:39 -07:00
Kevin Kirsche a6f31d4896 Clarify CNI acronym
Fixes kubernetes/kubernetes.github.io#3964
2017-06-02 14:14:21 -07:00
Charlie R.C 952e5b4497 add host paths to psp (#3971)
* add host paths to psp

* add italics
2017-06-02 14:11:38 -07:00
Kyle Gordon 71c7f9efc4 Fix 404 to kubectl install link 2017-06-02 14:03:10 -07:00
Andrew Chen 1946b06070 Merge pull request #3969 from techtonik/patch-1
install-kubectl.md: Fix Windows texts, link to latest macOS binaries
2017-06-02 13:16:43 -07:00
deads2k 6cbd6bda67 document custom resource definitions 2017-06-02 13:12:02 -07:00
Andrew Chen 846cf73860 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Create Installing kubeadm topic. (#3709)
2017-06-02 13:11:42 -07:00
anatoly techtonik 12ad70a8ca install-kubectl.md: Fix Windows texts, link to latest macOS binaries
Fixes https://github.com/kubernetes/kubernetes.github.io/pull/3859#issuecomment-305710498
2017-06-02 10:32:19 +03:00
Steve Perry 57385e8d86 Create Installing kubeadm topic. (#3709)
* Create Installing kubeadm topic.

* Put kubeadm installation under Setup.

* Move topics to setup directory.

* Move topics to setup directory.

* Add redirects.
2017-06-01 18:03:47 -07:00
Andrew Chen de0f19682a Merge branches 'master' and 'release-1.7' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix example in the "Adding ConfigMap data to a Volume" section
  Update ExternalName example
  Completes PR #3325

* 'release-1.7' of https://github.com/kubernetes/kubernetes.github.io:
2017-06-01 16:20:18 -07:00
Kenny Lee Sin Cheong d41dbfcf14 Fix example in the "Adding ConfigMap data to a Volume" section
"special.key" does not exist in the given ConfigMap example. It should
be "special.level" instead.
2017-06-01 16:18:38 -07:00
Andrew Martin 35f6ce8b6f Update ExternalName example
As per design proposal: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/service-external-name.md

The existing example is not validated by Kubernetes 1.6.3
2017-06-01 15:12:07 -07:00
Andrew Chen d55efd0da0 Merge pull request #3963 from kubernetes/chenopis-3325-patch
Completes PR #3325
2017-06-01 15:09:50 -07:00
Andrew Chen a9b880d5f4 Completes PR #3325 2017-06-01 15:02:14 -07:00
Andrew Chen 983d10efee Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Changes "Mac OS" to macOS, "bootcamp" to tutorial (#3955)
  Remove apply/edit warning now that edit is fixed
  Two minor fixes
  Cleanup robots.txt
  Readability: Split first paragraph into two (#3957)
2017-06-01 14:57:12 -07:00
Ryan McGinnis e67aabccae Changes "Mac OS" to macOS, "bootcamp" to tutorial (#3955)
* Changes "Mac OS" to macOS, "bootcamp" to tutorial

* fix typo
2017-06-01 14:51:05 -07:00
Phillip Wittrock b481798d43 Remove apply/edit warning now that edit is fixed 2017-06-01 14:40:41 -07:00
Ryan McGinnis 9e282d2d9f Two minor fixes 2017-06-01 14:38:13 -07:00
Andrew Chen 0c535464c8 Cleanup robots.txt 2017-06-01 14:37:00 -07:00
Ryan McGinnis 80ea9193ae Readability: Split first paragraph into two (#3957) 2017-06-01 14:31:41 -07:00
Andrew Chen 52f362ebad 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 golang version to 1.8.1
2017-06-01 14:27:42 -07:00
Anirudh Ramanathan 2f82ff8a96 Update golang version to 1.8.1 2017-06-01 13:51:12 -07:00
Andrew Chen 0adc65a2b2 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:

* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Implement PR #3859 with tabs
2017-06-01 13:32:07 -07:00
pospispa d448129de9 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.
2017-06-01 13:25:43 -07:00
Andrew Chen 8ad0302646 Implement PR #3859 with tabs 2017-06-01 10:08:51 -07:00
Andrew Chen f905c8e843 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Templates (#3949)
  Revised IBM Bluemix Container Service description
2017-05-31 23:20:19 -07:00
Steve Perry ab310e21cd Templates (#3949)
* Update page-templates.md

* Update page-templates.md

* Update page-templates.md

* Update page-templates.md

* Update page-templates.md

* Update page-templates.md

* Update page-templates.md

* Update page-templates.md
2017-05-31 15:53:04 -07:00
Andrew Chen 8604566e8b Merge pull request #3947 from kKronstainBrown/patch-1
Revised IBM Bluemix Container Service description
2017-05-31 15:15:18 -07:00
Andrew Chen 7f9eec2b61 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  networking.md: Add reference to the Cilium network plugin
  Fix typo in cluster api docs
  [Kubeadm] bugfix in the index listing
2017-05-31 12:49:02 -07:00
kKronstainBrown e3ac0f1a6b Revised IBM Bluemix Container Service description 2017-05-31 14:01:47 -04:00
Thomas Graf 42f0b93b68 networking.md: Add reference to the Cilium network plugin
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2017-05-31 11:00:58 -07:00
Kenny Lee Sin Cheong 5372429718 Fix typo in cluster api docs
Fix type in https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api/
2017-05-31 10:59:38 -07:00
Andrew Chen 5e0fbc3ce6 Merge pull request #3946 from irfanurrehman/kubeadm-bugfix
[Kubeadm] bugfix in the index listing
2017-05-31 10:58:26 -07:00
Irfan Ur Rehman 6892014792 [Kubeadm] bugfix in the index listing 2017-05-31 23:23:29 +05:30
Andrew Chen b695c0f78b 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 log rotation description in the logging doc (#3918)
  Add colon to #3897
  add prompt about KUBE_REPO_PREFIX (#3597)
  Warn against managing ReplicaSets owned by Deployments
  Update small typo in components page (#3930)
  change the service name to pod ip (#3926)
2017-05-31 10:52:49 -07:00
Mik Vyatskov f4fd9e79ed Fix log rotation description in the logging doc (#3918)
* Fix log rotation description in the logging doc

* Review comments

* Address review comments

* Address review comments
2017-05-31 10:50:04 -07:00
Andrew Chen 5b26c42be5 Add colon to #3897 2017-05-31 10:47:02 -07:00
Charlie R.C 75303cfee4 add prompt about KUBE_REPO_PREFIX (#3597)
* add prompt about KUBE_REPO_PREFIX

* add period
2017-05-31 10:45:55 -07:00
Michail Kargakis 4471d3dbf0 Warn against managing ReplicaSets owned by Deployments
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-31 10:37:40 -07:00
Swapnil Kulkarni 71177ff37a Update small typo in components page (#3930)
[1] page has a typo in Master Components section.
Updated the document.

[1] https://kubernetes.io/docs/concepts/overview/components/
2017-05-31 10:34:51 -07:00
jianglingxia 5483b4a126 change the service name to pod ip (#3926)
* change the service name to pod ip

* update the outdate link
2017-05-31 10:33:27 -07:00
Andrew Chen b1ee47f7d5 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Reimplement #2756 (#3935)
2017-05-30 16:31:02 -07:00
Andrew Chen e0a852eb28 Reimplement #2756 (#3935) 2017-05-30 16:30:02 -07:00
Charlie R.C 827d53e363 add NodeRestriction to admission-controllers (#3842) 2017-05-30 15:56:27 -07:00
Andrew Chen b56358283a 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 a minor mistake
  docs/concepts/policy/pod-security-policy.md: add projected to list of allowed types.
  Init container exists beta in 1.6.
2017-05-30 15:52:35 -07:00
roshandawrani c7ba600025 Fixed a minor mistake
The word "creating" seemed missing. global allocation map should have an entry for an IP address that the service gets while it's created, right?
2017-05-30 14:34:44 -07:00
Slava Semushin 1bed34e5c9 docs/concepts/policy/pod-security-policy.md: add projected to list of allowed types. 2017-05-30 14:20:39 -07:00
Guangya Liu 8c881a35cd Init container exists beta in 1.6. 2017-05-30 12:03:52 -07:00
Andrew Chen cca652bf00 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 typo (#3895)
  add unit of --ttl duration (#3915)
  Fixes broken links
  Prototype of custom description meta tags. (#3928)
  Site URL for canonical URLs. (#3927)
  Warn about implications on selector updates
  grammar patch to #3922 (#3923)
  add calico to the table of solution
  Minor grammatical change
2017-05-30 11:59:54 -07:00
wangxunbo ee92eafd82 fix typo (#3895)
I Created a  deployment yaml file tomcatdp.yaml, and did not set the .spec.strategy,then run 
kubectl create -f tomcatdp.yaml,
and then run 
kubectl get deployment tomcat-deployment -o yaml,
the tomcat-deployment is the name of the deployment,found that the MaxUnavailable and MaxSurge default value is 25%
2017-05-30 11:47:18 -07:00
Tuna d905c3838f add unit of --ttl duration (#3915)
* add unit of --ttl duration

fix #3890

* fix typo
2017-05-30 11:41:16 -07:00
Karthik Gaekwad 2660141c20 Fixes broken links 2017-05-30 11:40:29 -07:00
Steve Perry 46e745a81a Prototype of custom description meta tags. (#3928)
* Prototype of custom description meta tags.

* Put desc on one line.
2017-05-27 14:38:24 -07:00
Steve Perry 37976e6c74 Site URL for canonical URLs. (#3927) 2017-05-27 13:05:17 -07:00
Michail Kargakis 8a27d982e6 Warn about implications on selector updates
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-26 18:31:12 -07:00
Andrew Chen 328b62a34a grammar patch to #3922 (#3923)
* grammar patch to #3922

* change copy to make broader
2017-05-26 17:56:12 -07:00
Tuna 669f11db9c add calico to the table of solution
fix issue #3892
2017-05-26 17:16:23 -07:00
roshandawrani 02f1800bbd Minor grammatical change 2017-05-26 17:14:57 -07:00
Andrew Chen 726b147b72 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 deprecation tag (#3922)
2017-05-26 17:00:22 -07:00
Andrew Chen 4ca2f4e738 Add deprecation tag (#3922)
* Add deprecation tag

* match docsContent styling in dialog
2017-05-26 16:59:29 -07:00
Andrew Chen 0702830cde 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 sentence
  Minor grammatical correction
  Remove beta as K8s support on Bluemix Container Service is live
  Fix some output
  replace REASON with STATUS
  column IP is missed
  replace kubectl.sh with kubectl
  replace KUBECTL with kubectl
  fix the command output
  fix the command output
  fix the command output
  Correcting the typo in init-container's name
  fix typo
  fix typo
  fix typo
  fix typo
  fix typo
  Update pod-overview.md (#3881)
  apps/v1beta1 is not valid (#3814)
  Get access to search console. (#3901)
2017-05-26 13:39:26 -07:00
Kevin J. Qiu fd4ce1860a Fix sentence 2017-05-26 10:44:37 -07:00
Luke Stutters 6f401ab0d2 Minor grammatical correction
If the Volume is created from the ConfigMap, the files in the Volume are representatives of the Config map, not the other way round.
2017-05-26 10:43:33 -07:00
Sahdev P. Zala 2fc7ec0b6d Remove beta as K8s support on Bluemix Container Service is live
The Kubernetes support in Bluemix Container Service is now live and so we should
remove reference of beta.
2017-05-26 10:41:50 -07:00
Xiaoyu Zhang 295e262775 Fix some output
Fix some output
2017-05-26 10:41:06 -07:00
chenhuan12 1406756b8a replace REASON with STATUS
replace REASON with STATUS
2017-05-26 10:40:07 -07:00
chenhuan12 940335cd67 column IP is missed
column IP is missed
2017-05-26 10:39:40 -07:00
chenhuan12 61c39cf9df replace kubectl.sh with kubectl
replace kubectl.sh with kubectl
2017-05-26 10:39:24 -07:00
chenhuan12 8b745c2e9e replace KUBECTL with kubectl
replace KUBECTL with kubectl
2017-05-26 10:34:13 -07:00
chenhuan12 7d4f3c5587 fix the command output
fix the command output
2017-05-26 10:33:50 -07:00
chenhuan12 f5d455edee fix the command output
fix the command output
2017-05-26 10:33:31 -07:00
chenhuan12 9ab964f4c7 fix the command output
fix the command output
2017-05-26 10:33:05 -07:00
roshandawrani ffaafb2276 Correcting the typo in init-container's name 2017-05-26 10:31:20 -07:00
chenhuan12 de17826af0 fix typo
fix typo
2017-05-26 10:30:40 -07:00
chenhuan12 9dc7cfbebb fix typo
fix typo
2017-05-26 10:30:08 -07:00
chenhuan12 6ab0577e3e fix typo
fix typo
2017-05-26 10:29:43 -07:00
chenhuan12 b8b60ebe05 fix typo
fix typo
2017-05-26 10:29:05 -07:00
Peter Lee 80bf5cb316 fix typo 2017-05-26 10:27:32 -07:00
Selvi K d86f9ec781 Update pod-overview.md (#3881)
Fixed some typos
2017-05-26 10:27:09 -07:00
Francesc Campoy 35e959df7b apps/v1beta1 is not valid (#3814)
* apps/v1beta1 is not valid

Replacing it with extensions/v1beta1 which actually works

* Add note for versions before 1.6.0
2017-05-25 23:56:42 -07:00
Steve Perry 71aebd79ca Get access to search console. (#3901) 2017-05-25 14:21:16 -07:00
Andrew Chen 64a7d876f0 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Remove instructions to stage from <username>github.io. (#3893)
  Add drop-in templates
2017-05-25 12:31:24 -07:00
Steve Perry 64c9d1788d Remove instructions to stage from <username>github.io. (#3893) 2017-05-24 17:06:17 -07:00
Andrew Chen 4d6a452b9f Merge pull request #3891 from kubernetes/chenopis-example-templates
Add drop-in templates
2017-05-24 14:54:08 -07:00
Andrew Chen 7091925c9f Add drop-in templates 2017-05-24 14:48:20 -07:00
Andrew Chen 2cfb675a41 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 GPU mountpath warning
2017-05-23 23:11:23 -07:00
Christopher M. Luciano ae5df6944d Add GPU mountpath warning
The GPU path is not permissive by default and requires a bit of
additional setup if the operator does not allow for privileged
containers.

Related kubernetes/kubernetes#46007

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-05-23 22:39:56 -07:00
Andrew Chen cd54a86f81 Merge branch 'release-1.7' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'release-1.7' of https://github.com/kubernetes/kubernetes.github.io:
  Minor fixes in the Deployment doc
2017-05-23 22:38:33 -07:00
Henrique Truta fbcc2e9fde Add cluster resource federation page
Adds a page in Federation resources list describing
clusters.
2017-05-23 22:37:34 -07:00
Charlie R.C b545d393b6 update recommend admission control plug-ins 2017-05-23 22:28:36 -07:00
Andrew Chen d0bfe261f3 Merge pull request #3862 from kargakis/minor-deployment-fixes
Minor fixes in the Deployment doc
2017-05-23 22:21:25 -07:00
Andrew Chen 4b5780c3e3 Merge pull request #3886 from kubernetes/chenopis-3783-patch
Reimplement #3783
2017-05-23 14:30:35 -07:00
Andrew Chen 9ea89e011e Reimplement #3783 2017-05-23 14:21:56 -07:00
Andrew Chen 5d1cc3a987 Merge pull request #3884 from kubernetes/chenopis-3770-patch
Reimplement #3770
2017-05-23 14:17:29 -07:00
Andrew Chen 3c1b0df482 Reimplement #3770 2017-05-23 14:10:17 -07:00
Andrew Chen 1f9b8ea169 Merge pull request #3883 from kubernetes/chenopis-3767-patch
Reimplement #3767
2017-05-23 14:04:25 -07:00
Andrew Chen fcfc676786 Reimplement #3767 2017-05-23 13:56:57 -07:00
Andrew Chen b87cc6e2b5 Merge pull request #3882 from kubernetes/chenopis-sitemap-patch2
Remove aux sitemap
2017-05-23 13:50:07 -07:00
Andrew Chen 1cb24df4d6 Remove aux sitemap 2017-05-23 13:21:15 -07:00
Michail Kargakis 1d12a4bc89 Minor fixes in the Deployment doc
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-23 10:51:06 +02:00
Andrew Chen e99e8aa2cc Merge pull request #3874 from jimrollenhagen/carabou
Trivial typo fix
2017-05-22 15:16:48 -07:00
Jim Rollenhagen 1a1afdf162 Trivial typo fix
s/Carabou/Caribou/ in the API access docs.
2017-05-22 18:12:42 -04:00
John Shanahan 4e28d9b8af Fixed typo under the Supervisord section 2017-05-22 14:15:06 -07:00
kshafiee 729e4b6897 Update addons.md (#3857)
* Update addons.md

Added CNI-Genie as another addon, i.e., CNI alternative.

* Update addons.md

Addressed the comment!
2017-05-22 14:12:15 -07:00
Josh Curl 50f2daa8d8 Fix indentation in ConfigMap usage example (#3867)
* Fix indentation in ConfigMap usage example

* Fix other example
2017-05-22 13:41:18 -07:00
Itamar Ostricher cd5e98a2dc Fix configMapRef indentation in envFrom clause
Fixes invalid YAML in example
2017-05-22 13:39:29 -07:00
Rick Sostheim 4bacc2419c trivial markdown changes to cleanup page rendering
inserted json body pretty printed for further clarity.
2017-05-22 13:38:59 -07:00
Roman S cdd28dd7f3 Adds GiantSwarm to solutions page (#3843)
* Adds GiantSwarm to solutions page

* Minor Giant Swarm related changes
2017-05-22 13:05:05 -07:00
anatoly techtonik 4af0bcd52e Update PULL_REQUEST_TEMPLATE.md
make delimiters fit issue width,
see https://github.com/kubernetes/kubernetes.github.io/pull/3859
2017-05-22 12:40:54 -07:00
Dan Winship a58afb2a2e Revert NetworkPolicy v1 docs (#3849)
* Revert "Update configure-namespace-isolation.md (#3758)"

This reverts commit a712b13a3b.

* Revert "Add Configure Namespace Isolation task"

This reverts commit f050c4cc57.

* Revert "Update networkpolicies.md (#3755)"

This reverts commit 15ca8f0b2f.

* Revert "Update NetworkPolicy docs for v1"

This reverts commit 3a158ecf296e3009db1284d69849e7e24479245a.
2017-05-22 11:54:57 -07:00
Michail Kargakis 71ff265e47 Remove stray prompt from deployment docs
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-22 11:23:51 -07:00
Jesse Seldess 3a8a465028 WTD: Projected volumes (#3856)
* Update projected volume task

- Rename file
- Build out steps
- Create separate yaml file for pod configuration
- Add new page to the sidenav

* Add projected volume type to volumes concept page
2017-05-22 10:57:42 -07:00
Steve Perry f58b3d11d9 Remove and redirect: user-guide/application-trouble. (#3855) 2017-05-19 13:02:31 -07:00
Steve Perry 3149946d6a Remove and redirect: getting-started-guides/docker. (#3854) 2017-05-19 12:00:35 -07:00
Steve Perry d4cbd968fd Remove and redirect: getting-started/...cloud-controller. (#3853) 2017-05-19 11:42:31 -07:00
Steve Perry 10434a0484 Remove and redirect: user-guide/application-introspection (#3848)
* Remove and redirect: user-guide/application-introspection

* Remove and redirect: user-guide/debugging-services.
2017-05-19 10:40:38 -07:00
Steve Perry a02a577082 Remove and redirect: admin/cluster-trouble. (#3839) 2017-05-18 22:29:20 -07:00
Steve Perry e2bc3491a0 Remove and redirect: api. (#3838) 2017-05-18 19:11:28 -07:00
Steve Perry 4a6cd30b2a Remove and redirect: Debugging Pods and Replication Controllers. (#3837) 2017-05-18 19:03:19 -07:00
Steve Perry 76976b2976 Remove and redirect: prereqs. (#3836) 2017-05-18 18:55:14 -07:00
Steve Perry 18ccf43021 Update link: user-guide/application-troubleshooting. (#3834) 2017-05-18 18:16:31 -07:00
Andrew Chen 6a7c312867 Update links in home, header, footer, whatisk8s (#3833)
* home page, header, footer

* docs/whatisk8s

* /docs/user-guide/compute-resources/

* /docs/concepts/overview/what-is-kubernetes.md
2017-05-18 16:50:06 -07:00
craigbox ec4bb7ecef Change header order to "Concepts, Tasks, Tutorials"
https://kubernetes.io/docs/home/ suggests:

Concepts, Tasks, and Tutorials

> The Kubernetes documentation contains a number of resources to help you understand and work with Kubernetes.
> Concepts provide a deep understanding of how Kubernetes works.
> Tasks contain step-by-step instructions for common Kubernetes tasks.
> Tutorials contain detailed walkthroughs of the Kubernetes workflow.

This is a logical order and I've rearranged the header to match.
2017-05-18 14:50:06 -07:00
Andrzej Wasylkowski 46133af83f Added a note about the need to have a cluster set-up to Kubernetes 201. 2017-05-18 14:49:20 -07:00
Stevo Slavić e1229f1230 Update link to Headless Services concept 2017-05-18 14:48:12 -07:00
Xiaoyu Zhang 9e6df026c4 Delete a meaningless link
The link direct to its own section. There is not meaningful.
2017-05-18 14:47:03 -07:00
nique905 95e12c8c07 Update pick-right-solution.md (#3821)
Adding new Local-machine Solution - IBM Spectrum Conductor for Containers
2017-05-18 14:27:44 -07:00
Andrew Chen 7e23e44038 Address Issue #3827: break out Configuring Redis using a ConfigMap tutorial (#3829)
* Address Issue #3827: break out Configuring Redis using a ConfigMap tutorial

* format tweaks
2017-05-18 13:56:29 -07:00
devin-donnelly 6e4661f264 Merge pull request #3822 from philips/no-https-create
*: don't apply or create -f from http endpoints!
2017-05-18 12:38:28 -07:00
Brandon Philips 56ffe1644c *: don't apply -f from http endpoints!
k8s.io didn't always have https. But, now we do. We should fix this
immediately.
2017-05-17 20:15:28 -07:00
Brandon Philips 3b5bdc3f00 *: don't create -f from http endpoints!
k8s.io didn't always have https. But, now we do. We should fix this
immediatly.
2017-05-17 20:14:09 -07:00
Dan Winship 411ecca94d Clarify NetworkPolicy's "destination" podSelector a bit 2017-05-17 14:38:52 -07:00
Ahmet Alp Balkan 8b11f9ac40 secret.md: add base64 risk (#3791)
* secret.md: add base64 risk

Solves #3681.

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

* Update secret.md
2017-05-17 13:34:29 -07:00
Andrzej Wasylkowski 7e128d31cf Fixed Kubernetes 101 documentation
to mention that it is necessary to have the cluster setup first.
2017-05-17 13:29:02 -07:00
foxish 7669c9edac Long term fix for travis 2017-05-17 12:52:04 -07:00
Jordan Liggitt 8d597e8e23 Clarify when RBAC reconciliation is active 2017-05-17 11:41:58 -07:00
Jodie Putrino 145f4e64c7 Write the Docs: add doc for using configmap data in pods (#3780)
* new doc - using configmaps in pods

* fix style violation - remove command prompt

* Update configure-pod-configmap.md

Fixed the endcapture tag
2017-05-16 10:00:16 -07:00
Andrew Chen 72513483fa Add confirmation file 2017-05-15 22:08:33 -07:00
Kale Blankenship 79e0e594e6 Remove repeated words from configmap.md 2017-05-15 22:07:07 -07:00
Jesse Kinkead 16b331ae20 Remove beta warning about Jobs. 2017-05-15 22:06:30 -07:00
Andrew Chen cd3b5b30c2 Merge pull request #3808 from kubernetes/chenoips-sitemap-patch
Alt sitemap.xml
2017-05-15 21:56:56 -07:00
Andrew Chen 63ef9ae461 Alt sitemap.xml 2017-05-15 21:48:15 -07:00
Steve Perry 400bb5c8bb Move to Tasks: Core DNS Federation. (#3807) 2017-05-15 20:31:20 -07:00
Steve Perry f7c4466b22 Move to Tasks: Cluster Federation. (#3806) 2017-05-15 19:43:59 -07:00
Steve Perry 96831259aa Reorder Concepts TOC. (#3805) 2017-05-15 19:32:05 -07:00
Steve Perry bb57c9ad0c Move to Architecture section: Nodes. (#3804) 2017-05-15 19:22:06 -07:00
Ryan McGinnis 2c1f5b74f2 WtD: Picking the Right Solution, edit (#3781)
* WtD: Picking the Right Solution, edit

Fixes content of overview sitting too close to next section's heading.

* Update pick-right-solution.md

* Update pick-right-solution.md
2017-05-15 17:30:14 -07:00
Andrew Chen f27cc711cf Tweak formatting for PR #3763 2017-05-15 17:16:20 -07:00
Jared f940b709d9 access-clusters docs revamp (#3779)
* access-clusters docs revamp

Fix the accessing clusters docs, bring them into the right templates
and put them in the right parts of the site.

* Update proxies.md

* Update concepts.yml

* Update tasks.yml
2017-05-15 17:15:20 -07:00
Stephenie Swope 6baa409961 WriteTheDocs Update to the page (#3778)
* WriteTheDocs Update to the page 

Moved some detailed content from /docs/admin/accessing-the-api/ to this page. 
Moved ABAC mode info (with no changes) to https://kubernetes.io/docs/admin/authorization/abac/
Moved Webhook mode info (with no changes) to https://kubernetes.io/docs/admin/authorization/webhook/
Reorganized the page and tweaked the conceptual information.
Updated to match the page template here: https://kubernetes.io/docs/home/contribute/page-templates/

* Removed TOC

Removed TOC

* Update index.md

Fixed MD to add spaces between ## and the text
2017-05-15 17:13:33 -07:00
isa-bel f5b1203f2b Write the Docs - Add task template to romana-network-policy (#3763)
* AddAdd task template for romana-network-policy

* Add whatsnext section
2017-05-15 17:04:12 -07:00
Andrew Chen e2a63e75c8 Tweak formatting for PR #3775 2017-05-15 16:58:25 -07:00
paulbattagliag 0acc7f3996 Update ingress.md 2017-05-15 16:56:17 -07:00
Isabel JC 0b26becd2b Add task template for weave-network-policy 2017-05-15 16:48:57 -07:00
Wendy Shaffer 40b2e12eba Update install-kubectl.md (#3760)
* Update install-kubectl.md

Write the Docs:
Added Task template to the document.
Edited for clarity.

* Update install-kubectl.md

Write the Docs. Responded to review feedback: https://github.com/kubernetes/kubernetes.github.io/pull/3760#pullrequestreview-38008755

* Update install-kubectl.md

Write the Docs. Seeing if this makes the bulleted list render correctly.

* Update install-kubectl.md

Write the Docs. Markdown really doesn't seem to like that bulleted list there, so we'll just do it in sentence flow.
2017-05-15 16:44:55 -07:00
Stephenie Swope a882281a10 Update Authorization high-level overview
Stripped out details from the Authorization overview. Details to be updated and added to the Authorization page.
2017-05-15 16:43:46 -07:00
Steve Perry 187d97f8ed Move to Injecting section: Environment Variables. (#3801) 2017-05-15 14:54:25 -07:00
Steve Perry 9cca278d3b Move to Tasks: Cross-cluster Service Discovery. (#3800) 2017-05-15 14:06:34 -07:00
Steve Perry e280122a44 Move to Tasks: Tools for Monitoring. (#3799) 2017-05-15 13:34:41 -07:00
Steve Perry e0df06fded Fix redirects. (#3797) 2017-05-15 13:17:13 -07:00
Steve Perry 156519236b Consolidate federation topics. (#3796) 2017-05-15 12:12:47 -07:00
Steve Perry 31c6a9b747 Move to Tasks: Auth Across Clusters. (#3794) 2017-05-15 11:50:59 -07:00
Steve Perry f1ac46cab4 Move to Architecture section: Master Node Com. (#3793) 2017-05-15 11:35:44 -07:00
Steve Perry 225f1b775d Move to Tasks: Static Pods. (#3792) 2017-05-15 11:09:51 -07:00
Steve Perry 06c204a9f0 Move to Tasks: Cluster Management. (#3790) 2017-05-15 10:56:06 -07:00
Steve Perry ed8cf61f3f Move to Tasks: Access App Cluster. (#3789) 2017-05-15 10:21:26 -07:00
paulbattagliag b0ab3f94ee Update api-overview.md 2017-05-14 16:41:28 -07:00
paulbattagliag 15ca8f0b2f Update networkpolicies.md (#3755)
* Update networkpolicies.md

* Update networkpolicies.md
2017-05-14 16:33:31 -07:00
Claire Lundeby 5ceb764c80 Write the Docs: Moved to Concept page template & made style edits (#3766)
* Moved to Concept page template & made style edits

* Update federation.md
2017-05-14 16:32:13 -07:00
Wendy Shaffer a326f8ff17 Write the Docs: Adding template and editing 2017-05-14 16:08:30 -07:00
Ryan McGinnis 74b390a61a WtD: Style Guide
Adds section "Avoid Latin phrases"
- Guidelines for common latin phrases: e.g., i.e., etc.
2017-05-14 16:05:36 -07:00
Ryan McGinnis 6e4c5f1abd WtD: Picking the Right Solution (#3772)
* WtD: Picking the Right Solution

- Comprehensive edit for readability
- Fixes dead and redirecting links
- Fixes headings

* md format change
2017-05-14 16:03:02 -07:00
Andrew Chen 2ea01f58d0 Update cluster-administration-overview.md 2017-05-14 15:50:04 -07:00
paulbattagliag 0ba167b5e9 Update what-is-kubernetes.md (#3765)
* Update what-is-kubernetes.md

* Update what-is-kubernetes.md
2017-05-14 15:42:05 -07:00
Pheo 9640624d8c edited create-external-load-balancer.md to conform to template (#3746)
* refactor to new template

* refactor to new template

* fixed a missed header resize

* removed TOC substitute
2017-05-14 15:31:11 -07:00
geraldinewhitt 2f0d13a2e0 WTD (#3757)
Edits from genwhitt in Portland at WTD conference. Apply template, copyedit, apply style guide.
2017-05-14 15:10:50 -07:00
paulbattagliag a712b13a3b Update configure-namespace-isolation.md (#3758)
* Update configure-namespace-isolation.md

* Update configure-namespace-isolation.md
2017-05-14 15:04:54 -07:00
Andrew Chen e763168abd WtD: edit AppArmor (#3754)
* WtD: edit AppArmor

* WtD: edit AppArmor
2017-05-14 15:02:23 -07:00
isa-bel 0776f9d631 Docs - Calico NetworkPolicy (#3756)
* Add task template for calico-network-policy

* Add discussion section
2017-05-14 14:26:41 -07:00
Jodie Putrino b2c7a86bcb Write the Docs Writing day:
- edit /docs/tasks/configure-pod-container/configmap.md to use the task template
- move the Consuming ConfigMap in pods section to its own doc (coming in a separate PR)
2017-05-14 14:17:39 -07:00
Ryan McGinnis 86041a40a3 Merge pull request #3764 from kubernetes/ryanmcginnis-patch-2
WtD: Cluster Administration Overview
2017-05-14 14:07:00 -07:00
Ryan McGinnis 79cae9ada5 WtD: Cluster Administration Overview
Fixes typo
2017-05-14 14:04:20 -07:00
Ryan McGinnis be4b6d13f9 WtD: Cluster Administration Overview
Update cluster-administration-overview.md
2017-05-14 13:56:36 -07:00
Ryan McGinnis db5f30a4aa Update cluster-administration-overview.md
Fixes typos
2017-05-14 13:53:46 -07:00
Ryan McGinnis c76dbdda67 Merge pull request #3753 from kubernetes/ryanmcginnis-patch-1
Update cluster-administration-overview.md
2017-05-14 12:27:27 -07:00
Ryan McGinnis a36c1e9566 Update cluster-administration-overview.md
- Fixes a typo
- Fixes a dead link
2017-05-14 12:22:35 -07:00
Ryan McGinnis be64a24e42 WtD: Cluster Administration Overview
Update cluster-administration-overview.md
2017-05-14 12:16:28 -07:00
Ryan McGinnis a6e22fe80d Update cluster-administration-overview.md
Write the Docs
- Put article in Concept template
- Edited article: updated links, edited for readability, and updated titles of articles
2017-05-14 11:43:49 -07:00
Andrew Chen df96dc03ca WtD: AppArmor (#3743)
* WtD: apparmor

* add newline to separate feature tagging
2017-05-14 11:41:20 -07:00
Andrew Chen fcd906cc91 Merge pull request #3745 from kubernetes/chenoips-task-configure-namespace-isolation
Add Configure Namespace Isolation task
2017-05-14 11:19:52 -07:00
Andrew Chen f050c4cc57 Add Configure Namespace Isolation task 2017-05-14 11:13:31 -07:00
Andrew Chen 53a7982b62 Merge pull request #3744 from kubernetes/chenoips-feature-state-patch
Add newline to feature state templates
2017-05-14 11:00:09 -07:00
Andrew Chen 26b22eac9d Add newline to feature state templates 2017-05-14 10:54:17 -07:00
Steve Perry 0ce3686712 Fix front matter. (#3740) 2017-05-13 21:06:30 -07:00
Steve Perry 697e0d3574 Move and consolidate etcd topics. (#3739) 2017-05-13 20:54:58 -07:00
Steve Perry 6c01365c76 Move to Setup: Addons. (#3738) 2017-05-13 19:01:29 -07:00
cbatra 5aab4012c4 Update statefulset.md (#3732)
Following links were broken on the Stateful Set page

Link to "Force deleting Stateful Sets"
Link to Headless service.
Link to cluser domain
2017-05-12 15:37:47 -07:00
Jacob Beacham d286e4036b Mention alternate architectures for RPMs in kubeadm doc.
Now that we have new repositories to house RPMs for other architectures,
and are populating them with new releases, we should advertise them in
the kubeadm getting started instructions.
2017-05-12 15:31:25 -07:00
Andrew Chen 828455220b Merge pull request #3733 from kubernetes/chenoips-3631-patch
Fix typo to finish PR #3631
2017-05-12 15:30:06 -07:00
Andrew Chen e89dafe099 Fix typo to finish PR #3631 2017-05-12 15:25:51 -07:00
Guangya Liu 297c665eca Added example for pod preferredDuringSchedulingIgnoredDuringExecution. 2017-05-12 15:22:49 -07:00
Joshua Swaney 0fb2e07614 s/cloudprovider/cloud provider/ 2017-05-12 11:07:11 -07:00
zhangmingld 1779addc8d Symbol ")" is redundant (#3728)
Symbol ")" is redundant
2017-05-12 11:06:36 -07:00
Dan Winship a32d30c107 NetworkPolicy updates for v1 (#3721)
* NetworkPolicy clarifications

- For clarity, only use the word "policy" in reference to
  NetworkPolicies, not in reference to the isolation annotation.

- Drop a bunch of text related to the isolation annotation since
  there's only one interesting value so there's no reason to
  complicate things.

- Fix bad YAML indentation

- Misc rewording

* Update NetworkPolicy docs for v1
2017-05-11 13:26:32 -07:00
Kasper Bentsen d0b6757e6f Added missing close of function. 2017-05-11 11:26:11 -07:00
Sam Vilain 712dce6d82 Fix a broken link in "Installing Minikube"
Broken by kubernetes/minikube#1410
2017-05-11 11:25:20 -07:00
Mikhail Vasilenko 69c44a3996 typo fix 2017-05-11 11:24:07 -07:00
Jupp Müller 2e79fcbaa2 Fix broken github links to drivers.md 2017-05-11 11:23:30 -07:00
Andrew Chen 3c0c1eeaf9 Merge pull request #3722 from kubernetes/chenoips-1.6.3
change fullversion var for v1.6.3 release
2017-05-11 11:20:55 -07:00
Andrew Chen 0809e7a049 change fullversion var for v1.6.3 release 2017-05-11 11:13:59 -07:00
Steve Perry 0e7df470ee Hide token. (#3716) 2017-05-10 21:36:58 -07:00
zhangmingld d0a395e83e The kubelet flag "--config" has changed to be "pod-manifest-path" (#3692)
The kubelet flag "--config" has changed to be "pod-manifest-path" ,so
file "default-kubelet"should be changed.
2017-05-10 13:36:07 -07:00
Steve Perry 02c8689af5 New topic: Installing Minikube. (#3707)
* New topic: Installing Minikube.

* Refine.
2017-05-10 10:44:31 -07:00
Steve Perry 5d7bb8c7b2 Create Installing Tools section. (#3706) 2017-05-10 09:39:55 -07:00
Mike Bryant 14fa478c2d Remove SI comment
K is not a valid SI prefix
2017-05-10 09:29:13 -07:00
Charlie R.C 2aeffaefba fix typo in rbac.md 2017-05-10 09:28:06 -07:00
Nicolas Dextraze 642043cfe1 Fix missing = when setting api advertised address
Similar to the pod-network-cird= issue, with no = there is no immediate problem but it causes trouble along the way (i.e. I wasn't able to access the dashboard via kubectl proxy)
2017-05-10 09:26:02 -07:00
Jesse Haka c1b8664cb6 cinder storageclass, zone algorithm if not specified (#3693)
update aws+gce availability texts, the algorithm is not random
2017-05-10 09:25:05 -07:00
Steve Perry a0ed6254bd Add Dynamic Provisioning to TOC. (#3700) 2017-05-09 14:57:59 -07:00
Steve Perry d7d32000a5 Change title. (#3699) 2017-05-09 13:48:28 -07:00
Steve Perry 8be660ccd8 Move to Concepts: Admin Overview. (#3698)
* Move to Concepts: Admin Overview.

* Fix filename.
2017-05-09 13:32:48 -07:00
Steve Perry 59d9c2ec4f Net pol (#3696)
* Move to Admin section: Disruption.

* Move to Admin section: Net Policy.

* Add redirects.
2017-05-09 11:58:30 -07:00
Andrew Chen ef2c0920d3 Add feature state templates (#3680)
* Add feature state template

* tweak css

* change wording

* apply wording changes to alpha and beta

* tweak dialog css

* tweak code highlighting

* tweak dialog style

* set for_k8s_version default

* tweak dialog ul

* make init containers 1.5 beta for now

* set default dialog width

* revert a:visited color

* force code style

* simplify copy for alpha, beta, stable

* tweak code style

* fix beta dialog title

* fix dialog link a code

* remaining tweaks

* set a:visited color

* Address Steve's feedback

* rename dialog.md to feature-dialog.md

* remove bold from additional feature state text
2017-05-09 11:24:43 -07:00
Steve Perry ae991e8d60 Move to Admin section: Disruption. (#3695) 2017-05-09 10:42:16 -07:00
Steve Perry c0eb5e17ad Move to Tasks: Multiple chedulers. (#3694) 2017-05-09 10:08:26 -07:00
Michail Kargakis 8481c02496 Update deployment docs 2017-05-09 10:04:45 -07:00
Steve Perry f953d98eab Move to Tasks: Guaranteed Scheduling. (#3689) 2017-05-08 22:40:29 -07:00
Steve Perry 2b6f3ea7fe Change TOC order. (#3688) 2017-05-08 22:08:37 -07:00
Andrew Chen f01101d482 Merge pull request #3687 from kubernetes/chenopis-2858-patch
Patch for PR #2858
2017-05-08 22:03:12 -07:00
Andrew Chen 828bf0ac26 Patch for PR #2858 2017-05-08 21:27:35 -07:00
Haoran Wang 39b069a16c update the multi-scheduler doc (#2858)
* Add doc for multiple scheduler with leader election enabled

* address comments
2017-05-08 21:25:44 -07:00
Steve Perry 3a4a75bb53 Move to Admin section: CPU and Mem Limits. (#3686)
* Move to Admin section: CPU and Mem Limits.

* Fix TOC entry.
2017-05-08 19:30:59 -07:00
Steve Perry 34a71341eb Move to Tasks: Out of Resources. (#3685) 2017-05-08 19:12:27 -07:00
Steve Perry 1304506ac2 Move to Admin section: Quotas. (#3684) 2017-05-08 18:35:53 -07:00
Andrew Chen e49d9d1c4d Merge pull request #3682 from kubernetes/chenopis-pr-template-patch
Add reminder to PR template for 1.7
2017-05-08 15:40:00 -07:00
Andrew Chen 56f4168847 Add reminder to PR template for 1.7 2017-05-08 15:26:14 -07:00
Steve Perry 177c96da73 Move to Tasks: ThirdPartyRes. (#3679)
* Move to Tasks: ThirdPartyRes.

* Change title.
2017-05-08 14:14:13 -07:00
Steve Perry 20ff36112a Move to Debug section: Auditing. (#3678) 2017-05-08 12:53:43 -07:00
Steve Perry eccd238b1c Move to debugging section: shell. (#3677) 2017-05-08 11:22:29 -07:00
Steve Perry 216856f0b9 Change title. (#3663) 2017-05-08 10:40:18 -07:00
Nicolas Dextraze 563241c4e5 Update kubeadm.md
Wasted hours today trying to get kubeadm working on a Ubuntu VM. The culprit is a missing = for the pod-network-cidr parameter to the kubeadm init command when using calico. Without it kube-dns refused to start, oddly enough pods had 10.244.0.0 network setup but somehow it was failing sending a request to destroy and recreate the pod.

Here's the events for the kube-dns pods if someone's interested.

Events:
  FirstSeen     LastSeen        Count   From                    SubObjectPath   Type            Reason          Message
  ---------     --------        -----   ----                    -------------   --------        ------          -------
  2m            2m              1       default-scheduler                       Normal          Scheduled       Successfully assigned kube-dns-3913472980-5xfzt to kube-master
  1m            1m              1       kubelet, kube-master                    Warning         FailedSync      Error syncing pod, skipping: failed to "CreatePodSandbox" for "kube-dns-3913472980-5xfzt_kube-system(3bd90f8c-33a8-11e7-8a23-080027ac04f3)" with CreatePodSandboxError: "CreatePodSandbox for pod \"kube-dns-3913472980-5xfzt_kube-system(3bd90f8c-33a8-11e7-8a23-080027ac04f3)\" failed: rpc error: code = 2 desc = NetworkPlugin cni failed to set up pod \"kube-dns-3913472980-5xfzt_kube-system\" network: Get https://10.96.0.1:443/api/v1/namespaces/kube-system/pods/kube-dns-3913472980-5xfzt: dial tcp 10.96.0.1:443: i/o timeout"

  1m    50s     6       kubelet, kube-master            Warning FailedSync      Error syncing pod, skipping: failed to "KillPodSandbox" for "3bd90f8c-33a8-11e7-8a23-080027ac04f3" with KillPodSandboxError: "rpc error: code = 2 desc = NetworkPlugin cni failed to teardown pod \"kube-dns-3913472980-5xfzt_kube-system\" network: connection is unauthorized"

  1m    9s      9       kubelet, kube-master            Normal  SandboxChanged  Pod sandbox changed, it will be killed and re-created.
  37s   9s      3       kubelet, kube-master            Warning FailedSync      Error syncing pod, skipping: failed to "KillPodSandbox" for "3bd90f8c-33a8-11e7-8a23-080027ac04f3" with KillPodSandboxError: "rpc error: code = 2 desc = NetworkPlugin cni failed to teardown pod \"kube-dns-3913472980-5xfzt_kube-system\" network: netplugin failed but error parsing its diagnostic message \"\": unexpected end of JSON input"
2017-05-08 10:31:22 -07:00
Eugene Pirogov 8260e7cd06 Fix a small typo 2017-05-08 10:26:16 -07:00
Rohit Agarwal fb26a395f0 ReplicationController: Fix typo. 2017-05-08 10:25:44 -07:00
Andrew Chen 71bf0f5e19 Merge pull request #3676 from kubernetes/chenopis-3673-patch
grammar nits
2017-05-08 10:20:53 -07:00
Andrew Chen 76fe741576 grammar nits 2017-05-08 10:10:47 -07:00
Mik Vyatskov 46ff287a87 Fix Elasticsearch logging manual 2017-05-08 10:07:17 -07:00
Andrew Chen ac377d663c Merge pull request #3650 from gyliu513/special-case
Highlight two special case for tolerations.
2017-05-08 10:01:01 -07:00
Guangya Liu 6ae88186aa Highlight two special case for tolerations. 2017-05-06 08:22:52 +08:00
yupengzte 6d49fc399d Doctype must be declare first
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-05-05 14:51:02 -07:00
Andrew Chen ab6d08c1e4 Merge pull request #3662 from kubernetes/chenopis-patch-1
Reimplement PR #3589
2017-05-05 14:49:31 -07:00
Andrew Chen 3426562878 Reimplement PR #3589
Implement change proposed in PR #3589.
2017-05-05 14:42:14 -07:00
anatoly techtonik 31746164e5 Explain that LXD containers run Docker containers inside (#3660)
* Explain that LXD containers run Docker containers inside

Fixes issue #3612

* implement feedback
2017-05-05 14:34:36 -07:00
Steve Perry db929e4e2b Move to Accessing Apps: List Containers. (#3661) 2017-05-05 14:26:23 -07:00
Olve S. Hansen 948d545737 Added sub-section about internal load balancers (#3136)
* Added sub-section about internal load balancers

* Title changed to
2017-05-05 14:16:38 -07:00
Tupin Laurent 507c29afeb Correct links to correct repository (#3430)
* Correct links to correct repository

Update prerequesites list

* Update url to Apache Cloudstack repo
2017-05-05 13:36:13 -07:00
Steve Perry daecd7213d Move StatefulSet topics. (#3659)
* Move StatefulSet topics.

* Fix toc paths.
2017-05-05 13:30:15 -07:00
Steve Perry cbe9501834 Change title of DNS topic. (#3657) 2017-05-05 11:21:04 -07:00
Steve Perry 3b6a566625 Move to Tasks: Service Access App. (#3655) 2017-05-05 10:44:21 -07:00
Steve Perry af9e003fb3 Move Dashboard to Accessing Apps. (#3654)
* Move Dashboard to Accessing Apps.

* Fix typo.
2017-05-05 10:15:29 -07:00
Kelly Campbell 6d606db9d4 Link to tutorial on how to update a StatefulSet 2017-05-05 09:34:08 -07:00
William Chang a6ac2a11ff Update the cluster deploy script path. 2017-05-05 09:33:10 -07:00
Xiaoyu Zhang ac9a2e678e fix a typo
"by default" may be fine
2017-05-05 09:10:11 -07:00
Andrew Chen 3205c11056 Merge pull request #3652 from marcelcorso/master
fix wrong addresses for mysql-statefulset.yaml and gce-volume.yaml
2017-05-05 09:09:42 -07:00
Marcel Corso dd438bc3c6 fix wrong addresses for mysql-statefulset.yaml and gce-volume.yaml 2017-05-05 13:40:19 +02:00
Steve Perry ca91dd2869 Fix yaml paths. (#3648) 2017-05-04 19:28:01 -07:00
Steve Perry 0f881b20d7 Path fix 3 (#3647)
* Fix yaml path.

* Fix yaml paths.
2017-05-04 18:49:44 -07:00
Steve Perry 76bd752c41 Fix yaml path. (#3646) 2017-05-04 18:24:00 -07:00
Steve Perry ccc615a353 Fix yaml path. (#3644) 2017-05-04 18:03:24 -07:00
Steve Perry 29790b232c Move to Tasks: Connect Front Back. (#3643)
* Move to Tasks: Connect Front Back.

* Fix paths.
2017-05-04 16:48:27 -07:00
Steve Perry 3996566963 Add note about Deployments. (#3642)
* Add note about Deployments.

* Fix typo.
2017-05-04 15:54:11 -07:00
Steve Perry 559c78c8b5 Move to Running Applications: Pet to Stateful. (#3640) 2017-05-04 14:03:31 -07:00
Andrew Chen 105942fdb4 Refactor tabs implementation (#3268)
* Refactor tabs implementation

* tidy head.html

* test jquery-ui tabs

* Initial tabs code refactor

* test liquid parsing

* test liquid stack

* move into tabs.html

* test jekyll tabs

* construct array

* test cleaner way

* add example content

* test split hack

* fix md

* add site.emptyArray

* set good defaults

* fix CSS

* cleanup li

* fix a href

* fix content tabs

* add space to default

* remove a href underline

* rename docs/tab-test.md to docs/tab-example.md

* fix skip toc check

* add assignees

* add comment to reference example

* add documentation to example

* escape md

* move demo to top, pretty it up

* add word

* tweak wording
2017-05-04 13:52:59 -07:00
Steve Perry 204aad82b1 Move to Tasks: Replicated Stateful. (#3639)
* Move to Tasks: Replicated Stateful.

* Fix toc entry.
2017-05-04 13:31:11 -07:00
Steve Perry 712c374379 Move to Tasks: Single-instance Stateful. (#3638) 2017-05-04 12:04:28 -07:00
Steve Perry fc533bea91 Combine topic on commands and args. (#3637)
* Combine topic on commands and args.

* Fix redirect.
2017-05-04 11:38:34 -07:00
Steve Perry 1cc0b4b93a Move topic to Inject Data section. (#3635) 2017-05-04 11:08:41 -07:00
Steve Perry 15bc72e475 Move topic to Injecting Data section. (#3634)
* Move topic to Injecting Data section.

* Fix path in TOC.
2017-05-04 10:43:17 -07:00
Andrew Chen 63c5621e47 Merge pull request #3633 from kubernetes/chenopis-3594-patch
Change link path
2017-05-04 07:30:11 -07:00
Andrew Chen 00f48aed80 Change link path 2017-05-04 07:25:24 -07:00
wujun8 5d83944c33 deprecated getting-started-guide on centos (#3594)
* deprecated getting-started-guide on centos

fix https://github.com/kubernetes/kubernetes.github.io/issues/1613

* Reword thx to @chenopis
2017-05-04 07:21:13 -07:00
Vinit Mahedia 0e294acc78 skydns to kubedns rename documentation changes 2017-05-03 23:01:15 -07:00
Steve Perry 965dfd948a Remove ReplicationController tutorial. (#3628) 2017-05-03 18:10:06 -07:00
Steve Perry 1663f37f90 Move topic to Tasks. (#3627) 2017-05-03 17:44:23 -07:00
Steve Perry ede2648b28 Move topic to Injecting Data section. (#3626) 2017-05-03 16:31:55 -07:00
Steve Perry 6935b1c6a9 Move topic to Injecting Data section. (#3623)
* Move topic to Injecting Data section.

* Update include paths.

* Remove old file.
2017-05-03 14:20:05 -07:00
Steve Perry 7c1e0a95fb Move topic to Injecting Data section. (#3622)
* Move topic to Injecting Data section.

* Move included file.
2017-05-03 12:35:15 -07:00
Steve Perry 53eb49f080 Change title. (#3621) 2017-05-03 11:26:47 -07:00
Steve Perry 2442dc292f Move topic to Configuration section. (#3620)
* Move topic to Configuration section.

* Move included file.
2017-05-03 11:10:07 -07:00
Steve Perry f28c8376e0 Change title. (#3619) 2017-05-03 10:40:09 -07:00
Roberto Jung Drebes 3320d60ed3 update storageclass annotation docs for statefulsets (#3616) 2017-05-03 10:37:40 -07:00
Andrew Chen 5c43be1ef3 Merge pull request #3618 from kubernetes/chenopis-travis-patch-0503
Fix Travis CI
2017-05-03 08:47:12 -07:00
Andrew Chen 78cfc25c79 Fix Travis CI 2017-05-03 08:39:26 -07:00
Jiangzhao Lv b4e57df8a0 fix redirect link (#3568)
* fix redirect link

* use relative path instead of full URL
2017-05-03 08:22:28 -07:00
Steve Perry d021173027 Remove duplicate redirect. (#3613) 2017-05-02 18:34:32 -07:00
Steve Perry c849d1668d Fix typo in redirect. (#3611) 2017-05-02 17:14:06 -07:00
Andrew Chen 00615b930f Merge pull request #3606 from arthur0/master
Fixes broken links
2017-05-02 15:10:03 -07:00
Arthur Miranda d2de692a32 Fixes broken links 2017-05-02 18:12:48 -03:00
Aaron Prindle 4150fc8d7c Removed deleted links regarding minikube CLI 2017-05-02 12:34:34 -07:00
Ahmet Alp Balkan 598cefdc99 Add missing volumetype to pv doc (#3600)
Fixes #3575

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-02 12:33:44 -07:00
Ahmet Alp Balkan d3cc80f5e0 Fix broken link in HA doc with minikube (#3599)
Fixes #3570.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-02 12:33:20 -07:00
Ahmet Alp Balkan 5245ee55eb rolling-update: remove link to the doc itself
Fixes #3357. I'm removing this statement as it's not clear where it should
actually be pointing to...

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-02 12:16:10 -07:00
Ahmet Alp Balkan 742fd8a30b Link to 'why containers' in kubernetes-basics
Fixes #3472.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-05-02 12:15:36 -07:00
Marco Ceppi a5fa73e180 Updating Ubuntu based instructions and upgrades 2017-05-02 12:12:41 -07:00
Andrew Chen e95cac7597 Merge pull request #3602 from kubernetes/chenopis-daemonset-patch
Address Issue #3577
2017-05-02 12:10:44 -07:00
Andrew Chen 5d195b23c3 Address Issue #3577 2017-05-02 12:05:26 -07:00
Guangya Liu 7f52b9eb09 Added more explanation for nodeAffinity.
Explain more for how multiple nodeSelectorTerms and multiple
matchExpressions works.

Fixed #3345
2017-05-02 11:59:36 -07:00
Andrew Chen 1ed1472057 Merge pull request #3601 from foxish/patch-1
Update and fix travis tests (short-term)
2017-05-02 11:48:06 -07:00
Anirudh Ramanathan 3dc509026d Update and fix travis tests (short-term) 2017-05-02 11:42:51 -07:00
Andrew Chen f127f53415 Merge pull request #3593 from kubernetes/chenopis-tasks-patch
Address #3433 - update Tasks landing page
2017-05-01 15:43:12 -07:00
Andrew Chen 804a24d272 Address #3433 - update Tasks landing page 2017-05-01 15:37:29 -07:00
Oli Lalonde 69c6591418 Remove redundant, out of sync table of contents
This table of contents is redundant (it's also available from the side nav) and confusing (not clear if it's a copy of the side nav or contains additional information). Plus, it was out of sync with the actual table of contents (last section on GPU was missing). So, I think it's best to just remove it.
2017-05-01 14:23:38 -07:00
Andrew Chen 0401a68162 Merge pull request #3592 from saschagrunert/master
Update Init Container link
2017-05-01 10:43:26 -07:00
Sascha Grunert 043672b11f Update Init Container link 2017-05-01 19:34:32 +02:00
huikang 0f028c716a Update service.md 2017-05-01 10:24:14 -07:00
Everett Toews 937177b991 Link to appropriate docs for Automatic Mounting of Manually Created Secrets (#3571)
* Update link to Adding ImagePullSecrets to a service account

* Link to appropriate docs for Automatic Mounting of Manually Created Secrets

* Replace here w/ title of pages
2017-05-01 10:22:51 -07:00
supereagle cfaa556025 update kubectl apply doc for required resource name 2017-05-01 10:17:30 -07:00
jianglingxia 7de8cda84c jlx426 2017-05-01 10:15:25 -07:00
Stephen Schlie 5f03cfef66 Updating Canal URL (#3583)
Canal has undergone some updates and the should now point to the
k8s-install README
2017-05-01 10:10:51 -07:00
Andrew Chen 004abfe1d8 Merge pull request #3591 from kubernetes/chenopis-3572-patch
Grammar patch to #3572
2017-05-01 10:10:30 -07:00
Andrew Chen 15468eb442 Grammar patch to #3572 2017-05-01 10:07:15 -07:00
Andrew Chen 0624f8f211 Merge pull request #3582 from kubernetes/chenopis-kill-swagger
Remove swagger-ui from search index
2017-04-28 16:33:07 -07:00
Andrew Chen 8d48ab2a73 Remove swagger-ui from search index 2017-04-28 16:23:39 -07:00
Andrew Chen 78a13cebf5 Merge pull request #3581 from kubernetes/chenopis-v1_6_2
Update fullversion page variable
2017-04-28 16:18:05 -07:00
Andrew Chen 3d3f0ba1e8 Update fullversion page variable 2017-04-28 16:15:05 -07:00
Andrew Chen 2b625b3033 Merge pull request #3580 from kubernetes/chenopis-3572-patch
#3572 patch
2017-04-28 16:09:55 -07:00
Andrew Chen f1b00d086d Grammar nitpicks for #3572 2017-04-28 16:05:23 -07:00
Jun Xiang Tee fd3dcaaab6 Update init containers documentation with 1.6 syntax for YAML files (#3572)
* Syntax for Kubernetes version 1.6

Included 1.6 syntax change for declaration of init containers.

* Reorder services.yaml & add 1.5 syntax still works

* Corrected YAML headings & add syntax explanation
2017-04-28 15:59:09 -07:00
Andrew Chen 039b1b395c Merge pull request #3579 from kubernetes/chenopis-3365-redo
Reimplement PR #3365
2017-04-28 15:53:27 -07:00
Andrew Chen 8868c002ef Reimplement PR #3365 2017-04-28 15:48:13 -07:00
Charlie R.C 5e384ab531 remove abandoned environment variable 2017-04-28 15:43:17 -07:00
Josh Wood c28ffd9cca getting-started/aws: Update links to AWS deploy tools
- Update link to kube-aws at Incubator
- Add link to tectonic-installer for aws
2017-04-28 15:38:39 -07:00
Jun Xu d178aa22ec fix typo 2017-04-28 15:22:07 -07:00
xilabao fcecf1b7ed fix impersonate in authorization 2017-04-28 15:21:31 -07:00
Andrew Chen 8d1995beb0 Merge pull request #3578 from kubernetes/chenopis-del-101-201
Deprecate Kubernetes 101 and 201
2017-04-28 15:20:44 -07:00
Andrew Chen c3efda3b97 Deprecated Kubernetes 101 and 201 2017-04-28 15:15:18 -07:00
Andrew Chen ee74993fa4 Refactor Troubleshooting (#3564)
* Refactor Troubleshooting

* reorder ToC

* Move troubleshooting into Home ToC
2017-04-28 14:53:12 -07:00
Andrew Chen 42e2b88498 Merge pull request #3574 from kubernetes/chenopis-home-patch1
Cleanup Home landing page
2017-04-28 13:36:51 -07:00
Andrew Chen d4dca09b12 Cleanup Home landing page 2017-04-28 13:32:08 -07:00
xiangpengzhao edaafe493a Cleanup deprecation-policy 2017-04-28 10:36:03 -07:00
Andrew Chen c0d926d550 fix link on Reference page (#3565) 2017-04-28 10:06:14 -07:00
craigbox 88f83fd49a Federation service discovery doc fixes (#3560)
* Fix rendering issue in federation doc

See odd line break in "Discovering a federated service" in https://kubernetes.io/docs/concepts/cluster-administration/federation-service-discovery/#discovering-a-federated-service

* Update federation-service-discovery.md

Fix some egregious table formatting also

* Update federation-service-discovery.md
2017-04-27 15:55:34 -07:00
guangxuli a562a36c39 the proposal and api link should be updated 2017-04-27 15:13:08 -07:00
Eric Chiang 8b99043839 rbac: document resourceNames and note they can't be used for creates 2017-04-27 15:07:07 -07:00
Clenimar Filemon d3242d6a23 Fix formatting issues in federated ingress docs 2017-04-27 15:04:03 -07:00
Andrew Chen 5462769c4a Merge pull request #3563 from kubernetes/chenopis-webmaster-verification
add site verification file
2017-04-27 14:38:52 -07:00
Andrew Chen b6e85226c8 add site verification file 2017-04-27 14:17:09 -07:00
Andrew Chen 629e07b997 Merge pull request #3562 from ahmetb/downward-fix
Fix broken downward API link
2017-04-27 13:01:28 -07:00
Ahmet Alp Balkan 0cd5e2179d Fix broken downward API link
Fixes #3561.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-27 12:58:22 -07:00
Andrew Chen 6fe67a6579 Refactor robots.txt (#3534)
* Test robots.txt

* refactor robots.txt to use /*

* clarify note

* verified and cleaned up robots.txt entries

* remove unnecessary wildcards
2017-04-27 12:36:29 -07:00
Hoat Le f428116387 Use pipeline to remove new line char (#3458)
When -w option is not available for base64, for example, when using alpine Docker image.
`echo -n "<text>" | base64 | tr -d '\n'` should be used, it works better.
2017-04-27 09:35:38 -07:00
Ahmet Alp Balkan a9ca41e8ac gce.md: update kubectl instructions, remove bash completion instructions (#3477)
* Remove bash completion from gce.md

Bash completion instructions do not belong to this guide. (ref: #3476)

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

* Update kubectl installation instructions on gce.md

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-27 08:52:01 -07:00
Steve Perry 92b6057d9c Deprecation complete: secrets/index ... (#3554) 2017-04-26 17:13:34 -07:00
Steve Perry b37b5d1957 Deprecation complete: ingress ... (#3553) 2017-04-26 16:49:38 -07:00
Steve Perry bec1ee86ce Deprecation complete: replicasets (#3552) 2017-04-26 15:09:02 -07:00
Steve Perry e98619b0d9 Deprecation complete: federation/daemonsets ... (#3551) 2017-04-26 14:13:54 -07:00
Steve Perry 9fd06cdc95 Deprecation complete: node-problem ... (#3550) 2017-04-26 13:53:19 -07:00
Steve Perry cb04127bd1 Deprecation complete: master-node-communication ... (#3548) 2017-04-26 12:29:33 -07:00
Ahmet Alp Balkan 49c14f2d61 remove Federation API from docs/reference home
This topic is not yet important enough to list exhaustively on /docs/reference.
Also the links are broken anyway. Fixes #3535.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-26 10:50:11 -07:00
Jakob Jarosch 5d5597bf7d Add snippet to list all secrets currently in use 2017-04-26 10:47:53 -07:00
Steve Perry 61c1605c27 Deprecation complete: etcd ... (#3543) 2017-04-26 08:24:44 -07:00
Steve Perry 4d990ef6ef Deprecation complete: namespaces/walkthrough ... (#3539) 2017-04-25 20:50:33 -07:00
Steve Perry aeb1ada001 Deprecation complete: admin ... (#3538) 2017-04-25 20:31:45 -07:00
Steve Perry 80a2fff4dc Deprecation complete: gpus ... (#3537) 2017-04-25 20:09:38 -07:00
Steve Perry f83c5874a8 Deprecation complete: container-environment ... (#3536) 2017-04-25 18:03:58 -07:00
Steve Perry ecae0f436c Deprecation complete: multi-container ... (#3533) 2017-04-25 16:50:07 -07:00
Steve Perry 5e3a0f555c Deprecation complete: jobs/expansions ... (#3532) 2017-04-25 15:44:22 -07:00
Xiaoyu Zhang 968cc459f4 configmap.md: add v1.6 reminding (#3511)
* configmap.md: add v1.6 reminding

configmap.md: add v1.6 reminding

* update configmap-envfrom

update configmap-envfrom
2017-04-25 15:34:11 -07:00
Steve Perry bca9551f9c Deprecation complete: jobs, work queue (#3531) 2017-04-25 14:30:48 -07:00
Clenimar Filemon b6eb379e1d Make the kubefed guide default for setting up a federation (#3523)
* Update federation setup guide link to kubefed

We no longer support federation setup scripts `federation.sh` and
`deploy.sh`. Update the main federation guide setup link accordingly, by
making kubefed guide the way to go.

* Update federation.md
2017-04-25 14:19:34 -07:00
Steve Perry 0dbed982a1 Dep 4 (#3529)
* Deprecation complete: net policy walkthrough

* Deprecation complete: net policy
2017-04-25 13:23:50 -07:00
Steve Perry 7c1766dde0 Deprecation complete: configmap. (#3526) 2017-04-25 13:05:36 -07:00
Steve Perry f27759a768 Deprecation complete: horizontal-pod-autoscaling (#3528) 2017-04-25 13:00:52 -07:00
mlambert890b bc21477164 April k8s Partner Registry updates - Part 2 of 2 (#3514)
* Add files via upload

* Update partner-script.js

* Add files via upload

* Update partner-script.js

* Add files via upload
2017-04-25 11:11:31 -07:00
nerdondon d638dfb3cf Switch limit-range to the new task template. Add supporting yaml files. 2017-04-25 10:45:05 -07:00
craigbox 128610c48d Fix cURL commands, which are broken across lines (#3506)
Copy and paste will now work.

(A couple of typos corrected also)
2017-04-25 10:43:50 -07:00
chenhuan12 d8117f1e38 fix the command output
fix the command output
2017-04-25 10:40:30 -07:00
chenhuan12 913b8f555e fix the command output
fix the command output
2017-04-25 10:39:21 -07:00
chenhuan12 b0e5c1f195 fix the command output
fix the command output
2017-04-25 10:39:00 -07:00
chenhuan12 507d9dff98 fix the command output
fix the command output
2017-04-25 10:38:44 -07:00
chenhuan12 b821397d0e fix the command output
fix the command output
2017-04-25 10:38:29 -07:00
chenhuan12 073220ffa5 fix the command output
fix the command output
2017-04-25 10:38:11 -07:00
chenhuan12 192e08aeb9 fix the command output
fix the command output
2017-04-25 10:37:54 -07:00
Andrew Chen 2f51937983 docs migration: Container Lifecycle Hooks into Concepts (#2564)
* initial commit for structure

* migrate Container Lifecycle Hooks and related files to Concepts

* update Concepts ToC

* fix formatting

* Formatting tweaks

* comment out What's next

* remove What's next

* Begin rewrite of container-lifecycle-hooks.md

* incremental update to edit

* Split Container Lifecycle Hooks into container-lifecycle-hooks.md and container-environment.md; change all referring links.

* Add concept template to volumes.md and images.md

* Apply changes for steveperry-53 feedback.

* fix format issue

* tweak formatting

* fix Concepts ToC

* update links

* add back changes to Concepts ToC

* fix a link

* update links
2017-04-25 10:36:59 -07:00
Steve Perry b38c79dde8 Deprecation 22 (#3512)
* Deprecation complete: whatis k8s ...

* Fix redirect source.

* Deprecation complete: sharing-clusters ...
2017-04-24 20:35:01 -07:00
Steve Perry 184ed9429f Deprecation complete: whatis k8s ... (#3510)
* Deprecation complete: whatis k8s ...

* Fix redirect source.
2017-04-24 19:46:40 -07:00
Steve Perry fee12cc272 Remove and redirect User Guide index page. (#3509) 2017-04-24 17:27:08 -07:00
Steve Perry e92bd5833c Remove Guides from top nav. (#3508) 2017-04-24 16:22:02 -07:00
Steve Perry 0d938e623f Deprecation phase 2: configmap/index.md ... (#3507) 2017-04-24 15:42:22 -07:00
Rob Scott 0bed147f87 Updating Liveness and Readiness Docs (#3494)
* adding documentation for TCP checks, replacing "discussion" section with more detailed "configuration" section, other small tweaks

* some line breaks and a small tweak

* tweaking config section

* fixing problems with http get field descriptions, more detailed TCP example
2017-04-24 15:32:40 -07:00
mlambert890b 995c1323cd Add files via upload 2017-04-24 12:19:02 -07:00
mlambert890b c373b802b5 Update partner-script.js 2017-04-24 12:19:02 -07:00
xilabao 06aed032d2 fix wildcard in authorization 2017-04-24 12:16:05 -07:00
Darren Mutz c43bfac582 dm - Fix some wording (#3491) 2017-04-24 11:12:59 -07:00
Cristian Todea 45d17eb8c8 pick-right-solutions.md
Centos bare metal installation guide uses flannel as overlay network, but table at pik-right-solutions.md says it uses "none".
2017-04-24 11:12:28 -07:00
xilabao 7d15d52525 add attention to kubelet config 2017-04-24 11:11:39 -07:00
Brendan Burns 7c549aeeb9 Add some more depth to the 3rd party resource documentation. 2017-04-24 11:10:28 -07:00
Joe Beda 343d731370 Include kubeadm in pick solutions page 2017-04-24 11:07:50 -07:00
Xiaoyu Zhang ad3e55f554 update output of configmap.md
The output may lack some columns.
2017-04-24 11:05:12 -07:00
zhangxiaoyu-zidif 86ecbd2fe8 fix broken link:api-reference 2017-04-24 11:04:51 -07:00
Richard E. Silverman eb2fe3815d fix typo 2017-04-24 10:57:50 -07:00
Damien Leflon 6abd5c0862 Update kubeadm.md
Fix a little typo
2017-04-24 10:57:11 -07:00
chenhuan12 8b80216ab1 fix typo
fix typo
2017-04-24 10:56:46 -07:00
chenhuan12 79a1fd19a9 fix typo
fix typo
2017-04-24 10:55:59 -07:00
Andrew Chen a7376febac Merge pull request #3487 from crassirostris/stackdriver-logging-docs-fix
Fix file names for Stackdriver Logging page
2017-04-24 10:45:33 -07:00
Mik Vyatskov 2e2712e05b Fix file names for Stackdriver Logging page 2017-04-21 11:23:04 +02:00
Charlie Drage 8ff1959f16 Update Kompose documentation
Updates the page with new installation details as well as some updated
fixes (spelling errors, outdated information, etc.)
2017-04-20 17:33:25 -07:00
Didier Roche 62d4745f0d Replace with new service url
The headless service page url has moved.
2017-04-20 14:55:41 -07:00
Peter Lee 7697eb5146 Update link 2017-04-20 14:53:53 -07:00
Drinky Pool 165fc0998b fix typo
fix typo
2017-04-20 14:53:20 -07:00
Ahmet Alp Balkan 55583b8f1b Modify title of Downward API guide
DownwardApiVolumeFile is only an API term and the actual concept is the
Downward API.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-20 14:52:48 -07:00
Mik Vyatskov 59e4200afd Add documentation for configuring Stackdriver Logging agents 2017-04-20 14:02:53 -07:00
Andrew Chen 0ee3235676 Chenopis 3436 patch (#3480)
* Remove the docker-multinode getting started guide

* add entries to skip_toc_check.txt
2017-04-20 13:59:02 -07:00
Andrew Chen aec07548ad Merge pull request #3258 from jbeda/old-kubeadm
Document how to access kubeadm 1.5.
2017-04-20 13:21:05 -07:00
Joe Beda 27f972427e Document how to access kubeadm 1.5.
Fixes #3127
2017-04-20 13:08:53 -07:00
Marc Sluiter 88212bdfa9 Added note about Docker credentials store (#3456)
* Added note about Docker credentials store

Docker might use a credentials store when logging in to docker repositories, see https://docs.docker.com/engine/reference/commandline/login/#credentials-store. In that case you don't find the `auth` token in the `config.json` file. I added a note that this might happen, in order to prevent confusion.

* added "NOTE:" to the Docker credentials store note

as suggested in PR review
2017-04-20 13:08:41 -07:00
Andrew Chen 704c8dbf0f Fix typo in etcd-upgrade.md 2017-04-20 13:04:59 -07:00
Andrew Chen 90070474d4 Reference ToC refactor (#3427)
* Reference ToC refactor

* Move Federation into Reference

* Fix ToC, add deprecation notice

* Fix Reference ToC

* tweak ToC

* Move content into Reference

* touch up kubectl

* fix ToC syntax error

* remove resources-reference docs

* change kubectl section name

* adjust page titles

* create Command-Line Tools section

* Move Federation API out to top level

* remove extensions/v1beta1 definitions

* rewrite Kubernetes API in Concepts in a later PR

* Add jbeda to Kubernetes API Overview page for reviews.

* incorporate feedback

* remove /docs/federation

* move around copy

* cleanup reference landing page

* update reference landing page
2017-04-20 13:04:32 -07:00
Will Sean Don e648c764ab Migrate to new task template (#3442) 2017-04-20 12:55:32 -07:00
Andrew Chen 830adcb3cc Merge pull request #3474 from kubernetes/chenopis-1.6-merge-patch1
Review conflicts from 1.6-release/master merges
2017-04-20 11:00:33 -07:00
Andrew Chen cb9cff59db Review conflicts from 1.6-release/master merges 2017-04-20 10:52:04 -07:00
Harsh Choudhary 800f1b588d Correct secret creation command
Private Registry FQDN also needs to be included in secret creation, otherwise Kubernetes will not be able to pull images.
2017-04-19 14:36:52 -07:00
Ahmet Alp Balkan b17c1e6b82 update-imported-docs.sh script improvements (#3446)
- avoiding cloning the full history of k8s repo, there doesn't seem to be any
  difference (--depth=1 gives the same result and fetched branches are not
  used in this script)
- quoting around variables and add '--' to some commands to separate positional
  arguments
- using subshells instead of pushd/popd stuff, easier to read IMO
- added 'set -o errexit', couldn't add 'set -o pipefail'. For some reason when
  I enable pipefail, it produces a vastly different output but I don't see any
  errors in the output.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-19 14:35:10 -07:00
Sahdev P. Zala 8bec7d7c8a Create reference link for IBM Bluemix Container Service
Create a documentation link for IBM Bluemix Container Service similar to
GCE and Azure. Also rename Softlayer references to Bluemix.

Co-Authored-By: Xavier Loup <xavier.loup@fr.ibm.com>
2017-04-19 14:32:24 -07:00
chenhuan12 cba09b7b70 fix typo
fix typo
2017-04-19 14:27:13 -07:00
Anirudh Ramanathan 8ccd40e661 Add example PDB definition (#3454)
* Fix pdb docs

* Addressed comment
2017-04-19 14:26:35 -07:00
Ahmet Alp Balkan 1acf620458 Add link to /docs/reference from API overview guide (#3452)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-19 14:23:19 -07:00
Artem Vysotsky 73d9327c3f Update logging-stackdriver.md 2017-04-19 14:16:44 -07:00
Mike Danese 4f0afc2fa7 use more up to date docker package 2017-04-19 14:09:54 -07:00
Andrew Chen e4fcdacb4d Merge pull request #3463 from kubernetes/chenopis-3438-patch
Minor patch changes to PR #3438
2017-04-19 14:08:28 -07:00
Andrew Chen 8f872afcd7 Minor patch changes to PR #3438 2017-04-19 12:25:45 -07:00
PaulJuliusMartinez 7f0294c579 Update User Guide and Admin links to point to new resources. (#3438)
* Update links to outdated user-guide and admin docs

* Add script for updating outdated links.

* Update regex to include init-containers file.

* Pull upstream, rewrite links in and to namespaces walkthrough.
2017-04-19 10:56:47 -07:00
tanshanshan 1592494620 Update labels.md 2017-04-19 10:51:32 -07:00
Xiaoyu Zhang 187a681df7 add a shell script of PATCH (#3293)
add a  shell script of PATCH
2017-04-19 10:37:53 -07:00
chenhuan12 d94335b17a fix typo
fix typo
2017-04-19 10:34:32 -07:00
Steve Perry 38395e7b53 Move Jobs under Controllers. (#3453)
* Move Jobs under Controllers.

* Change title.
2017-04-18 20:04:48 -07:00
Steve Perry e90ba44bb8 Move etcd topic from Storage to Cluster Admin. (#3450)
* Move etcd topic from Storage to Cluster Admin.

* Fix type.
2017-04-18 17:24:54 -07:00
Steve Perry 49926988bd Fix duplicate Storage heading. (#3447) 2017-04-18 15:04:07 -07:00
Andrew Chen 852f1fe4a9 Merge pull request #3445 from ryanmcginnis/patch-2
`--apiserver-advertise-address` typo
2017-04-18 13:31:10 -07:00
Ryan McGinnis a8646ace75 Update kubeadm.md
- Running `--api-advertise-address` returns unknown flag error
- `--apiserver-advertise-address` is the correct command, so this must have been a typo
2017-04-18 12:59:40 -07:00
Bryan Boreham 1879e0a6b5 Add Weave Net as an option for ARM installs 2017-04-18 10:21:39 -07:00
haoyuan 2a5148437c update the glusterfs provisioner in persistent-volumes.md 2017-04-18 10:19:04 -07:00
Ahmet Alp Balkan 626bdd1f3c kubefed tutorial: add creating the default ns (#3105)
Currently kubefed does not create the default namespace, therefore anyone
following this doc today will hit this issue. Adding a few comments to bridge
that gap until the bug is fixed.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-17 15:23:41 -07:00
Balu Dontu 59c37ec48d vSphere Storage Policy Based Management for Containers orchestrated by vSphere 2017-04-17 14:48:58 -07:00
Steve Perry 90be2b2dd2 Move Guide topics: Namespaces. (#3437) 2017-04-17 12:56:24 -07:00
Oli Lalonde e1afcde13a Update scale-intro.html
Convert to new links
2017-04-17 09:26:01 -07:00
Xiaoyu Zhang fbfafc9738 Fix broken link:scheduling-gpus.md (#3423)
* Fix broken link:scheduling-gpus.md

Fix broken link:scheduling-gpus.md

* add link anchor

add link anchor
2017-04-17 09:17:39 -07:00
Xiaoyu Zhang b3aeab2f21 delete replicated info (#3425)
delete replicated info
2017-04-16 22:36:42 -07:00
Will Sean Don bb760d9ed2 Migrate federated deployment task to new template (#3432)
* Migrate to new task template

* Add prereq template for tasks and tutorials regarding federated clusters
2017-04-16 22:33:55 -07:00
Xiaoyu Zhang 10b4afe20f Fix broken link:determine-reason-pod-failure.md
Fix broken link:determine-reason-pod-failure.md
2017-04-16 22:24:39 -07:00
Xiaoyu Zhang 5a05c52a8e Fix broken link:pull-image-private-registry.md
Fix broken link:pull-image-private-registry.md
2017-04-16 22:24:01 -07:00
shashidharatd 8aa078ca16 Setting up CoreDNS as DNS provider for Cluster Federation 2017-04-16 22:16:46 -07:00
chenhuan12 fb394d60de fix the command output (#3405)
* fix the command output

fix kubectl get nodes output

* Update manual.md
2017-04-16 22:14:27 -07:00
Steve Perry 715f8f3382 Remove extraneous topic. (#3428) 2017-04-14 18:49:53 -07:00
Xiaoyu Zhang 586fd39d6d Fix broken link:assign-pod-node.md
Fix broken link:assign-pod-node.md
2017-04-14 16:17:53 -07:00
Xiaoyu Zhang 814392dcc9 Fix links:authenticate-across-clusters-kubeconfig.md
Fix links:authenticate-across-clusters-kubeconfig.md
2017-04-14 16:17:21 -07:00
Xiaoyu Zhang 9b1b027c97 Fix broken links:manage-deployment.md
Fix broken links:manage-deployment.md
2017-04-14 16:16:39 -07:00
Xiaoyu Zhang d26f6774d3 Fix broken link:node.md
Fix broken link:node.md
2017-04-14 16:15:10 -07:00
Xiaoyu Zhang d62c493bb0 Fix broken link:daemonset.md
Fix broken link:daemonset.md
2017-04-14 16:11:46 -07:00
Andrew Chen 15f724223e Cleanup, simplify /js/redirect.js (#3417) 2017-04-14 16:07:46 -07:00
Xiaoyu Zhang a8d0bacd4e Fix broken link:replicaset.md
Fix broken link:replicaset.md
2017-04-14 15:58:41 -07:00
Xiaoyu Zhang 4fb32e03a7 Fix broken link:walkthrough.md
Fix broken link:walkthrough.md
2017-04-14 15:58:08 -07:00
Xiaoyu Zhang cb042d45b2 Fix broken link:kubeadm.md
Fix broken link:kubeadm.md
2017-04-14 15:57:41 -07:00
Marcelo Costa 0bcf4488f0 Fixing typo 2017-04-14 15:55:09 -07:00
Xiaoyu Zhang b9069cb2fb Fix broken links:gce.md
Fix broken links:gce.md
2017-04-14 15:44:39 -07:00
houjun 24e92bf8a0 The URL of [node affinity] is wrong
[node affinity] should link to
/docs/concepts/configuration/assign-pod-node/.
2017-04-14 15:43:46 -07:00
Steve Perry 3e4c2bbbd9 Experiment: Redirect using only redirects.js. (#3413) 2017-04-14 14:02:17 -07:00
Steve Perry a1841510fb Update robots file. (#3410) 2017-04-14 12:03:26 -07:00
Steve Perry 1693e9552a Add "Disallow". (#3409) 2017-04-14 11:00:17 -07:00
Steve Perry d868bb9808 Deprecation phase 2: secrets, security-context ... (#3408) 2017-04-14 10:26:09 -07:00
Xiaoyu Zhang 43801eaa67 Fix broken links:scratch.md
Fix broken links:scratch.md
2017-04-14 10:10:03 -07:00
Andrew Chen 20413bf92b Merge pull request #3401 from zhangxiaoyu-zidif/patch-64
Fix broken link:aws.md
2017-04-14 10:08:11 -07:00
Xiaoyu Zhang 4c189a0340 Fix broken link:aws.md
Fix broken link:aws.md
2017-04-14 11:39:43 +08:00
Steve Perry b0e5322ebb Deprecation phase 2: daemons, deployments ... (#3396)
* Deprecation phase 2: daemons, deployments ...

* Remove files from TOC.

* Fix typos.
2017-04-13 17:21:45 -07:00
Steve Perry 7653d204cb Move Guide topic: kubeadm reference. (#3395) 2017-04-13 16:31:14 -07:00
Steve Perry ad5a6e911f Move Guide topics: Federation reference. (#3394) 2017-04-13 16:23:19 -07:00
Xiaoyu Zhang f649ae3142 Fix broken link:photon-controller.md (#3393)
* Fix broken link:photon-controller.md

Fix broken link:photon-controller.md

* Fix broken link:photon-controller.md

Fix broken link:photon-controller.md
2017-04-13 16:08:33 -07:00
ihutchin dee3def6c1 Moving etcd topic to Concepts. 2017-04-13 15:40:53 -07:00
Xiaoyu Zhang 956578f6df Fix broken link:web-ui-dashboard.md
Fix broken link:web-ui-dashboard.md
2017-04-13 15:36:41 -07:00
Xiaoyu Zhang 24856ca18b Fix broken link:secret.md
Fix broken link:secret.md
2017-04-13 15:35:53 -07:00
Xiaoyu Zhang e2a6db05d0 Fix broken links:deployment.md
Fix broken links:deployment.md
2017-04-13 15:35:37 -07:00
Janet Kuo f3bcd0fb28 Remove outdated verification files for webmasters tools 2017-04-13 15:34:58 -07:00
Steve Perry 5d2c37abd9 Move Guide topic: Upgrade etcd. (#3391) 2017-04-13 15:30:42 -07:00
Xiaoyu Zhang e7fba44d3d Fix broken link:service.md
Fix broken link:service.md
2017-04-13 15:10:03 -07:00
Andrew Seigner 07d05b7ceb fix spelling in hpa docs 2017-04-13 15:08:39 -07:00
Xiaoyu Zhang 25423c4811 Fix broken links:horizontal-pod-autoscale.md
Fix broken links:horizontal-pod-autoscale.md
2017-04-13 15:07:02 -07:00
Andrew Chen b8e1899244 Merge pull request #3386 from zhangxiaoyu-zidif/patch-54
Fix broken links:replicationcontroller.md
2017-04-13 15:04:19 -07:00
Xiaoyu Zhang d080966954 Fix broken links:replicationcontroller.md
Fix broken links:replicationcontroller.md
2017-04-14 06:00:44 +08:00
Steve Perry eff5ac2694 Move guide topics: Upgrade for 1.6. (#3383)
* Move guide topics: Upgrade for 1.6.

* Add missing word.
2017-04-13 13:48:07 -07:00
Steve Perry f0f34f3132 Move Guide topic: Reserve Compute Resources. (#3382) 2017-04-13 13:09:42 -07:00
Steve Perry bf2640e993 Move Guide topics: Resize cluster, DNS. (#3380) 2017-04-13 12:05:40 -07:00
Steve Perry 847853b913 Move Guide topic: Explorer. (#3378) 2017-04-13 11:46:15 -07:00
Steve Perry c505b2c744 Move Guide topic: dashboard. (#3377) 2017-04-13 11:35:50 -07:00
Steve Perry 8315ef689c Move Guide topic: Projected Volume. (#3376) 2017-04-13 11:01:04 -07:00
Ramkumar Devanathan 2e8633f1f4 Update list-all-running-container-images.md 2017-04-13 10:57:48 -07:00
Joseph Crail 2377ecf401 Remove extra word 2017-04-13 10:57:17 -07:00
Andrew Morgan 998786bbd8 Typo in tutorial text 2017-04-13 10:45:45 -07:00
bradtopol b6a5ed3676 Remove inconsistent use of addons (#3327)
This is the only place in all of the documentation where addon(s) is used
instead of addons. Even though with brackets it can be read as one or more
addons, it looks strange and inconsistent with the rest of the documentation.

Signed-off-by: Brad Topol <btopol@us.ibm.com>
2017-04-13 10:13:39 -07:00
Xiaoyu Zhang ae425a5b3d Fix broken link
Fix broken link
2017-04-13 10:12:43 -07:00
Xiaoyu Zhang 0dc25c1705 Fix broken links
Fix broken links
2017-04-13 10:12:17 -07:00
Peter Lee d4d64ea35e fix link 2017-04-13 10:05:30 -07:00
David Gageot cc122a4cd8 Fix outdated links on kubeadm.md (#3341)
Fixes #3318

Signed-off-by: David Gageot <david@gageot.net>
2017-04-13 10:04:49 -07:00
Xiaoyu Zhang 01fbe68dfc Fix broken links
Fix https://kubernetes.io/docs/tutorials/clusters/apparmor/
2017-04-13 10:03:53 -07:00
Xiaoyu Zhang a84779b05c Fix broken link:admission-controllers
Fix broken link:admission-controllers
2017-04-13 10:03:14 -07:00
Ahmet Alp Balkan 8892385bc2 Update /docs/samples to v1.6
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-13 09:49:22 -07:00
Guangya Liu 79090cc7cd failure-domain is no longer used in command line arg. 2017-04-13 09:48:57 -07:00
Cao Shufeng 3486513f77 comment TODO in service account page 2017-04-13 09:47:49 -07:00
Steve Perry 8f98a5d17f Fix path. (#3364)
* Fix path.

* Remove duplicate.
2017-04-12 19:00:48 -07:00
Steve Perry d28bff7284 Move Support topics. (#3363)
* Move Support topics.

* Fix toc entry.
2017-04-12 18:42:34 -07:00
Steve Perry e4cacf8e8a Move FAQs. (#3362) 2017-04-12 17:44:28 -07:00
Ahmet Alp Balkan 46bcb5b559 tools: list minikube as a Native Tool
Fixes #2491.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2017-04-12 17:01:00 -07:00
Peter Styk e5336f6dbf Added solution Madcore.Ai (#3336) 2017-04-12 17:00:12 -07:00
Xiaoyu Zhang c29a94d108 Fix broken link (#3343)
* Fix broken link

Fix broken link

* delete redundant tags

delete redundant tags
2017-04-12 16:48:14 -07:00
Eric Chiang e57a6cd5ae docs/admin: add docs on impersonation headers 2017-04-12 16:44:24 -07:00
Steve Perry 644b415bfe Remove file from TOC. (#3361) 2017-04-12 16:31:23 -07:00
Steve Perry 03088a909f Deprecation phase 2: debugging-pods-and-rep ... (#3337)
* Deprecation phase 2: debugging-pods-and-rep ...

* Fix title.
2017-04-12 16:13:38 -07:00
Xiaoyu Zhang 9e193bd5e9 Fix broken link (#3335)
Fix broken link
2017-04-12 16:07:00 -07:00
Steve Perry 1a169b4c0c Move Guide topic: Cron Jobs. (#3334) 2017-04-12 15:54:33 -07:00
Xiaoyu Zhang 501656585e Fix broken links (#3351)
Fix broken links
2017-04-12 15:46:21 -07:00
Xiaoyu Zhang 0f2d91e27d Fix broken link (#3347)
Fix broken link
2017-04-12 15:43:35 -07:00
Xiaoyu Zhang 10236a9c91 Fix broken link (#3346)
Fix broken link
2017-04-12 15:42:52 -07:00
Xiaoyu Zhang 965e095e52 Fix broken links (#3353)
Fix broken links
2017-04-12 15:42:04 -07:00
Xiaoyu Zhang da5308a10f Fix broken link (#3344)
Fix broken link
2017-04-12 15:41:32 -07:00
Xiaoyu Zhang b89cc11f12 Fix broken link (#3342)
Fix broken link
2017-04-12 15:35:37 -07:00
Xiaoyu Zhang b66ddb82f7 Fix broken link (#3359)
* Fix broken link

Fix broken link

* Update index.html
2017-04-12 15:32:29 -07:00
Andrew Chen 11ad654cf3 Minor grammar patch to PR #2989 2017-04-12 15:20:18 -07:00
Andrew Chen bbaa93bf8a Merge pull request #3356 from zhangxiaoyu-zidif/patch-69
Fix broken links
2017-04-12 15:08:41 -07:00
Xiaoyu Zhang 19d8e9372d Fix broken links
Fix broken links
2017-04-13 06:04:30 +08:00
divyenpatel 854ac8ac52 Adding minimal set of privileges required for vSphere Cloud Provider 2017-04-12 15:03:57 -07:00
Mike Danese 44f8466d09 tls: tell cluster admins how to enable the local signer 2017-04-12 14:35:51 -07:00
Guangya Liu 74d5af68ae Added hyperlink for [Interlude: built-in node labels]. 2017-04-12 14:23:31 -07:00
Craig Bilner 857c321f74 Update _base.sass 2017-04-12 14:22:16 -07:00
Wiiliam Chang 31d0bb1810 Add the windows support description. 2017-04-12 14:19:35 -07:00
nerdondon bb9e98cd43 Migrate guide to task template 2017-04-12 14:14:22 -07:00
nerdondon 889ea782c6 Update links to supporting yaml files and a link to imperative management
Fixes #3266
2017-04-12 14:07:23 -07:00
chenhuan12 e96d972bba fix typo
fix typo
2017-04-12 14:05:28 -07:00
chenhuan12 6978f1b21d fix typo
fix typo
2017-04-12 14:04:46 -07:00
Justin Johnson ac35e49d21 Minor grammar update 2017-04-12 13:59:21 -07:00
Brandon Philips d8bef3b1f0 docs: add CoreOS Tectonic to Azure getting started (#3307) 2017-04-12 13:58:31 -07:00
chenhuan12 8e8beebbf9 fix typo
fix typo
2017-04-12 13:55:39 -07:00
Guangya Liu 9996602345 Updated doc for critical pod.
Clarified that the rescheduler should be enabled by default as a
static pod for critical pod.
2017-04-12 13:50:47 -07:00
Suraj Narwade 72c08b089f Added kube-scheduler.md file
Fixes #3063
2017-04-12 13:47:13 -07:00
Gytis 324027450b Typo in storage docs
Fix typo in  storage docs storageClasName -> storageClassName
2017-04-11 16:40:05 -07:00
Xiaoyu Zhang 07f4aec19f Fix the 404 link
Fix the 404 link
2017-04-11 15:18:35 -07:00
chenhuan12 179498ae3e fix typo
fix command kubectl get pods -w -l app=nginx output
2017-04-11 15:08:42 -07:00
Steve Perry 2954d2b337 Move Guide topic: ConfigMap. (#3333) 2017-04-11 13:33:08 -07:00
Steve Perry 2e9ceea926 Move Guide topic: H Pod Autoscaling Walkthrough. (#3332)
* Move Guide topic: H Pod Autoscaling Walkthrough.

* Fix title
2017-04-11 13:06:51 -07:00
Steve Perry 8a0771131e Deprecation phase 2: kubefed. (#3331) 2017-04-11 11:44:55 -07:00
Steve Perry f666fda26e Deprecation phase 2: admin/index ... (#3330)
* Deprecation phase 2: admin/index ...

* Adjust TOCs.

* Add limitrange.
2017-04-11 11:21:58 -07:00
Steve Perry 91bb05c1a5 Deprecation phase 2: config-best-practices ... (#3328) 2017-04-11 10:42:43 -07:00
Steve Perry 5072b1cb91 Deprecation phase 2: container-environment ... (#3326) 2017-04-11 10:23:57 -07:00
Steve Perry b7b0443fac Deprecation phase 2: jobs (#3323)
* Deprecation phase 2: jobs

* Adjust reference TOC.
2017-04-11 10:08:35 -07:00
Steve Perry 6dba8d1696 Deprecation phase 2: managing-deployments ... (#3309) 2017-04-10 17:24:55 -07:00
Steve Perry 43639f166d Deprecation phase 2: kubectl binary_release ... (#3308)
* Deprecation phase 2: kubectl binary_release ...

* Adjust
2017-04-10 17:08:15 -07:00
Murad Korejo 19305b4043 Improvements to kubernetes-basics/expose-intro.html (#3103)
* Massive updates to expose-intro.html

Updates to the non-interactive tutorial on exposing apps via services

* more updates to expose-intro

* fixed broken link

* fixed some wording

* removed extra space

* sub backticks for code and newline

* added small legend to fist svg

* fixed svg scaling

* removed extra div
2017-04-10 16:40:52 -07:00
Vyacheslav Semushin 8aad74ec5b test/examples_test.go: validate docs/user-guide/pod-security-policy/psp.yaml (#3100) 2017-04-10 16:30:16 -07:00
xiangpengzhao f487ce2510 Move cron jobs to keep glossary in alphabetical order. 2017-04-10 15:40:33 -07:00
Ahmed Kamal 34154553ab Fix API server args
--runtime-config=batch/v2alpha1=true (=true) was missing causing API server to crash on 1.5.3
2017-04-10 15:37:43 -07:00
Andrew Chen 817fff899e Remove /redirects.rb (#3305)
Will restore when Prod uses Netlify
2017-04-10 15:12:09 -07:00
Steve Perry fe10be9677 Move Guide topic: kubelet Garbage Collection. (#3301) 2017-04-10 14:24:07 -07:00
Steve Perry a43d526860 Move Guide topic: Salt. (#3306) 2017-04-10 14:09:21 -07:00
Steve Perry 9b65c00368 Fix tilte. (#3304) 2017-04-10 13:55:34 -07:00
Andrew Chen 005fce03fe WIP: Cleanup /docs/contribute/ migration (#3278)
* WIP: Cleanup /docs/contribute/ migration

* #3278 Changing /docs/contribute to /docs/home/contribute (#3285)

* WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/

* WIP: #3278 modifying /docs/contribute/ paths within files to /docs/home/contribute/

* Revert "WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/"

This reverts commit a82efdee505d7a409cb3c86240cc0ee976a2e566.

* WIP: #3278 Adding redirects /docs/contribute/ /docs/home/contribute/

* WIP: #3278 Correcting syntax mistake in redirect.js

* WIP: #3278 Correcting another syntax mistake in redirect.js

* WIP: #3278 Removing deprecated files so redirects work

* Removing the #

* WIP: #3278 Updating pattern in redirect.js

* WIP: #3278 Removed the wrong # previously redirect.js
2017-04-10 13:24:14 -07:00
Steve Perry 299142058a Move Guide topic: HA Master. (#3303) 2017-04-10 13:19:56 -07:00
Steve Perry 34f5500cd9 Move Guide topic: Addons. (#3302) 2017-04-10 12:01:19 -07:00
Steve Perry a82a9d5dcc Update weave.md 2017-04-10 10:32:14 -07:00
Steve Perry 29ddf7140e Move Guide topics: NetworkPolicy. (#3298) 2017-04-10 10:26:28 -07:00
Steve Perry 92e5397113 Add topics to TOC. (#3283) 2017-04-08 10:45:41 -07:00
Andrew Chen b7fc1a9bfb Fix PR #3274 (#3276)
* Fix PR #3274

* remove unecessary template

* remove page title
2017-04-07 15:38:50 -07:00
Jared 60f744d4e3 Add clearer links to Kubernetes API migration pages 2017-04-07 14:03:50 -07:00
Vladimir Rutsky e3b8f3d718 fix link formatting 2017-04-07 14:02:44 -07:00
Steve Perry f02c10b679 Make a Setup section. (#3227) 2017-04-07 13:46:56 -07:00
Andrew Chen 0147c70ef6 Remove left nav from search page 2017-04-07 13:19:57 -07:00
Jared ae5e09027e Fixed link to page templates. 2017-04-07 13:02:28 -07:00
Andrew Chen 7285fcd1ac Corresponding changes to Reference landing page 2017-04-07 12:21:22 -07:00
Andrew Chen c3f063ca35 Fix Reference ToC links 2017-04-07 12:21:22 -07:00
Phillip Wittrock 7b1c8f8e91 Add warning about using kubectl replace 2017-04-06 15:05:38 -07:00
Andrew Chen 983f778c9b Merge pull request #3259 from ahmetb/nuke-swaggerui
Delete swagger-ui
2017-04-06 14:54:17 -07:00
Ahmet Alp Balkan 4bb4a9f1e2 Delete swagger-ui
Deleting swagger-ui and setting up a redirect to Reference section.

Closes #1924
Fixes #2220

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-06 14:34:37 -07:00
Andrew Chen 1fead33bd5 Merge pull request #3257 from kubernetes/chenopis-redirects-patch1
modify redirect.rb
2017-04-06 14:31:16 -07:00
Andrew Chen a4c53a98fe Fix redirect.rb 2017-04-06 14:19:27 -07:00
Ahmet Alp Balkan 9e20c67daf Remove kubectl installation instructions from release .tar.gz
Kubernetes release .tar.gz no longer provides binaries. So the existing
instructions are invalid (#2815).

User has to get the .tar.gz file and then run a script, only to download them
from storage.googleapis.com/kubernetes-release. That's already what's documented
in the "install via curl" section.

Therefore deleting "Extract kubectl from Release .tar.gz" section.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2017-04-06 13:58:35 -07:00
Ahmet Alp Balkan c2b74acd1f hello-minikube: Simplify kubectl installation instructions for macOS
People are hitting issues copy-pasting the complicated way to install
`kubectl` and we're suggesting them to `sudo mv` binaries to /usr/local/bin.
That is not very ideal. Instead suggesting users to use Homebrew. I think it's
ok for this tutorial, as the tutorial already uses Homebrew to install
other stuff, plus it's a much better way than `sudo mv`ing.

Closes #2478.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-06 13:57:18 -07:00
suresh ae6a948eb0 typo on option (#3233) 2017-04-06 13:54:49 -07:00
Ahmet Alp Balkan 97f38923e6 container-lifecycle-hooks: add link to the task (#3236)
Adding a link to the corresponding task as it is hard to discover.

Fixes #3094.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2017-04-06 13:54:35 -07:00
Charlie R.C b7b9252666 change authorizationMode to authorizationModes 2017-04-06 13:42:53 -07:00
Cynerva e469ebe322 Update allow-privileged info for Ubuntu, add docker registry section (#3207)
* Update allow-privileged info for Ubuntu, add docker registry section

* Clean up wording in ubuntu/operational-considerations
2017-04-06 13:40:28 -07:00
houjun 34cd28dbf6 Node conditions should contain MemoryPressure and DiskPressure
Node conditions should also contain MemoryPressure and DiskPressure.
2017-04-06 13:37:27 -07:00
chenhuan12 2dd8f791df replace job.yaml.txt with job.yaml
replace job.yaml.txt with job.yaml
2017-04-06 13:36:03 -07:00
Michael Fraenkel ec622e1186 Document pod lifecycle when using EnvFrom
- Pods do not start with missing ConfigMaps or Secrets
- Pods do not start with missing keys in ConfigMaps or Secrets
- Pods start with invalid keys when referring to entire ConfigMaps or
Secrets.  An event documents the skipped keys from said resource.
2017-04-05 16:31:23 -07:00
Slava Semushin 8d8409baeb docs/concepts/policy/pod-security-policy: list all available PSP fields.
This also adds a couple of improvements:
- rename SELinuxContext to SELinux
- improve options displaying
2017-04-05 16:23:40 -07:00
Eric Chiang df099406ed docs/admin: clarify SecurityContextDeny and when it should be used 2017-04-05 16:23:08 -07:00
William Chang 216734a813 Fix the kubeadm getting-started-guides link. (#3201)
* Fix the kubeadm getting-started-guides link.

* Change the url, use the root of the site as the base.
2017-04-05 16:15:50 -07:00
chenhuan12 afc29d6cb4 fix typo
fix typo
2017-04-05 11:14:23 -07:00
Ahmet Alp Balkan be18111dba More meaningful links for the footer
This replaces the two buttons on the right of the footer.

It does not seem like get.k8s.io is useful to anyone. Replacing it with the
installation guide and avoiding K8s abbreviation in these buttons.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-05 11:12:34 -07:00
Cao Shufeng 6aed52c088 Update description about serviceaccount token controller
This change specifies how to enable token controller in
controller-manager.
2017-04-04 14:06:13 -07:00
Jordan Liggitt 4391c903ce automountServiceAccountToken documentation 2017-04-04 14:02:34 -07:00
mbohlool d42d3983fd Add python client to "Programmatic access to the API" section 2017-04-04 14:00:44 -07:00
Andrew Chen 3a3e4dc1f5 Address issue #3072 for apps (#3228)
* Address issue #3072 for apps

* Add Autoscaling, Batch, and Extensions
2017-04-04 13:43:47 -07:00
Casey Davenport ea34587002 Remove outdated Calico guide in favor of kubeadm 2017-04-04 09:51:35 -07:00
Lucas Käldström cf430cd261 Merge pull request #3223 from robholland/patch-1
Fix typo
2017-04-04 17:23:28 +03:00
Rob Holland f416b8a055 Fix typo 2017-04-04 09:29:16 +01:00
Steve Perry 84107352e4 Move Guide topic: Horizontal Pod Autoscalint. (#3218) 2017-04-03 18:54:13 -07:00
Steve Perry 152b6f2743 Move Guide topic: Pod Security Policies. (#3215) 2017-04-03 18:38:13 -07:00
Steve Perry ab1302a4dc Move Guide topic: Pod Preset. (#3213) 2017-04-03 17:40:48 -07:00
Andrew Chen d2ff41b6a5 Move GPU Support to Tasks (#3212)
* Move User Guides/GPU Support to Tasks/Managing GPUs/Scheduling GPUs

* fix typo in tasks.yml

* change discussion to steps
2017-04-03 17:09:43 -07:00
Vish Kannan 0d40264361 adding documentation for GPU support (#3018)
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-04-03 15:28:41 -07:00
xiangpengzhao f4eec77809 Fix ScheduledJobs to CronJobs 2017-04-03 14:01:52 -07:00
Andrew Chen 0aa8981b48 Merge pull request #3210 from kubernetes/chenopis-3168-redirect
Limit resource-quota redirect
2017-04-03 13:47:07 -07:00
Andrew Chen 8529eec655 Limit resource-quota redirect 2017-04-03 13:40:29 -07:00
xiangpengzhao 0d7f9a63df Link Release Notes to CHANGELOG.md 2017-04-03 13:31:49 -07:00
Steve Perry 5fe546b09d Move Guide topic: ThirdPartyResources. (#3209)
* Move Guide topic: ThirdPartyResources.

* Fix link.
2017-04-03 13:22:52 -07:00
Gunjan Patel 521e7f076a Update calico docs link to the latest version (#3169) 2017-04-03 13:04:23 -07:00
Steve Perry 418771e0a5 Move Guide topic: Service Accounts. (#3208)
* Move Guide topic: Service Accounts.

* Remove TODOs.
2017-04-03 12:31:32 -07:00
Steve Perry d1bcac468a Move Guide topic: Services. (#3206) 2017-04-03 12:10:09 -07:00
nerdondon aa83d54abb Migrate to new task template 2017-04-03 12:01:59 -07:00
Steve Perry 7b95ad4ca0 Move Guide topic: Security Context. (#3205) 2017-04-03 11:47:25 -07:00
Xiaoyu Zhang f1f43e3f6a delete one redundant space (#3165)
delete one redundant space
2017-04-03 11:39:16 -07:00
Andrew Chen ecead4c43c Merge pull request #3163 from tgraf/add-cilium
Add cilium project
2017-04-03 11:38:38 -07:00
Andrew Chen 4262df1669 Merge branch 'master' into add-cilium 2017-04-03 11:36:06 -07:00
Justin Santa Barbara 19327529b1 AWS kube-up is removed in 1.6 2017-04-03 11:33:25 -07:00
chenhuan12 72be3e19d3 replace configfile.json with config.json
replace configfile.json with config.json
2017-04-03 11:28:57 -07:00
Steve Perry 122410bc34 Move Guide topic: Secrets. (#3204) 2017-04-03 11:02:45 -07:00
Peter Lee 67f0173d50 Update link
Update the link to where the origin link finally pointed to.
2017-04-03 10:48:22 -07:00
Steve Perry a243c28888 Move Guide topic: Replication Controller. (#3203)
* Move Guide topic: Replication Controller.

* Add included file.
2017-04-03 10:23:03 -07:00
Andrew Chen 6ed0c34d2a Remove swagger-ui link, fix page.version variable (#3185)
* Remove swagger-ui link, fix page.version variable

* remove swagger-ui redirect

* use 2 decimal version for cluster-large.md

* fix swagger-ui message

* replace URL w/ final destination

* address feedback

* add link to swagger.json at https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/swagger.json

* remove redundant sentence
2017-04-03 01:13:10 -07:00
Steve Perry 9b5e8bac46 Pods (#3191)
* Move Guide topic: Pods.

* Fix link.

* Fix TOC entry.
2017-03-31 16:31:05 -07:00
Andrew Chen df63f964ee fix robots.txt 2017-03-31 16:23:30 -07:00
Steve Perry ccadfc2ca8 Move Guide topic: Pods. (#3190)
* Move Guide topic: Pods.

* Fix link.
2017-03-31 16:21:13 -07:00
Steve Perry d7ed85504e Move Guide topic: Pet Set. (#3188)
* Move Guide topic: Pet Set.

* Add included file.
2017-03-31 16:00:55 -07:00
Steve Perry edd0645def Move Guide topic: Nodes. (#3187) 2017-03-31 15:28:57 -07:00
Steve Perry 504327c0a1 Move Guide topic: Network Policies. (#3184) 2017-03-31 14:06:32 -07:00
Steve Perry 3c23d75133 Move Guide topics: Names, Namespaces. (#3183) 2017-03-31 13:50:16 -07:00
Steve Perry dc75a8f071 Move Guide topic: Ingress. (#3181) 2017-03-31 13:25:41 -07:00
Steve Perry de895fbf5a Move Guide topic Replica Sets. (#3180) 2017-03-31 13:10:28 -07:00
steveperry-53 2edbeae5c9 Remove link to evolving TOC document. 2017-03-31 13:07:29 -07:00
Steve Perry e35313c657 Move Guide topic: Deployments (#3179)
* Move Guide topic: Deployments

* Move included file.
2017-03-31 12:13:47 -07:00
Steve Perry eb657dfd9e Move Guide topic: Daemon Sets. (#3178)
* Move Guide topic: Daemon Sets.

* Fix include path.
2017-03-31 10:56:27 -07:00
Andrew Chen 65b6d0b682 WIP: Add redirect for V1 paths (#3160)
* Add redirect for V1 paths

* fix api-reference and kubectl redirects

* fix bugs

* fix regex

* fix redirect URL

* more debug

* global match

* fix regexp

* remove debug

* generalize

* address @foxish feedback
2017-03-31 10:48:37 -07:00
Steve Perry 6a2366314e Move Guide topic: Annotations. (#3177) 2017-03-31 10:33:26 -07:00
Steve Perry 151a19cbc7 Move Guide topic: Persistent Volumes. (#3176) 2017-03-31 10:10:44 -07:00
Steve Perry abc795d19d Move Guide topic: Cluster Managemet. (#3164) 2017-03-30 18:16:57 -07:00
Steve Perry 73eebdd337 Fix Home left nav. (#3162)
* Fix Home left nav.

* Experiment

* Experiment
2017-03-30 17:19:19 -07:00
Thomas Graf dd20e14431 Add cilium project 2017-03-31 01:52:59 +02:00
Andrew Chen da871d8f56 Merge pull request #3158 from kubernetes/chenopis-1.6-patch6
Fix api-reference/v1/definitions links
2017-03-30 15:07:55 -07:00
Andrew Chen 8a6fedf1c8 fix api-reference/v1/definitions links 2017-03-30 14:23:42 -07:00
Steve Perry c5e9309a43 Put home page in left nav. (#3157)
* Put home page in left nav.

* Experiment

* Update nav.

* Remove 2 topics from TOC check.
2017-03-30 14:21:26 -07:00
Steve Perry 53d1bbda70 Update stage-documentation-changes.md
Increment Docker version.
2017-03-30 13:25:51 -07:00
Phillip Wittrock bb2304636c Merge pull request #3154 from yogendra/patch-1
Fixed example for "Accession the Service"
2017-03-30 10:00:03 -07:00
jianglingxia c663e0077f amend the url of debug pods
/docs/tasks/debug-application-cluster/debug-pod-replication-controller/#debugging-pods
2017-03-30 09:46:53 -07:00
George Crawford ac47af4a64 Update stale Host folder sharing docs
Updated to match https://github.com/kubernetes/minikube/blob/master/README.md.

I can't see why this file even exists - it will get out of date frequently. Why not just link to the minikube project?
2017-03-30 09:44:37 -07:00
jianglingxia 86f4427e3a change the link
the url of releases
2017-03-30 09:42:08 -07:00
jianglingxia 019bc68027 delete the redundancy /
resourcequota
2017-03-30 09:41:16 -07:00
Xiaoyu Zhang dfda372c06 update and fix links
update and fix links
2017-03-30 09:39:27 -07:00
chenhuan12 b7f4a612a4 fix typo
fix command kubectl get deployment,svc,pods output
2017-03-30 09:38:21 -07:00
yupengzte 054d08df96 Delete useless spaces
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-03-30 09:38:03 -07:00
yupengzte 914e779c97 Fix typo
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-03-30 09:37:14 -07:00
chenhuan12 5d3a78371c fix typo
fix command kubectl describe secret test-secret output
2017-03-30 09:36:46 -07:00
Xiaoyu Zhang a8465ce1f0 Update links from v1.5 to v1.6
Update links from v1.5 to v1.6
2017-03-30 09:36:11 -07:00
Xiaoyu Zhang 5923a56b88 update links v1.5 to v1.6
update links v1.5 to v1.6
2017-03-30 09:35:37 -07:00
chenhuan12 6b02e280d8 fix typo
1、fix command kubectl get crontab output
2、fix command kubectl get crontab -o json output
2017-03-30 09:34:51 -07:00
chenhuan12 a19701dea4 fix typo
fix typo
2017-03-30 09:34:18 -07:00
yupengzte f9fa1464fa The first letter should be capital letter
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-03-30 09:29:45 -07:00
Xiaoyu Zhang 7074634eb5 Update links from v1.5 to v1.6
Update links from v1.5 to v1.6
2017-03-30 09:28:53 -07:00
Xiaoyu Zhang 9b2da54adc Update links from v1.5 to v1.6
Update links from v1.5 to v1.6
2017-03-30 09:28:10 -07:00
Xiaoyu Zhang 0c39b496e0 Update links from v1.5 to v1.6
Update links from v1.5 to v1.6
2017-03-30 09:27:35 -07:00
Xiaoyu Zhang 3594176853 update links from v1.5 to v1.6
update links from v1.5 to v1.6
2017-03-30 09:26:55 -07:00
chenhuan12 5ffc79499c fix typo
fix typo
2017-03-30 09:25:09 -07:00
Peter Lee 7c01af28cd fix typo 2017-03-30 09:24:24 -07:00
Xiaoyu Zhang 0937a5ff2a update links from v1.5 to v1.6
update links from v1.5 to v1.6
2017-03-30 09:22:37 -07:00
Yogendra Rampuria - Yogi 8791babf36 Fixed example for "Accession the Service"
Example stated that a "frontend receives traffic from backend". It should be "frontend sends traffic to backend"
2017-03-30 23:35:34 +08:00
Steve Perry cfd011166d Move topics to deprecation phase 2. (#3123) 2017-03-29 17:21:24 -07:00
Andrew Chen a9c4b410e2 Remove superfluous headers in kubectl page (#3121) 2017-03-29 16:40:08 -07:00
Andrew Chen 0ada08bdbc Merge pull request #3120 from kubernetes/chenopis-1.6-patch4
Remove redundant User Guide header in ToC
2017-03-29 16:29:52 -07:00
Andrew Chen 3635bb567b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into chenopis-1.6-patch4
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Moving topics to deprecation phase 2. (#3119)
2017-03-29 16:25:11 -07:00
Andrew Chen 2e6fba7bab Remove redundant User Guide header in ToC 2017-03-29 16:23:28 -07:00
Steve Perry bc013101fb Moving topics to deprecation phase 2. (#3119) 2017-03-29 16:04:05 -07:00
Andrew Chen 827aa035e7 Merge pull request #3118 from kubernetes/chenopis-1.6-patch3
Fix Docs Home, remove redundancy
2017-03-29 15:53:16 -07:00
Andrew Chen 4c811e3647 Fix Docs Home, remove redundancy 2017-03-29 15:45:07 -07:00
Steve Perry 346e6466c5 Change What is Kubernetes to deprecation phase 2. (#3117) 2017-03-29 15:31:55 -07:00
Xiaoyu Zhang 3fe59136e1 Fix invalid links
PersistentVolumeSpec is not independent and belongs to persistentvolumeclaim. So I use "/docs/api-reference/v1.6/#persistentvolumeclaim-v1-core".
2017-03-29 15:19:48 -07:00
Xiaoyu Zhang b7e1cd4e19 Fix invalid links
Fix invalid links
2017-03-29 15:19:17 -07:00
Xiaoyu Zhang 242178bdee Fix typo
Fix typo
2017-03-29 15:18:48 -07:00
Xiaoyu Zhang 7168b1529b Fix the link
Fix the link
2017-03-29 15:18:24 -07:00
Xiaoyu Zhang 01fd3e3fcd Fix invalid link
Fix invalid link
2017-03-29 15:18:01 -07:00
Xiaoyu Zhang 5e9904a90b Fix invalid link
Fix invalid link
2017-03-29 15:15:13 -07:00
Xiaoyu Zhang 76f9bc181f Fix invalid url
Fix invalid url. The original link does not exist.
2017-03-29 15:14:40 -07:00
Xiaoyu Zhang ce3fc44034 Fix invalid link
Fix invalid link
2017-03-29 15:14:19 -07:00
Xiaoyu Zhang 58f231277a Fix invalid links
Fix invalid links
2017-03-29 15:13:59 -07:00
Steve Perry c57fad453f Move Support topics. (#3108)
* Move Support topics.

* Update stage-documentation-changes.md

* Update stage-documentation-changes.md
2017-03-29 15:11:59 -07:00
Slava Semushin 0e8f7ded2d Add PodSecurityPolicy admission controller. 2017-03-29 13:39:42 -07:00
Andrew Chen 05f949d7a2 Change version variable to v1.6 (#3060)
* Change version variable to v1.6

* change to v1.6.0 to match branch tagging in kubernetes/kubernetes (https://github.com/kubernetes/kubernetes/tree/v1.6.0/docs/)
2017-03-29 13:18:53 -07:00
Bruno Vernay d41c5973f2 Wrong URL for kubelet-tls-bootstrapping
The URL is https://kubernetes.io/docs/admin/kubelet-tls-bootstrapping/
2017-03-29 13:05:39 -07:00
Francois-Guillaume Ribreau 2b96cb3fd0 Fix link 2017-03-29 13:04:29 -07:00
Aditya Dani fc1c1645c7 Add PortworxVolume on the Volume Concepts Page under docs/concepts/storage/volumes.md. 2017-03-29 12:47:02 -07:00
Steve Perry 875216a5c4 Move topics to deprecation phase 2. (#3099) 2017-03-29 10:46:46 -07:00
chenhuan12 dc6df6b28b fix typo
fix typo
2017-03-29 10:38:08 -07:00
chenhuan12 a366bfb7a0 fix typo
fix typo
2017-03-29 10:37:03 -07:00
chenhuan12 10a37d1bb8 fix typo
fix typo
2017-03-29 10:36:39 -07:00
Xiaoyu Zhang 31b62a24a4 Fix the links
Fix the links
2017-03-29 10:35:45 -07:00
Xiaoyu Zhang e2fa7ae2db Fix the links
Fix the links
2017-03-29 10:34:59 -07:00
Xiaoyu Zhang 5d60b4e955 Fix the links
Fix the links
2017-03-29 10:34:38 -07:00
Xiaoyu Zhang 8f8c4adb05 update links
update links
2017-03-29 10:34:19 -07:00
Xiaoyu Zhang 7bff3503ea update links
update links
2017-03-29 10:33:56 -07:00
Xiaoyu Zhang 9fdc419652 update links
update links
2017-03-29 10:33:33 -07:00
Xiaoyu Zhang 1dba0ecf99 update and fix urls
update and fix urls
2017-03-29 10:33:07 -07:00
Xiaoyu Zhang c4e66aa268 Fix invalid links
Fix invalid links
2017-03-29 10:32:40 -07:00
Xiaoyu Zhang 0586165262 Fix invalid link
Fix invalid link
2017-03-29 10:32:17 -07:00
Xiaoyu Zhang a3865cd39b Fix invalid link
Fix invalid link
2017-03-29 10:31:53 -07:00
Xiaoyu Zhang c2538ec074 Fix invalid link
Fix invalid link
2017-03-29 10:31:05 -07:00
Xiaoyu Zhang a3f970965f Fix invalid url
Fix invalid url
2017-03-29 10:30:43 -07:00
Xiaoyu Zhang d6a62be07f update link to v1.6
update link to v1.6
2017-03-29 10:30:22 -07:00
Xiaoyu Zhang ab8161a790 Fix url of kubectl cmd (#3069) 2017-03-29 10:29:56 -07:00
Xiaoyu Zhang b8734c877b Fix urls of kubectl cmd (#3068) 2017-03-29 10:29:32 -07:00
Xiaoyu Zhang a1dcd6f4e8 Fix url of kubectl cmd (#3066)
Fix url of kubectl cmd
2017-03-29 10:28:52 -07:00
Xiaoyu Zhang 69cd465278 update kubectl commands (#3064)
The original links are all invalid. I change them all to v1.6 commands.
Hope it it helpful. :)
2017-03-29 10:24:44 -07:00
Xiaoyu Zhang 59ea361df2 Fix the url (#3051)
* Fix the url 

It is as same as PR3050

* update to v1.6

update to v1.6

* update to v1.6
2017-03-29 10:15:03 -07:00
Xiaoyu Zhang 67420be850 Fix the URL (#3057)
* Fix the pr

As same as PR3050

* update to v1.6

update to v1.6

* update to v1.6

update to v1.6
2017-03-29 10:14:25 -07:00
Xiaoyu Zhang fdc6a5afd6 Fix the urls (#3052)
* Fix the urls

Fix the urls

* update to v1.6

update to v1.6

* update to v1.6
2017-03-29 10:12:16 -07:00
Xiaoyu Zhang 0fac6c3466 Fix the url (#3050)
* Fix the url

The original url does not exit. I want to replace it with v1.5.

* update to v1.6

update to v1.6

* update to v1.6
2017-03-29 10:11:03 -07:00
Pavel Shevchuk eb23f17ca7 Fixed typos in services-firewalls.md (#2760)
* Fixed typos in services-firewalls.md

Fixed two typos: blancer -> balancer

* Fixed typo blancer -> balancer in configure-cloud-provider-firewall.md
2017-03-29 10:04:51 -07:00
Charlie R.C 88a7b4bdbf update authorizationMode 2017-03-29 10:02:21 -07:00
Steve Perry dfd2fed09c Move Guide topic: Master-Node Communication. (#3098) 2017-03-29 09:20:12 -07:00
Steve Perry 750f9323c5 Fix include paths. (#3096) 2017-03-29 08:57:54 -07:00
Dr. Stefan Schimanski daded6b51a Merge pull request #3067 from zhangxiaoyu-zidif/patch-39
Fix urls of kubectl cmd
2017-03-29 11:38:23 +02:00
Xiaoyu Zhang 3015493bca Merge branch 'master' into patch-39 2017-03-29 16:25:00 +08:00
Lucas Käldström 85f7c52979 Merge pull request #3074 from srueg/patch-1
Fix typo
2017-03-29 10:16:50 +02:00
Simon Rüegg 25ade87f9f Fix typo 2017-03-29 09:06:31 +02:00
Xiaoyu Zhang 801bb14040 Merge branch 'master' into patch-39 2017-03-29 14:29:31 +08:00
Steve Perry 5dc5694243 Move Guide topic: Multiple Schedulers. (#3073)
* Move Guide topic: Multiple Schedulers.

* Fix include paths.
2017-03-28 22:07:26 -07:00
Steve Perry b974f72bd3 Move Guide topic: Assigning Pods to Nodes. (#3071) 2017-03-28 20:59:32 -07:00
Xiaoyu Zhang 693bd1e2cb Fix urls of kubectl cmd
Fix urls of kubectl cmd
2017-03-29 10:58:07 +08:00
Steve Perry b60e2fe334 More (#2966) 2017-03-28 19:49:43 -07:00
Andrew Chen 9286e03cc5 Merge pull request #3061 from kubernetes/chenopis-1.6-patch3
Fix rewrite of /index.md to /
2017-03-28 16:13:48 -07:00
Andrew Chen 9c090f0709 Fix rewrite of /index.md to / 2017-03-28 16:05:48 -07:00
Xiaoyu Zhang 280977ecf9 Fix error link 2017-03-28 15:10:57 -07:00
Andrew Chen 64d07aef9c Merge pull request #3058 from zhangxiaoyu-zidif/patch-35
Fix a typo
2017-03-28 15:10:10 -07:00
Xiaoyu Zhang 879507f72c Fix a typo
add a slash
2017-03-29 05:59:10 +08:00
Xiaoyu Zhang e37768c7b6 update urls (#3056)
* update urls

relative path may be fine :)

* change them to new ones

change them to new ones
2017-03-28 14:48:12 -07:00
Xiaoyu Zhang eef81f78b3 update the url
This link may be much better.
2017-03-28 14:34:02 -07:00
Kenneth Owens 9b686b38b3 Updates ZooKeeper example to use the Anti-Affinity field instead of annotation (#3013)
* Updates ZooKeeper example to use the Anti-Affinity field instead of the
1.5 annotation.

* Changed podAntiAffinity field references to lower case
Changed references to PodAntiAffinity object/concept to plain text
Changed link to PodAntiAffinity to reference subsection
2017-03-28 14:29:34 -07:00
Xiaoyu Zhang d7f3507d34 Fix a typo (#2991)
* Fix a typo

According to the context. The word should be "underspecified" meaning "insufficient".

* Fix the pr

Fix the pr
2017-03-28 13:38:22 -07:00
Andrew Chen d1b8de9051 Merge pull request #3054 from zhangxiaoyu-zidif/patch-29
Fix the urls
2017-03-28 13:35:09 -07:00
Xiaoyu Zhang f7494aff36 Fix the urls
Fix the urls
2017-03-29 04:26:00 +08:00
Elijah C. Voigt c942340410 user-guide/services: json -> yaml examples 2017-03-28 12:53:39 -07:00
devin-donnelly 1363e5b8a0 Merge pull request #3048 from kubernetes/release-1.6
Merge Release 1.6 into Master, publishing documentation for 1.6 release
2017-03-28 12:07:25 -07:00
Andrew Chen 70d3939004 Rename accessing-the-api.md title (#3049)
* Rename accessing-the-api.md title

* remove unneeded Overview header
2017-03-28 12:02:16 -07:00
Andrew Chen 1c902d0fde Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (21 commits)
  revert issue URL, turn into link
  docs/admin/authorization: remove duplicated phrase (#3045)
  update urls
  Fix a typo and update one url
  update urls
  update a url
  update urls
  update invalid links
  update some urls
  modify the url of RestartPolicy (#3034)
  Fix the url
  amend the url
  amend the readiness probes (#3031)
  modify the link url (#3030)
  change the url (#3029)
  Fix the typo.
  Fix the link url
  delete redundant example
  fix typo
  change a link's url
  ...

# Conflicts:
#	docs/admin/authorization/index.md
2017-03-28 11:33:09 -07:00
Andrew Chen def2f7050b Merge pull request #2984 from soltysh/deployment_new_generator
Add new generator for deployments
2017-03-28 09:46:25 -07:00
Maciej Szulik db9638a68f Add new generator for deployments 2017-03-28 09:34:49 +02:00
Andrew Chen 043c32ec86 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  add some links
  Fix the link
  Update staging container
2017-03-27 22:37:22 -07:00
Andrew Chen 906bfad18f Merge pull request #2807 from jessfraz/pod-preset
Add pod preset docs
2017-03-27 22:27:16 -07:00
Jess Frazelle e87b393ba3 Add pod preset docs
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-27 20:10:10 -07:00
Andrew Chen 403c2c1510 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  s/Wildard/Wildcard/
  rephrase the sentence
  Fix the number of processes on Kubernetes master (#2985)
  Pod Security Policy doc improvements (#3010)
  docs/admin: document OpenID Connect plugin "extra-scopes" field

# Conflicts:
#	docs/admin/kubelet.md
#	docs/user-guide/pod-security-policy/index.md
2017-03-27 16:12:50 -07:00
Andrew Chen aa100411c3 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fix the command output
  delete invalid link
  Revert "fix the command output"
  fix the command output
  Delete the useless spaces
  Dollar signs used before commands without showing output
  bare-url-used
  Fix typo in authorization docs
  Update networking.md
2017-03-27 09:31:30 -07:00
Mik Vyatskov 2241045c91 Add guide for deploying Stackdriver Logging (#2922)
* Add guide for deploying Stackdriver Logging

* Applied review comments

* Address review comments
2017-03-27 08:44:55 -07:00
Andrew Chen 703370f928 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix the output of "describe"
2017-03-27 08:42:50 -07:00
devin-donnelly 1e817bb0d6 Merge pull request #2845 from vladimirvivien/scaleio-k8s-doc-volumes
PR for adding ScaleIO PV documentation in volumes.md
2017-03-26 18:34:44 -07:00
devin-donnelly 647b3df3df Merge pull request #2886 from caesarxuchao/gc-update-1.6
Update garbage collection doc for foreground garbage collection
2017-03-26 18:33:25 -07:00
devin-donnelly 9939c7c953 Update garbage-collection.md 2017-03-26 18:25:03 -07:00
Vladimir Vivien c98bfdf085 ScaleIO storage documentation in docs/concepts/storage 2017-03-25 07:49:53 -04:00
Andrew Chen 4aee1cf24c Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update deploy-intro.html (#2968)
2017-03-24 18:09:50 -07:00
Andrew Chen 33666c25a2 Merge branch 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io:
  Fix ref docs links in 1.6
2017-03-24 18:09:38 -07:00
Andrew Chen d4349f10cb Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  change the link icon
  fix command kubectl get serviceAccounts output
  Flannel is not longer the only network addon that supports ARM

# Conflicts:
#	docs/getting-started-guides/kubeadm.md
2017-03-24 18:09:32 -07:00
Phillip Wittrock 48bdde3efa Merge pull request #2976 from pwittrock/release-1.6
Fix reference docs links to include the group in the link
2017-03-24 18:06:29 -07:00
Phillip Wittrock 5944da3d73 Fix ref docs links in 1.6 2017-03-24 17:16:36 -07:00
Matt Liggett 2b9b0029d9 Add a doc to about upgrading etcd. (#2767) 2017-03-24 15:08:33 -07:00
Maciej Szulik c4dca21649 New deployments endpoint (#2986)
* Update deployments for 1.6

* Update all deployments in docs to use the new endpoint
2017-03-24 11:03:01 -07:00
Andrew Chen ddc206709f Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fix the pr
  Fix a typo
2017-03-23 22:32:47 -07:00
Andrew Chen 4568e52bd1 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update some description about secrets
  [Federation] Add a note about DNS API scopes to the Federation tutorial (#2943)
  Delete the useless spaces in html files
  Fix typo
  update resource-usage-monitoring.md
2017-03-23 15:23:47 -07:00
Andrew Chen 2410c9e8da Merge pull request #2939 from mikedanese/csr
add inital documentation for the certificates API
2017-03-23 12:06:36 -07:00
Mike Danese 31df6ab5cb add inital documentation for the certificates API 2017-03-23 09:02:43 -07:00
Andrew Chen 996723bc8f Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Replace the tab with 4 spaces in md files (#2797)
  fix link error
  Replace the tab with 4 spaces in html files
  hitting the `ClusterIP` from a pod (#2826)

# Conflicts:
#	docs/admin/accessing-the-api.md
#	docs/api-reference/extensions/v1beta1/definitions.html
#	docs/getting-started-guides/kubeadm.md
#	docs/user-guide/kubectl/index.md
2017-03-23 00:19:33 -07:00
Andrew Chen ce8507c515 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  update index.md
  Add PR template to encourage clicking Allow Edits
2017-03-22 15:06:02 -07:00
Andrew Chen cca5c7b358 Merge pull request #2750 from liggitt/passwordfile
Clarify password file group support
2017-03-22 13:44:05 -07:00
Andrew Chen ac962dc12c Merge pull request #2902 from shiywang/patch-3
update resources name
2017-03-22 13:41:37 -07:00
Andrew Chen 27d6822bb6 Merge branches 'release-1.6' and 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io:
  Update daemons.md

* 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io:
  Update daemons.md
2017-03-22 13:39:50 -07:00
Andrew Chen 31221c3a76 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  rephrase the expression of configmap/index.md
  Do not link to org/team links on GitHub
  Fixed typos (#2721)
  Revert "update init-containers.md"
  Fix doc sentence
  Add Minikube reference in the Kubectl configuration doc
  Mention Minikube in the Kubectl configuration doc

# Conflicts:
#	docs/tasks/index.md
2017-03-22 13:39:24 -07:00
devin-donnelly 50dc7445d9 Merge pull request #2964 from kubernetes/devin-donnelly-patch-3
Update daemons.md to remove reference to future support for DaemonSet updates
2017-03-22 13:39:08 -07:00
devin-donnelly 52be0a881c Update daemons.md 2017-03-22 13:34:18 -07:00
devin-donnelly 1494504741 Update garbage-collection.md 2017-03-22 13:28:37 -07:00
Andrew Chen 431ed22c3d Merge pull request #2751 from liggitt/proxy-subresource
Switch to proxy subresource
2017-03-22 13:19:54 -07:00
devin-donnelly d847965635 Merge pull request #2940 from liggitt/rbac
Outline service account RBAC approaches
2017-03-22 13:08:04 -07:00
Jordan Liggitt 5ff30086e4 Switch to proxy subresource 2017-03-22 16:00:30 -04:00
Jordan Liggitt acd153e60c Clarify password file group support 2017-03-22 15:56:10 -04:00
Jordan Liggitt 6334adc211 Outline service account RBAC approaches 2017-03-22 15:50:40 -04:00
devin-donnelly d8100c6c30 Merge pull request #2929 from csbell/fed-ingress
Remove fed ingress known issue for 1.6.
2017-03-22 12:36:24 -07:00
Mengqi Yu 8da77b2cfc Update imported docs (#2947)
* bump to 1.6 and preserve new ref docs and delete old ref docs

* run update-imported-docs.sh and keep title
2017-03-22 10:10:36 -07:00
lvjiangzhao fa381d82a0 add flag --enable-taint-manager to kube-controller-manager.md from source
code
2017-03-22 09:52:21 -07:00
Andrew Chen 4800b4f881 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix link to Upgrade 1.6
  livenessProbe -> periodSeconds (#2832)
2017-03-21 19:54:15 -07:00
Andrew Chen 4eba51d6f2 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix incorrect sentence (#2876)
  fixing typo
  fix typo
  Update kubeadm.md

# Conflicts:
#	docs/getting-started-guides/kubeadm.md
2017-03-21 19:30:14 -07:00
Andrew Chen 7215af010f Merge branches 'release-1.6' and 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io:

* 'master' of https://github.com/kubernetes/kubernetes.github.io: (23 commits)
  Apply changes from PR #2787
  rephrase the sentence to make expression clear (#2789)
  update index.md (#2788)
  Apply changes from PR #2784 (#2950)
  The link URL of  [kube-controller-manager] is wrong
  Added pod name in run command
  Fix grammar in docs/admin/daemon.md
  update index.md (#2755)
  Update garbage-collection.md (#2732)
  Fix typo (#2842)
  Fix typo
  Fix the typos
  Apply typo fixes from #2791 (#2949)
  Fix typo in kubectl_completion.md
  fix typeo (#2856)
  Use kubectl config current-context to simplify the instructions
  fix a typo in /docs/user-guide/configmap/index.md
  Fix monitor-node-health.md
  amend monitor-node-health.md
  Update manage-compute-resources-container.md
  ...

# Conflicts:
#	docs/tools/index.md
2017-03-21 19:04:37 -07:00
Andrew Chen 4541c229ca Merge pull request #2771 from liggitt/non-standard-verbs
Document non-standard verbs
2017-03-21 18:37:11 -07:00
Dominika Hodovska 1148f85e8c Move init containers to stable in v1.6 (#1939)
* Delete the parameter "--google-json-key string"

Delete the parameter "--google-json-key string"

* Fix apimachinery vendored dependencies in examples_test.

* package apt-transport-https should be installed

Ubuntu default install not include apt-transport-https. so if you want to download package from https repo, you need install apt-transport-https package first

* doc-walkthrough-content

modify

* limitrange-update

I think it's redundant that the second to ,in order to do sth and do
sth!thanks!

* fix command kubectl get svc,pod output

fix command kubectl get svc,pod output

* Fix typo: federation-controller-mananger => federation-controller-manager

* Fix typo: federation-controller-mananger => federation-controller-manager

* Clarify minimum version of kubernetes supporting PSP authz

* Provide correct location for KUBE_ETCD_SERVERS

Provide correct location for KUBE_ETCD_SERVERS configuration key. It was
previously listed as being in /etc/kubernetes/config but is actually in
/etc/kubernetes/apiserver.

Related: https://github.com/kubernetes/kubernetes.github.io/issues/1600

* Move Compute Resources topic to Concepts. (#2410)

* Delete the parameter "--google-json-key string"

“# kube-scheduler -help”can not find --google-json-key option

# kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-23T00:04:39Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-22T23:56:57Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}

* Add diagnose tips when you face problem.

* Update grammar for kubeadm.md, thanks @chenopis

* Merge two pieces to one words

* add http proxy infomation in kubeadm

* Update landing pages for Tasks and Tutorials. (#2634)

* Update static-pods.md

It works. Please review it again.

* Move Guide Topic: Multi-container pods. (#2642)

* fix link to go to pod-lifecycle page

* fix the command output

fix the command output

* mirantis_logo.png

,/images/community_logos/mirantis_logo.png updated per Mirantis request

* kubeadm reference -- /

set up/manage mean set up or manage ? it's better use or?

* Prototype for deprecating User Guide topic.

* missing word

The return of the OCD.

* Move Guide topic: Using Environment Variables. (#2645)

* fix typo (#2656)

fix typo

* Move Guide topic: Using Port Forwarding. (#2661)

* Move Guide topic: Bootstrapping Pet Sets. (#2662)

* Move Guide topic: Bootstrapping Pet Sets.

* Add TOC entry.

* Move Guide topic: Connect with Proxies. (#2663)

* Move Guide topic: Connect with Proxies.

* Fix link.

* add DefaultTolerationSeconds admission controller

* getting-started-guides: add CoreOS Tectonic

* Correct the certificate name

* Update index.md

* Update installation.md

* Update validation.md

* Update backups.md

* Update backups.md

* Spell fixes

* Using it vs Juju Kubernetes

* Q1 update to k8s tech and service partner list

New partners registered to K8s Partner Ecosystem sign-up form.  Logo updates companion to this edit still WIP

* Logo file updates for new registrants

Logos for new registrants

* The attribute [allowfullscree] must have a value

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Remove newline before passing to base64

* Use single quote to avoid string interpolation, update output

* Update command as files contain no newline

* Remove all dead links, use just filename

As user can guess that it is file copied from the shown content

* Fix link to dev guide.

* Add --leader-elect=false

Second scheduler could not start without disabling leader-elect.

* cluster-components-could be running

could be doing sth

* update cluster-components.md

In theory,Master components can be run....

* update cluster-components--add a space

add a space after the comma: "In theory, Master components..."

* Highlighted command --kubectl describe

In web page ,there is no space ,need some empty space,thanks!

* Revert "Highlighted command --kubectl describe"

This reverts commit a70d0a3e3537c3f91b197b23f949e1e506c951d1.

* Add example show how to configure proxy for kube

* Revision as the suggestion describe

* move ha-master-gce.png to images/docs

Signed-off-by: Xiuyu Li <nickleefly@gmail.com>

* use relative path for ha-master-gce image

Signed-off-by: Xiuyu Li <nickleefly@gmail.com>

* The attribute [calendarWrapper] must be unique

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* add required images in kubeadm init step

* Add links to Docker/rtk in cluster-intro.html

* s/acomplish/accomplish/

* Modify  the link URL of [kubelet eviction design doc]

[kubelet eviction design doc] should be linked to kubernetes.github.io
instead of community/design-proposal.

* fix CronJob object name

fix CronJob object name

* remove redundant a

Signed-off-by: Xiuyu Li <nickleefly@gmail.com>

* kubeadm reference--change any to some (#2683)

* modify one word

examples   to  example

* doc-walkthrough-content

modify

* limitrange-update

I think it's redundant that the second to ,in order to do sth and do
sth!thanks!

* cluster-components-could be running

could be doing sth

* update cluster-components.md

In theory,Master components can be run....

* update cluster-components--add a space

add a space after the comma: "In theory, Master components..."

* Highlighted command --kubectl describe

In web page ,there is no space ,need some empty space,thanks!

* Revert "Highlighted command --kubectl describe"

This reverts commit a70d0a3e3537c3f91b197b23f949e1e506c951d1.

* kubeadm reference--change any to some

kubeadm can install any  add-on ?

* Move Guide topics: Logging (#2687)

* Disallow indexing for liveness/index (#2689)

* Deprecate Guide topics. (#2691)

* Wrong label and kubectl get completed pods

The label `app=jobexample` should be `jobgroup=jobexample`.
Also, for get completed pods the flag `--show-all` is necessary.

* Update garbage-collection.md

change “any” to "every"

* Deprecate Guide topic: Persistent Volume Walkthrough. (#2692)

* Reimplement PR #2525

Fixes typo by removing the word "controller"

* remove extra space

* Update multiple-schedulers doc  (#2063)

* Update tutorial

* Fix md formatting.

* Remove extraneous space

* Deprecate Guide topic: Secrets Walkthrough. (#2695)

* Deprecate Guide topics: quick-start ... (#2696)

* Update Tasks landing page. (#2697)

* Remove redundant section in deployments

The status of the deployment is already covered in a later section in
this doc.

* Repair Spotinst logo

Corrected size

* fixed ASM blurb

* Correct ASM logo filename

* Highlighted command for `kubectl proxy`.

* Update ubuntu install instructions.

* Update local instructions to new method.

* update init-containers.md

add one word.

* Minor spelling correction -- "rtk" to "rkt"

* fixing typo

* Doc formatting update

Corrected indentation for the `nonResourcePath` and got a bit zealous with restructuring that section...

* Repair Spotinst logo

Corrected size

* fixed ASM blurb

* Correct ASM logo filename

* Update garbage-collection.md

change "any" to "every"

* Update Weave Net's title.

* fix unsupported parameter of wget command

* update to be retained

change "retain" to "to be retained".

* Update pod.md

* update init-containers.md

change "a different filesystem view" to "different filesystem views".
different init container should have different filesystem.

* Highlighted command --kubectl describe

In web page ,there is no space ,need some empty space,thanks!

* cluster-management--3

change 3 to three is better or not ?thanks!

* fix typo

1、Parameters “--allow-verification-with-non-compliant-keys” is missed.
2、Delete the parameter "--google-json-key string";

see the "# kube-controller-manager  -help"
# kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-23T00:04:39Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-22T23:56:57Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}

* fix typo

1、Delete the parameter "--google-json-key string";
2、Parameters "--ir-data-source string"、"--ir-dbname string"、"--ir-hawkular string"、"--ir-influxdb-host string"、"--ir-namespace-only"、"--ir-password string"、"--ir-percentile int"、"--ir-user string"  is missed.

see the "# kube-prxoy -help"
# kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-23T00:04:39Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-22T23:56:57Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}

* Update garbage-collection.md

modify the url and link

* update garbage-collection.md

change the url to relative path.

* update out-of-resource.md

change "in cases when" to "in case that"

* update out-of-resource.md

use a shorter and simpler expression.

* update out-of-resource.md

change "support" to "supports"

* Create a top-level CN directory to hold future md files for the Chinese kubernetes site

* Removed `=` at the end of the flags.

* Remove autogenerate todo

- This should be captured via a GitHub issue
  and not a TODO in the README documentation
  which leads to confusion.

* Move Guide topics: Federation Tasks. (#2799)

* Move Guide topics: Federation tutorial and concept. (#2802)

* Move Guide topics: Federation tutorial and concept.

* Add title.

* Fix link.

* Move kubectl Concept topics to Tutorials. (#2804)

* Move kubectl Concept topics to Tutorials.

* Add redirects and update links.

* The calendarWrapper attribute should be unique

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix links. (#2808)

* Fix link. (#2806)

* Move topic from clusters to cluster-administration. (#2812)

* Move a batch of cluster admin topics. (#2813)

* Move Guide topic: Limit storage consumption. (#2814)

* Move Guide topic: Limit storage consumption.

* Add title.

* Move Guide topic: Networking. (#2816)

* Move Guide topic: Network Plugins. (#2819)

* Move Guide topic: Network Plugins.

* Fix link.

* Move Guide topic: Static Pods. (#2820)

* User Guide content migration: post notice (#2818)

* Add User Guide content migration notice.

* Fix formatting

* Tweek formatting to block highlight text in light gray.

* Try table instead of code block

* remove extra lines

* try table format

* fix links

* incorporate @ddonnelly feedback

* Move Guide topic: Out of Resource. (#2821)

* Move Guide topic: Monitoring Node Health. (#2822)

* Move Guide topic: Monitoring Node Health.

* Move to Tasks.

* Move Guide topic: AppArmor. (#2823)

* Apparmor (#2825)

* Move Guide topic: AppArmor.

* Add included files.

* Move Guide topic: Audit. (#2824)

* Added 1.6 Upgrade notes to outline changes for etcd 3.

* Move Guide topic: Disruption Budget. (#2834)

* Move Guide topic: Limit range. (#2835)

* Quota (#2836)

* Move Guide topic: Limit range.

* Move Guide topic: Resource Quota and Limits.

* Quota2 (#2838)

* Move Guide topic: Limit range.

* Move Guide topic: Resource Quota concept.

* Dns (#2839)

* Move Guide topic: Limit range.

* Move Guide topic: DNS.

* Delete CNAME

* Create CNAME

* Delete CNAME

* Create CNAME

* Move docs/user-guide/managing-deployments.md to /docs/concepts/cluster-administration/manage-deployment.md

* add nginx-app.yaml file

* add back missing /

* fix link

* Move Guide topic: Replication Controller Operations

* Move Guide topic: Resizing a replication controller

* Concepts toc (#2840)

* Move Guide topic: Limit range.

* Adjust Concepts Overview TOC.

* Move Guide topic: Rolling Updates

* Move Kubernetes API page. (#2849)

* Move What is Kubernetes topic. (#2851)

* Move Guide topic: Rolling Update Demo (#2850)

* Move Guide topic: Rolling Update Demo

* rename file

* Move Guide topic: Configuration Best Practices

* Move Guide topic: Jobs (#2853)

* Move Guide topic: Jobs

* add job.yaml file

* change title

* Move Pod overview. (#2865)

* Move Pod overview.

* Fix redirection.

* Move Guide topic: Parallel Processing using Expansions (#2867)

* Move Guide topic: Parallel Processing using Expansions

* fix links to /docs/user-guide/jobs/

* Move Init Containers topic. (#2866)

* Move Guide topic: Coarse Parallel Processing Using a Work Queue

* Move Guide topic: Fine Parallel Processing using a Work Queue (#2870)

* Move Guide topic: Fine Parallel Processing using a Work Queue

* add migration notice

* fixed capitalization

* Rename /docs/tasks/job/work-queue-1/

* Move StatefulSets topic. (#2869)

* Move StatefulSets topic.

* Fix TOC.

* Move Guide topic: Pod Templates (#2872)

* Move Guide topic: Pod Templates

* tweak header level and capitalization

* Move PetSets topic. (#2873)

* Move Garbage Collection topic. (#2874)

* Move Garbage Collection topic.

* Fix included file.

* Move Guide topic: Prereqs

* Move Guide topic: Sharing Clusters

* Move Accessing Clusters topic to Concepts. (#2875)

* Move Accessing Clusters topic to Concepts.

* Update concepts.yml

* Move Guide topic: Kubeconfig File

* Move Guide topic: Config Provider Firewalls. (#2883)

* Move Guide topic: Federation Service Discovery. (#2884)

* Move Guide topic: Connecting Apps with Services. (#2885)

* Added example and docu for hostPort ranges

* Move Guide topic: Service. (#2891)

* Move Guide topic: Service.

* Move Guide topic: External Load Balancer.

* Fix TOC.

* Move Guide topic: Resource Monitoring. (#2895)

* docs/admin: document OpenID Connect plugin's claim prefixing

* Move Guide topic: Admin Guide

* fix the command output

fix the command output

* Update manage-compute-resources-container.md

Change "he" to "The"

* update out-of-resource.md

change "thresholds" to "threshold"

* update init-containers.md

change "apply" to "application"

* amend monitor-node-health.md

Amend the url link.

* Fix monitor-node-health.md

The url link does not exist.

* fix a typo in /docs/user-guide/configmap/index.md

change "value" to "values"

* View $PAGE on Github without forking the repo

Adding a "View docs/bla-bla.md on GitHub" button next to the
"Edit docs/bla-bla.md" button so that people can view the file
first without clicking the Edit button (which does not work without
forking the repository).

I did not need this because I was trying to do something without
forking. I just found it to be bit difficult to view source of a page
on GitHub.

I'm open to ideas, perhaps we can instead add an article footer button
named "View on GitHub" next to the "Edit this Page".

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

* Move Guide topics: Container Lifestyle Hooks, Images, Volumes

* fix to taint the master node

* Add files via upload

* fix the link of ogging-elasticsearch-kibana.md

fix the link of url

* Remove from TOC/Search: pods/init-containers ... (#2694)

* Fix typo

* Add files via upload

* Create hyperlink

Create hyperlink for kubernetes repo link.

* updated PSP documentation with RBAC (#2552)

Added info about controller manager setup and current implementation when using PSP with RBAC support.

* Use kubectl config current-context to simplify the instructions

* fix typeo (#2856)

* fix typeo

* Update kargo.md

* Fix typo in kubectl_completion.md

evaluation --> evaluated

* Apply typo fixes from #2791 (#2949)

* Apply typo fixes from #2791

* remove style typos

* Fix the typos

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>

* Fix typo

* Fix typo (#2842)
2017-03-21 18:13:33 -07:00
Andrew Chen de14357284 Move position of ToC (#2948)
* Move position of ToC

* add space to fix syntax parsing check
2017-03-21 17:09:45 -07:00
devin-donnelly 57e6f7a80f Merge pull request #2889 from madhusudancs/fed-adm-reorg
Deprecate federation-up/deploy.sh doc.
2017-03-21 17:06:05 -07:00
devin-donnelly 7fdb8ce53c Merge pull request #2892 from derekwaynecarr/clarify-docs
Clarify how memory.available is computed in eviction
2017-03-21 17:05:02 -07:00
devin-donnelly 698bd00e50 Merge pull request #2905 from davidopp/release-1.6
Update docs to reflect affinity, taints, tolerations moving from alpha annotations to (beta) fields.
2017-03-21 17:01:57 -07:00
Andrew Chen cd65f3379b Merge pull request #2778 from gyliu513/table-content
Added table of content to node-selection.
2017-03-21 16:52:33 -07:00
Andrew Chen adacb8d8b0 Merge pull request #2777 from gyliu513/node-controller
Updated node controller for taints and tolerations.
2017-03-21 16:50:31 -07:00
Andrew Chen d410008343 Merge pull request #2770 from liggitt/requestheader
Add group and extra info to front proxy
2017-03-21 16:47:06 -07:00
Andrew Chen e2d113a233 Merge pull request #2768 from gyliu513/register-node
Added `--register-with-taints` for node.md.
2017-03-21 16:44:37 -07:00
Andrew Chen 8fe6182953 Merge pull request #2749 from liggitt/anonymous-auth
Clarify anonymous auth enablement
2017-03-21 16:41:07 -07:00
Andrew Chen ff7b67dd3b Merge pull request #2744 from gyliu513/kubectl-taint
Updated user guide for `kubectl taint` by adding `NoExecute`.
2017-03-21 16:36:19 -07:00
Andrew Chen e862c93186 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  updated PSP documentation with RBAC (#2552)
2017-03-21 16:13:39 -07:00
devin-donnelly 7178d47bf0 Merge pull request #2899 from madhusudancs/kubefed-v16
kubefed v1.6 update
2017-03-21 16:12:09 -07:00
devin-donnelly b19d0eb5ae Merge pull request #2841 from derekwaynecarr/cgroups
Add documentation for per pod cgroups
2017-03-21 16:10:14 -07:00
Andrew Chen 607105f918 Merge pull request #2935 from CaoShuFeng/audit-2
Audit filter is also available for the insecured endpoint
2017-03-21 16:01:04 -07:00
Andrew Chen 8d96337664 Merge pull request #2934 from CaoShuFeng/audit
Update baisc auditor's info
2017-03-21 16:00:49 -07:00
Andrew Chen 29607852ca Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fix the link of ogging-elasticsearch-kibana.md
  View $PAGE on Github without forking the repo
  update init-containers.md
  update out-of-resource.md
2017-03-21 15:54:53 -07:00
Andrew Chen b3ac35430c Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Create hyperlink
  Add files via upload
  Fix typo
  Remove from TOC/Search: pods/init-containers ... (#2694)
  Add files via upload
  fix to taint the master node
  Move Guide topics: Container Lifestyle Hooks, Images, Volumes
  Correct ASM logo filename
  fixed ASM blurb
  Repair Spotinst logo
  Remove redundant section in deployments

# Conflicts:
#	docs/getting-started-guides/kubeadm.md
#	docs/user-guide/volumes.md
2017-03-21 15:54:35 -07:00
devin-donnelly f9c06f48e2 Merge pull request #2900 from wlan0/master
add docs about cloud-controller-manager
2017-03-21 12:00:33 -07:00
devin-donnelly c0f3aa4abe Update running-cloud-controller.md 2017-03-21 11:57:01 -07:00
devin-donnelly a5899fc2ff Update components.md 2017-03-21 11:49:23 -07:00
devin-donnelly 8d31f21184 Merge pull request #2887 from pwittrock/release-1.6
Release 1.6
2017-03-21 11:38:53 -07:00
devin-donnelly edff5cbd3f Merge pull request #2927 from nikhiljindal/cascDel1.6
Updating cascading deletion info for federation
2017-03-21 11:34:17 -07:00
devin-donnelly 28cbea8ec6 Merge pull request #2878 from janetkuo/ds-rolling-update
Add Task: Rolling Update a DaemonSet
2017-03-21 11:09:45 -07:00
devin-donnelly c2c5f17fe4 Merge pull request #2745 from jsafrane/default-storage-class
Add documentation about default storage class
2017-03-21 11:01:30 -07:00
Janet Kuo 6eeb3f74f4 Add Task: Rolling Update a DaemonSet 2017-03-21 10:40:17 -07:00
Jan Safranek 0eef44d130 Add documentation about default storage class 2017-03-21 09:25:01 +01:00
Cao Shufeng aaed3a4d38 Audit filter is also available for the insecured endpoint
See code here:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/server/config.go#L445
2017-03-21 04:12:02 -04:00
Cao Shufeng 173d1fd357 Update baisc auditor's info
See codes here:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go#L131
2017-03-21 04:09:09 -04:00
Madhusudan.C.S b4ffa837a5 Address review comments. 2017-03-20 17:19:36 -07:00
Christian Bell c9e46a66e7 Remove fed ingress known issue for 1.6. It's been fixed. 2017-03-20 16:25:47 -07:00
nikhiljindal 0007aa6404 Updating cascading deletion info for federation 2017-03-20 15:15:15 -07:00
devin-donnelly 18fb24df44 Merge pull request #2720 from DirectXMan12/feature/hpa-v2
Update HPA documentation to cover HPA v2
2017-03-20 15:10:54 -07:00
Solly Ross 877c6c224e Update HPA documentation to cover HPA v2
This updates the horizontal pod autoscaling documention to cover the new
autosclaing/v2alpha1 API version.  It also notes the removal of the old
alpha annotations for autoscaling on custom metrics, and reccomends
against using the alpha collection method.
2017-03-20 17:48:46 -04:00
devin-donnelly e12c965102 Merge pull request #2743 from gnufied/add-mount-option-docs
Add documentation for mount option
2017-03-20 14:30:15 -07:00
devin-donnelly ab6166b1f0 Merge pull request #2829 from jbeda/kubeadm-update
Update kubeadm docs for 1.6
2017-03-20 14:28:03 -07:00
Derek Carr 8403efcb04 Add documentation for per pod cgroups 2017-03-20 17:00:30 -04:00
devin-donnelly 508a160591 Merge pull request #2926 from devin-donnelly/release-1.6
Merge latest from Master into Release 1.6
2017-03-20 13:57:54 -07:00
Devin Donnelly 7667b6d217 Merge branch 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io into release-1.6 2017-03-20 13:53:52 -07:00
Devin Donnelly 4956e43fb1 Merge remote-tracking branch 'upstream/master' into release-1.6 2017-03-20 13:51:51 -07:00
Derek Carr d11b59f5ce Clarify out of resource handling for memory.available 2017-03-20 16:51:49 -04:00
Hemant Kumar 5bfd2929d1 Fix language in docs 2017-03-20 15:13:28 -04:00
devin-donnelly 691a680c89 Merge pull request #2779 from jbeda/bootstrap-token
Add details on Bootstrap Tokens
2017-03-20 11:20:04 -07:00
Joe Beda 28c1fc5df8 Update kubeadm guide and reference pages for 1.6
Signed-off-by: Joe Beda <joe.github@bedafamily.com>
2017-03-19 10:04:17 -07:00
David Oppenheimer b8878e3bec Update docs to reflect affinity, taints, tolerations moving from alpha
annotations to (beta) fields.
2017-03-18 12:31:54 -07:00
Guangya Liu ce87af7f3b Updated node controller for taints and tolerations. 2017-03-18 17:34:51 +08:00
Madhusudan.C.S 5b50e8d04e Address review comments. 2017-03-17 22:36:26 -07:00
Shiyang Wang 8f64036db0 update resources name 2017-03-17 22:17:31 -05:00
Madhusudan.C.S 6c54d16ebc Update kubefed documentation. 2017-03-17 19:01:54 -07:00
Chao Xu 20fb544429 address comments 2017-03-17 17:42:58 -07:00
Chao Xu 2626c980f9 update gc doc for foreground garbage collection; add known issues for
non-core resources
2017-03-17 17:42:56 -07:00
Andrew Chen 9886f27a2e Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (62 commits)
  Move Guide topic: Admin Guide
  Move Guide topic: Resource Monitoring. (#2895)
  Move Guide topic: Service. (#2891)
  Move Guide topic: Connecting Apps with Services. (#2885)
  Move Guide topic: Federation Service Discovery. (#2884)
  Move Guide topic: Config Provider Firewalls. (#2883)
  Move Guide topic: Kubeconfig File
  Move Accessing Clusters topic to Concepts. (#2875)
  Move Guide topic: Sharing Clusters
  Move Guide topic: Prereqs
  Move Garbage Collection topic. (#2874)
  Move PetSets topic. (#2873)
  Move Guide topic: Pod Templates (#2872)
  Move StatefulSets topic. (#2869)
  Rename /docs/tasks/job/work-queue-1/
  Move Guide topic: Fine Parallel Processing using a Work Queue (#2870)
  Move Guide topic: Coarse Parallel Processing Using a Work Queue
  Move Init Containers topic. (#2866)
  Move Guide topic: Parallel Processing using Expansions (#2867)
  Move Pod overview. (#2865)
  ...

# Conflicts:
#	docs/api.md
#	docs/user-guide/jobs.md
2017-03-17 17:33:48 -07:00
Joe Beda 017f4e66ea Add details on Bootstrap Tokens 2017-03-17 16:49:14 -07:00
Joe Beda ade8225f0f Reformat kubeadm guide
* Word wrap paragraphs
* Switch to fenced code blocks for all code samples
* Render programs as plain text
* Separate out program invocation from program output

Much of this is to follow the style guide: https://kubernetes.io/docs/contribute/style-guide/

Signed-off-by: Joe Beda <joe.github@bedafamily.com>
2017-03-17 16:37:45 -07:00
sidharthamani 6e657471d3 add docs about cloud-controller-manager 2017-03-17 16:11:45 -07:00
Madhusudan.C.S 8cc433bc6c Deprecate federation-up/deploy.sh doc. 2017-03-17 01:35:16 -07:00
Phillip Wittrock fd0215c3b5 Update Deployment group from "extensions" to "apps" 2017-03-16 20:14:35 -07:00
Phillip Wittrock 5235c4bdf3 Add Kubernetes 1.6 reference docs to the doc 2017-03-16 18:30:27 -07:00
Phillip Wittrock 292a9ca3ce Kubernetes 1.6 api reference docs 2017-03-16 18:29:00 -07:00
Phillip Wittrock 21773e77fa Kubernetes release 1.6 resource reference docs 2017-03-16 18:28:44 -07:00
Guangya Liu 86c3768961 Added --register-with-taints for node.md. 2017-03-17 08:24:57 +08:00
Guangya Liu b72c26923e Updated user guide for kubectl taint by adding NoExecute. 2017-03-17 08:19:21 +08:00
Guangya Liu 127276b9ea Added table of content to node-selection.
This can help generate the table of content so that other files
can make reference of different sections.
2017-03-17 08:15:08 +08:00
devin-donnelly 5ae0ef3d8e Merge pull request #2774 from davidopp/release-1.6
Update node-selection documentation with information about taints, tolerations, and alpha support for per-pod-configurable behavior when there are node problems
2017-03-16 13:33:27 -07:00
Phillip Wittrock 495e9f22b6 kubectl 1.6 reference docs 2017-03-16 13:11:42 -07:00
devin-donnelly 35b59b4e03 Merge pull request #2843 from wongma7/external-feature
Add external provisioners to PV doc
2017-03-16 13:09:54 -07:00
devin-donnelly 9c8a08a310 Merge pull request #2854 from portworx/portworx-volume-plugin
Portworx Volume Plugin
2017-03-16 13:08:12 -07:00
David Oppenheimer 4013c5fb60 Update node-selection documentation with information about taints,
tolerations, and alpha support for per-pod-configurable behavior
when there are node problems.
2017-03-16 12:25:37 -07:00
Jordan Liggitt c4e8b56539 Document non-standard verbs 2017-03-16 11:40:08 -04:00
Matthew Wong 07d3a89fad Add external provisioners to PV doc 2017-03-16 11:19:04 -04:00
Aditya Dani e29c8d6b91 Portworx Volume Plugin - Add relevant doc references
- PortworxVolume as a type of Volume.
    - Portworx as a type of StorageClass
2017-03-16 14:52:49 +00:00
Vishnu kannan d4383a4b6a define enforcement in node-allocatable doc
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-03-15 08:39:41 -07:00
Vishnu kannan b6a72da8e8 fix defaults and formatting on node-allocatable admin doc
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-03-15 08:39:41 -07:00
Vishnu kannan 0ecd5254d9 adding docs for node allocatable
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2017-03-15 08:39:41 -07:00
Vladimir Vivien 73cb92a0a9 Adds documentation for Dell EMC ScaleIO volume plugin
This commit updates the volumes documentation to include ScaleIO volume plugin information.
2017-03-15 08:34:57 -07:00
Jordan Liggitt 8e0a24c6b0 RBAC doc cleanup 2017-03-14 11:16:55 -07:00
devin-donnelly b60507278c Merge pull request #2793 from devin-donnelly/release-1.6
Merge latest from Master into Release 1.6
2017-03-14 11:14:55 -07:00
Jan Safranek 146af29a90 Add documentation of PV/PVC.storageClassName 2017-03-14 10:58:58 -07:00
Devin Donnelly b9c2e95fee Merge remote-tracking branch 'upstream/master' into release-1.6 2017-03-13 17:00:40 -07:00
peay 3be8f7493a Update CronJob history limits 2017-03-13 10:00:08 -07:00
Jordan Liggitt 053bce4219 Add group and extra info to front proxy 2017-03-11 00:48:21 -05:00
Jordan Liggitt 730fada1af Clarify anonymous auth enablement 2017-03-09 13:16:21 -05:00
Hemant Kumar cea23069c2 Add documentation for mount option 2017-03-08 21:06:47 -05:00
devin-donnelly 6f9b0d9191 Merge pull request #2739 from devin-donnelly/release-1.6
Merge latest from Master into Release 1.6
2017-03-08 14:54:59 -08:00
Devin Donnelly 621465a55c Merge remote-tracking branch 'upstream/master' into release-1.6 2017-03-08 14:51:36 -08:00
Andrew Chen 3e81720c34 Merge branch 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io:
  Update RBAC doc
2017-03-07 13:46:28 -08:00
Andrew Chen 5b96f8f4ee Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fix typo
  fix typo
  cluster-management--3
  Highlighted command --kubectl describe
  update init-containers.md
  Update pod.md
2017-03-07 13:46:16 -08:00
Jordan Liggitt d7e5371b0c Update RBAC doc 2017-03-07 12:20:34 -08:00
Andrew Chen cc0db822f9 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  update to be retained
2017-03-06 17:00:04 -08:00
Kevin 0f528eec9a update node-selection/index.md 2017-03-06 11:29:28 -08:00
Kevin 855cc67c77 Update "node selection" documentation to reflect Beta affinity syntax 2017-03-06 11:29:28 -08:00
Andrew Chen d83ea64d98 Merge branch 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'release-1.6' of https://github.com/kubernetes/kubernetes.github.io:
  Updated spec.schedulername to spec.schedulerName.
2017-03-06 11:28:26 -08:00
Andrew Chen 2f9aa17560 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (58 commits)
  fix unsupported parameter of wget command
  Update Weave Net's title.
  Update garbage-collection.md
  Correct ASM logo filename
  fixed ASM blurb
  Repair Spotinst logo
  Doc formatting update
  fixing typo
  Minor spelling correction -- "rtk" to "rkt"
  update init-containers.md
  Update local instructions to new method.
  Update ubuntu install instructions.
  Highlighted command for `kubectl proxy`.
  Update Tasks landing page. (#2697)
  Deprecate Guide topics: quick-start ... (#2696)
  Deprecate Guide topic: Secrets Walkthrough. (#2695)
  Update multiple-schedulers doc  (#2063)
  remove extra space
  Reimplement PR #2525
  Deprecate Guide topic: Persistent Volume Walkthrough. (#2692)
  ...
2017-03-06 11:28:15 -08:00
Klaus Ma 32ab0977a2 Updated spec.schedulername to spec.schedulerName. 2017-03-06 10:47:46 -08:00
Jeff Peeler 8dcc673d5d Add docs for projected volume driver 2017-03-03 09:23:47 -08:00
xilabao 7aa8b474f8 support extra arguments in kubeadm master config 2017-03-02 10:14:42 -08:00
Andrew Chen a292ca987a Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Correct the certificate name
2017-03-02 10:12:48 -08:00
Andrew Chen 06b5791afa Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  getting-started-guides: add CoreOS Tectonic
  add DefaultTolerationSeconds admission controller
  Move Guide topic: Connect with Proxies. (#2663)
  Move Guide topic: Bootstrapping Pet Sets. (#2662)
  Move Guide topic: Using Port Forwarding. (#2661)
  fix typo (#2656)
  Move Guide topic: Using Environment Variables. (#2645)
  missing word
  Prototype for deprecating User Guide topic.
  Update static-pods.md
  Update static-pods.md
2017-03-02 09:49:33 -08:00
devin-donnelly 46c212b7a8 Merge pull request #2647 from devin-donnelly/release-1.6
Merge latest from master into Release 1.6
2017-02-28 14:34:08 -08:00
Devin Donnelly 9a96256e49 Merge remote-tracking branch 'upstream/master' into release-1.6 2017-02-28 14:33:19 -08:00
Andrew Chen 86df553c4b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (136 commits)
  Clarify minimum version of kubernetes supporting PSP authz
  Fix typo: federation-controller-mananger => federation-controller-manager
  Fix typo: federation-controller-mananger => federation-controller-manager
  fix command kubectl get svc,pod output
  limitrange-update
  doc-walkthrough-content
  package apt-transport-https should be installed
  Fix apimachinery vendored dependencies in examples_test.
  Delete the parameter "--google-json-key string"
  Removed Extra space in the KUBE2GO commit
  Added KUBE2GO.io
  fix some wrong links
  Update hello-minikube.md
  show kubectl_rollingupdate svg
  Fixed flag for eviction-soft.
  Update review-issues.md
  Move Guide topic: Garbage Collection. (#2488)
  Update source-ip.md
  Update source-ip.md
  concepts/abstractions: init containers example.
  ...
2017-02-24 15:14:21 -08:00
Ritesh H Shukla 2ef1b0145e Add default storage class documentation for 1.6
fixes https://github.com/kubernetes/kubernetes/issues/40070
2017-02-22 17:20:12 -08:00
Andrew Chen 64267ef509 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Update hello-minikube.md
  show kubectl_rollingupdate svg
  Fixed flag for eviction-soft.
  Update review-issues.md
  Move Guide topic: Garbage Collection. (#2488)
  Update source-ip.md
  Update source-ip.md
2017-02-22 17:18:14 -08:00
Andrew Chen de68989df2 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  concepts/abstractions: init containers example.
  updated vsphere getting started guide addressed review comments addressed chenopis's review comments
2017-02-21 16:34:58 -08:00
Andrew Chen 578123e106 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Revert "Updated description for kubeadm init --kubernetes-version"
  Updated description for kubeadm init --kubernetes-version
  Remove details about where authenticator is implemented
  replace petset with statefulsets
  Updated result of command
  replace argumment with argument
  Highlight some keyworks in garbage-collection.md.
  Fixed typos in persistent volume index.md
  Remove reference to port-forward to services
  add an example
  fix typo
  Fix typo in concepts
  Parallel Jobs with a *work queue*:
  Add more options for self-registration.
  dedent yaml code blocks
  Add kubelet eviction in GC doc (#2484)
2017-02-21 12:43:53 -08:00
Alexander Kanevskiy 7b17b51997 Updated description for kubeadm init --kubernetes-version 2017-02-21 12:42:46 -08:00
Andrew Chen 7673131c02 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (22 commits)
  Revert "Document new optional support for ConfigMap and Secret"
  Revert "mend"
  modify one word
  fix typo
  Fix typos in running zookeeper article
  Add note about moved content. (#2563)
  Move Guide topic to Tasks: Downward API (#2439)
  modify typora
  fix etcd disaster-recovery hyperlink
  replace kubernetes.d with kubelet.d
  remove its name from file content
  Let's put kubectl in ~/bin.
  Move Guide toic to Tasks: kubectl exec.
  Fix travis and add comments
  Move Pod Lifecycle to Concepts. (#2420)
  Update deployment completeness documentation
  rollback PR #2522
  kubectl_apply.md-change it for label key
  Update the links of Deployment User Guide
  #2534 mark openstack-heat as standalone-salt-conf
  ...

# Conflicts:
#	docs/user-guide/configmap/index.md
2017-02-17 10:36:54 -08:00
Jordan Liggitt 6e9fc80694 Add RBAC default roles, CLI helpers, upgrade guide 2017-02-17 09:07:57 -08:00
Jordan Liggitt 258755fbfe Split RBAC documentation into separate page 2017-02-17 09:07:57 -08:00
Jordan Liggitt dc6643e00e subdirectory for authorization 2017-02-17 09:07:57 -08:00
deads2k a6c76bb814 add information about RBAC bootstrap roles 2017-02-17 09:07:57 -08:00
sallydeng 0486082622 Modified sentence base on comment
Base on comment, added the markdown formatting so that "NOTE:" is in bold and "optional:true" is in the code style
2017-02-16 17:50:57 -08:00
sallydeng 177d664239 optional:true is supported for Kubernetes 1.6
NOTE: The key-value optional:true is supported for Kubernetes 1.6 and above.
2017-02-16 17:50:57 -08:00
Maciej Szulik ec4e3b0ca2 Remove extensions/v1beta1 Job 2017-02-15 14:01:57 -08:00
Andrew Chen 9310444630 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Fix travis.yml
  re: issue #2034; fix docker image link (#2532)
  re: issue #1671; update to direct link
  Update cheatsheet for multi-container handling
  add "--show-all" to kubectl get pods
  Fix broken/outdated links in the ingress.md file
  column READY is missed
  fix Kubenetes typo
  Update overview.md
  Update pod.md
  Update multiple-schedulers.md
  Fix the standard storageClass for GCE
  fix typo
  fix typo
  Update index.md
  doc(kubeadm.md) - change base64 decode option to '--decode'
  Update links to ingress repository
  Updated dead links
  Fix unmatched closing paren
2017-02-15 13:59:13 -08:00
Michail Kargakis 2172507943 Update deployment completeness documentation 2017-02-15 11:47:56 -08:00
Andrew Chen 501bde89e4 minor grammar addition
added 'be' in line 247: "...variables or be used in"
2017-02-14 09:48:47 -08:00
Michael Fraenkel 15e529958e Initial docs for envFrom ConfigMap 2017-02-14 09:48:47 -08:00
peay ae4bc86dae Update CronJob doc. with history limits 2017-02-14 09:07:01 -08:00
4940 changed files with 640137 additions and 199650 deletions
+9 -2
View File
@@ -1,3 +1,10 @@
> NOTE: Please check the “Allow edits from maintainers” box below to allow
> reviewers fix problems on your patch and speed up the review process.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> For 1.8 Features: set Milestone to `1.8` and Base Branch to `release-1.8`
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> NOTE: Please check the “Allow edits from maintainers” box (see image below) to
> [allow reviewers to fix problems](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) on your patch and speed up the review process.
>
> Please delete this note before submitting the pull request.
![Allow edits from maintainers checkbox](https://help.github.com/assets/images/help/pull_requests/allow-maintainers-to-make-edits-sidebar-checkbox.png)
-1
View File
@@ -24,4 +24,3 @@ Session.vim
tags
kubernetes.github.io.iml
_redirects
+7 -15
View File
@@ -1,29 +1,21 @@
language: go
go:
- 1.8.1
- 1.8.3
# Don't want default ./... here:
install:
- export PATH=$GOPATH/bin:$PATH
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kubernetes.github.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/website
- cd $HOME/gopath/src/k8s.io/website
# (1) Fetch dependencies for us to run the tests in test/examples_test.go
- go get -t -v k8s.io/kubernetes.github.io/test
# Simplified deduplication of dependencies.
- pushd $GOPATH/src/k8s.io && git clone https://github.com/kubernetes/kubernetes && popd
- pushd $GOPATH/src/k8s.io/kubernetes && git checkout release-1.7 && popd
- cp -L -R $GOPATH/src/k8s.io/kubernetes/vendor/ $GOPATH/src/
- rm -r $GOPATH/src/k8s.io/kubernetes/vendor/
# (2) Fetch md-check along with all its dependencies.
- git clone --depth=50 --branch=master https://github.com/kubernetes/md-check $HOME/gopath/src/k8s.io/md-check
- go get -t -v k8s.io/md-check
# (3) Fetch mungedocs
- go get -v k8s.io/kubernetes/cmd/mungedocs
- go get -t -v k8s.io/website/test
script:
- go test -v k8s.io/kubernetes.github.io/test
- $GOPATH/bin/md-check --root-dir=$HOME/gopath/src/k8s.io/kubernetes.github.io
- go test -v k8s.io/website/test
- ./verify-docs-format.sh
- $GOPATH/bin/mungedocs --verbose --verify --upstream=origin --root-dir=$HOME/gopath/src/k8s.io/kubernetes.github.io/docs/ --repo-root=$HOME/gopath/src/k8s.io/kubernetes.github.io --skip-munges=remove-whitespace,blank-lines-surround-preformatted,header-lines,sync-examples,analytics,analytics,kubectl-dash-f,table-of-contents,md-links,kubectl-dash-f
-1
View File
@@ -1 +0,0 @@
kubernetes.io
+2 -2
View File
@@ -17,7 +17,7 @@ The [Kubernetes SIG Docs Discussion Group](https://groups.google.com/forum/#!for
### Style Guides and Templates
Before submitting a pull request to create new content, please review the [Kubernetes.io style guide](http://kubernetes.io/docs/contribute/style-guide/) and follow the [instructions for using page templates](http://kubernetes.io/docs/contribute/page-templates/).
Before submitting a pull request to create new content, please review the [Kubernetes.io style guide](http://kubernetes.io/docs/home/contribute/style-guide/) and follow the [instructions for using page templates](http://kubernetes.io/docs/home/contribute/page-templates/).
## Contributing to Documentation
@@ -33,4 +33,4 @@ Note that code issues should be filed against the main kubernetes repository, wh
### Submitting Documentation Pull Requests
If you're fixing an issue in the existing documentation, you should submit a PR against the master branch. Follow [these instructions to create a documentation pull request against the kubernetes.io repository](http://kubernetes.io/docs/contribute/create-pull-request/).
If you're fixing an issue in the existing documentation, you should submit a PR against the master branch. Follow [these instructions to create a documentation pull request against the kubernetes.io repository](http://kubernetes.io/docs/home/contribute/create-pull-request/).
+2 -2
View File
@@ -155,7 +155,7 @@ GEM
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
json (1.8.3)
json (1.8.6)
kramdown (1.11.1)
liquid (3.0.6)
listen (3.0.6)
@@ -200,4 +200,4 @@ DEPENDENCIES
jekyll-include-cache (~> 0.1)
BUNDLED WITH
1.13.6
1.15.2
+7 -7
View File
@@ -1,4 +1,4 @@
.PHONY: all build build-preview generate-redirects help serve
.PHONY: all build build-preview help serve
help: ## Show this help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@@ -6,13 +6,13 @@ help: ## Show this help.
all: build ## Build site with production settings and put deliverables in _site.
build: ## Build site with production settings and put deliverables in _site.
jekyll build
bundle exec jekyll build
build-preview: ## Build site with drafts and future posts enabled.
jekyll build --drafts --future
generate-redirects: ## Generate a redirects file and copy it into the _site directory.
mkdir -p _site && REDIRECTS_PATH=_site/_redirects ruby redirects.rb
bundle exec jekyll build --drafts --future
serve: ## Boot the development server.
jekyll serve
bundle exec jekyll serve
stage: ## Run the Jekyll staging container.
docker run -ti --rm -v "${PWD}":/k8sdocs -p 4000:4000 gcr.io/google-samples/k8sdocs:1.1
+21 -6
View File
@@ -1,6 +1,21 @@
assignees:
- smarterclayton
- janetkuo
- pwittrock
- kelseyhightower
- jaredbhatti
# Reviewers can /lgtm /approve but not sufficient for auto-merge without an
# approver
reviewers:
- rajakavitha1
- stewart-yu
- xiangpengzhao
- zhangxiaoyu-zidif
# Approvers have all the ability of reviewers but their /approve makes
# auto-merge happen if a /lgtm exists, or vice versa, or they can do both
# No need for approvers to also be listed as reviewers
approvers:
- bradamant3
- bradtopol
- chenopis
- kbarnard10
- mistyhacks
- steveperry-53
- tengqm
- zacharysarah
- zparnold
+6 -5
View File
@@ -7,11 +7,12 @@ You can click the **Fork** button in the upper-right area of the screen to creat
For more information about contributing to the Kubernetes documentation, see:
* [Contributing to the Kubernetes Documentation](http://kubernetes.io/editdocs/)
* [Creating a Documentation Pull Request](http://kubernetes.io/docs/contribute/create-pull-request/)
* [Writing a New Topic](http://kubernetes.io/docs/contribute/write-new-topic/)
* [Staging Your Documentation Changes](http://kubernetes.io/docs/contribute/stage-documentation-changes/)
* [Using Page Templates](http://kubernetes.io/docs/contribute/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/contribute/style-guide/)
* [Creating a Documentation Pull Request](http://kubernetes.io/docs/home/contribute/create-pull-request/)
* [Writing a New Topic](http://kubernetes.io/docs/home/contribute/write-new-topic/)
* [Review Issues](http://kubernetes.io/docs/home/contribute/review-issues/)
* [Staging Your Documentation Changes](http://kubernetes.io/docs/home/contribute/stage-documentation-changes/)
* [Using Page Templates](http://kubernetes.io/docs/home/contribute/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/home/contribute/style-guide/)
## Thank you!
+25 -20
View File
@@ -1,5 +1,6 @@
name: Kubernetes
title: Kubernetes
url: https://kubernetes.io
description: Production-Grade Container Orchestration
markdown: kramdown
kramdown:
@@ -17,15 +18,26 @@ defaults:
scope:
path: ""
values:
version: "v1.5"
githubbranch: "v1.5.7"
docsbranch: "release-1.5"
fullversion: "v1.7.3"
version: "v1.7"
githubbranch: "v1.7.3"
docsbranch: "release-1.7"
versions:
- fullversion: "v1.11.0"
version: "v1.11"
githubbranch: "v1.11.0"
docsbranch: "release-1.11"
url: https://kubernetes.io/docs/
- fullversion: "v1.10.0"
version: "v1.10"
githubbranch: "v1.10.0"
docsbranch: "release-1.10"
url: https://v1-10.docs.kubernetes.io/
- fullversion: "v1.9.0"
version: "v1.9"
githubbranch: "v1.9.0"
docsbranch: "release-1.9"
url: https://kubernetes.io/docs/home/
url: https://v1-9.docs.kubernetes.io/docs/home/
- fullversion: "v1.8.4"
version: "v1.8"
githubbranch: "v1.8.4"
@@ -36,16 +48,6 @@ defaults:
githubbranch: "v1.7.3"
docsbranch: "release-1.7"
url: https://v1-7.docs.kubernetes.io/docs/home/
- fullversion: "v1.6.8"
version: "v1.6"
githubbranch: "v1.6.8"
docsbranch: "release-1.6"
url: https://v1-6.docs.kubernetes.io/docs/home/
- fullversion: "v1.5.7"
version: "v1.5"
githubbranch: "v1.5.7"
docsbranch: "release-1.5"
url: https://v1-5.docs.kubernetes.io/docs/
deprecated: true
currentUrl: https://kubernetes.io/docs/home/
nextUrl: http://kubernetes-io-vnext-staging.netlify.com/
@@ -59,27 +61,30 @@ defaults:
permalink: pretty
gems:
- jekyll-redirect-from
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-include-cache
# disabled gems
# - jekyll-redirect-from
include: [_headers]
include: [_redirects,_headers]
# SEO
logo: /images/favicon.png
twitter:
username: kubernetesio
# empty array for tabs
emptyArray: []
# Tables of contents, stored in the _data folder, that control the sidebar nav
tocs:
- docs-home
- guides
- tutorials
- setup
- tasks
- tutorials
- concepts
- reference
- tools
- samples
- support
- search
+12
View File
@@ -0,0 +1,12 @@
- Fundamental
- API Object
- Metadata
- Configuration
- Security
- Networking
- Storage
- Operation
- Workload
- Component
- API
- Extension
+61 -34
View File
@@ -10,13 +10,26 @@ toc:
- title: Working with Kubernetes Objects
section:
- docs/concepts/overview/working-with-objects/kubernetes-objects.md
- docs/concepts/overview/working-with-objects/names.md
- docs/concepts/overview/working-with-objects/namespaces.md
- docs/concepts/overview/working-with-objects/labels.md
- docs/concepts/overview/working-with-objects/annotations.md
- docs/concepts/overview/kubernetes-api.md
- title: Kubernetes Architecture
section:
- docs/concepts/architecture/nodes.md
- docs/concepts/architecture/master-node-communication.md
- title: Extending the Kubernetes API
section:
- docs/concepts/api-extension/custom-resources.md
- docs/concepts/api-extension/apiserver-aggregation.md
- title: Containers
section:
- docs/concepts/containers/images.md
- docs/concepts/containers/container-environment-variables.md
- docs/concepts/containers/container-lifecycle-hooks.md
- title: Workloads
@@ -24,51 +37,65 @@ toc:
- title: Pods
section:
- docs/concepts/workloads/pods/pod-overview.md
- docs/concepts/workloads/pods/pod.md
- docs/concepts/workloads/pods/pod-lifecycle.md
- docs/concepts/workloads/pods/init-containers.md
- docs/concepts/workloads/pods/disruptions.md
- title: Controllers
section:
- docs/concepts/workloads/controllers/replicaset.md
- docs/concepts/workloads/controllers/replicationcontroller.md
- docs/concepts/workloads/controllers/deployment.md
- docs/concepts/workloads/controllers/statefulset.md
- docs/concepts/workloads/controllers/petset.md
- docs/concepts/workloads/controllers/daemonset.md
- docs/concepts/workloads/controllers/garbage-collection.md
- title: Jobs
section:
- docs/concepts/jobs/run-to-completion-finite-workloads.md
- title: Cluster Administration
section:
- docs/concepts/cluster-administration/manage-deployment.md
- docs/concepts/cluster-administration/networking.md
- docs/concepts/cluster-administration/network-plugins.md
- docs/concepts/cluster-administration/logging.md
- docs/concepts/cluster-administration/audit.md
- docs/concepts/cluster-administration/resource-usage-monitoring.md
- docs/concepts/cluster-administration/out-of-resource.md
- docs/concepts/cluster-administration/multiple-clusters.md
- docs/concepts/cluster-administration/federation.md
- docs/concepts/cluster-administration/federation-service-discovery.md
- docs/concepts/cluster-administration/guaranteed-scheduling-critical-addon-pods.md
- docs/concepts/cluster-administration/static-pod.md
- docs/concepts/cluster-administration/sysctl-cluster.md
- docs/concepts/cluster-administration/access-cluster.md
- docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig.md
- title: Storage
section:
- docs/concepts/storage/volumes.md
- title: Services, Load Balancing, and Networking
section:
- docs/concepts/services-networking/dns-pod-service.md
- docs/concepts/services-networking/connect-applications-service.md
- docs/concepts/workloads/controllers/jobs-run-to-completion.md
- docs/concepts/workloads/controllers/cron-jobs.md
- title: Configuration
section:
- docs/concepts/configuration/overview.md
- docs/concepts/configuration/container-command-args.md
- docs/concepts/configuration/manage-compute-resources-container.md
- docs/concepts/configuration/assign-pod-node.md
- docs/concepts/configuration/taint-and-toleration.md
- docs/concepts/configuration/secret.md
- docs/concepts/configuration/organize-cluster-access-kubeconfig.md
- title: Policies
- title: Services, Load Balancing, and Networking
section:
- docs/concepts/policy/container-capabilities.md
- docs/concepts/policy/resource-quotas.md
- docs/concepts/services-networking/service.md
- docs/concepts/services-networking/dns-pod-service.md
- docs/concepts/services-networking/connect-applications-service.md
- docs/concepts/services-networking/ingress.md
- docs/concepts/services-networking/network-policies.md
- docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases.md
- title: Storage
section:
- docs/concepts/storage/volumes.md
- docs/concepts/storage/persistent-volumes.md
- title: Dynamic Provisioning
path: http://blog.kubernetes.io/2016/10/dynamic-provisioning-and-storage-in-kubernetes.html
- title: Cluster Administration
section:
- docs/concepts/cluster-administration/cluster-administration-overview.md
- docs/concepts/cluster-administration/cloud-providers.md
- docs/concepts/cluster-administration/manage-deployment.md
- docs/concepts/cluster-administration/networking.md
- docs/concepts/cluster-administration/network-plugins.md
- docs/concepts/cluster-administration/logging.md
- docs/concepts/cluster-administration/kubelet-garbage-collection.md
- docs/concepts/cluster-administration/federation.md
- docs/concepts/cluster-administration/sysctl-cluster.md
- docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig.md
- docs/concepts/cluster-administration/master-node-communication.md
- docs/concepts/cluster-administration/proxies.md
- docs/concepts/cluster-administration/controller-metrics.md
- title: Policies
section:
- docs/concepts/policy/resource-quotas.md
- docs/concepts/policy/pod-security-policy.md
+21 -2
View File
@@ -1,4 +1,23 @@
bigheader: "Kubernetes Documentation"
bigheader: "Documentation Home"
abstract: "Documentation for using and learning about Kubernetes."
toc:
- docs/index.md
- docs/home/index.md
- docs/home/index.md
- title: Release Notes
path: https://git.k8s.io/kubernetes/CHANGELOG.md
- title: Release Roadmap
path: https://github.com/kubernetes/kubernetes/milestones/
- docs/tasks/debug-application-cluster/troubleshooting.md
- title: Contributing to the Kubernetes Docs
section:
- editdocs.md
- docs/home/contribute/create-pull-request.md
- docs/home/contribute/write-new-topic.md
- docs/home/contribute/stage-documentation-changes.md
- docs/home/contribute/page-templates.md
- docs/home/contribute/review-issues.md
- docs/home/contribute/style-guide.md
+2 -2
View File
@@ -1,10 +1,10 @@
tocs:
- docs-home
- guides
- tutorials
- setup
- tasks
- tutorials
- concepts
- reference
- tools
- samples
- support
+17
View File
@@ -0,0 +1,17 @@
id: _example
name: Example K8s Term
formerly:
- Slang K8s Term
- Misnomer
- Formerly Known as Prince
related:
- Less Fancy K8s Term
- Tangential Term
- Commonly Used With
tags:
- Some Tag
short-description: |
Required. One or two lines that provide a minimum definition. Do not repeat the term. Write about the plural of the term. Prefer fragments. Model after tooltips. End with a period.
long-description: |
Optional. Longer additional text to appear after (in conjunction with) short description. Provide where the short description is not sufficient as the intro paragraph to a topic. Write complete but concise sentences.
**See /_includes/templates/glossary/README.md for the official style guide.**
+18
View File
@@ -0,0 +1,18 @@
id: statefulset
name: StatefulSet
formerly:
- PetSet
related:
- Deployment
- Pod
tags:
- Storage
- Workload
- API Object
short-description: |
Manage the deployment and scaling of a set of Pods, *and provide guarantees about ordering*. They do so by maintaining a *unique*, sticky identity for each of their Pods.
long-description: |
Like Deployments, StatefulSets manage Pods that are based on an identical container spec. However, although their specs are the same, the Pods in a StatefulSet are not interchangeable. Each Pod has a persistent identifier that it maintains across any rescheduling.
StatefulSets also operate according to the Controller pattern. You define your desired state in a StatefulSet *object*, and the StatefulSet *controller* makes any necessary updates to the get there from the current state.
-219
View File
@@ -1,219 +0,0 @@
bigheader: "Guides"
abstract: "How to get started, and accomplish tasks, using Kubernetes."
toc:
- docs/user-guide/index.md
- docs/whatisk8s.md
- docs/user-guide/index.md
- title: Accessing the Cluster
section:
- docs/user-guide/prereqs.md
- docs/user-guide/accessing-the-cluster.md
- docs/user-guide/sharing-clusters.md
- docs/user-guide/kubeconfig-file.md
- docs/user-guide/ui.md
- title: Workload Deployment and Management
section:
- docs/user-guide/managing-deployments.md
- docs/user-guide/replication-controller/operations.md
- docs/user-guide/resizing-a-replication-controller.md
- docs/user-guide/rolling-updates.md
- docs/user-guide/update-demo/index.md
- docs/user-guide/configmap/index.md
- docs/user-guide/horizontal-pod-autoscaling/walkthrough.md
- docs/user-guide/config-best-practices.md
- docs/user-guide/working-with-resources.md
- docs/user-guide/garbage-collection.md
- title: Using NetworkPolicy
section:
- docs/getting-started-guides/network-policy/walkthrough.md
- docs/getting-started-guides/network-policy/calico.md
- docs/getting-started-guides/network-policy/romana.md
- docs/getting-started-guides/network-policy/weave.md
- title: Batch Jobs
section:
- docs/user-guide/jobs.md
- docs/user-guide/jobs/expansions/index.md
- docs/user-guide/jobs/work-queue-1/index.md
- docs/user-guide/jobs/work-queue-2/index.md
- docs/user-guide/cron-jobs.md
- title: Service Discovery and Load Balancing
section:
- docs/user-guide/connecting-applications.md
- docs/user-guide/services/operations.md
- docs/user-guide/load-balancer.md
- docs/user-guide/services-firewalls.md
- docs/user-guide/federation/federated-services.md
- title: Containers and Pods
section:
- docs/user-guide/pods/multi-container.md
- docs/user-guide/pod-templates.md
- docs/user-guide/environment-guide/index.md
- docs/user-guide/compute-resources.md
- docs/user-guide/liveness/index.md
- docs/user-guide/container-environment.md
- docs/user-guide/node-selection/index.md
- docs/user-guide/petset/bootstrapping/index.md
- title: Monitoring, Logging, and Debugging Containers
section:
- docs/user-guide/monitoring.md
- title: Logging
section:
- docs/user-guide/logging/overview.md
- docs/user-guide/logging/stackdriver.md
- docs/user-guide/logging/elasticsearch.md
- docs/user-guide/connecting-to-applications-proxy.md
- docs/user-guide/connecting-to-applications-port-forward.md
- title: Using Explorer to Examine the Runtime Environment
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/explorer
- title: Creating a Cluster
section:
- docs/getting-started-guides/index.md
- title: Running Kubernetes on Your Local Machine
section:
- docs/getting-started-guides/minikube.md
- docs/getting-started-guides/alternatives.md
- title: Running Kubernetes on Turn-key Cloud Solutions
section:
- title: Running Kubernetes on Google Container Engine
path: https://cloud.google.com/container-engine/docs/before-you-begin/
- docs/getting-started-guides/gce.md
- docs/getting-started-guides/aws.md
- title: Running Kubernetes on Azure Container Service
path: https://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough
- docs/getting-started-guides/azure.md
- docs/getting-started-guides/clc.md
- title: Running Kubernetes on IBM SoftLayer
path: https://github.com/patrocinio/kubernetes-softlayer
- title: Running Kubernetes on Multiple Clouds with Stackpoint.io
path: /docs/getting-started-guides/stackpoint/
- title: Running Kubernetes on Custom Solutions
section:
- docs/getting-started-guides/scratch.md
- docs/getting-started-guides/kubeadm.md
- title: Custom Cloud Solutions
section:
- docs/getting-started-guides/coreos/index.md
- docs/getting-started-guides/ubuntu/index.md
- docs/getting-started-guides/rackspace.md
- docs/getting-started-guides/kops.md
- docs/getting-started-guides/kargo.md
- title: On-Premise VMs
section:
- docs/getting-started-guides/coreos/index.md
- docs/getting-started-guides/cloudstack.md
- docs/getting-started-guides/vsphere.md
- docs/getting-started-guides/photon-controller.md
- docs/getting-started-guides/dcos.md
- docs/getting-started-guides/libvirt-coreos.md
- docs/getting-started-guides/ovirt.md
- docs/getting-started-guides/openstack-heat.md
- title: rkt
section:
- docs/getting-started-guides/rkt/index.md
- docs/getting-started-guides/rkt/notes.md
- docs/getting-started-guides/mesos/index.md
- docs/getting-started-guides/mesos-docker.md
- title: Bare Metal
section:
- docs/getting-started-guides/coreos/bare_metal_offline.md
- docs/getting-started-guides/fedora/fedora_ansible_config.md
- docs/getting-started-guides/fedora/fedora_manual_config.md
- docs/getting-started-guides/fedora/flannel_multi_node_cluster.md
- docs/getting-started-guides/centos/centos_manual_config.md
- docs/getting-started-guides/coreos/index.md
- docs/getting-started-guides/ubuntu/index.md
- title: Ubuntu
section:
- docs/getting-started-guides/ubuntu/index.md
- docs/getting-started-guides/ubuntu/validation.md
- docs/getting-started-guides/ubuntu/backups.md
- docs/getting-started-guides/ubuntu/upgrades.md
- docs/getting-started-guides/ubuntu/scaling.md
- docs/getting-started-guides/ubuntu/installation.md
- docs/getting-started-guides/ubuntu/monitoring.md
- docs/getting-started-guides/ubuntu/networking.md
- docs/getting-started-guides/ubuntu/security.md
- docs/getting-started-guides/ubuntu/storage.md
- docs/getting-started-guides/ubuntu/troubleshooting.md
- docs/getting-started-guides/ubuntu/decommissioning.md
- docs/getting-started-guides/ubuntu/calico.md
- docs/getting-started-guides/ubuntu/operational-considerations.md
- docs/getting-started-guides/ubuntu/glossary.md
- docs/getting-started-guides/ubuntu/local.md
- docs/getting-started-guides/ubuntu/logging.md
- docs/getting-started-guides/ubuntu/manual.md
- docs/getting-started-guides/windows/index.md
- docs/admin/node-conformance.md
- docs/getting-started-guides/docker-multinode.md
- docs/admin/cluster-large.md
- docs/admin/multiple-zones.md
- docs/admin/high-availability/index.md
- docs/getting-started-guides/binary_release.md
- title: Administering Clusters
section:
- docs/admin/index.md
- docs/admin/cluster-management.md
- docs/admin/upgrade-1-6.md
- docs/admin/kubeadm.md
- docs/admin/addons.md
- docs/admin/audit.md
- docs/admin/ha-master-gce.md
- docs/admin/namespaces/index.md
- docs/admin/namespaces/walkthrough.md
- docs/admin/limitrange/index.md
- docs/admin/disruptions.md
- docs/admin/resourcequota/index.md
- docs/admin/resourcequota/walkthrough.md
- docs/admin/resourcequota/limitstorageconsumption.md
- docs/admin/rescheduler.md
- docs/admin/sysctls.md
- docs/admin/cluster-components.md
- docs/admin/etcd.md
- docs/admin/multi-cluster.md
- title: Changing Cluster Size
path: https://github.com/kubernetes/kubernetes/wiki/User-FAQ#how-do-i-change-the-size-of-my-cluster/
- docs/admin/multiple-schedulers.md
- docs/admin/networking.md
- docs/admin/dns.md
- title: Setting Up and Configuring DNS
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/cluster-dns
- docs/admin/master-node-communication.md
- docs/admin/network-plugins.md
- docs/admin/static-pods.md
- docs/admin/garbage-collection.md
- docs/admin/out-of-resource.md
- docs/admin/salt.md
- docs/admin/node-problem.md
- docs/admin/apparmor/index.md
- title: Administering Federation
section:
- docs/admin/federation/kubefed.md
- title: Federated Kubernetes Objects
section:
- docs/user-guide/federation/index.md
- docs/user-guide/federation/configmap.md
- docs/user-guide/federation/daemonsets.md
- docs/user-guide/federation/deployment.md
- docs/user-guide/federation/events.md
- docs/user-guide/federation/federated-ingress.md
- docs/user-guide/federation/namespaces.md
- docs/user-guide/federation/replicasets.md
- docs/user-guide/federation/secrets.md
- docs/federation/api-reference/index.md
- title: Federation Components
section:
- docs/admin/federation-apiserver.md
- title : federation-controller-manager
path: /docs/admin/federation-controller-manager
-8
View File
@@ -1,6 +1,4 @@
overrides:
- path: docs/api-reference
- path: docs/user-guide/kubectl
- path: docs/admin/federation-apiserver.md
- path: docs/admin/federation-controller-manager.md
- path: docs/admin/kube-apiserver.md
@@ -8,10 +6,4 @@ overrides:
- path: docs/admin/kube-proxy.md
- path: docs/admin/kube-scheduler.md
- path: docs/admin/kubelet.md
- changedpath: docs/api-reference/extensions/v1beta1/definitions.html _includes/v1.5/extensions-v1beta1-definitions.html
- changedpath: docs/api-reference/extensions/v1beta1/operations.html _includes/v1.5/extensions-v1beta1-operations.html
- changedpath: docs/api-reference/v1/definitions.html _includes/v1.5/v1-definitions.html
- changedpath: docs/api-reference/v1/operations.html _includes/v1.5/v1-operations.html
- copypath: k8s/federation/docs/api-reference/ docs/federation/
- copypath: k8s/cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml docs/getting-started-guides/fluentd-gcp.yaml
+68 -162
View File
@@ -1,200 +1,106 @@
bigheader: "Reference Documentation"
abstract: "Design docs, concept definitions, and references for APIs and CLIs."
toc:
- docs/reference.md
- docs/reference/index.md
- title: "Kubernetes Resource Types (New Docs Style)"
- title: Using the API
section:
- title: Version 1.5
path: /docs/resources-reference/v1.5/
- title: "Kubernetes API (New Docs Style)"
section:
- title: Version 1.5
path: /docs/api-reference/v1.5/
- title: "Kubectl Commands (New Docs Style)"
section:
- title: Version 1.5
path: /docs/user-guide/kubectl/v1.5/
- title: Kubernetes API
section:
- docs/api.md
- docs/reference/api-overview.md
- docs/reference/client-libraries.md
- title: Accessing the API
section:
- docs/admin/accessing-the-api.md
- docs/admin/authentication.md
- docs/admin/authorization.md
- docs/admin/bootstrap-tokens.md
- docs/admin/admission-controllers.md
- docs/admin/extensible-admission-controllers.md
- docs/admin/service-accounts-admin.md
- docs/api-reference/v1/operations.html
- docs/api-reference/v1/definitions.html
- docs/api-reference/labels-annotations-taints.md
- kubernetes/third_party/swagger-ui/index.md
- title: Authorization
section:
- docs/admin/authorization/index.md
- docs/admin/authorization/abac.md
- docs/admin/authorization/rbac.md
- docs/admin/authorization/node.md
- docs/admin/authorization/webhook.md
- docs/reference/deprecation-policy.md
- title: Autoscaling API
- title: API Reference
section:
- docs/api-reference/autoscaling/v1/operations.html
- docs/api-reference/autoscaling/v1/definitions.html
- title: v1.7
path: /docs/api-reference/v1.7/
- docs/reference/labels-annotations-taints.md
- title: OpenAPI and Swagger
section:
- title: OpenAPI Spec
path: https://git.k8s.io/kubernetes/api/openapi-spec/
- title: Swagger Spec
path: https://git.k8s.io/kubernetes/api/swagger-spec/
- title: Batch API
- title: Federation API
section:
- docs/api-reference/batch/v1/operations.html
- docs/api-reference/batch/v1/definitions.html
- title: Apps API
section:
- title: Apps API Operations
path: /docs/api-reference/apps/v1beta1/operations/
- title: Apps API Definitions
path: /docs/api-reference/apps/v1beta1/definitions/
- title: Extensions API
section:
- docs/api-reference/extensions/v1beta1/operations.html
- docs/api-reference/extensions/v1beta1/definitions.html
- docs/reference/federation/v1/operations.html
- docs/reference/federation/v1/definitions.html
- docs/reference/federation/v1beta1/operations.html
- docs/reference/federation/v1beta1/definitions.html
- docs/reference/federation/extensions/v1beta1/operations.html
- docs/reference/federation/extensions/v1beta1/definitions.html
- title: kubectl CLI
section:
- docs/user-guide/kubectl-overview.md
- title: v1.7 Commands
path: /docs/user-guide/kubectl/v1.7/
- title: v1.6 Commands
path: /docs/user-guide/kubectl/v1.6/
- title: v1.5 Commands
path: /docs/user-guide/kubectl/v1.5/
- docs/user-guide/docker-cli-to-kubectl.md
- docs/user-guide/kubectl-conventions.md
- docs/user-guide/jsonpath.md
- docs/user-guide/kubectl-cheatsheet.md
- title: kubectl Commands
section:
- docs/user-guide/kubectl/index.md
- docs/user-guide/kubectl/kubectl_annotate.md
- docs/user-guide/kubectl/kubectl_api-versions.md
- docs/user-guide/kubectl/kubectl_apply.md
- docs/user-guide/kubectl/kubectl_attach.md
- docs/user-guide/kubectl/kubectl_autoscale.md
- docs/user-guide/kubectl/kubectl_certificate.md
- docs/user-guide/kubectl/kubectl_certificate_approve.md
- docs/user-guide/kubectl/kubectl_certificate_deny.md
- docs/user-guide/kubectl/kubectl_cluster-info.md
- docs/user-guide/kubectl/kubectl_cluster-info_dump.md
- docs/user-guide/kubectl/kubectl_completion.md
- docs/user-guide/kubectl/kubectl_config.md
- docs/user-guide/kubectl/kubectl_config_current-context.md
- docs/user-guide/kubectl/kubectl_config_delete-cluster.md
- docs/user-guide/kubectl/kubectl_config_delete-context.md
- docs/user-guide/kubectl/kubectl_config_get-clusters.md
- docs/user-guide/kubectl/kubectl_config_get-contexts.md
- docs/user-guide/kubectl/kubectl_config_set-cluster.md
- docs/user-guide/kubectl/kubectl_config_set-context.md
- docs/user-guide/kubectl/kubectl_config_set-credentials.md
- docs/user-guide/kubectl/kubectl_config_set.md
- docs/user-guide/kubectl/kubectl_config_unset.md
- docs/user-guide/kubectl/kubectl_config_use-context.md
- docs/user-guide/kubectl/kubectl_config_view.md
- docs/user-guide/kubectl/kubectl_convert.md
- docs/user-guide/kubectl/kubectl_cordon.md
- docs/user-guide/kubectl/kubectl_cp.md
- docs/user-guide/kubectl/kubectl_create.md
- docs/user-guide/kubectl/kubectl_create_configmap.md
- docs/user-guide/kubectl/kubectl_create_deployment.md
- docs/user-guide/kubectl/kubectl_create_namespace.md
- docs/user-guide/kubectl/kubectl_create_quota.md
- docs/user-guide/kubectl/kubectl_create_secret_docker-registry.md
- docs/user-guide/kubectl/kubectl_create_secret.md
- docs/user-guide/kubectl/kubectl_create_secret_generic.md
- docs/user-guide/kubectl/kubectl_create_secret_tls.md
- docs/user-guide/kubectl/kubectl_create_serviceaccount.md
- docs/user-guide/kubectl/kubectl_create_service_clusterip.md
- docs/user-guide/kubectl/kubectl_create_service_loadbalancer.md
- docs/user-guide/kubectl/kubectl_create_service_nodeport.md
- docs/user-guide/kubectl/kubectl_delete.md
- docs/user-guide/kubectl/kubectl_describe.md
- docs/user-guide/kubectl/kubectl_drain.md
- docs/user-guide/kubectl/kubectl_edit.md
- docs/user-guide/kubectl/kubectl_exec.md
- docs/user-guide/kubectl/kubectl_explain.md
- docs/user-guide/kubectl/kubectl_expose.md
- docs/user-guide/kubectl/kubectl_get.md
- docs/user-guide/kubectl/kubectl_label.md
- docs/user-guide/kubectl/kubectl_logs.md
- docs/user-guide/kubectl/kubectl_options.md
- docs/user-guide/kubectl/kubectl_patch.md
- docs/user-guide/kubectl/kubectl_port-forward.md
- docs/user-guide/kubectl/kubectl_proxy.md
- docs/user-guide/kubectl/kubectl_replace.md
- docs/user-guide/kubectl/kubectl_rolling-update.md
- docs/user-guide/kubectl/kubectl_rollout.md
- docs/user-guide/kubectl/kubectl_rollout_history.md
- docs/user-guide/kubectl/kubectl_rollout_pause.md
- docs/user-guide/kubectl/kubectl_rollout_resume.md
- docs/user-guide/kubectl/kubectl_rollout_status.md
- docs/user-guide/kubectl/kubectl_rollout_undo.md
- docs/user-guide/kubectl/kubectl_run.md
- docs/user-guide/kubectl/kubectl_scale.md
- docs/user-guide/kubectl/kubectl_set.md
- docs/user-guide/kubectl/kubectl_set_image.md
- docs/user-guide/kubectl/kubectl_set_resources.md
- docs/user-guide/kubectl/kubectl_taint.md
- docs/user-guide/kubectl/kubectl_top.md
- docs/user-guide/kubectl/kubectl_top_node.md
- docs/user-guide/kubectl/kubectl_top_pod.md
- docs/user-guide/kubectl/kubectl_uncordon.md
- docs/user-guide/kubectl/kubectl_version.md
- title: Superseded and Deprecated Commands
section:
- /docs/user-guide/kubectl/kubectl_namespace/
- docs/user-guide/kubectl/kubectl_stop.md
- title: Kubernetes Components
- title: Setup Tools
section:
- title: Kubeadm
path: /docs/admin/kubeadm/
- title: Kubefed
path: /docs/admin/kubefed/
section:
- docs/admin/kubefed.md
- docs/admin/kubefed_options.md
- docs/admin/kubefed_init.md
- docs/admin/kubefed_join.md
- docs/admin/kubefed_unjoin.md
- docs/admin/kubefed_version.md
- title: Config Reference
section:
- docs/admin/kubelet.md
- docs/admin/kube-apiserver.md
- docs/admin/kube-controller-manager.md
- docs/admin/kube-proxy.md
- docs/admin/kube-scheduler.md
- title: kubelet
section:
- docs/admin/kubelet.md
- docs/admin/master-node-communication.md
- docs/admin/kubelet-tls-bootstrapping.md
- docs/admin/kubelet-authentication-authorization.md
- title: Glossary
section:
- docs/user-guide/annotations.md
- docs/admin/daemons.md
- docs/user-guide/deployments.md
- docs/user-guide/horizontal-pod-autoscaling/index.md
- docs/user-guide/images.md
- docs/user-guide/ingress.md
- docs/user-guide/jobs.md
- docs/user-guide/labels.md
- docs/user-guide/identifiers.md
- docs/user-guide/namespaces.md
- docs/user-guide/networkpolicies.md
- docs/admin/node.md
- docs/user-guide/persistent-volumes/index.md
- docs/user-guide/petset.md
- docs/user-guide/pods/index.md
- docs/user-guide/pod-security-policy/index.md
- docs/user-guide/replicasets.md
- docs/user-guide/replication-controller/index.md
- docs/admin/resourcequota/index.md
- docs/user-guide/cron-jobs.md
- docs/user-guide/secrets/index.md
- docs/user-guide/security-context.md
- docs/user-guide/services/index.md
- docs/user-guide/service-accounts.md
- docs/user-guide/thirdpartyresources.md
- docs/user-guide/volumes.md
- docs/admin/federation-apiserver.md
- docs/admin/federation-controller-manager.md
- title: Kubernetes Design Docs
section:
- title: Kubernetes Architecture
path: https://github.com/kubernetes/kubernetes/blob/release-1.5/docs/design/architecture.md
path: https://git.k8s.io/community/contributors/design-proposals/architecture/architecture.md
- title: Kubernetes Design Overview
path: https://github.com/kubernetes/kubernetes/blob/release-1.5/docs/design/
path: https://github.com/kubernetes/kubernetes/tree/release-1.6/docs/design
- title: Kubernetes Identity and Access Management
path: https://github.com/kubernetes/kubernetes/blob/release-1.5/docs/design/access.md
path: https://git.k8s.io/community/contributors/design-proposals/auth/access.md
- docs/admin/ovs-networking.md
- title: Security Contexts
path: https://github.com/kubernetes/kubernetes/blob/release-1.5/docs/design/security_context.md
path: https://git.k8s.io/community/contributors/design-proposals/auth/security_context.md
- title: Security in Kubernetes
path: https://github.com/kubernetes/kubernetes/blob/release-1.5/docs/design/security.md
path: https://git.k8s.io/community/contributors/design-proposals/auth/security.md
- title: Kubernetes Issues and Security
section:
- title: Kubernetes Issue Tracker on GitHub
path: https://github.com/kubernetes/kubernetes/issues/
- docs/reference/security.md
-75
View File
@@ -1,75 +0,0 @@
bigheader: "Samples"
abstract: "A collection of example applications that show how to use Kubernetes."
toc:
- docs/samples.md
- title: Storage / Database / KV
section:
- title: Apache Cassandra Database
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/cassandra
- title: Ceph
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/volumes/rbd/
- title: CephFS
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/volumes/cephfs/
- title: CockroachDB
path: https://github.com/kubernetes/kubernetes/tree/release-1.4/examples/cockroachdb/
- title: GlusterFS
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/volumes/glusterfs/
- title: Hazelcast
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/hazelcast
- title: iSCSI
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/volumes/iscsi/
- title: MySQL Galera
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/mysql-galera
- title: NFS
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/volumes/nfs/
- title: Redis
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/redis/
- title: RethinkDB
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/rethinkdb/
- title: Vitess
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/vitess/
- title: Big Data
section:
- title: Apache Spark
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/spark
- title: Apache Storm
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storm
- title: Messaging / Queueing
section:
- title: Hazelcast
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/storage/hazelcast
- title: Miscellaneous
section:
- title: Meteor Applications
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/meteor/
- title: OpenShift Origin
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/openshift-origin/
- title: Selenium
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/selenium/
- title: Monitoring and Logging
section:
- title: Elasticsearch
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/elasticsearch/
- title: NewRelic
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/newrelic
- title: Multi-tier Applications
section:
- title: Guestbook - Go Server
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/guestbook-go/
- title: GuestBook - PHP Server
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/guestbook/
- docs/getting-started-guides/meanstack.md
- title: MySQL + Wordpress
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/mysql-wordpress-pd/
- title: MySQL + Phabricator Server
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/phabricator/
- title: Nodejs + Mongo
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/nodesjs-mongodb
- title: Petstore
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/k8petstore/
+4
View File
@@ -0,0 +1,4 @@
bigheader: ""
abstract: ""
toc:
- docs/search.md
+107
View File
@@ -0,0 +1,107 @@
bigheader: "Setup"
abstract: "Instructions for setting up a Kubernetes cluster."
toc:
- docs/setup/index.md
- docs/setup/pick-right-solution.md
- title: Independent Solutions
section:
- docs/getting-started-guides/minikube.md
- title: Bootstrapping Clusters with kubeadm
section:
- docs/setup/independent/install-kubeadm.md
- docs/setup/independent/create-cluster-kubeadm.md
- docs/getting-started-guides/scratch.md
- docs/getting-started-guides/alternatives.md
- title: Hosted Solutions
section:
- title: Running Kubernetes on Google Container Engine
path: https://cloud.google.com/container-engine/docs/before-you-begin/
- title: Running Kubernetes on Azure Container Service
path: https://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough
- title: Running Kubernetes on IBM Bluemix Container Service
path: https://console.ng.bluemix.net/docs/containers/container_index.html
- title: Turn-key Cloud Solutions
section:
- docs/getting-started-guides/gce.md
- docs/getting-started-guides/aws.md
- docs/getting-started-guides/azure.md
- docs/getting-started-guides/alibaba-cloud.md
- docs/getting-started-guides/clc.md
- title: Running Kubernetes on IBM Bluemix
path: https://github.com/patrocinio/kubernetes-softlayer
- docs/getting-started-guides/stackpoint.md
- title: Custom Solutions
section:
- title: Custom Cloud Solutions
section:
- docs/getting-started-guides/coreos/index.md
- docs/getting-started-guides/ubuntu/index.md
- docs/getting-started-guides/kops.md
- docs/getting-started-guides/kubespray.md
- docs/getting-started-guides/running-cloud-controller.md
- title: On-Premise VMs
section:
- docs/getting-started-guides/coreos/index.md
- docs/getting-started-guides/cloudstack.md
- docs/getting-started-guides/vsphere.md
- docs/getting-started-guides/photon-controller.md
- docs/getting-started-guides/dcos.md
- docs/getting-started-guides/libvirt-coreos.md
- docs/getting-started-guides/ovirt.md
- docs/getting-started-guides/openstack-heat.md
- title: rkt
section:
- docs/getting-started-guides/rkt/index.md
- docs/getting-started-guides/rkt/notes.md
- docs/getting-started-guides/mesos/index.md
- docs/getting-started-guides/mesos-docker.md
- title: Bare Metal
section:
- docs/getting-started-guides/coreos/bare_metal_offline.md
- docs/getting-started-guides/fedora/fedora_ansible_config.md
- docs/getting-started-guides/fedora/fedora_manual_config.md
- docs/getting-started-guides/fedora/flannel_multi_node_cluster.md
- docs/getting-started-guides/centos/centos_manual_config.md
- docs/getting-started-guides/coreos/index.md
- docs/getting-started-guides/ubuntu/index.md
- title: Ubuntu
section:
- docs/getting-started-guides/ubuntu/index.md
- docs/getting-started-guides/ubuntu/validation.md
- docs/getting-started-guides/ubuntu/backups.md
- docs/getting-started-guides/ubuntu/upgrades.md
- docs/getting-started-guides/ubuntu/scaling.md
- docs/getting-started-guides/ubuntu/installation.md
- docs/getting-started-guides/ubuntu/monitoring.md
- docs/getting-started-guides/ubuntu/networking.md
- docs/getting-started-guides/ubuntu/security.md
- docs/getting-started-guides/ubuntu/storage.md
- docs/getting-started-guides/ubuntu/troubleshooting.md
- docs/getting-started-guides/ubuntu/decommissioning.md
- docs/getting-started-guides/ubuntu/operational-considerations.md
- docs/getting-started-guides/ubuntu/glossary.md
- docs/getting-started-guides/ubuntu/local.md
- docs/getting-started-guides/ubuntu/logging.md
- docs/getting-started-guides/windows/index.md
- docs/admin/node-conformance.md
- docs/concepts/cluster-administration/addons.md
- docs/admin/salt.md
- docs/admin/cluster-large.md
- docs/admin/multiple-zones.md
- docs/admin/high-availability/index.md
- docs/getting-started-guides/binary_release.md
-44
View File
@@ -1,44 +0,0 @@
bigheader: "Support"
abstract: "Troubleshooting resources, frequently asked questions, and community support channels."
toc:
- docs/troubleshooting.md
- title: Troubleshooting
section:
- docs/user-guide/debugging-pods-and-replication-controllers.md
- docs/user-guide/introspection-and-debugging.md
- docs/user-guide/application-troubleshooting.md
- docs/admin/cluster-troubleshooting.md
- docs/user-guide/debugging-services.md
- title: Frequently Asked Questions
section:
- title: User FAQ
path: https://github.com/kubernetes/kubernetes/wiki/User-FAQ/
- title: Debugging FAQ
path: https://github.com/kubernetes/kubernetes/wiki/Debugging-FAQ/
- title: Services FAQ
path: https://github.com/kubernetes/kubernetes/wiki/Services-FAQ/
- title: Contributing to the Kubernetes Docs
section:
- editdocs.md
- docs/contribute/create-pull-request.md
- docs/contribute/write-new-topic.md
- docs/contribute/stage-documentation-changes.md
- docs/contribute/page-templates.md
- docs/contribute/review-issues.md
- docs/contribute/style-guide.md
- title: Other Resources
section:
- title: Kubernetes Issue Tracker on GitHub
path: https://github.com/kubernetes/kubernetes/issues/
- docs/reporting-security-issues.md
- title: Release Notes
path: https://github.com/kubernetes/kubernetes/releases/
- title: Release Roadmap
path: https://github.com/kubernetes/kubernetes/milestones/
- title: Deprecation Policy
path: /docs/deprecation-policy.md
+131 -33
View File
@@ -3,72 +3,169 @@ abstract: "Step-by-step instructions for performing operations with Kubernetes."
toc:
- docs/tasks/index.md
- title: Using the kubectl Command-Line
- title: Install Tools
section:
- docs/tasks/kubectl/install.md
- docs/tasks/kubectl/list-all-running-container-images.md
- docs/tasks/kubectl/get-shell-running-container.md
- docs/tasks/tools/install-kubectl.md
- docs/tasks/tools/install-minikube.md
- docs/setup/independent/install-kubeadm.md
- title: Configuring Pods and Containers
- title: Configure Pods and Containers
section:
- docs/tasks/configure-pod-container/define-environment-variable-container.md
- docs/tasks/configure-pod-container/define-command-argument-container.md
- docs/tasks/configure-pod-container/assign-memory-resource.md
- docs/tasks/configure-pod-container/assign-cpu-resource.md
- docs/tasks/configure-pod-container/quality-service-pod.md
- docs/tasks/configure-pod-container/assign-cpu-ram-container.md
- docs/tasks/configure-pod-container/limit-range.md
- docs/tasks/configure-pod-container/apply-resource-quota-limit.md
- docs/tasks/configure-pod-container/opaque-integer-resource.md
- docs/tasks/configure-pod-container/configure-volume-storage.md
- docs/tasks/configure-pod-container/configure-persistent-volume-storage.md
- docs/tasks/configure-pod-container/configure-projected-volume-storage.md
- docs/tasks/configure-pod-container/projected-volume.md
- docs/tasks/configure-pod-container/security-context.md
- docs/tasks/configure-pod-container/environment-variable-expose-pod-information.md
- docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.md
- docs/tasks/configure-pod-container/distribute-credentials-secure.md
- docs/tasks/configure-pod-container/configure-service-account.md
- docs/tasks/configure-pod-container/pull-image-private-registry.md
- docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md
- docs/tasks/configure-pod-container/communicate-containers-same-pod.md
- docs/tasks/configure-pod-container/assign-pods-nodes.md
- docs/tasks/configure-pod-container/configure-pod-initialization.md
- docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md
- docs/tasks/configure-pod-container/configure-pod-disruption-budget.md
- docs/tasks/configure-pod-container/configmap.md
- docs/tasks/configure-pod-container/configure-pod-configmap.md
- docs/tools/kompose/user-guide.md
- title: Running Applications
- title: Inject Data Into Applications
section:
- docs/tasks/run-application/rolling-update-replication-controller.md
- docs/tasks/inject-data-application/define-command-argument-container.md
- docs/tasks/inject-data-application/define-environment-variable-container.md
- docs/tasks/inject-data-application/environment-variable-expose-pod-information.md
- docs/tasks/inject-data-application/downward-api-volume-expose-pod-information.md
- docs/tasks/inject-data-application/distribute-credentials-secure.md
- docs/tasks/inject-data-application/podpreset.md
- title: Running Jobs
- title: Run Applications
section:
- docs/tasks/run-application/run-stateless-application-deployment.md
- docs/tasks/run-application/run-single-instance-stateful-application.md
- docs/tasks/run-application/run-replicated-stateful-application.md
- docs/tasks/run-application/update-api-object-kubectl-patch.md
- docs/tasks/run-application/upgrade-pet-set-to-stateful-set.md
- docs/tasks/run-application/scale-stateful-set.md
- docs/tasks/run-application/delete-stateful-set.md
- docs/tasks/run-application/force-delete-stateful-set-pod.md
- docs/tasks/run-application/rolling-update-replication-controller.md
- docs/tasks/run-application/horizontal-pod-autoscale.md
- docs/tasks/run-application/horizontal-pod-autoscale-walkthrough.md
- docs/tasks/run-application/configure-pdb.md
- title: Run Jobs
section:
- docs/tasks/job/parallel-processing-expansion.md
- docs/tasks/job/coarse-parallel-processing-work-queue/index.md
- docs/tasks/job/fine-parallel-processing-work-queue/index.md
- title: Accessing Applications in a Cluster
- title: Access Applications in a Cluster
section:
- docs/tasks/access-application-cluster/web-ui-dashboard.md
- docs/tasks/access-application-cluster/access-cluster.md
- docs/tasks/access-application-cluster/configure-access-multiple-clusters.md
- docs/tasks/access-application-cluster/port-forward-access-application-cluster.md
- docs/tasks/access-application-cluster/load-balance-access-application-cluster.md
- docs/tasks/access-application-cluster/service-access-application-cluster.md
- docs/tasks/access-application-cluster/connecting-frontend-backend.md
- docs/tasks/access-application-cluster/create-external-load-balancer.md
- docs/tasks/access-application-cluster/configure-cloud-provider-firewall.md
- docs/tasks/access-application-cluster/list-all-running-container-images.md
- docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume.md
- title: Configuring DNS for a Cluster
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/cluster-dns
- title: Monitoring, Logging, and Debugging
- title: Monitor, Log, and Debug
section:
- docs/tasks/debug-application-cluster/resource-usage-monitoring.md
- docs/tasks/debug-application-cluster/get-shell-running-container.md
- docs/tasks/debug-application-cluster/monitor-node-health.md
- docs/tasks/debug-application-cluster/logging-stackdriver.md
- docs/tasks/debug-application-cluster/events-stackdriver.md
- docs/tasks/debug-application-cluster/logging-elasticsearch-kibana.md
- docs/tasks/debug-application-cluster/determine-reason-pod-failure.md
- docs/tasks/debug-application-cluster/debug-init-containers.md
- docs/tasks/debug-application-cluster/logging-stackdriver.md
- docs/tasks/debug-application-cluster/monitor-node-health.md
- docs/tasks/debug-application-cluster/logging-elasticsearch-kibana.md
- docs/tasks/debug-application-cluster/debug-pod-replication-controller.md
- docs/tasks/debug-application-cluster/debug-service.md
- docs/tasks/debug-application-cluster/debug-cluster.md
- docs/tasks/debug-application-cluster/debug-application.md
- docs/tasks/debug-application-cluster/debug-stateful-set.md
- docs/tasks/debug-application-cluster/debug-application-introspection.md
- docs/tasks/debug-application-cluster/audit.md
- title: Use Explorer to Examine the Runtime Environment
path: https://github.com/kubernetes/kubernetes/tree/release-1.5/examples/explorer
- title: Accessing the Kubernetes API
- title: Access and Extend the Kubernetes API
section:
- docs/tasks/access-kubernetes-api/http-proxy-access-api.md
- docs/tasks/access-kubernetes-api/extend-api-custom-resource-definitions.md
- docs/tasks/access-kubernetes-api/extend-api-third-party-resource.md
- docs/tasks/access-kubernetes-api/migrate-third-party-resource.md
- docs/tasks/access-kubernetes-api/configure-aggregation-layer.md
- docs/tasks/access-kubernetes-api/setup-extension-api-server.md
- title: Administering a Cluster
- title: TLS
section:
- docs/tasks/administer-cluster/overview.md
- docs/tasks/administer-cluster/assign-pods-nodes.md
- docs/tasks/tls/managing-tls-in-a-cluster.md
- title: Administer a Cluster
section:
- title: Manage Memory, CPU, and API Resources
section:
- docs/tasks/administer-cluster/memory-default-namespace.md
- docs/tasks/administer-cluster/cpu-default-namespace.md
- docs/tasks/administer-cluster/memory-constraint-namespace.md
- docs/tasks/administer-cluster/cpu-constraint-namespace.md
- docs/tasks/administer-cluster/apply-resource-quota-limit.md
- docs/tasks/administer-cluster/quota-memory-cpu-namespace.md
- docs/tasks/administer-cluster/quota-pod-namespace.md
- docs/tasks/administer-cluster/quota-api-object.md
- docs/tasks/administer-cluster/opaque-integer-resource-node.md
- docs/tasks/administer-cluster/access-cluster-api.md
- docs/tasks/administer-cluster/access-cluster-services.md
- docs/tasks/administer-cluster/securing-a-cluster.md
- docs/tasks/administer-cluster/encrypt-data.md
- docs/tasks/administer-cluster/configure-upgrade-etcd.md
- docs/tasks/administer-cluster/static-pod.md
- docs/tasks/administer-cluster/cluster-management.md
- docs/tasks/administer-cluster/upgrade-1-6.md
- docs/tasks/administer-cluster/kubeadm-upgrade-1-7.md
- docs/tasks/administer-cluster/namespaces.md
- docs/tasks/administer-cluster/namespaces-walkthrough.md
- docs/tasks/administer-cluster/dns-horizontal-autoscaling.md
- docs/tasks/administer-cluster/safely-drain-node.md
- docs/tasks/administer-cluster/cpu-memory-limit.md
- docs/tasks/administer-cluster/out-of-resource.md
- docs/tasks/administer-cluster/reserve-compute-resources.md
- docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods.md
- docs/tasks/administer-cluster/declare-network-policy.md
- title: Install Network Policy Provider
section:
- docs/tasks/administer-cluster/calico-network-policy.md
- docs/tasks/administer-cluster/cilium-network-policy.md
- docs/tasks/administer-cluster/kube-router-network-policy.md
- docs/tasks/administer-cluster/romana-network-policy.md
- docs/tasks/administer-cluster/weave-network-policy.md
- docs/tasks/administer-cluster/change-pv-reclaim-policy.md
- docs/tasks/administer-cluster/configure-pod-disruption-budget.md
- docs/tasks/administer-cluster/limit-storage-consumption.md
- docs/tasks/administer-cluster/share-configuration.md
- docs/tasks/administer-cluster/change-default-storage-class.md
- docs/tasks/administer-cluster/running-cloud-controller.md
- docs/tasks/administer-cluster/highly-available-master.md
- docs/tasks/administer-cluster/configure-multiple-schedulers.md
- docs/tasks/administer-cluster/ip-masq-agent.md
- docs/tasks/administer-cluster/dns-custom-nameservers.md
- title: Administering Federation
- title: Federation - Run an App on Multiple Clusters
section:
- docs/tasks/federation/federation-service-discovery.md
- docs/tasks/federation/set-up-cluster-federation-kubefed.md
- docs/tasks/federation/set-up-coredns-provider-federation.md
- docs/tasks/federation/set-up-placement-policies-federation.md
- docs/tasks/administer-federation/cluster.md
- docs/tasks/administer-federation/configmap.md
- docs/tasks/administer-federation/daemonset.md
- docs/tasks/administer-federation/deployment.md
@@ -78,10 +175,11 @@ toc:
- docs/tasks/administer-federation/replicaset.md
- docs/tasks/administer-federation/secret.md
- title: Managing Stateful Applications
- title: Manage Cluster Daemons
section:
- docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set.md
- docs/tasks/manage-stateful-set/scale-stateful-set.md
- docs/tasks/manage-stateful-set/deleting-a-statefulset.md
- docs/tasks/manage-stateful-set/debugging-a-statefulset.md
- docs/tasks/manage-stateful-set/delete-pods.md
- docs/tasks/manage-daemon/update-daemon-set.md
- docs/tasks/manage-daemon/rollback-daemon-set.md
- title: Manage GPUs
section:
- docs/tasks/manage-gpus/scheduling-gpus.md
+16 -13
View File
@@ -29,9 +29,16 @@ toc:
section:
- docs/tutorials/kubernetes-basics/update-intro.html
- docs/tutorials/kubernetes-basics/update-interactive.html
- title: Online Training Course
path: https://www.udacity.com/course/scalable-microservices-with-kubernetes--ud615
- title: Online Training Courses
section:
- title: Scalable Microservices with Kubernetes (Udacity)
path: https://www.udacity.com/course/scalable-microservices-with-kubernetes--ud615
- title: Introduction to Kubernetes (edX)
path: https://www.edx.org/course/introduction-kubernetes-linuxfoundationx-lfs158x#
- docs/tutorials/stateless-application/hello-minikube.md
- title: Configuration
section:
- docs/tutorials/configuration/configure-redis-using-configmap.md
- title: Object Management Using kubectl
section:
- docs/tutorials/object-management-kubectl/object-management.md
@@ -40,25 +47,21 @@ toc:
- docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md
- title: Stateless Applications
section:
- docs/tutorials/stateless-application/run-stateless-application-deployment.md
- docs/tutorials/stateless-application/expose-external-ip-address-service.md
- docs/tasks/run-application/run-stateless-application-deployment.md
- docs/tutorials/stateless-application/guestbook.md
- docs/tasks/access-application-cluster/service-access-application-cluster.md
- docs/tutorials/stateless-application/expose-external-ip-address.md
- docs/tutorials/stateless-application/run-stateless-ap-replication-controller.md
- title: Stateful Applications
section:
- docs/tutorials/stateful-application/basic-stateful-set.md
- docs/tutorials/stateful-application/run-stateful-application.md
- docs/tutorials/stateful-application/run-replicated-stateful-application.md
- docs/tasks/run-application/run-single-instance-stateful-application.md
- docs/tasks/run-application/run-replicated-stateful-application.md
- docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md
- docs/tutorials/stateful-application/cassandra.md
- docs/tutorials/stateful-application/zookeeper.md
- title: Connecting Applications
section:
- docs/tutorials/connecting-apps/connecting-frontend-backend.md
- title: Clusters
section:
- docs/tutorials/clusters/apparmor.md
- title: Services
section:
- docs/tutorials/services/source-ip.md
- title: Federated Cluster Administration
section:
- docs/tutorials/federation/set-up-cluster-federation-kubefed.md
-1
View File
@@ -1 +0,0 @@
***NOTE: This feature is beta in Kubernetes 1.5.***
+2
View File
@@ -0,0 +1,2 @@
The topics in the `/docs/api-reference/` section of the Kubernetes docs
are being moved to the [Reference](/docs/reference/) section. The content in this topic has moved to:
+28
View File
@@ -0,0 +1,28 @@
<a href="#" id="feature-state-dialog-link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>{{ dialog_title }}</a>
<div id="feature-state-dialog" class="ui-dialog-content" title="{{ dialog_title }}">
{{ dialog_content | markdownify }}
</div>
{% raw %}<script>
$(function(){
$( "#feature-state-dialog" ).dialog({
autoOpen: false,
width: {% endraw %}{{ dialog_width | default: "600" }}{% raw %},
buttons: [
{
text: "Ok",
click: function() {
$( this ).dialog( "close" );
}
}
]
});
// Link to open the dialog
$( "#feature-state-dialog-link" ).click(function( event ) {
$( "#feature-state-dialog" ).dialog( "open" );
event.preventDefault();
});
});
</script>{% endraw %}
+13
View File
@@ -0,0 +1,13 @@
{% assign dialog_title = "alpha" %}
{% capture dialog_content %}
This feature is currently in a *alpha* state, meaning:
* The version names contain alpha (e.g. v1alpha1).
* Might be buggy. Enabling the feature may expose bugs. Disabled by default.
* Support for feature may be dropped at any time without notice.
* The API may change in incompatible ways in a later software release without notice.
* Recommended for use only in short-lived testing clusters, due to increased risk of bugs and lack of long-term support.
{% endcapture %}
**FEATURE STATE:** `Kubernetes {{ for_k8s_version | default: page.version }}` {% include feature-dialog.md %}
+14
View File
@@ -0,0 +1,14 @@
{% assign dialog_title = "beta" %}
{% capture dialog_content %}
This feature is currently in a *beta* state, meaning:
* The version names contain beta (e.g. v2beta3).
* Code is well tested. Enabling the feature is considered safe. Enabled by default.
* Support for the overall feature will not be dropped, though details may change.
* The schema and/or semantics of objects may change in incompatible ways in a subsequent beta or stable release. When this happens, we will provide instructions for migrating to the next version. This may require deleting, editing, and re-creating API objects. The editing process may require some thought. This may require downtime for applications that rely on the feature.
* Recommended for only non-business-critical uses because of potential for incompatible changes in subsequent releases. If you have multiple clusters that can be upgraded independently, you may be able to relax this restriction.
* **Please do try our beta features and give feedback on them! After they exit beta, it may not be practical for us to make more changes.**
{% endcapture %}
**FEATURE STATE:** `Kubernetes {{ for_k8s_version | default: page.version }}` {% include feature-dialog.md %}
+6
View File
@@ -0,0 +1,6 @@
{% assign dialog_title = "deprecated" %}
{% capture dialog_content %}
This feature is *deprecated*. For more information on this state, see the [Kubernetes Deprecation Policy](/docs/reference/deprecation-policy/).
{% endcapture %}
**DEPRECATION NOTICE:** As of `Kubernetes {{ for_k8s_version | default: page.version }}`, this has been {% include feature-dialog.md %}
+10
View File
@@ -0,0 +1,10 @@
{% assign dialog_title = "stable" %}
{% capture dialog_content %}
This feature is *stable*, meaning:
* The version name is vX where X is an integer.
* Stable versions of features will appear in released software for many subsequent versions.
{% endcapture %}
**FEATURE STATE:** `Kubernetes {{ for_k8s_version | default: page.version }}` {% include feature-dialog.md %}
@@ -0,0 +1,8 @@
This guide assumes that you have a running Kubernetes Cluster
Federation installation. If not, then head over to the
[federation admin guide](/docs/tutorials/federation/set-up-cluster-federation-kubefed/) to learn how to
bring up a cluster federation (or have your cluster administrator do
this for you).
Other tutorials, such as Kelsey Hightower's
[Federated Kubernetes Tutorial](https://github.com/kelseyhightower/kubernetes-cluster-federation),
might also help you create a Federated Kubernetes cluster.
+2
View File
@@ -0,0 +1,2 @@
The topics in the [Federation API](/docs/federation/api-reference/) section of the Kubernetes docs
are being moved to the [Reference](/docs/reference/) section. The content in this topic has moved to:
+5 -5
View File
@@ -1,8 +1,8 @@
<footer>
<main class="light-text">
<nav>
<a href="/docs/hellonode/">Get Started</a>
<a href="/docs/">Documentation</a>
<a href="/docs/tutorials/stateless-application/hello-minikube/">Get Started</a>
<a href="/docs/home/">Documentation</a>
<a href="http://blog.kubernetes.io/">Blog</a>
<a href="/partners/">Partners</a>
<a href="/community/">Community</a>
@@ -20,12 +20,12 @@
<a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com" class="calendar"><span>Events Calendar</span></a>
</div>
<div>
<a href="//get.k8s.io" class="button">Download K8s</a>
<a href="https://github.com/kubernetes/kubernetes" class="button">Contribute to the K8s codebase</a>
<a href="/docs/setup/pick-right-solution/" class="button">Get Kubernetes</a>
<a href="https://github.com/kubernetes/kubernetes" class="button">Contribute</a>
</div>
</div>
<div id="miceType" class="center">
&copy; {{ 'now' | date: "%Y" }} The Kubernetes Authors | Documentation Distributed under <a href="https://github.com/kubernetes/kubernetes.github.io/blob/master/LICENSE" class="light-text">CC BY 4.0</a>
&copy; {{ 'now' | date: "%Y" }} The Kubernetes Authors | Documentation Distributed under <a href="https://git.k8s.io/kubernetes.github.io/LICENSE" class="light-text">CC BY 4.0</a>
</div>
<div id="miceType" class="center">
Copyright &copy; {{ 'now' | date: "%Y" }} The Linux Foundation&reg;. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text">https://www.linuxfoundation.org/trademark-usage</a>
+15 -6
View File
@@ -2,13 +2,22 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="/images/favicon.png">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Roboto+Mono' type='text/css'>
<link rel="stylesheet" href="/css/styles.css"/>
<link rel="stylesheet" href="/css/jquery-ui.min.css">
<link rel="stylesheet" href="/css/sweetalert.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto+Mono">
{% if page.case_study_styles %}<link rel="stylesheet" type="text/css" href="/css/case_study_styles.css"><!-- custom case_study_styles on -->{% else %}<link rel="stylesheet" type="text/css" href="/css/styles.css"><!-- default styles.css on -->{% endif %}
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="/css/sweetalert.css">
<link rel="stylesheet" type="text/css" href="/css/callouts.css">
{% if page.deprecated %}<link rel="stylesheet" type="text/css" href="/css/deprecation-warning.css">{% endif %}
{% if page.class == "gridPage" %}<link rel="stylesheet" href="/css/gridpage.css">{% endif %}
{% if page.class == "gridPage" %}<link rel="stylesheet" type="text/css" href="/css/gridpage.css">{% endif %}
{% if page.css %}<link rel="stylesheet" type="text/css" href="{{ page.css }}"><!-- custom css added -->{% else %}<!-- no custom css detected -->{% endif %}
{% if page.description %}
<meta name="description" content="{{ page.description }}" />
{% else %}
<meta name="description" content="{{ page.title }}" />
{% endif %}
<script src="/js/jquery-2.2.0.min.js"></script>
<script src="/js/jquery-ui.min.js"></script>
<script src="/js/script.js"></script>
+4 -4
View File
@@ -5,7 +5,7 @@
<div class="nav-buttons" data-auto-burger="primary">
<ul class="global-nav">
<li><a href="/docs/">Documentation</a></li>
<li><a href="/docs/home/">Documentation</a></li>
<li><a href="http://blog.kubernetes.io/">Blog</a></li>
<li><a href="/partners/">Partners</a></li>
<li><a href="/community/">Community</a></li>
@@ -22,7 +22,7 @@
</li>
</li>
</ul>
<!-- <a href="/docs/" class="button" id="viewDocs" data-auto-burger-exclude>View Documentation</a> -->
<!-- <a href="/docs/home" class="button" id="viewDocs" data-auto-burger-exclude>View Documentation</a> -->
<a href="/docs/tutorials/kubernetes-basics/" class="button" id="tryKubernetes" data-auto-burger-exclude>Try Kubernetes</a>
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
</div>
@@ -30,11 +30,11 @@
<nav id="mainNav">
<main data-auto-burger="primary">
<div class="nav-box">
<h3><a href="/docs/hellonode/">Get Started</a></h3>
<h3><a href="/docs/tutorials/stateless-application/hello-minikube/">Get Started</a></h3>
<p>Ready to get your hands dirty? Build a simple Kubernetes cluster that runs "Hello World" for Node.js.</p>
</div>
<div class="nav-box">
<h3><a href="/docs/">Documentation</a></h3>
<h3><a href="/docs/home/">Documentation</a></h3>
<p>Learn how to use Kubernetes with the use of walkthroughs, samples, and reference documentation. You can even <a href="/editdocs/" data-auto-burger-exclude>help contribute to the docs</a>!</p>
</div>
<div class="nav-box">
+275 -57
View File
@@ -1,21 +1,14 @@
;(function () {
var partners = [
{
type: 0,
type: 2,
name: 'CoreOS',
logo: 'core_os',
link: 'https://tectonic.com/',
blurb: 'Tectonic is the enterprise-ready Kubernetes product, by CoreOS. It adds key features to allow you to manage, update, and control clusters in production.'
},
{
type: 0,
name: 'Deis',
logo: 'deis',
link: 'https://deis.com',
blurb: 'Deis the creators of Helm, Workflow, and Steward, helps developers and operators build, deploy, manage and scale their applications on top of Kubernetes.'
},
{
type: 0,
type: 2,
name: 'StackPointCloud',
logo: 'stackpoint',
link: 'https://stackpoint.io',
@@ -39,7 +32,7 @@
type: 0,
name: 'Citrix',
logo: 'citrix',
link: 'http://wercker.com/workflows/partners/kubernetes/',
link: 'https://www.citrix.com/networking/microservices.html',
blurb: 'Netscaler CPX gives app developers all the features they need to load balance their microservices and containerized apps with Kubernetes.'
},
{
@@ -49,13 +42,6 @@
link: 'https://www.cockroachlabs.com/blog/running-cockroachdb-on-kubernetes/',
blurb: 'CockroachDB is a distributed SQL database whose built-in replication and survivability model pair with Kubernetes to truly make data easy.'
},
{
type: 0,
name: 'Skippbox',
logo: 'skippbox',
link: 'http://www.skippbox.com/tag/products/',
blurb: 'Creator of Cabin the first mobile application for Kubernetes, and kompose. Skippboxs solutions distill all the power of k8s in simple easy to use interfaces.'
},
{
type: 0,
name: 'Weave Works',
@@ -67,15 +53,15 @@
type: 0,
name: 'Wercker',
logo: 'wercker',
link: 'http://wercker.com/workflows/partners/kubernetes/',
link: 'http://www.wercker.com/integrations/kubernetes',
blurb: 'Wercker automates your build, test and deploy pipelines for launching containers and triggering rolling updates on your Kubernetes cluster. '
},
{
type: 0,
name: 'Rancher',
logo: 'rancher',
name: 'Rancher Labs',
logo: 'rancher-labs',
link: 'http://rancher.com/kubernetes/',
blurb: 'Rancher is an open-source, production-ready container management platform that makes it easy to deploy and leverage Kubernetes in the enterprise.'
blurb: 'Rancher is an open-source, production-ready container management platform that makes it easy to deploy and manage Kubernetes.'
},
{
type: 0,
@@ -134,7 +120,7 @@
blurb: 'Deep, automated security for your containers running on Kubernetes.'
},
{
type: 0,
type: 2,
name: 'Canonical',
logo: 'canonical',
link: 'https://jujucharms.com/canonical-kubernetes/',
@@ -183,14 +169,14 @@
blurb: 'Aporeto makes cloud-native applications secure by default without impacting developer velocity and works at any scale, on any cloud.'
},
{
type: 0,
type: 2,
name: 'Giant Swarm',
logo: 'giant_swarm',
link: 'https://giantswarm.io',
blurb: 'Giant Swarm provides fully-managed Kubernetes Clusters in your location of choice, so you can focus on your product.'
},
{
type: 0,
type: 2,
name: 'Mirantis',
logo: 'mirantis',
link: 'https://content.mirantis.com/Containerizing-OpenStack-on-Kubernetes-Video-Landing-Page.html',
@@ -218,42 +204,28 @@
blurb: 'ReactiveOps has written automation on best practices for infrastructure as code on GCP & AWS using Kubernetes, helping you build and maintain a world-class infrastructure at a fraction of the price of an internal hire.'
},
{
type: 1,
type: 2,
name: 'Livewyer',
logo: 'livewyer',
link: 'https://livewyer.io/services/kubernetes-experts/',
blurb: 'Kubernetes experts that on-board applications and empower IT teams to get the most out of containerised technology.'
},
{
type: 1,
name: 'Deis',
logo: 'deis',
link: 'https://deis.com/services/',
blurb: 'Deis provides professional services and 24x7 operational support for any Kubernetes cluster managed by our global cluster operations team.'
},
{
type: 1,
name: 'StackPointCloud',
logo: 'stackpoint',
link: 'https://stackpoint.io',
blurb: 'StackPointCloud offers a wide range of support plans for managed Kubernetes clusters built through its universal control plane for Kubernetes Anywhere.'
},
{
type: 1,
type: 2,
name: 'Samsung SDS',
logo: 'samsung_sds',
link: 'http://www.samsungsdsa.com/cloud-infrastructure_kubernetes',
blurb: 'Samsung SDSs Cloud Native Computing Team offers expert consulting across the range of technical aspects involved in building services targeted at a Kubernetes cluster.'
},
{
type: 1,
type: 2,
name: 'Container Solutions',
logo: 'container_solutions',
link: 'http://container-solutions.com/resources/kubernetes/',
blurb: 'Container Solutions is a premium software consultancy that focuses on programmable infrastructure, offering our expertise in software development, strategy and operations to help you innovate at speed and scale.'
},
{
type: 1,
type: 2,
name: 'Jetstack',
logo: 'jetstack',
link: 'https://www.jetstack.io/',
@@ -263,7 +235,7 @@
type: 0,
name: 'Tigera',
logo: 'tigera',
link: 'http://docs.projectcalico.org/v1.5/getting-started/kubernetes/',
link: 'http://docs.projectcalico.org/latest/getting-started/kubernetes/',
blurb: 'Tigera builds high performance, policy driven, cloud native networking solutions for Kubernetes.'
},
{
@@ -280,13 +252,6 @@
link: 'https://harbur.io/',
blurb: 'Based in Barcelona, Harbur is a consulting firm that helps companies deploy self-healing solutions empowered by Container technologies'
},
{
type: 1,
name: 'Endocode',
logo: 'endocode',
link: 'https://endocode.com/kubernetes/',
blurb: 'Endocode practices and teaches the open source way. Kernel to cluster - Dev to Ops. We offer Kubernetes trainings, services and support.'
},
{
type: 0,
name: 'Spotinst',
@@ -295,8 +260,8 @@
blurb: 'Spotinst uses a prediction algorithm in the Amazon EC2 Spot allowing k8s clusters to increase performance and lower the infrastructure costs'
},
{
type: 1,
name: 'inwinSTACK',
type: 2,
name: 'InwinSTACK',
logo: 'inwinstack',
link: 'http://www.inwinstack.com/index.php/en/solutions-en/',
blurb: 'Our container service leverages OpenStack-based infrastructure and its container orchestration engine Magnum to manage Kubernetes clusters.'
@@ -337,7 +302,7 @@
blurb: 'NATS is a simple, secure, and scalable cloud native messaging system.'
},
{
type: 1,
type: 2,
name: 'RX-M',
logo: 'rxm',
link: 'http://rx-m.com/training/kubernetes-training/',
@@ -379,7 +344,7 @@
blurb: 'Full stack monitoring of containers and microservices orchestrated by Kubernetes. Powered by anomaly detection to find problems faster.'
},
{
type: 0,
type: 2,
name: 'Supergiant.io',
logo: 'supergiant',
link: 'https://supergiant.io/blog/supergiant-packing-algorithm-unique-save-money',
@@ -391,10 +356,255 @@
logo: 'avinetworks',
link: 'https://kb.avinetworks.com/avi-vantage-openshift-installation-guide/',
blurb: 'Avis elastic application services fabric provides scalable, feature rich & integrated L4-7 networking for K8S environments.'
}
},
{
type: 1,
name: 'codecrux web technologies pvt ltd',
logo: 'codecrux',
link: 'http://codecrux.com/kubernetes/',
blurb: 'At CodeCrux we help your organization get the most out of Containers and Kubernetes, regardless of where you are in your journey'
},
{
type: 0,
name: 'Greenqloud',
logo: 'qstack',
link: 'https://www.qstack.com/application-orchestration/',
blurb: 'Qstack provides self-serviceable on-site Kubernetes clusters with an intuitive User Interface for Infrastructure and Kubernetes management.'
},
{
type: 1,
name: 'StackOVerdrive.io',
logo: 'stackoverdrive',
link: 'http://www.stackoverdrive.net/kubernetes-consulting/',
blurb: 'We are a devops consulting firm and we do alot of work with containers and Kunbernetes is one of our go to tools.'
},
{
type: 0,
name: 'StackIQ, Inc.',
logo: 'stackiq',
link: 'https://www.stackiq.com/kubernetes/',
blurb: 'With Stacki and the Stacki Pallet for Kubernetes, you can go from bare metal to containers in one step very quickly and easily.'
},
{
type: 0,
name: 'Cobe',
logo: 'cobe',
link: 'https://cobe.io/product-page/',
blurb: 'Manage Kubernetes clusters with a live, searchable model that captures all relationships and performance data in full visualised context.'
},
{
type: 0,
name: 'Datawire',
logo: 'datawire',
link: 'http://www.datawire.io',
blurb: 'Datawires open source tools let your microservices developers be awesomely productive on Kubernetes, while letting ops sleep at night.'
},
{
type: 0,
name: 'Mashape, Inc.',
logo: 'mashape',
link: 'https://getkong.org/install/kubernetes/',
blurb: 'Kong is a scalable open source API layer that runs in front of any RESTful API and can be provisioned to a Kubernetes cluster.'
},
{
type: 0,
name: 'F5 Networks',
logo: 'f5networks',
link: 'http://github.com/f5networks',
blurb: 'We have a LB integration into Kubernetes.'
},
{
type: 1,
name: 'Lovable Tech',
logo: 'lovable',
link: 'http://lovable.tech/',
blurb: 'World class engineers, designers, and strategic consultants helping you ship Lovable web & mobile technology.'
},
{
type: 0,
name: 'StackState',
logo: 'stackstate',
link: 'http://stackstate.com/platform/container-monitoring',
blurb: 'Operational Analytics across teams and tools. Includes topology visualization, root cause analysis and anomaly detection for Kubernetes.'
},
{
type: 1,
name: 'INEXCCO INC',
logo: 'inexcco',
link: 'https://www.inexcco.com/',
blurb: 'Strong DevOps and Cloud talent working with couple clients on kubernetes and helm implementations. '
},
{
type: 2,
name: 'Bitnami',
logo: 'bitnami',
link: 'http://bitnami.com/kubernetes',
blurb: 'Bitnami brings a catalog of trusted, up to date, and easy to use applications and application building blocks to Kubernetes.'
},
{
type: 1,
name: 'Nebulaworks',
logo: 'nebulaworks',
link: 'http://www.nebulaworks.com/container-platforms',
blurb: 'Nebulaworks provides services to help the enterprise adopt modern container platforms and optimized processes to enable innovation at scale.'
},
{
type: 1,
name: 'EASYNUBE LTD',
logo: 'easynube',
link: 'https://www.carrefour.es/supermercado/?ic_source=portal-home&ic_medium=menu-links&ic_content=section-home',
blurb: 'Provide consultancy, architecture and implementation'
},
{
type: 1,
name: 'Opcito Technologies',
logo: 'opcito',
link: 'http://www.opcito.com/kubernetes/',
blurb: 'Opcito is a software consultancy that uses Kubernetes to help organisations build, architect & deploy highly scalable applications.'
},
{
type: 2,
name: 'Huawei Technologies Co., Ltd.',
logo: 'huawei',
link: 'http://developer.huawei.com/ict/en/site-paas',
blurb: 'FusionStage is an enterprise-grade PaaS, the core of which is based on open source container technology including Kubernetes and Docker.'
},
{
type: 0,
name: '{code} by Dell EMC',
logo: 'codedellemc',
link: 'https://blog.codedellemc.com',
blurb: 'Respected as a thought leader in storage persistence for containerized applications. Contributed significant work to K8 and Ecosystem'
},
{
type: 0,
name: 'SUSE Llc.',
logo: 'suse',
link: 'https://www.suse.com/products/caas-platform/',
blurb: 'SUSE delivers Kubernetes as part of SUSE CaaS Platform and SUSE OpenStack Cloud, for enterprises that want truly open, open source solutions for cloud-native applications.'
},
{
type: 0,
name: 'Instana',
logo: 'instana',
link: 'https://www.instana.com/supported-technologies/',
blurb: 'Instana monitors the infrastructure, containers and services deployed on a Kubernetes cluster.'
},
{
type: 0,
name: 'Netsil',
logo: 'netsil',
link: 'https://netsil.com/kubernetes/',
blurb: 'Generate a real-time, auto-discovered application topology map! Monitor Kubernetes pods and namespaces without any code instrumentation.'
},
{
type: 2,
name: 'Treasure Data',
logo: 'treasure-data',
link: 'https://fluentd.treasuredata.com/kubernetes-logging/',
blurb: 'Fluentd Enterprise brings smart, secure logging to Kubernetes, and brings integrations with backends such as Splunk, Kafka, or AWS S3.'
},
{
type: 2,
name: 'IBM',
logo: 'IBM',
link: 'https://www.ibm.com/cloud-computing/bluemix/containers',
blurb: 'IBM Container Service is a managed k8s environment with built-in cluster security and isolation while leveraging services including Watson, IoT, Weather, etc.'
},
{
type: 1,
name: 'Kenzan',
logo: 'Kenzan',
link: 'http://kenzan.com/?ref=kubernetes',
blurb: 'Kenzan is a software engineering and full-service consulting firm that provides customized, end-to-end solutions that drive change through digital transformation.'
},
{
type: 0,
name: 'Kublr',
logo: 'kublr',
link: 'http://kublr.com',
blurb: 'Simplify your Kubernetes experience with a fully production-ready, enterprise-grade cluster management platform.'
},
{
type: 0,
name: 'Endocode AG',
logo: 'endocode',
link: 'https://endocode.com/kubernetes/',
blurb: 'Endocode practices and teaches the open source way. Kernel to cluster - Dev to Ops. We offer Kubernetes trainings, services and support.'
},
{
type: 2,
name: 'Accenture',
logo: 'accenture',
link: 'https://www.accenture.com/us-en/service-application-containers',
blurb: 'Architecture, implementation and operation of world-class Kubernetes solutions for cloud-native clients.'
},
{
type: 1,
name: 'Biarca',
logo: 'biarca',
link: 'http://biarca.io/',
blurb: 'Biarca is a cloud services provider and key focus areas Key areas of focus for Biarca include Cloud Adoption Services, Infrastructure Services, DevOps Services and Application Services. Biarca leverages Kubernetes to deliver containerized solutions.'
},
{
type: 2,
name: 'Claranet',
logo: 'claranet',
link: 'http://www.claranet.co.uk/hosting/google-cloud-platform-consulting-managed-services',
blurb: 'Claranet helps people migrate to the cloud and take full advantage of the new world it offers. We consult, design, build and proactively manage the right infrastructure and automation tooling for clients to achieve this.'
},
{
type: 1,
name: 'CloudKite',
logo: 'cloudkite',
link: 'https://cloudkite.io/',
blurb: 'CloudKite.io helps companies build and maintain highly automated, resilient, and impressively performing software on Kubernetes.'
},
{
type: 1,
name: 'CloudOps',
logo: 'CloudOps',
link: 'https://www.cloudops.com/services/docker-and-kubernetes-workshops/',
blurb: 'CloudOps gets you hands-on with the K8s ecosystem via workshop/lab. Get prod ready K8s in cloud(s) of your choice with our managed services.'
},
{
type: 2,
name: 'Ghostcloud',
logo: 'ghostcloud',
link: 'https://www.ghostcloud.cn/ecos-kubernetes',
blurb: 'EcOS is an enterprise-grade PaaS / CaaS based on Docker and Kubernetes, which makes it easier to configure, deploy and manage containerized applications.'
},
{
type: 2,
name: 'Contino',
logo: 'contino',
link: 'https://www.contino.io/',
blurb: 'We help enterprise organizations adopt DevOps, containers and cloud computing. Contino is a global consultancy that enables regulated organizations to accelerate innovation through the adoption of modern approaches to software delivery.'
},
{
type: 2,
name: 'Heptio',
logo: 'heptio',
link: 'http://heptio.com',
blurb: 'Heptio helps businesses of all sizes get closer to the vibrant Kubernetes community.'
},
{
type: 2,
name: 'Booz Allen Hamilton',
logo: 'boozallenhamilton',
link: 'https://www.boozallen.com/',
blurb: 'Booz Allen partners with public and private sector clients to solve their most difficult challenges through a combination of consulting, analytics, mission operations, technology, systems delivery, cybersecurity, engineering, and innovation expertise.'
},
{
type: 0,
name: 'Applatix',
logo: 'applatix',
link: 'https://applatix.com/applatix-product/',
blurb: 'Applatix helps build and run containerized apps on public cloud using Docker and Kubernetes.'
}
]
var kcspContainer = document.getElementById('kcspContainer')
var isvContainer = document.getElementById('isvContainer')
var servContainer = document.getElementById('servContainer')
@@ -427,7 +637,15 @@
box.appendChild(img)
box.appendChild(div)
var container = obj.type ? servContainer : isvContainer
var container;
if (obj.type === 0) {
container = isvContainer;
} else if (obj.type === 1) {
container = servContainer;
} else if (obj.type === 2) {
container = kcspContainer;
}
container.appendChild(box)
})
})();
+68 -4
View File
@@ -1,5 +1,65 @@
/* SECTIONS */
.section {
clear: both;
padding: 0px;
margin-bottom: 2em;
}
/* COLUMN SETUP */
.col {
display: block;
float:left;
margin: 1% 0 1% 1.6%;
background-color: #f9f9f9;
}
.col:first-child { margin-left: 0; }
/* GROUPING */
.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
.group {
zoom:1; /* For IE 6/7 */
}
/* GRID OF THREE */
.span_3_of_3 {
width: 32.2%;
background-color: #f9f9f9;
padding: 20px;
}
.span_2_of_3 {
width: 32.2%;
background-color: #f9f9f9;
padding: 20px;
}
.span_1_of_3 {
width: 32.2%;
background-color: #f9f9f9;
padding: 20px;
}
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width: 480px) {
.col { margin: 1% 0 1% 0%;}
.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}
.button{
max-width: 100%;
line-height: 14px;
padding: 15px;
}
h5 {
font-size: 18px;
font-size: 16px;
line-height: 1.5em;
margin-bottom: 2em;
}
@@ -9,7 +69,7 @@ h5 {
background-color: #f9f9f9;
}
#isvContainer, #servContainer {
#kcspContainer, #isvContainer, #servContainer {
position: relative;
width: 100%;
display: flex;
@@ -21,6 +81,10 @@ h5 {
margin-bottom: 80px;
}
#kcspContainer {
margin-bottom: 80px;
}
.partner-box {
position: relative;
width: 47%;
@@ -58,7 +122,7 @@ h5 {
}
@media screen and (max-width: 568px) {
#isvContainer, #servContainer {
#kcspContainer, #isvContainer, #servContainer {
justify-content: center;
}
@@ -76,7 +140,7 @@ h5 {
}
@media screen and (max-width: 568px) {
#isvContainer, #servContainer {
#kcspContainer, #isvContainer, #servContainer {
justify-content: center;
}
-17
View File
@@ -1,17 +0,0 @@
{% assign tabsraw = tabspec | newline_to_br | split: '<br />' %}
{% assign tabsetname = tabsraw[0] %}
<script>$(function(){$("#{{tabsetname}}").tabs();});</script>
<div id="{{tabsetname}}">
<ul>{% for tab in tabsraw offset:1 %}{% assign thisTab = tab | split: ',' %}
<li><a href="#{{ thisTab[0] | strip | handleize }}">{{ thisTab[0] | strip}}</a></li>{% endfor %}
</ul>
{% for tab in tabsraw offset:1 %}
{% assign thisTab = tab | split: ',' %}
{% assign tabLang=thisTab[1] %}
{% assign tabFile=thisTab[2] %}
{% assign tabGHLink=thisTab[3] %}
<div id="{{ thisTab[0] | strip | handleize }}">
{% include code.html language=tabLang file=tabFile ghlink=tabGHLink %}
</div>
{% endfor %}
</div>
+15
View File
@@ -0,0 +1,15 @@
{% comment %} See /docs/tabs-example.md for usage example. {% endcomment %}
{% assign tab_set_id = tab_set_name | default: "tabset" | slugify %}
<div id="{{tab_set_id}}">
<ul>
{% for name in tab_names %}
<li><a href="#{{tab_set_id}}-{{forloop.index0}}">{{ name | strip }}</a></li>
{% endfor %}
</ul>
{% for content in tab_contents %}
<div id="{{tab_set_id}}-{{forloop.index0}}">
{{ content | markdownify }}
</div>
{% endfor %}
</div>
<script>$(function(){$("#{{tab_set_id}}").tabs();});</script>
+15
View File
@@ -0,0 +1,15 @@
<!-- Use include_cached when incorporating this file, in order to reduce computation/build time -->
{% assign glossary_terms = site.data.glossary | where_exp: "term", "term.id != '_example'" %}
{% assign tag_map = "" | split: " " %}
{% for tag in site.data.canonical-tags %}
{% assign term_list = glossary_terms | where_exp:"term", "term.tags contains tag" | map: "id" %}
{% assign tag_obj = "" | split: " " | push: tag | push: term_list %}
{% assign tag_map = tag_map | push: tag_obj %}
{% endfor %}
+5 -1
View File
@@ -1,4 +1,8 @@
You need to have a Kubernetes cluster, and the kubectl command-line tool must
be configured to communicate with your cluster. If you do not already have a
cluster, you can create one by using
[Minikube](/docs/getting-started-guides/minikube).
[Minikube](/docs/getting-started-guides/minikube),
or you can use one of these Kubernetes playgrounds:
* [Katacoda](https://www.katacoda.com/courses/kubernetes/playground)
* [Play with Kubernetes](http://labs.play-with-k8s.com/)
+62
View File
@@ -0,0 +1,62 @@
# Kubernetes Glossary
To write a glossary snippet, start with a copy of the template, [`/_data/glossary/_example.yml`](/_data/glossary/_example.yml). Make sure to provide (or omit) values for the following fields:
* (Required) `id`.
* This field must match the name of the glossary file itself (without the `*.yml` extension). It is *not* intended to be displayed to users, and is only used programmatically.
* (Required) `name`.
* The name of the term.
* (Required) `tags`.
* Must be one of the tags listed in kubernetes.github.io/_data/canonical-terms-tags.yml.
* (Required) `short description`.
* Make sure to replace the instructional text in the template with your content.
* (Optional) `formerly` and `related`.
* If you do not provide these values, remove the fields.
* (Optional) `long description`.
* If you do not provide a long description, remove the field -- that is, the complete key-value pair.
The `_example.yml` template also contains basic information about how to write your snippet. For additional guidance, continue reading this readme.
## Glossary snippet style guide
This style guide supplements the guidance provided in the glossary template. It's intended to help you think about what and how to write glossary definitions. For more general guidance on style, consult [the core docs style guide](https://kubernetes.io/docs/home/contribute/style-guide/).
### Minimum viable snippet:
Every snippet must include at least the short description. The long description is optional, but should be provided for terms that need additional clarification. For consistency with existing *Concept* definitions, *write your definitions as if the term is plural*.
**short-description** (Required): One line (or two short lines) that provides a minimum definition. Do not repeat the term. Prefer fragments. Model after tooltips. End with a period.
**long-description** (Optional): Longer additional text to appear after (in conjunction with) short description. Provide in cases where the short description is not sufficient for the intro paragraph to a topic. Write complete but concise sentences.
### Examples
```yaml
- name: Pod
- tags:
- Fundamental
- Workload
- API Object
- short-description: The smallest and simplest Kubernetes objects. Represent a set of running processes on your cluster.
- long-description: Pods most often run only a single container, and are managed by a Deployment.
```
```yaml
- name: Deployment
- tags:
- Fundamental
- Workload
- API Object
- short-description: Controllers that provide declarative updates for Pods and ReplicaSets.
- long-description: Deployments are responsible for creating and updating instances of an application.
```
### Thinking about definitions
* **Think of the short description as it would appear in a tooltip.** Is it sufficient to get the reader started? Is it short enough to be read inside a small UI element?
*Tip*: look at the API reference doc content (for example, https://kubernetes.io/docs/api-reference/v1.7/). Note, however, that this content should be used with care. The concept docs for Pod, for example, are clearer than the reference docs.
* **The long description should follow the short description to make a complete introduction to a topic.** (This is the content that appears at the top of the content, before any generated TOC.) Does it provide information that's not already clear from the short description? Does it provide information that readers should have a general sense of before they dive into the details of the topic it helps introduce?
*Tip:* the long description does not need to be long; it's intended to extend but not replace the short description. Look through current related docs for ideas. (The Deployment long description is taken from a tutorial, for example.)
+10
View File
@@ -0,0 +1,10 @@
### ERROR: You must define a <span style="font-family: monospace">`{{ include.missing_block }}`</span> field
{: style="color:red" }
The glossary template requires that you provide text that {{ include.purpose }}.
To get rid of this message and take advantage of this template, define the `{{ include.missing_block }}`
field for the `{{ include.term }}` glossary term and populate it with content.
See `_data/glossary/_example.yml` for reference.
<!-- TEMPLATE_ERROR -->
+25
View File
@@ -0,0 +1,25 @@
{% assign term_data = site.data.glossary.[include.term] %}
{% if term_data.short-description %}
{{ term_data.short-description | markdownify }}
{% else %}
{% include templates/glossary/_error.md term=term_data.name missing_block='short-description' purpose='concisely describes the key term in 1-2 lines' %}
{% endif %}
{% if include.length == "long" %}
{% if term_data.long-description %}
{{ term_data.long-description | markdownify }}
{% else %}
{% include templates/glossary/_error.md term=term_data.name missing_block='long-description' purpose='describes the key term in greater depth, supplementing the short-description' %}
{% endif %}
{% endif %}
-121
View File
@@ -1,121 +0,0 @@
{% if page.cards %}<!-- check for this before going any further; if not present, skip to else at bottom -->
<style>
h2, h3, h4 {
border-bottom: 0px !important;
font-size: 22px !important;
padding-bottom: 20px !important;
}
.colContainer {
padding-top:2px;
padding-left: 2px;
overflow: auto;
}
#samples a {
color: #000;
}
.col3rd {
display: block;
float: left;
margin-right: 30px;
margin-bottom: 30px;
overflow: hidden;
}
.col3rd h3, .col2nd h3 {
margin-bottom: 0px !important;
}
.col3rd .button, .col2nd .button {
margin-top: 20px;
border-radius: 2px;
}
.col3rd p, .col2nd p {
margin-left: 2px;
}
.col2nd {
display: block;
width: 400px;
float: left;
margin-right: 30px;
margin-bottom: 30px;
overflow: hidden;
}
.shadowbox {
width: 250px;
display: inline;
float: left;
text-transform: none;
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
line-height: 24px;
position: relative;
display: block;
cursor: pointer;
box-shadow: 0 2px 2px rgba(0,0,0,.24),0 0 2px rgba(0,0,0,.12);
border-radius: 5px;
background: #fff;
transition: all .3s;
padding: 16px;
margin: 0 16px 16px 0;
text-decoration: none;
letter-spacing: .01em;
height: 220px;
}
.shadowbox img {
min-width: 100px;
max-width: 100px;
max-height: 50px;
margin-right: 5px;
margin-bottom: 5px;
float: left;
}
</style>
<div class="colContainer">
{% for card in page.cards %}{% if card.title %}
<div class="col3rd shadowbox">
<h3>{{card.title}}</h3>
<p>{% if card.image %}<img src="{{card.image}}">{% endif %}{{card.description}}</p>
</div>
{% endif %}{% endfor %}
</div>
{% else %}
### ERROR: You must define "cards" front-matter YAML
{: style="color:red" }
This template requires that you insert YAML at the top of your document
that defines the "cards" you'd like to display on the page. The cards will
render in clickable boxes.
To get rid of this message and take advantage of this template, define `cards`:
```yaml
---
cards:
- progression: no
- card:
title: Mean Stack
image: /docs/meanstack/image_0.png
description: Lorem ipsum dolor it verberum.
- card:
title: Guestbook + Redis
image: /images/docs/redis.svg
description: Lorem ipsum dolor it verberum.
- card:
title: Cloud Native Cassandra
image: /images/docs/cassandra.svg
description: Lorem ipsum dolor it verberum.
- card:
title: WordPress + MySQL
image: /images/docs/wordpress.svg
description: Lorem ipsum dolor it verberum.
---
```
**Note:** If `progression` is set to `yes` then a "Start Here!" icon will be
placed on the first card and arrows suggesting linear reading will be overlayed
between the other cards, telling the reader that they should explore the content
in a certain order.
{% endif %}
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@@ -3557,14 +3557,14 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">postStart</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#hook-details">http://kubernetes.io/docs/user-guide/container-environment#hook-details</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details">http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_handler">v1.Handler</a></p></td>
<td class="tableblock halign-left valign-top"></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">preStop</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/user-guide/container-environment#hook-details">http://kubernetes.io/docs/user-guide/container-environment#hook-details</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: <a href="http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details">http://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks#hook-details</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="#_v1_handler">v1.Handler</a></p></td>
<td class="tableblock halign-left valign-top"></td>
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+5 -10
View File
@@ -22,15 +22,12 @@
<h5>{{ toc.abstract }}</h5>
<div id="vendorStrip" class="light-text">
<ul>
<li><a href="/docs/" {% if toc.bigheader == "Kubernetes Documentation" %}class="YAH"{% endif %}>DOCS HOME</a></li>
<li><a href="/docs/user-guide/" {% if toc.bigheader == "Guides" %}class="YAH"{% endif %}>GUIDES</a></li>
<li><a href="/docs/tutorials/" {% if toc.bigheader == "Tutorials" %}class="YAH"{% endif %}>TUTORIALS</a></li>
<li><a href="/docs/tasks/" {% if toc.bigheader == "Tasks" %}class="YAH"{% endif %}>TASKS</a></li>
<li><a href="/docs/home/" {% if toc.bigheader == "Kubernetes Documentation" %}class="YAH"{% endif %}>HOME</a></li>
<li><a href="/docs/setup/" {% if toc.bigheader == "Setup" %}class="YAH"{% endif %}>SETUP</a></li>
<li><a href="/docs/concepts/" {% if toc.bigheader == "Concepts" %}class="YAH"{% endif %}>CONCEPTS</a></li>
<li><a href="/docs/tasks/" {% if toc.bigheader == "Tasks" %}class="YAH"{% endif %}>TASKS</a></li>
<li><a href="/docs/tutorials/" {% if toc.bigheader == "Tutorials" %}class="YAH"{% endif %}>TUTORIALS</a></li>
<li><a href="/docs/reference/" {% if toc.bigheader == "Reference Documentation" %}class="YAH"{% endif %}>REFERENCE</a></li>
<li><a href="/docs/tools/" {% if toc.bigheader == "Tools" %}class="YAH"{% endif %}>TOOLS</a></li>
<li><a href="/docs/samples/" {% if toc.bigheader == "Samples" %}class="YAH"{% endif %}>SAMPLES</a></li>
<li><a href="/docs/troubleshooting/" {% if toc.bigheader == "Support" %}class="YAH"{% endif %}>SUPPORT</a></li>
</ul>
<div id="searchBox">
<input type="text" id="search" placeholder="Search" onkeydown="if (event.keyCode==13) window.location.replace('/docs/search/?q=' + this.value)" autofocus="autofocus">
@@ -43,9 +40,7 @@
<section id="encyclopedia">
<div id="docsToc">
<div class="pi-accordion">
{% if toc.bigheader != "Kubernetes Documentation" %}
{% include_cached tree.html tree=toc.toc %}
{% endif %}
</div> <!-- /pi-accordion -->
<button class="push-menu-close-button" onclick="kub.toggleToc()"></button>
</div> <!-- /docsToc -->
@@ -71,7 +66,7 @@
(function(d,c,j){if(!document.getElementById(j)){var pd=d.createElement(c),s;pd.id=j;pd.src=('https:'==document.location.protocol)?'https://polldaddy.com/js/rating/rating.js':'http://i0.poll.fm/js/rating/rating.js';s=document.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd,s);}}(document,'script','pd-rating-js'));
</script>
<a href="" onclick="window.open('https://github.com/kubernetes/kubernetes.github.io/issues/new?title=Issue%20with%20' +
window.location.pathname)" class="button issue">Create an Issue</a>
'k8s.io'+window.location.pathname)" class="button issue">Create an Issue</a>
<a href="/editdocs#{{ page.path }}" class="button issue">Edit this Page</a>
{% endif %}
</div>
+1
View File
@@ -0,0 +1 @@
{{ content }}
+450
View File
@@ -0,0 +1,450 @@
###############################################
# set server-side redirects in this file #
# see https://www.netlify.com/docs/redirects/ #
# test at https://play.netlify.com/redirects #
###############################################
############################
# pattern matching redirects
#
/docs/user-guide/kubectl/kubectl_*/ /docs/user-guide/kubectl/v1.7/#:splat 200
/v1.1/docs/* /docs/ 301
/docs/user-guide/kubectl/1_5/* https://v1-5.docs.kubernetes.io/docs/user-guide/kubectl/v1.5/ 301
/docs/user-guide/kubectl/v1.5/node_modules/* https://v1-5.docs.kubernetes.io/docs/user-guide/kubectl/v1.5/ 301
/docs/resources-reference/1_5/* https://v1-5.docs.kubernetes.io/docs/resources-reference/v1.5/ 301
/docs/resources-reference/v1.5/node_modules/* https://v1-5.docs.kubernetes.io/docs/resources-reference/v1.5/ 301
/docs/user-guide/kubectl/v1.6/node_modules/* https://v1-6.docs.kubernetes.io/docs/user-guide/kubectl/v1.6/ 301
/docs/api-reference/v1.7/node_modules/* /docs/api-reference/v1.7/ 301
/docs/getting-started-guides/docker-multinode/* /docs/setup/independent/create-cluster-kubeadm/ 301
/docs/admin/resourcequota/* /docs/concepts/policy/resource-quotas/ 301
/docs/getting-started-guide/* /docs/setup/ 301
/docs/api-reference/v1.4/* https://v1-4.docs.kubernetes.io/docs/reference/ 301
/docs/api-reference/1_5/* https://v1-5.docs.kubernetes.io/docs/reference/ 301
/docs/api-reference/v1.5/* https://v1-5.docs.kubernetes.io/docs/reference/ 301
/docs/api-reference/v1.6/* https://v1-6.docs.kubernetes.io/docs/reference/ 301
/docs/resources-reference/1_5/* /docs/resources-reference/v1.5/ 301
/docs/resources-reference/1_6/* /docs/resources-reference/v1.6/ 301
/docs/resources-reference/1_7/* /docs/resources-reference/v1.7/ 301
/docs/templatedemos/* /docs/home/contribute/page-templates/ 301
/docs/tutorials/getting-started/* /docs/tutorials/kubernetes-basics/ 301
/docs/user-guide/federation/* /docs/concepts/cluster-administration/federation/ 301
/docs/user-guide/garbage-collector/* /docs/concepts/workloads/controllers/garbage-collection/ 301
/docs/user-guide/horizontal-pod-autoscaler/* /docs/tasks/run-application/horizontal-pod-autoscale/ 301
/kubernetes-bootcamp/* /docs/tutorials/kubernetes-basics/ 301
/swagger-spec/* https://github.com/kubernetes/kubernetes/tree/master/api/swagger-spec/ 301
/third_party/swagger-ui/* /docs/reference/ 301
############################
# individual redirects
#
/gettingstarted/ /docs/home/ 301
/docs/admin/addons/ /docs/concepts/cluster-administration/addons/ 301
/docs/admin/apparmor/ /docs/tutorials/clusters/apparmor/ 301
/docs/admin/audit/ /docs/tasks/debug-application-cluster/audit/ 301
//docs/admin/authorization/rbac.md /docs/admin/authorization/rbac/ 301
/docs/admin/cluster-components/ /docs/concepts/overview/components/ 301
/docs/admin/cluster-management/ /docs/tasks/administer-cluster/cluster-management/ 301
/docs/admin/cluster-troubleshooting/ /docs/tasks/debug-application-cluster/debug-cluster/ 301
/docs/admin/daemons/ /docs/concepts/workloads/controllers/daemonset/ 301
/docs/admin/disruptions/ /docs/concepts/workloads/pods/disruptions/ 301
/docs/admin/dns/ /docs/concepts/services-networking/dns-pod-service/ 301
/docs/admin/etcd/ /docs/tasks/administer-cluster/configure-upgrade-etcd/ 301
/docs/admin/etcd_upgrade/ /docs/tasks/administer-cluster/configure-upgrade-etcd/ 301
/docs/admin/federation/kubefed/ /docs/tasks/federation/set-up-cluster-federation-kubefed/ 301
/docs/admin/federation/kubefed.md /docs/tasks/federation/set-up-cluster-federation-kubefed/ 301
/docs/tasks/federation/set-up-cluster-federation-kubefed.md /docs/tasks/federation/set-up-cluster-federation-kubefed/ 301
/docs/admin/garbage-collection/ /docs/concepts/cluster-administration/kubelet-garbage-collection/ 301
/docs/admin/ha-master-gce/ /docs/tasks/administer-cluster/highly-available-master/ 301
/docs/admin/ha-master-gce.md /docs/tasks/administer-cluster/highly-available-master/ 301
/docs/admin/ /docs/concepts/cluster-administration/cluster-administration-overview/ 301
/docs/admin/kubeadm-upgrade-1-7/ /docs/tasks/administer-cluster/kubeadm-upgrade-1-7/ 301
/docs/admin/limitrange/docs/tasks/administer-cluster/cpu-memory-limit/ 301
/docs/admin/master-node-communication/ /docs/concepts/architecture/master-node-communication/ 301
/docs/admin/multi-cluster/ /docs/concepts/cluster-administration/federation/ 301
/docs/admin/multiple-schedulers/ /docs/tasks/administer-cluster/configure-multiple-schedulers/ 301
/docs/admin/namespaces/ /docs/tasks/administer-cluster/namespaces/ 301
/docs/admin/namespaces/walkthrough/ /docs/tasks/administer-cluster/namespaces-walkthrough/ 301
/docs/admin/network-plugins/ /docs/concepts/cluster-administration/network-plugins/ 301
/docs/admin/networking/ /docs/concepts/cluster-administration/networking/ 301
/docs/admin/node/ /docs/concepts/architecture/nodes/ 301
/docs/admin/node-allocatable/ /docs/tasks/administer-cluster/reserve-compute-resources/ 301
//docs/admin/node-allocatable.md /docs/tasks/administer-cluster/reserve-compute-resources/ 301
/docs/admin/node-conformance.md /docs/admin/node-conformance/ 301
/docs/admin/node-problem/ /docs/tasks/debug-application-cluster/monitor-node-health/ 301
/docs/admin/out-of-resource/ /docs/tasks/administer-cluster/out-of-resource/ 301
/docs/admin/rescheduler/ /docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ 301
/docs/admin/resourcequota/limitstorageconsumption/ /docs/tasks/administer-cluster/limit-storage-consumption/ 301
/docs/admin/resourcequota/walkthrough/ /docs/tasks/administer-cluster/quota-api-object/ 301
/docs/admin/static-pods/ /docs/tasks/administer-cluster/static-pod/ 301
/docs/admin/sysctls/ /docs/concepts/cluster-administration/sysctl-cluster/ 301
/docs/admin/upgrade-1-6/ /docs/tasks/administer-cluster/upgrade-1-6/ 301
/docs/api/ /docs/concepts/overview/kubernetes-api/ 301
/docs/concepts/abstractions/controllers/garbage-collection/ /docs/concepts/workloads/controllers/garbage-collection/ 301
/docs/concepts/abstractions/controllers/petsets/ /docs/concepts/workloads/controllers/petset/ 301
/docs/concepts/abstractions/controllers/statefulsets/ /docs/concepts/workloads/controllers/statefulset/ 301
/docs/concepts/abstractions/init-containers/ /docs/concepts/workloads/pods/init-containers/ 301
/docs/concepts/abstractions/overview/ /docs/concepts/overview/working-with-objects/kubernetes-objects/ 301
/docs/concepts/abstractions/pod/ /docs/concepts/workloads/pods/pod-overview/ 301
/docs/concepts/cluster-administration/access-cluster/ /docs/tasks/access-application-cluster/access-cluster/ 301
/docs/concepts/cluster-administration/audit/ /docs/tasks/debug-application-cluster/audit/ 301
/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/ /docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/ 301
/docs/concepts/cluster-administration/cluster-management/ /docs/tasks/administer-cluster/cluster-management/ 301
/docs/concepts/cluster-administration/configure-etcd/ /docs/tasks/administer-cluster/configure-upgrade-etcd/ 301
/docs/concepts/cluster-administration/etcd-upgrade/ /docs/tasks/administer-cluster/configure-upgrade-etcd/ 301
/docs/concepts/cluster-administration/federation-service-discovery/ /docs/tasks/federation/federation-service-discovery/ 301
/docs/concepts/cluster-administration/guaranteed-scheduling-critical-addon-pods/ /docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ 301
/docs/concepts/cluster-administration/master-node-communication/ /docs/concepts/architecture/master-node-communication/ 301
/docs/concepts/cluster-administration/multiple-clusters/ /docs/concepts/cluster-administration/federation/ 301
/docs/concepts/cluster-administration/out-of-resource/ /docs/tasks/administer-cluster/out-of-resource/ 301
/docs/concepts/cluster-administration/resource-usage-monitoring/ /docs/tasks/debug-application-cluster/resource-usage-monitoring/ 301
/docs/concepts/cluster-administration/static-pod/ /docs/tasks/administer-cluster/static-pod/ 301
/docs/concepts/clusters/logging/ /docs/concepts/cluster-administration/logging/ 301
/docs/concepts/configuration/container-command-arg/ /docs/tasks/inject-data-application/define-command-argument-container/ 301
/docs/concepts/ecosystem/thirdpartyresource/ /docs/tasks/access-kubernetes-api/extend-api-third-party-resource/ 301
/docs/concepts/jobs/cron-jobs/ /docs/concepts/workloads/controllers/cron-jobs/ 301
/docs/concepts/jobs/run-to-completion-finite-workloads/ /docs/concepts/workloads/controllers/jobs-run-to-completion/ 301
/docs/concepts/nodes/node/ /docs/concepts/architecture/nodes/ 301
/docs/concepts/storage/etcd-store-api-object/ /docs/tasks/administer-cluster/configure-upgrade-etcd/ 301
/docs/concepts/tools/kubectl/object-management-overview/ /docs/tutorials/object-management-kubectl/object-management/ 301
/docs/concepts/tools/kubectl/object-management-using-declarative-config/ /docs/tutorials/object-management-kubectl/declarative-object-management-configuration/ 301
/docs/concepts/tools/kubectl/object-management-using-imperative-commands/ /docs/tutorials/object-management-kubectl/imperative-object-management-command/ 301
/docs/concepts/tools/kubectl/object-management-using-imperative-config/ /docs/tutorials/object-management-kubectl/imperative-object-management-configuration/ 301
/docs/getting-started-guides/ /docs/setup/pick-right-solution/ 301
/docs/getting-started-guides/kubeadm/ /docs/setup/independent/create-cluster-kubeadm/ 301
/docs/getting-started-guides/network-policy/calico/ /docs/tasks/administer-cluster/calico-network-policy/ 301
/docs/getting-started-guides/network-policy/romana/ /docs/tasks/administer-cluster/romana-network-policy/ 301
/docs/getting-started-guides/network-policy/walkthrough/ /docs/tasks/administer-cluster/declare-network-policy/ 301
/docs/getting-started-guides/network-policy/weave/ /docs/tasks/administer-cluster/weave-network-policy/ 301
/docs/getting-started-guides/running-cloud-controller/ /docs/tasks/administer-cluster/running-cloud-controller/ 301
/docs/getting-started-guides/ubuntu/calico/ /docs/getting-started-guides/ubuntu/ 301
/docs/hellonode/ /docs/tutorials/stateless-application/hello-minikube/ 301
/docs/ /docs/home/ 301
/docs/home/coreos/ /docs/getting-started-guides/coreos/ 301
/docs/samples/ /docs/tutorials/ 301
/docs/tasks/administer-cluster/apply-resource-quota-limit/ /docs/tasks/administer-cluster/quota-api-object/ 301
/docs/tasks/administer-cluster/assign-pods-nodes/ /docs/tasks/configure-pod-container/assign-pods-nodes/ 301
/docs/tasks/administer-cluster/overview/ /docs/concepts/cluster-administration/cluster-administration-overview/ 301
/docs/tasks/administer-cluster/cpu-memory-limit/ /docs/tasks/administer-cluster/memory-default-namespace/ 301
/docs/tasks/administer-cluster/share-configuration/ /docs/tasks/access-application-cluster/configure-access-multiple-clusters/ 301
/docs/tasks/configure-pod-container/apply-resource-quota-limit/ /docs/tasks/administer-cluster/apply-resource-quota-limit/ 301
/docs/tasks/configure-pod-container/calico-network-policy/ /docs/tasks/administer-cluster/calico-network-policy/ 301
/docs/tasks/configure-pod-container/communicate-containers-same-pod/ /docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ 301
/docs/tasks/configure-pod-container/declare-network-policy/ /docs/tasks/administer-cluster/declare-network-policy/ 301
/docs/tasks/configure-pod-container/define-environment-variable-container/ /docs/tasks/inject-data-application/define-environment-variable-container/ 301
/docs/tasks/configure-pod-container/distribute-credentials-secure/ /docs/tasks/inject-data-application/distribute-credentials-secure/ 301
/docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information/ /docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/ 301
/docs/tasks/configure-pod-container/environment-variable-expose-pod-information/ /docs/tasks/inject-data-application/environment-variable-expose-pod-information/ 301
/docs/tasks/configure-pod-container/limit-range/ /docs/tasks/administer-cluster/cpu-memory-limit/ 301
/docs/tasks/configure-pod-container/romana-network-policy/ /docs/tasks/administer-cluster/romana-network-policy/ 301
/docs/tasks/configure-pod-container/weave-network-policy/ /docs/tasks/administer-cluster/weave-network-policy/ 301
/docs/tasks/configure-pod-container/assign-cpu-ram-container/ /docs/tasks/configure-pod-container/assign-memory-resource/ 301
/docs/tasks/kubectl/get-shell-running-container/ /docs/tasks/debug-application-cluster/get-shell-running-container/ 301
/docs/tasks/kubectl/install/ /docs/tasks/tools/install-kubectl/ 301
/docs/tasks/kubectl/list-all-running-container-images/ /docs/tasks/access-application-cluster/list-all-running-container-images/ 301
/docs/tasks/manage-stateful-set/debugging-a-statefulset/ /docs/tasks/debug-application-cluster/debug-stateful-set/ 301
/docs/tasks/manage-stateful-set/delete-pods/ /docs/tasks/run-application/force-delete-stateful-set-pod/ 301
/docs/tasks/manage-stateful-set/deleting-a-statefulset/ /docs/tasks/run-application/delete-stateful-set/ 301
/docs/tasks/manage-stateful-set/scale-stateful-set/ /docs/tasks/run-application/scale-stateful-set/ 301
/docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/ /docs/tasks/run-application/upgrade-pet-set-to-stateful-set/ 301
/docs/tasks/run-application/podpreset/ /docs/tasks/inject-data-application/podpreset/ 301
/docs/tasks/troubleshoot/debug-init-containers/ /docs/tasks/debug-application-cluster/debug-init-containers/ 301
/docs/tasks/web-ui-dashboard/ /docs/tasks/access-application-cluster/web-ui-dashboard/ 301
/docs/templatedemos/ /docs/home/contribute/page-templates/ 301
/docs/tools/kompose/ /docs/tools/kompose/user-guide/ 301
/docs/tutorials/clusters/multiple-schedulers/ /docs/tasks/administer-cluster/configure-multiple-schedulers/ 301
/docs/tutorials/connecting-apps/connecting-frontend-backend/ /docs/tasks/access-application-cluster/connecting-frontend-backend/ 301
/docs/tutorials/federation/set-up-cluster-federation-kubefed/ /docs/tasks/federation/set-up-cluster-federation-kubefed/ 301
//docs/tutorials/federation/set-up-cluster-federation-kubefed.md /docs/tasks/federation/set-up-cluster-federation-kubefed/ 301
/docs/tutorials/federation/set-up-coredns-provider-federation/ /docs/tasks/federation/set-up-coredns-provider-federation/ 301
/docs/tutorials/federation/set-up-placement-policies-federation/ /docs/tasks/federation/set-up-placement-policies-federation/ 301
/docs/tutorials/getting-started/create-cluster/ /docs/tutorials/kubernetes-basics/cluster-intro/ 301
/docs/tutorials/stateful-application/run-replicated-stateful-application/ /docs/tasks/run-application/run-replicated-stateful-application/ 301
/docs/tutorials/stateful-application/run-stateful-application/ /docs/tasks/run-application/run-single-instance-stateful-application/ 301
/docs/tutorials/stateless-application/expose-external-ip-address-service/ /docs/tasks/access-application-cluster/service-access-application-cluster/ 301
/docs/tutorials/stateless-application/run-stateless-ap-replication-controller/ /docs/tasks/run-application/run-stateless-application-deployment/ 301
/docs/tutorials/stateless-application/run-stateless-application-deployment/ /docs/tasks/run-application/run-stateless-application-deployment/ 301
/docs/user-guide/accessing-the-cluster/ /docs/tasks/access-application-cluster/access-cluster/ 301
/docs/user-guide/add-entries-to-pod-etc-hosts-with-host-aliases/ /docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ 301
/docs/user-guide/annotations/ /docs/concepts/overview/working-with-objects/annotations/ 301
/docs/user-guide/application-troubleshooting/ /docs/tasks/debug-application-cluster/debug-application/ 301
/docs/user-guide/compute-resources/ /docs/concepts/configuration/manage-compute-resources-container/ 301
/docs/user-guide/config-best-practices/ /docs/concepts/configuration/overview/ 301
/docs/user-guide/configmap/ /docs/tasks/configure-pod-container/configmap/ 301
/docs/user-guide/configuring-containers/ /docs/tasks/ 301
/docs/user-guide/connecting-applications/ /docs/concepts/services-networking/connect-applications-service/ 301
/docs/user-guide/connecting-to-applications-port-forward/ /docs/tasks/access-application-cluster/port-forward-access-application-cluster/ 301
/docs/user-guide/connecting-to-applications-proxy/ /docs/tasks/access-kubernetes-api/http-proxy-access-api/ 301
/docs/user-guide/container-environment/ /docs/concepts/containers/container-lifecycle-hooks/ 301
/docs/user-guide/cron-jobs/ /docs/concepts/workloads/controllers/cron-jobs/ 301
/docs/user-guide/debugging-pods-and-replication-controllers/ /docs/tasks/debug-application-cluster/debug-pod-replication-controller/ 301
/docs/user-guide/debugging-services/ /docs/tasks/debug-application-cluster/debug-service/ 301
/docs/user-guide/deploying-applications/ /docs/tasks/run-application/run-stateless-application-deployment/ 301
/docs/user-guide/deployments/ /docs/concepts/workloads/controllers/deployment/ 301
/docs/user-guide/downward-api/ /docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/ 301
/docs/user-guide/downward-api/volume/ /docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/ 301
/docs/user-guide/environment-guide/ /docs/tasks/inject-data-application/environment-variable-expose-pod-information/ 301
/docs/user-guide/federation/cluster/ /docs/tasks/administer-federation/cluster/ 301
/docs/user-guide/federation/configmap/ /docs/tasks/administer-federation/configmap/ 301
/docs/user-guide/federation/daemonsets/ /docs/tasks/administer-federation/daemonset/ 301
/docs/user-guide/federation/deployment/ /docs/tasks/administer-federation/deployment/ 301
/docs/user-guide/federation/events/ /docs/tasks/administer-federation/events/ 301
/docs/user-guide/federation/federated-ingress/ /docs/tasks/administer-federation/ingress/ 301
/docs/user-guide/federation/federated-services/ /docs/tasks/federation/federation-service-discovery/ 301
/docs/user-guide/federation/ /docs/concepts/cluster-administration/federation/ 301
/docs/user-guide/federation/namespaces/ /docs/tasks/administer-federation/namespaces/ 301
/docs/user-guide/federation/replicasets/ /docs/tasks/administer-federation/replicaset/ 301
/docs/user-guide/federation/secrets/ /docs/tasks/administer-federation/secret/ 301
/docs/user-guide/garbage-collection/ /docs/concepts/workloads/controllers/garbage-collection/ 301
/docs/user-guide/getting-into-containers/ /docs/tasks/debug-application-cluster/get-shell-running-container/ 301
/docs/user-guide/gpus/ /docs/tasks/manage-gpus/scheduling-gpus/ 301
/docs/user-guide/horizontal-pod-autoscaling/ /docs/tasks/run-application/horizontal-pod-autoscale/ 301
/docs/user-guide/horizontal-pod-autoscaling/walkthrough/ /docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ 301
/docs/user-guide/identifiers/ /docs/concepts/overview/working-with-objects/names/ 301
/docs/user-guide/images/ /docs/concepts/containers/images/ 301
/docs/user-guide/ /docs/home/ 301
/docs/user-guide/ingress/ /docs/concepts/services-networking/ingress/ 301
/docs/user-guide/introspection-and-debugging/ /docs/tasks/debug-application-cluster/debug-application-introspection/ 301
/docs/user-guide/jobs/ /docs/concepts/workloads/controllers/jobs-run-to-completion/ 301
/docs/user-guide/jobs/expansions/ /docs/tasks/job/parallel-processing-expansion/ 301
/docs/user-guide/jobs/work-queue-1/ /docs/tasks/job/coarse-parallel-processing-work-queue/ 301
/docs/user-guide/jobs/work-queue-2/ /docs/tasks/job/fine-parallel-processing-work-queue/ 301
/docs/user-guide/kubeconfig-file/ /docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/ 301
/docs/user-guide/labels/ /docs/concepts/overview/working-with-objects/labels/ 301
/docs/user-guide/liveness/ /docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ 301
/docs/user-guide/load-balancer/ /docs/tasks/access-application-cluster/create-external-load-balancer/ 301
/docs/user-guide/logging/elasticsearch/ /docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/ 301
/docs/user-guide/logging/overview/ /docs/concepts/cluster-administration/logging/ 301
/docs/user-guide/logging/stackdriver/ /docs/tasks/debug-application-cluster/logging-stackdriver/ 301
/docs/user-guide/managing-deployments/ /docs/concepts/cluster-administration/manage-deployment/ 301
/docs/user-guide/monitoring/ /docs/tasks/debug-application-cluster/resource-usage-monitoring/ 301
/docs/user-guide/namespaces/ /docs/concepts/overview/working-with-objects/namespaces/ 301
/docs/user-guide/networkpolicies/ /docs/concepts/services-networking/network-policies/ 301
/docs/user-guide/node-selection/ /docs/concepts/configuration/assign-pod-node/ 301
/docs/user-guide/persistent-volumes/ /docs/concepts/storage/persistent-volumes/ 301
/docs/user-guide/persistent-volumes/index /docs/concepts/storage/persistent-volumes/ 301
/docs/user-guide/persistent-volumes/index.md /docs/concepts/storage/persistent-volumes/ 301
/docs/user-guide/persistent-volumes/walkthrough/ /docs/tasks/configure-pod-container/configure-persistent-volume-storage/ 301
/docs/user-guide/petset/ /docs/concepts/workloads/controllers/petset/ 301
/docs/user-guide/petset/bootstrapping/ /docs/concepts/workloads/controllers/petset/ 301
/docs/user-guide/pod-preset/ /docs/tasks/inject-data-application/podpreset/ 301
/docs/user-guide/pod-security-policy/ /docs/concepts/policy/pod-security-policy/ 301
/docs/user-guide/pod-states/ /docs/concepts/workloads/pods/pod-lifecycle/ 301
/docs/user-guide/pod-templates/ /docs/concepts/workloads/pods/pod-overview/ 301
/docs/user-guide/pods/ /docs/concepts/workloads/pods/pod/ 301
/docs/user-guide/pods/init-container/ /docs/concepts/workloads/pods/init-containers/ 301
/docs/user-guide/pods/multi-container/ /docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ 301
/docs/user-guide/pods/single-container/ /docs/tasks/run-application/run-stateless-application-deployment/ 301
/docs/user-guide/prereqs/ /docs/tasks/tools/install-kubectl/ 301
/docs/user-guide/production-pods/ /docs/tasks/ 301
/docs/user-guide/projected-volume/ /docs/tasks/configure-pod-container/configure-projected-volume-storage/ 301
/docs/user-guide/quick-start/ /docs/tasks/access-application-cluster/service-access-application-cluster/ 301
/docs/user-guide/replicasets/ /docs/concepts/workloads/controllers/replicaset/ 301
/docs/user-guide/replication-controller/ /docs/concepts/workloads/controllers/replicationcontroller/ 301
/docs/user-guide/rolling-updates/ /docs/tasks/run-application/rolling-update-replication-controller/ 301
/docs/user-guide/secrets/ /docs/concepts/configuration/secret/ 301
/docs/user-guide/secrets/walkthrough/ /docs/tasks/inject-data-application/distribute-credentials-secure/ 301
/docs/user-guide/service-accounts/ /docs/tasks/configure-pod-container/configure-service-account/ 301
/docs/user-guide/services-firewalls/ /docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ 301
/docs/user-guide/services/ /docs/concepts/services-networking/service/ 301
/docs/user-guide/services/operations/ /docs/tasks/access-application-cluster/connecting-frontend-backend/ 301
/docs/user-guide/sharing-clusters/ /docs/tasks/administer-cluster/share-configuration/ 301
/docs/user-guide/simple-nginx/ /docs/tasks/run-application/run-stateless-application-deployment/ 301
/docs/user-guide/thirdpartyresources/ /docs/tasks/access-kubernetes-api/extend-api-third-party-resource/ 301
/docs/user-guide/ui/ /docs/tasks/access-application-cluster/web-ui-dashboard/ 301
/docs/user-guide/update-dem/ /docs/tasks/run-application/rolling-update-replication-controller/ 301
/docs/user-guide/volumes/ /docs/concepts/storage/volumes/ 301
/docs/user-guide/working-with-resources/ /docs/tutorials/object-management-kubectl/object-management/ 301
/docs/whatisk8s/ /docs/concepts/overview/what-is-kubernetes/ 301
##############
# address 404s
#
/concepts/containers/container-lifecycle-hooks/ /docs/concepts/containers/container-lifecycle-hooks/ 301
/docs/api-reference/apps/v1alpha1/definitions https://v1-4.docs.kubernetes.io/docs/api-reference/apps/v1alpha1/definitions/ 301
/docs/api-reference/apps/v1beta1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/apps/v1beta1/operations/ 301
/docs/api-reference/authorization.k8s.io/v1beta1/definitions https://v1-4.docs.kubernetes.io/docs/api-reference/authorization.k8s.io/v1beta1/definitions/ 301
/docs/api-reference/authorization.k8s.io/v1beta1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/authorization.k8s.io/v1beta1/operations/ 301
/docs/api-reference/autoscaling/v1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/autoscaling/v1/operations/ 301
/docs/api-reference/batch/v1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/batch/v1/operations/ 301
/docs/api-reference/batch/v2alpha1/definitions https://v1-4.docs.kubernetes.io/docs/api-reference/batch/v2alpha1/definitions/ 301
/docs/api-reference/certificates.k8s.io/v1alpha1/definitions https://v1-4.docs.kubernetes.io/docs/api-reference/certificates.k8s.io/v1alpha1/definitions/ 301
/docs/api-reference/certificates/v1alpha1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/certificates/v1alpha1/operations/ 301
/docs/api-reference/extensions/v1beta1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/extensions/v1beta1/operations/ 301
/docs/api-reference/policy/v1alpha1/definitions https://v1-4.docs.kubernetes.io/docs/api-reference/policy/v1alpha1/definitions/ 301
/docs/api-reference/policy/v1beta1/definitions https://v1-4.docs.kubernetes.io/docs/api-reference/policy/v1beta1/definitions/ 301
/docs/api-reference/README https://v1-4.docs.kubernetes.io/docs/api-reference/README/ 301
/docs/api-reference/storage.k8s.io/v1beta1/operations https://v1-4.docs.kubernetes.io/docs/api-reference/storage.k8s.io/v1beta1/operations/ 301
/docs/api-reference/v1/definitions/ /docs/api-reference/v1.7/ 301
/docs/api-reference/v1/operations/ /docs/api-reference/v1.7/ 301
/docs/concepts/cluster/ /docs/concepts/cluster-administration/cluster-administration-overview/ 301
/docs/concepts/object-metadata/annotations/ /docs/concepts/overview/working-with-objects/annotations/ 301
/docs/contribute/write-new-topic/ /docs/home/contribute/write-new-topic/ 301
/docs/getting-started-guides/coreos/azure/ /docs/getting-started-guides/coreos/ 301
/docs/getting-started-guides/coreos/bare_metal_calico/ /docs/getting-started-guides/coreos/ 301
/docs/getting-started-guides/juju/ /docs/getting-started-guides/ubuntu/installation/ 301
/docs/getting-started-guides/kargo/ /docs/getting-started-guides/kubespray/ 301
/docs/getting-started-guides/logging-elasticsearch/ /docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/ 301
/docs/getting-started-guides/logging/ /docs/concepts/cluster-administration/logging/ 301
/docs/getting-started-guides/rackspace/ /docs/setup/pick-right-solution/ 301
/docs/getting-started-guides/ubuntu-calico/ /docs/getting-started-guides/ubuntu/ 301
/docs/getting-started-guides/ubuntu/automated/ /docs/getting-started-guides/ubuntu/ 301
/docs/getting-started-guides/vagrant/ /docs/getting-started-guides/alternatives/ 301
/docs/getting-started-guides/windows/While/ /docs/getting-started-guides/windows/ 301
/docs/federation/api-reference/extensions/v1beta1/definitions/ /docs/reference/federation/extensions/v1beta1/definitions/ 301
/docs/federation/api-reference/federation/v1beta1/definitions/ /docs/reference/federation/extensions/v1beta1/definitions/ 301
/docs/federation/api-reference/README/ /docs/reference/federation/ 301
/docs/federation/api-reference/v1/definitions/ /docs/reference/federation/v1/definitions/ 301
/docs/reference/federation/v1beta1/definitions/ /docs/reference/federation/extensions/v1beta1/definitions/ 301
/docs/reference/federation/v1beta1/operations/ /docs/reference/federation/extensions/v1beta1/operations/ 301
/docs/reporting-security-issues/ /security/ 301
/docs/stable/user-guide/labels/ /docs/concepts/overview/working-with-objects/labels/ 301
/docs/tasks/access-application-cluster/access-cluster.md /docs/tasks/access-application-cluster/access-cluster/ 301
/docs/tasks/access-application-cluster/authenticate-across-clusters-kubeconfig/ /docs/tasks/access-application-cluster/configure-access-multiple-clusters/ 301
/docs/tasks/access-kubernetes-api/access-kubernetes-api/http-proxy-access-api/ /docs/tasks/access-kubernetes-api/http-proxy-access-api/ 301
/docs/tasks/administer-cluster/reserve-compute-resources/out-of-resource.md /docs/tasks/administer-cluster/out-of-resource/ 301
/docs/tasks/configure-pod-container/configure-pod-disruption-budget/ /docs/tasks/run-application/configure-pdb/ 301
/docs/tasks/configure-pod-container/define-command-argument-container/ /docs/tasks/inject-data-application/define-command-argument-container/ 301
/docs/tasks/debug-application-cluster/sematext-logging-monitoring/ https://sematext.com/kubernetes/ 301
/docs/tasks/job/work-queue-1/ /docs/concepts/workloads/controllers/jobs-run-to-completion/ 301
/docs/tasks/manage-stateful-set/delete-pods/ /docs/tasks/run-application/delete-stateful-set/ 301
/docs/tutorials/getting-started/cluster-intro/ /docs/tutorials/kubernetes-basics/cluster-intro/ 301
/docs/tutorials/getting-started/expose-intro/ /docs/tutorials/kubernetes-basics/expose-intro/ 301
/docs/tutorials/getting-started/scale-app/ /docs/tutorials/kubernetes-basics/scale-interactive/ 301
/docs/tutorials/getting-started/scale-intro/ /docs/tutorials/kubernetes-basics/scale-intro/ 301
/docs/tutorials/getting-started/update-interactive/ /docs/tutorials/kubernetes-basics/update-interactive/ 301
/docs/tutorials/getting-started/update-intro/ /docs/tutorials/kubernetes-basics/ 301
/docs/user-guide/containers/ /docs/tasks/inject-data-application/define-command-argument-container/ 301
/docs/user-guide/horizontal-pod-autoscaling/walkthrough.md /docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ 301
/docs/user-guide/ingress.md /docs/concepts/services-networking/ingress/ 301
/docs/user-guide/replication-controller/operations/ /docs/concepts/workloads/controllers/replicationcontroller/ 301
/docs/user-guide/resizing-a-replication-controller/ /docs/concepts/workloads/controllers/replicationcontroller/ 301
/docs/user-guide/scheduled-jobs/ /docs/concepts/workloads/controllers/cron-jobs/ 301
/docs/user-guide/security-context/ /docs/tasks/configure-pod-container/security-context/ 301
/kubernetes-bootcamp/2-1.html /docs/tutorials/kubernetes-basics/ 301
/kubernetes-bootcamp/2-3-2.html /docs/tutorials/kubernetes-basics/ 301
/kubernetes /docs/ 301
/kubernetes/swagger-spec https://github.com/kubernetes/kubernetes/tree/master/api/swagger-spec/ 301
/serviceaccount/token/ /docs/tasks/configure-pod-container/configure-service-account/ 301
/v1.1/docs/admin/networking.html/ /docs/concepts/cluster-administration/networking/ 301
/v1.1/docs/getting-started-guides/ /docs/tutorials/kubernetes-basics/ 301
#################################
# redirects from /js/redirects.js
#
/resource-quota/ /docs/concepts/policy/resource-quotas/ 301
/horizontal-pod-autoscaler/ /docs/tasks/run-application/horizontal-pod-autoscale/ 301
/docs/roadmap/ https://github.com/kubernetes/kubernetes/milestones/ 301
/api-ref/ https://github.com/kubernetes/kubernetes/milestones/ 301
/kubernetes/third_party/swagger-ui/ /docs/reference/ 301
/docs/user-guide/overview/ /docs/concepts/overview/what-is-kubernetes/ 301
/docs/troubleshooting/ /docs/tasks/debug-application-cluster/troubleshooting/ 301
/docs/concepts/services-networking/networkpolicies/ /docs/concepts/services-networking/network-policies/ 301
/docs/getting-started-guides/meanstack/ https://medium.com/google-cloud/running-a-mean-stack-on-google-cloud-platform-with-kubernetes-149ca81c2b5d/ 301
/docs/samples/ /docs/tutorials/ 301
/v1.1 301
/v1.0 301
########################################################
# Redirect users with chinese language preference to /cn
#
#/ /cn 302 Language=zh
###########################
# Fixed 404s from analytics
#
/concepts/containers/container-lifecycle-hooks/ /docs/concepts/containers/container-lifecycle-hooks/ 301
/docs/abstractions/controllers/petset/ /docs/concepts/workloads/controllers/petset/ 301
/docs/admin/add-ons/ /docs/concepts/cluster-administration/addons/ 301
/docs/admin/limitrange/Limits/ /docs/tasks/administer-cluster/limit-storage-consumption/#limitrange-to-limit-requests-for-storage/ 301
/docs/concepts/cluster-administration/device-plugins/ /docs/concepts/cluster-administration/network-plugins/ 301
/docs/concepts/configuration/container-command-args/ /docs/tasks/inject-data-application/define-command-argument-container/ 301
/docs/concepts/ecosystem/thirdpartyresource/ /docs/tasks/access-kubernetes-api/extend-api-third-party-resource/ 301
/docs/concepts/overview/ /docs/concepts/overview/what-is-kubernetes/ 301
/docs/concepts/policy/container-capabilities/ /docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container/ 301
/docs/concepts/policy/security-context/ /docs/tasks/configure-pod-container/security-context/ 301
/docs/concepts/storage/volumes/emptyDirapiVersion/ /docs/concepts/storage/volumes/#emptydir/ 301
/docs/concepts/tools/kubectl/object-management-using-commands/ /docs/tutorials/object-management-kubectl/imperative-object-management-command/ 301
/docs/concepts/workload/pods/pod-overview/ /docs/concepts/workloads/pods/pod-overview 301
/docs/concepts/workloads/controllers/cron-jobs/deployment/ /docs/concepts/workloads/controllers/cron-jobs/ 301
/docs/concepts/workloads/controllers/statefulsets/ /docs/concepts/workloads/controllers/statefulset/ 301
/docs/concepts/workloads/pods/init-containers/Kubernetes /docs/concepts/workloads/pods/init-containers/ 301
/docs/consumer-guideline/pod-security-coverage/ /docs/concepts/policy/pod-security-policy/ 301
/docs/contribute/create-pull-request/ /docs/home/contribute/create-pull-request 301
/docs/contribute/page-templates/ /docs/home/contribute/page-templates 301
/docs/contribute/review-issues/ /docs/home/contribute/review-issues 301
/docs/contribute/stage-documentation-changes/ /docs/home/contribute/stage-documentation-changes/ 301
/docs/contribute/style-guide/ /docs/home/contribute/style-guide 301
/docs/deprecate/ /ddocs/reference/deprecation-policy/ 301
/docs/deprecation-policy/ /docs/reference/deprecation-policy/ 301
/docs/federation/api-reference/ /docs/reference/federation/v1/operations/ 301
/docs/federation/api-reference/extensions/v1beta1/operations/ /docs/reference/federation/extensions/v1beta1/operations/ 301
/docs/federation/api-reference/federation/v1beta1/operations/ /docs/reference/federation/extensions/v1beta1/operations/ 301
/docs/federation/api-reference/v1/operations/ /docs/reference/federation/v1/operations/ 301
/docs/home/deprecation-policy/ /docs/reference/deprecation-policy/ 301
/docs/stable/user-guide/labels/ /docs/concepts/overview/working-with-objects/labels/ 301
/docs/tasks/administer-cluster/apply-resource-quota-limit/ /docs/tasks/administer-cluster/quota-api-object/ 301
/docs/tasks/administer-cluster/configure-namespace-isolation/ /docs/concepts/services-networking/network-policies/ 301
/docs/tasks/administer-cluster/configure-pod-disruption-budget/ /docs/tasks/run-application/configure-pdb/ 301
/docs/tasks/administer-cluster/cpu-management-policies/ /docs/concepts/configuration/manage-compute-resources-container/ 301
/docs/tasks/administer-cluster/default-cpu-request-limit/ /docs/tasks/configure-pod-container/assign-cpu-resource/#specify-a-cpu-request-and-a-cpu-limit/ 301
/docs/tasks/administer-cluster/default-memory-request-limit/ /docs/tasks/configure-pod-container/assign-memory-resource/#specify-a-memory-request-and-a-memory-limit/ 301
/docs/tasks/configure-pod-container/cilium-network-policy/ /docs/tasks/administer-cluster/cilium-network-policy/ 301
/docs/tasks/configure-pod-container/define-command-argument-container/ /docs/tasks/inject-data-application/define-command-argument-container/ 301
/docs/tasks/configure-pod-container/projected-volume/ /docs/tasks/configure-pod-container/configure-projected-volume-storage/ 301
/docs/tasks/stateful-sets/deleting-pods/ /docs/tasks/run-application/force-delete-stateful-set-pod/ 301
/docs/user-guide/liveness/ /docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ 301
/docs/user-guide/logging/ /docs/concepts/cluster-administration/logging/ 301
/docs/user-guide/replication-controller/operations/ /docs/concepts/workloads/controllers/replicationcontroller/ 301
/docs/user-guide/service-accounts/working-with-resources/ /docs/tutorials/object-management-kubectl/object-management/ 301
/docs/user-guide/StatefulSet/ /docs/concepts/workloads/controllers/statefulset/ 301
/docs/user-guide/ui-access/ /docs/tasks/access-application-cluster/web-ui-dashboard/ 301
/latest/docs/ /docs/home/ 301
/kubernetes/swagger-spec https://github.com/kubernetes/kubernetes/tree/master/api/swagger-spec/ 301
+18 -17
View File
@@ -292,6 +292,7 @@ ul.global-nav
.flip-nav ul.global-nav li a .ui-icon
filter: brightness(0)
.flip-nav ul.global-nav li ul li a,
background: #fff
color: $dark-grey
@@ -1002,8 +1003,8 @@ dd
//font-weight: 700
text-decoration: underline
// a:visited
// color: blueviolet
// a:visited
// color: blueviolet
a.button
border-radius: 2px
@@ -1331,7 +1332,7 @@ $feature-box-div-margin-bottom: 40px
height: 30vw
max-width: 1200px
max-height: 450px
margin: 20px auto
margin: 20px auto
iframe
position: absolute
@@ -1587,8 +1588,8 @@ $feature-box-div-margin-bottom: 40px
//font-weight: 700
text-decoration: underline
// a:visited
// color: blueviolet
// a:visited
// color: blueviolet
a.button
border-radius: 2px
@@ -1741,18 +1742,18 @@ $feature-box-div-margin-bottom: 40px
//#bigSocial
// text-align: center
//
// div
// display: inline-block
// float: none
// padding-top: 125px
// width: calc(90%)
//
// a
// margin-top: 15px
// font-size: 18px
// text-align: center
//
// div
// display: inline-block
// float: none
// padding-top: 125px
// width: calc(90%)
//
// a
// margin-top: 15px
// font-size: 18px
//
//
//
//
//
+99
View File
@@ -0,0 +1,99 @@
// SASS for Case Studies pages go here:
hr
background-color: #999999
h2
margin-bottom: 15px !important
.subhead
padding-bottom: 2% !important
padding-top: 0% !important
.details
margin-left: 1.9%
padding-right: 5%
font-size: 16px !important
padding-bottom: 2% !important
.section1
margin-bottom: 3%
.cols
width: 80% !important
margin-left: 6.8%
padding-top: 1.5%
.col1
width: 52% !important
font-weight: 300 !important
.col2
width: 46% !important
.banner2text
width: 63%
padding-top: 10%
padding-left: 0% !important
float: initial !important
text-align: center
margin: 0 auto
position: relative
.banner3text, .banner4text, .banner5text
width: 63%
padding-left: 0% !important
float: initial !important
text-align: center
margin: 0 auto
position: relative
.fullcol
float: initial !important
body footer
background-color: #585858 !important
.section1
float: left !important
.banner1
padding-left: 11.9% !important
.banner2
float: initial !important
padding-bottom: 2% !important
footer
padding: 0% 7%
.banner4, .banner3, .banner5
float: initial !important
@media screen and (max-width: 910px)
.banner2text
width: 47%
padding-top: 45%
.details
margin-left: 0%
margin-bottom: 3%
.subhead
padding-bottom: 0% !important
padding-top: 0% !important
.banner3
width: 100% !important
@media screen and (max-width: 780px)
.section1 .cols
width: 100% !important
margin-left: 0%
padding-top: 5%
.col1, .col2
width: 100% !important
margin-left: 0% !important
.fullcol
width: 90% !important
margin-left: 5% !important
.banner1
padding-left: 10% !important
margin-bottom: 6% !important
.banner2text
padding-top: 60% !important
padding-bottom: 2% !important
+117
View File
@@ -0,0 +1,117 @@
---
title: Ancestry Case Study
layout: basic
case_study_styles: true
cid: caseStudies
css: /css/style_ancestry.css
---
<div class="banner1">
<h1> CASE STUDY:<img src="http://c.mfcreative.com/i/logo/ancestry-on-dark.svg" width="22%" style="margin-bottom:-12px;margin-left:3px;"><br> <div class="subhead">Digging Into the Past With New Technology</div></h1>
</div>
<div class="details">
Company &nbsp;<b>Ancestry</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location &nbsp;<b>Lehi, Utah</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry &nbsp;<b>Internet Company, Online Services</b>
</div>
<hr>
<section class="section1">
<div class="cols">
<div class="col1">
<h2>Challenge</h2>
Ancestry, the global leader in family history and consumer genomics, uses sophisticated engineering and technology to help everyone, everywhere discover the story of what led to them. The company has spent more than 30 years innovating and building products and technologies that at their core, result in real and emotional human responses. <a href="https://www.ancestry.com">Ancestry</a> currently serves more than 2.6 million paying subscribers, holds 20 billion historical records, 90 million family trees and more than four million people are in its AncestryDNA network, making it the largest consumer genomics DNA network in the world. The company's popular website, <a href="https://www.ancestry.com">ancestry.com</a>, has been working with big data long before the term was popularized. The site was built on hundreds of services, technologies and a traditional deployment methodology. "It's worked well for us in the past," says Paul MacKay, software engineer and architect at Ancestry, "but had become quite cumbersome in its processing and is time-consuming. As a primarily online service, we are constantly looking for ways to accelerate to be more agile in delivering our solutions and our&nbsp;products."
<br>
</div>
<div class="col2">
<h2>Solution</h2>
The company is transitioning to cloud native infrastructure, using <a href="https://www.docker.com">Docker</a> containerization, <a href="https://kubernetes.io">Kubernetes</a> orchestration and <a href="https://prometheus.io">Prometheus</a> for cluster monitoring.<br>
<br>
<h2>Impact</h2>
"Every single product, every decision we make at Ancestry, focuses on delighting our customers with intimate, sometimes life-changing discoveries about themselves and their families," says MacKay. "As the company continues to grow, the increased productivity gains from using Kubernetes has helped Ancestry make customer discoveries faster. With the move to Dockerization for example, instead of taking between 20 to 50 minutes to deploy a new piece of code, we can now deploy in under a minute for much of our code. Weve truly experienced significant time savings in addition to the various features and benefits from cloud native and Kubernetes-type technologies."
</div>
</div>
</section>
<div class="banner2">
<div class="banner2text">
"At a certain point, you have to step back if you're going to push a new technology and get key thought leaders with engineers within the organization to become your champions for new technology adoption. At training sessions, the development teams were always the ones that were saying, 'Kubernetes saved our time tremendously; it's an enabler. It really is incredible.'"<br><br><span style="font-size:16px">- PAUL MACKAY, SOFTWARE ENGINEER AND ARCHITECT AT ANCESTRY</span>
</div>
</div>
<section class="section2">
<div class="fullcol">
<h2>It started with a Shaky Leaf.</h2>
Since its introduction a decade ago, the Shaky Leaf icon has become one of Ancestry's signature features, which signals to users that there's a helpful hint you can use to find out more about your family tree.<br><br>
So when the company decided to begin moving its infrastructure to cloud native technology, the first service that was launched on <a href="https://kubernetes.io">Kubernetes</a>, the open source platform for managing application containers across clusters of hosts, was this hint system. Think of it as Amazon's recommended products, but instead of recommending products the company recommends records, stories, or familial connections. "It was a very important part of the site," says Ancestry software engineer and architect Paul MacKay, "but also small enough for a pilot project that we knew we could handle in a very appropriate, secure way."<br><br>
And when it went live smoothly in early 2016, "our deployment time for this service literally was cut down from 50 minutes to 2 or 5 minutes," MacKay adds. "The development team was just thrilled because we're focused on supplying a great experience for our customers. And that means features, it means stability, it means all those things that we need for a first-in-class type operation."<br><br>
The stability of that Shaky Leaf was a signal for MacKay and his team that their decision to embrace cloud native technologies was the right one for the company. With a private data center, Ancestry built its website (which launched in 1996) on hundreds of services and technologies and a traditional deployment methodology. "It worked well for us in the past, but the sum of the legacy systems became quite cumbersome in its processing and was time-consuming," says MacKay. "We were looking for other ways to accelerate, to be more agile in delivering our solutions and our products."
</div>
</section>
<div class="banner3">
<div class="banner3text">
"And when it [Kubernetes] went live smoothly in early 2016, 'our deployment time for this service literally was cut down from 50 minutes to 2 or 5 minutes,' MacKay adds. 'The development team was just thrilled because we're focused on supplying a great experience for our customers. And that means features, it means stability, it means all those things that we need for a first-in-class type operation.'"
</div>
</div>
<section class="section3">
<div class="fullcol">
That need led them in 2015 to explore containerization. Ancestry engineers had already been using technology like <a href="https://www.java.com/en/">Java</a> and <a href="https://www.python.org">Python</a> on Linux, so part of the decision was about making the infrastructure more Linux-friendly. They quickly decided that they wanted to go with Docker for containerization, "but it always comes down to the orchestration part of it to make it really work," says MacKay.<br><br>
His team looked at orchestration platforms offered by <a href="https://docs.docker.com/compose/">Docker Compose</a>, <a href="http://mesos.apache.org">Mesos</a> and <a href="https://www.openstack.org/software/">OpenStack</a>, and even started to prototype some homegrown solutions. And then they started hearing rumblings of the imminent release of Kubernetes v1.0. "At the forefront, we were looking at the secret store, so we didn't have to manage that all ourselves, the config maps, the methodology of seamless deployment strategy," he says. "We found that how Kubernetes had done their resources, their types, their labels and just their interface was so much further advanced than the other things we had seen. It was a feature fit."<br><br>
<div class="quote">
Plus, MacKay says, "I just believed in the confidence that comes with the history that Google has with containerization. So we started out right on the leading edge of it. And we haven't looked back since."</div><br>
Which is not to say that adopting a new technology hasn't come with some challenges. "Change is hard," says MacKay. "Not because the technology is hard or that the technology is not good. It's just that people like to do things like they had done [before]. You have the early adopters and you have those who are coming in later. It was a learning experience on both sides."<br><br>
Figuring out the best deployment operations for Ancestry was a big part of the work it took to adopt cloud native infrastructure. "We want to make sure the process is easy and also controlled in the manner that allows us the highest degree of security that we demand and our customers demand," says MacKay. "With Kubernetes and other products, there are some good solutions, but a little bit of glue is needed to bring it into corporate processes and governances. It's like having a set of gloves that are generic, but when you really do want to grab something you have to make it so it's customized to you. That's what we had to do."<br><br>
Their best practices include allowing their developers to deploy into development stage and production, but then controlling the aspects that need governance and auditing, such as secrets. They found that having one namespace per service is useful for achieving that containment of secrets and config maps. And for their needs, having one container per pod makes it easier to manage and to have a smaller unit of deployment.
<br><br>
</div>
</section>
<div class="banner4">
<div class="banner4text">
"The success of Ancestry's first deployment of the hint system on Kubernetes helped create momentum for greater adoption of the technology."
</div>
</div>
<section class="section4">
<div class="fullcol">
With that process established, the time spent on deployment was cut down to under a minute for some services. "As programmers, we have what's called REPL: read, evaluate, print, and loop, but with Kubernetes, we have CDEL: compile, deploy, execute, and loop," says MacKay. "It's a very quick loop back and a great benefit to understand that when our services are deployed in production, they're the same as what we tested in the pre-production environments. The approach of cloud native for Ancestry provides us a better ability to scale and to accommodate the business needs as work loads occur."<br><br>
The success of Ancestry's first deployment of the hint system on Kubernetes helped create momentum for greater adoption of the technology. "Engineers like to code, they like to do features, they don't like to sit around waiting for things to be deployed and worrying about scaling up and out and down," says MacKay. "After a while the engineers became our champions. At training sessions, the development teams were always the ones saying, 'Kubernetes saved our time tremendously; it's an enabler; it really is incredible.' Over time, we were able to convince our management that this was a transition that the industry is making and that we needed to be a part of it."<br><br>
A year later, Ancestry has transitioned a good number of applications to Kubernetes. "We have many different services that make up the rich environment that [the website] has from both the DNA side and the family history side," says MacKay. "We have front-end stacks, back-end stacks and back-end processing type stacks that are in the cluster."<br><br>
The company continues to weigh which services it will move forward to Kubernetes, which ones will be kept as is, and which will be replaced in the future and thus don't have to be moved over. MacKay estimates that the company is "approaching halfway on those features that are going forward. We don't have to do a lot of convincing anymore. It's more of an issue of timing with getting product management and engineering staff the knowledge and information that they need."
</div>
</section>
<div class="banner5">
<div class="banner5text">
"... 'I believe in Kubernetes. I believe in containerization. I think
if we can get there and establish ourselves in that world, we will be further along and far better off being agile and all the things we talk about,
and it'll&nbsp;go&nbsp;forward.'"
</div>
</div>
<section class="section5">
<div class="fullcol">
Looking ahead, MacKay sees Ancestry maximizing the benefits of Kubernetes in 2017. "We're very close to having everything that should be or could be in a Linux-friendly world in Kubernetes by the end of the year," he says, adding that he's looking forward to features such as federation and horizontal pod autoscaling that are currently in the works. "Kubernetes has been very wonderful for us and we continue to ride the wave."<br><br>
That wave, he points out, has everything to do with the vibrant Kubernetes community, which has grown by leaps and bounds since Ancestry joined it as an early adopter. "This is just a very rough way of judging it, but on Slack in June 2015, there were maybe 500 on there," MacKay says. "The last time I looked there were maybe 8,500 just on the Slack channel. There are so many major companies and different kinds of companies involved now. It's the variety of contributors, the number of contributors, the incredibly competent and friendly community."<br><br>
As much as he and his team at Ancestry have benefited from what he calls "the goodness and the technical abilities of many" in the community, they've also contributed information about best practices, logged bug issues and participated in the open source conversation. And they've been active in attending <a href="https://www.meetup.com/Utah-Kubernetes-Meetup/">meetups</a> to help educate and give back to the local tech community in Utah. Says MacKay: "We're trying to give back as far as our experience goes, rather than just code."
<br><br>When he meets with companies considering adopting cloud native infrastructure, the best advice he has to give from Ancestry's Kubernetes journey is this: "Start small, but with hard problems," he says. And "you need a patron who understands the vision of containerization, to help you tackle the political as well as other technical roadblocks that can occur when change is needed."<br><br>
With the changes that MacKay's team has led over the past year and a half, cloud native will be part of Ancestry's technological genealogy for years to come. MacKay has been such a champion of the technology that he says people have jokingly accused him of having a Kubernetes tattoo.<br><br>
"I really don't," he says with a laugh. "But I'm passionate. I'm not exclusive to any technology; I use whatever I need that's out there that makes us great. If it's something else, I'll use it. But right now I believe in Kubernetes. I believe in containerization. I think if we can get there and establish ourselves in that world, we will be further along and far better off being agile and all the things we talk about, and it'll go forward."<br><br>
He pauses. "So, yeah, I guess you can say I'm an evangelist for Kubernetes," he says. "But I'm not getting a tattoo!"
</div>
</section>
+111
View File
@@ -0,0 +1,111 @@
---
title: Box Case Study
layout: basic
case_study_styles: true
cid: caseStudies
css: /css/style_box.css
---
<div class="banner1">
<h1>CASE STUDY: <img src="/images/box_logo.png" width="10%" style="margin-bottom:-6px"><br>
<div class="subhead">An Early Adopter Envisions
a New Cloud Platform</div>
</h1>
</div>
<div class="details">
Company &nbsp;<b>Box</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location &nbsp;<b>Redwood City, California</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry &nbsp;<b>Technology</b>
</div>
<hr>
<section class="section1">
<div class="cols">
<div class="col1">
<h2>Challenge</h2>
Founded in 2005, the enterprise content management company allows its more than 50 million users to manage content in the cloud. <a href="https://www.box.com/home">Box</a> was built primarily with bare metal inside the companys own data centers, with a monolithic PHP code base. As the company was expanding globally, it needed to focus on "how we run our workload across many different cloud infrastructures from bare metal to public cloud," says Sam Ghods, Cofounder and Services Architect of Box. "Its been a huge challenge because of different clouds, especially bare metal, have very different interfaces."
<br>
</div>
<div class="col2">
<h2>Solution</h2>
Over the past couple of years, Box has been decomposing its infrastructure into microservices, and became an early adopter of, as well as contributor to, <a href="http://kubernetes.io/">Kubernetes</a> container orchestration. Kubernetes, Ghods says, has allowed Boxs developers to "target a universal set of concepts that are portable across all clouds."<br><br>
<h2>Impact</h2>
"Before Kubernetes," Ghods says, "our infrastructure was so antiquated it was taking us more than six months to deploy a new microservice. Today, a new microservice takes less than five days to deploy. And were working on getting it to an hour."
</div>
</div>
</section>
<div class="banner2">
<div class="banner2text">
"We looked at a lot of different options, but Kubernetes really stood out....the fact that on day one it was designed to run on bare metal just as well as Google Cloud meant that we could actually migrate to it inside of our data centers, and then use those same tools and concepts to run across public cloud providers as&nbsp;well."<br><br><span style="font-size:15px;letter-spacing:0.08em">- SAM GHOUDS, CO-FOUNDER AND SERVICES ARCHITECT OF BOX</span>
</div>
</div>
<section class="section2">
<div class="fullcol">
<h2>In the summer of 2014, Box was feeling the pain of a decades worth of hardware and software infrastructure that wasnt keeping up with the companys needs.</h2>
A platform that allows its more than 50 million users (including governments and big businesses like <a href="https://www.ge.com/">General Electric</a>) to manage and share content in the cloud, Box was originally a <a href="http://php.net/">PHP</a> monolith of millions of lines of code built exclusively with bare metal inside of its own data centers. It had already begun to slowly chip away at the monolith, decomposing it into microservices. And "as weve been expanding into regions around the globe, and as the public cloud wars have been heating up, weve been focusing a lot more on figuring out how we run our workload across many different environments and many different cloud infrastructure providers," says Box Cofounder and Services Architect Sam Ghods. "Its been a huge challenge thus far because of all these different providers, especially bare metal, have very different interfaces and ways in which you work with them."<br><br>
Boxs cloud native journey accelerated that June, when Ghods attended <a href="https://www.docker.com/events/dockercon">DockerCon</a>. The company had come to the realization that it could no longer run its applications only off bare metal, and was researching containerizing with Docker, virtualizing with OpenStack, and supporting public cloud.<br><br>
At that conference, Google announced the release of its Kubernetes container management system, and Ghods was won over. "We looked at a lot of different options, but Kubernetes really stood out, especially because of the incredibly strong team of <a href="https://research.google.com/pubs/pub43438.html">Borg</a> veterans and the vision of having a completely infrastructure-agnostic way of being able to run cloud software," he says, referencing Googles internal container orchestrator Borg. "The fact that on day one it was designed to run on bare metal just as well as <a href="https://cloud.google.com/">Google Cloud</a> meant that we could actually migrate to it inside of our data centers, and then use those same tools and concepts to run across public cloud providers as well."<br><br>
Another plus: Ghods liked that <a href="https://kubernetes.io/">Kubernetes</a> has a universal set of API objects like pod, service, replica set and deployment object, which created a consistent surface to build tooling against. "Even PaaS layers like <a href="https://www.openshift.com/">OpenShift</a> or <a href="http://deis.io/">Deis</a> that build on top of Kubernetes still treat those objects as first-class principles," he says. "We were excited about having these abstractions shared across the entire ecosystem, which would result in a lot more momentum than we saw in other potential solutions."<br><br>
Box deployed Kubernetes in a cluster in a production data center just six months later. Kubernetes was then still pre-beta, on version 0.11. They started small: The very first thing Ghodss team ran on Kubernetes was a Box API checker that confirms Box is up. "That was just to write and deploy some software to get the whole pipeline functioning," he says. Next came some daemons that process jobs, which was "nice and safe because if they experienced any interruptions, we wouldnt fail synchronous incoming requests from customers."
</div>
</section>
<div class="banner3">
<div class="banner3text">
"As weve been expanding into regions around the globe, and as the public cloud wars have been heating up, weve been focusing a lot more on figuring out how we [can have Kubernetes help] run our workload across many different environments and many different cloud infrastructure providers."
</div>
</div>
<section class="section3">
<div class="fullcol">
The first live service, which the team could route to and ask for information, was launched a few months later. At that point, Ghods says, "We were comfortable with the stability of the Kubernetes cluster. We started to port some services over, then we would increase the cluster size and port a few more, and thats ended up to about 100 servers in each data center that are dedicated purely to Kubernetes. And thats going to be expanding a lot over the next 12 months, probably too many hundreds if not thousands."<br><br>
While observing teams who began to use Kubernetes for their microservices, "we immediately saw an uptick in the number of microservices being released," Ghods&nbsp;notes. "There was clearly a pent-up demand for a better way of building software through microservices, and the increase in agility helped our developers be more productive and make better architectural choices."
<br><br><div class="quote">"There was clearly a pent-up demand for a better way of building software through microservices, and the increase in agility helped our developers be more productive and make better architectural choices."</div><br>
Ghods reflects that as early adopters, Box had a different journey from what companies experience now. "We were definitely lock step with waiting for certain things to stabilize or features to get released," he says. "In the early days we were doing a lot of contributions [to components such as kubectl apply] and waiting for Kubernetes to release each of them, and then wed upgrade, contribute more, and go back and forth several times. The entire project took about 18 months from our first real deployment on Kubernetes to having general availability. If we did that exact same thing today, it would probably be no more than six."<br><br>
In any case, Box didnt have to make too many modifications to Kubernetes for it to work for the company. "The vast majority of the work our team has done to implement Kubernetes at Box has been making it work inside of our existing (and often legacy) infrastructure," says Ghods, "such as upgrading our base operating system from RHEL6 to RHEL7 or integrating it into <a href="https://www.nagios.org/">Nagios</a>, our monitoring infrastructure. But overall Kubernetes has been remarkably flexible with fitting into many of our constraints, and weve been running it very successfully on our bare metal infrastructure."<br><br>
Perhaps the bigger challenge for Box was a cultural one. "Kubernetes, and cloud native in general, represents a pretty big paradigm shift, and its not very incremental," Ghods says. "Were essentially making this pitch that Kubernetes is going to solve everything because it does things the right way and everything is just suddenly better. But its important to keep in mind that its not nearly as proven as many other solutions out there. You cant say how long this or that company took to do it because there just arent that many yet. Our team had to really fight for resources because our project was a bit of a moonshot."
</div>
</section>
<div class="banner4">
<div class="banner4text">
"The vast majority of the work our team has done to implement Kubernetes at Box has been making it work inside of our existing [and often legacy] infrastructure....overall Kubernetes has been remarkably flexible with fitting into many of our constraints, and weve been running it very successfully on our bare metal infrastructure."
</div>
</div>
<section class="section4">
<div class="fullcol">
Having learned from experience, Ghods offers these two pieces of advice for companies going through similar challenges:
<h2>1. Deliver early and often.</h2> Service discovery was a huge problem for Box, and the team had to decide whether to build an interim solution or wait for Kubernetes to natively satisfy Boxs unique requirements. After much debate, "we just started focusing on delivering something that works, and then dealing with potentially migrating to a more native solution later," Ghods says. "The above-all-else target for the team should always be to serve real production use cases on the infrastructure, no matter how trivial. This helps keep the momentum going both for the team itself and for the organizational perception of the project." </br></br>
<h2>2. Keep an open mind about what your company has to abstract away from developers and what it&nbsp;doesnt.</h2> Early on, the team built an abstraction on top of Docker files to help ensure that images had the right security updates.
This turned out to be superfluous work, since container images are considered immutable and you can easily scan them post-build to ensure they do not contain vulnerabilities. Because managing infrastructure through containerization is such a discontinuous leap, its better to start by interacting directly with the native tools and learning their unique advantages and caveats. An abstraction should be built only after a practical need for it arises.</br></br>
In the end, the impact has been powerful. "Before Kubernetes," Ghods says, "our infrastructure was so antiquated it was taking us more than six months to deploy a new microservice. Now a new microservice takes less than five days to deploy. And were working on getting it to an hour. Granted, much of that six months was due to how broken our systems were, but bare metal is intrinsically a difficult platform to support unless you have a system like Kubernetes to help manage&nbsp;it."</br></br>
By Ghodss estimate, Box is still several years away from his goal of being a 90-plus percent Kubernetes shop. "Were very far along on having a mission-critical, stable Kubernetes deployment that provides a lot of value," he says. "Right now about five percent of all of our compute runs on Kubernetes, and I think in the next six months well likely be between 20 to 50 percent. Were working hard on enabling all stateless service use cases, and shift our focus to stateful services after&nbsp;that."
</div>
</section>
<div class="banner5">
<div class="banner5text">
"Ghods predicts that Kubernetes has the opportunity to be the new cloud platform. '...because its a never-before-seen level of automation and intelligence surrounding infrastructure that is portable and agnostic to every way you can run your infrastructure.'"
</div>
</div>
<section class="section5">
<div class="fullcol">
In fact, thats what he envisions across the industry: Ghods predicts that Kubernetes has the opportunity to be the new cloud platform. Kubernetes provides an API consistent across different cloud platforms including bare metal, and "I dont think people have seen the full potential of whats possible when you can program against one single interface," he says. "The same way <a href="https://aws.amazon.com/">AWS</a> changed infrastructure so that you dont have to think about servers or cabinets or networking equipment anymore, Kubernetes enables you to focus exclusively on the containers that youre running, which is pretty exciting. Thats the vision."</br></br>
Ghods points to projects that are already in development or recently released for Kubernetes as a cloud platform: cluster federation, the Dashboard UI, and <a href="https://coreos.com/">CoreOS</a>s etcd operator. "I honestly believe its the most exciting thing Ive seen in cloud infrastructure," he says, "because its a never-before-seen level of automation and intelligence surrounding infrastructure that is portable and agnostic to every way you can run your infrastructure."</br></br>
Box, with its early decision to use bare metal, embarked on its Kubernetes journey out of necessity. But Ghods says that even if companies dont have to be agnostic about cloud providers today, Kubernetes may soon become the industry standard, as more and more tooling and extensions are built around the API.</br></br>
"The same way it doesnt make sense to deviate from Linux because its such a standard," Ghods says, "I think Kubernetes is going down the same path. It is still early days—the documentation still needs work and the user experience for writing and publishing specs to the Kubernetes clusters is still rough. When youre on the cutting edge you can expect to bleed a little. But the bottom line is, this is where the industry is going. Three to five years from now its really going to be shocking if you run your infrastructure any other way."
</div>
</section>
+112
View File
@@ -0,0 +1,112 @@
---
title: Buffer Case Study
layout: basic
case_study_styles: true
cid: caseStudies
css: /css/style_buffer.css
---
<div class="banner1">
<h1>CASE STUDY: <img src="/images/buffer.png" width="18%" style="margin-bottom:-5px;margin-left:10px;"><br>
<div class="subhead">Making Deployments Easy for a Small, Distributed Team</div>
</h1>
</div>
<div class="details">
Company&nbsp;<b>Buffer</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location &nbsp;<b>Around the World</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry &nbsp;<b>Social Media Technology</b>
</div>
<hr>
<section class="section1">
<div class="cols">
<div class="col1">
<h2>Challenge</h2>
With a small but fully distributed team of 80 working across almost a dozen time zones, Buffer—which offers social media management to agencies and marketers—was looking to solve its "classic monolithic code base problem," says Architect Dan Farrelly. "We wanted to have the kind of liquid infrastructure where a developer could create an app and deploy it and scale it horizontally as&nbsp;necessary."
</div>
<div class="col2">
<h2>Solution</h2>
Embracing containerization, Buffer moved its infrastructure from Amazon Web Services Elastic Beanstalk to Docker on AWS, orchestrated with&nbsp;Kubernetes.
<br>
<br>
<h2>Impact</h2>
The new system "leveled up our ability with deployment and rolling out new changes," says Farrelly. "Building something on your computer and knowing that its going to work has shortened things up a lot. Our feedback cycles are a lot faster now&nbsp;too."
</div>
</div>
</section>
<div class="banner2">
<div class="banner2text">
"Its amazing that we can use the Kubernetes solution off the shelf with our team. And it just keeps getting better. Before we even know that we need something, its there in the next release or its coming in the next few months."<br><br><span style="font-size:16px;letter-spacing:2px;">- DAN FARRELLY, BUFFER ARCHITECT</span>
</div>
</div>
<section class="section2">
<div class="fullcol">
<h2>Dan Farrelly uses a carpentry analogy to explain the problem his company, <a href="https://buffer.com">Buffer</a>, began having as its team of developers grew over the past few years.</h2>
"If youre building a table by yourself, its fine," the companys architect says. "If you bring in a second person to work on the table, maybe that person can start sanding the legs while youre sanding the top. But when you bring a third or fourth person in, someone should probably work on a different table." Needing to work on more and more different tables led Buffer on a path toward microservices and containerization made possible by Kubernetes.<br><br>
Since around 2012, Buffer had already been using <a href="https://aws.amazon.com/elasticbeanstalk/">Elastic Beanstalk</a>, the orchestration service for deploying infrastructure offered by <a href="https://aws.amazon.com">Amazon Web Services</a>. "We were deploying a single monolithic <a href="http://php.net/manual/en/intro-whatis.php">PHP</a> application, and it was the same application across five or six environments," says Farrelly. "We were very much a product-driven company. It was all about shipping new features quickly and getting things out the door, and if something was not broken, we didnt spend too much time on it. If things were getting a little bit slow, wed maybe use a faster server or just scale up one instance, and it would be good enough. Wed move on."<br><br>
But things came to a head in 2016. With the growing number of committers on staff, Farrelly and Buffers then-CTO, Sunil Sadasivan, decided it was time to re-architect and rethink their infrastructure. "It was a classic monolithic code base problem," says Farrelly.<br><br>Some of the companys team was already successfully using <a href="https://www.docker.com">Docker</a> in their development environment, but the only application running on Docker in production was a marketing website that didnt see real user traffic. They wanted to go further with Docker, and the next step was looking at options for&nbsp;orchestration.
</div>
</section>
<div class="banner3">
<div class="banner3text">
And all the things Kubernetes did well suited Buffers needs. "We wanted to have the kind of liquid infrastructure where a developer could create an app and deploy it and scale it horizontally as necessary," says Farrelly. "We quickly used some scripts to set up a couple of test clusters, we built some small proof-of-concept applications in containers, and we deployed things within an hour. We had very little experience in running containers in production. It was amazing how quickly we could get a handle on it&nbsp;[Kubernetes]."
</div>
</div>
<section class="section3">
<div class="fullcol">
First they considered <a href="https://mesosphere.com">Mesosphere</a>, <a href="https://dcos.io">DC/OS</a> and <a href="https://aws.amazon.com/ecs/">Amazon Elastic Container Service</a> (which their data systems team was already using for some data pipeline jobs). While they were impressed by these offerings, they ultimately went with Kubernetes. "We run on AWS still, so spinning up, creating services and creating load balancers on demand for us without having to configure them manually was a great way for our team to get into this," says Farrelly. "We didnt need to figure out how to configure this or that, especially coming from a former Elastic Beanstalk environment that gave us an automatically-configured load balancer. I really liked Kubernetes controls of the command line. It just took care of ports. It was a lot more flexible. Kubernetes was designed for doing what it does, so it does it very well."<br><br>
And all the things Kubernetes did well suited Buffers needs. "We wanted to have the kind of liquid infrastructure where a developer could create an app and deploy it and scale it horizontally as necessary," says Farrelly. "We quickly used some scripts to set up a couple of test clusters, we built some small proof-of-concept applications in containers, and we deployed things within an hour. We had very little experience in running containers in production. It was amazing how quickly we could get a handle on it [Kubernetes]."<br><br>
Above all, it provided a powerful solution for one of the companys most distinguishing characteristics: their remote team thats spread across a dozen different time zones. "The people with deep knowledge of our infrastructure live in time zones different from our peak traffic time zones, and most of our product engineers live in other places," says Farrelly. "So we really wanted something where anybody could get a grasp of the system early on and utilize it, and not have to worry that the deploy engineer is asleep. Otherwise people would sit around for 12 to 24 hours for something. Its been really cool to see people moving much faster."
<br><br>
With a relatively small engineering team—just 25 people, and only a handful working on infrastructure, with the majority front-end developers—Buffer needed "something robust for them to deploy whatever they wanted," says Farrelly. Before, "it was only a couple of people who knew how to set up everything in the old way. With this system, it was easy to review documentation and get something out extremely quickly. It lowers the bar for us to get everything in production. We don't have the big team to build all these tools or manage the infrastructure like other larger companies&nbsp;might."
</div>
</section>
<div class="banner4">
<div class="banner4text">
"In our old way of working, the feedback loop was a lot longer, and it was delicate because if you deployed something, the risk was high to potentially break something else," Farrelly says. "With the kind of deploys that we built around Kubernetes, we were able to detect bugs and fix them, and get them deployed super fast. The second someone is fixing [a bug], its out the&nbsp;door."
</div>
</div>
<section class="section4">
<div class="fullcol">
To help with this, Buffer developers wrote a deploy bot that wraps the Kubernetes deploy process and can be used by every team. "Before, our data analysts would update, say, a <a href="https://www.python.org">Python</a> analysis script and have to wait for the lead on that team to click the button and deploy it," Farrelly explains. "Now our data analysts can make a change, enter a <a href="https://slack.com">Slack</a> command, /deploy, and it goes out instantly. They dont need to wait on these slow turnaround times. They dont even know where its running; it doesnt matter."
<br><br>
One of the first applications the team built from scratch using Kubernetes was a new image resizing service. As a social media management tool that allows marketing teams to collaborate on posts and send updates across multiple social media profiles and networks, Buffer has to be able to resize photographs as needed to meet the varying limitations of size and format posed by different social networks. "We always had these hacked together solutions," says Farrelly.
<br><br>
To create this new service, one of the senior product engineers was assigned to learn Docker and Kubernetes, then build the service, test it, deploy it and monitor it—which he was able to do relatively quickly. "In our old way of working, the feedback loop was a lot longer, and it was delicate because if you deployed something, the risk was high to potentially break something else," Farrelly says. "With the kind of deploys that we built around Kubernetes, we were able to detect bugs and fix them, and get them deployed super fast. The second someone is fixing [a bug], its out the door."
<br><br>
Plus, unlike with their old system, they could scale things horizontally with one command. "As we rolled it out," Farrelly says, "we could anticipate and just click a button. This allowed us to deal with the demand that our users were placing on the system and easily scale it to handle it."
<br><br>
Another thing they werent able to do before was a canary deploy. This new capability "made us so much more confident in deploying big changes," says Farrelly. "Before, it took a lot of testing, which is still good, but it was also a lot of fingers crossed. And this is something that gets run 800,000 times a day, the core of our business. If it doesnt work, our business doesnt work. In a Kubernetes world, I can do a canary deploy to test it for 1 percent and I can shut it down very quickly if it isnt working. This has leveled up our ability to deploy and roll out new changes quickly while reducing&nbsp;risk."
</div>
</section>
<div class="banner5">
<div class="banner5text">
"If you want to run containers in production, with nearly the power that Google uses internally, this [Kubernetes] is a great way to do that," Farrelly says. "Were a relatively small team thats actually running Kubernetes, and weve never run anything like it before. So its more approachable than you might think. Thats the one big thing that I tell people who are experimenting with it. Pick a couple of things, roll it out, kick the tires on this for a couple of months and see how much it can handle. You start learning a lot this&nbsp;way."
</div>
</div>
<section class="section5">
<div class="fullcol">
By October 2016, 54 percent of Buffers traffic was going through their Kubernetes cluster. "Theres a lot of our legacy functionality that still runs alright, and those parts might move to Kubernetes or stay in our old setup forever," says Farrelly. But the company made the commitment at that time that going forward, "all new development, all new features, will be running on Kubernetes."
<br><br>
The plan for 2017 is to move all the legacy applications to a new Kubernetes cluster, and run everything theyve pulled out of their old infrastructure, plus the new services theyre developing in Kubernetes, on another cluster. "I want to bring all the benefits that weve seen on our early services to everyone on the team," says Farrelly.
<br><br>
<h2>For Buffers engineers, its an exciting process. "Every time were deploying a new service, we need to figure out: OK, whats the architecture? How do these services communicate? Whats the best way to build this service?" Farrelly says. "And then we use the different features that Kubernetes has to glue all the pieces together. Its enabling us to experiment as were learning how to design a service-oriented architecture. Before, we just wouldnt have been able to do it. This is actually giving us a blank white board so we can do whatever we want on it."
</h2>
Part of that blank slate is the flexibility that Kubernetes offers should the time come when Buffer may want or need to change its cloud. "Its cloud agnostic so maybe one day we could switch to Google or somewhere else," Farrelly says. "Were very deep in Amazon but its nice to know we could move away if we need to."
<br><br>
At this point, the team at Buffer cant imagine running their infrastructure any other way—and theyre happy to spread the word. "If you want to run containers in production, with nearly the power that Google uses internally, this [Kubernetes] is a great way to do that," Farrelly says. "Were a relatively small team thats actually running Kubernetes, and weve never run anything like it before. So its more approachable than you might think. Thats the one big thing that I tell people who are experimenting with it. Pick a couple of things, roll it out, kick the tires on this for a couple of months and see how much it can handle. You start learning a lot this&nbsp;way."
<br><br>
</div>
</section>
+125
View File
@@ -0,0 +1,125 @@
---
title: GolfNow Case Study
layout: basic
case_study_styles: true
cid: caseStudies
css: /css/style_golfnow.css
---
<div class="banner1">
<h1>CASE STUDY: <img src="/images/golfnow_logo.png" width="20%" style="margin-bottom:-6px"><br>
<div class="subhead">Saving Time and Money with Cloud Native Infrastructure</div>
</h1>
</div>
<div class="details">
Company&nbsp;<b>GolfNow</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location&nbsp;<b>Orlando, Florida</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry&nbsp;<b>Golf Industry Technology and Services Provider</b>
</div>
<hr>
<section class="section1">
<div class="cols">
<div class="col1">
<h2>Challenge</h2>
A member of the <a href="http://www.nbcunicareers.com/our-businesses/nbc-sports-group">NBC Sports Group</a>, <a href="https://www.golfnow.com/">GolfNow</a> is the golf industrys technology and services leader, managing 10 different products, as well as the largest e-commerce tee time marketplace in the world. As its business began expanding rapidly and globally, GolfNows monolithic application became problematic. "We kept growing our infrastructure vertically rather than horizontally, and the cost of doing business became problematic," says Sheriff Mohamed, GolfNows Director, Architecture. "We wanted the ability to more easily expand globally."
<br>
</div>
<div class="col2">
<h2>Solution</h2>
Turning to microservices and containerization, GolfNow began moving its applications and databases from third-party services to its own clusters running on <a href="https://www.docker.com/">Docker</a> and <a href="http://kubernetes.io/">Kubernetes.</a><br><br>
<h2>Impact</h2>
The results were immediate. While maintaining the same capacity—and beyond, during peak periods—GolfNow saw its infrastructure costs for the first application virtually cut in half.
</div>
</div>
</section>
<div class="banner2">
<div class="banner2text">
"With our growth we obviously needed to expand our infrastructure, and we kept growing vertically rather than horizontally. We were basically wasting money and doubling the cost of our infrastructure."<br><br><span style="font-size:15px;letter-spacing:0.08em">- SHERIFF MOHAMED, DIRECTOR, ARCHITECTURE AT GOLFNOW</span>
</div>
</div>
<section class="section2">
<div class="fullcol">
<h2>Its not every day that you can say youve slashed an operating expense by half.</h2>
But Sheriff Mohamed and Josh Chandler did just that when they helped lead their company, <a href="https://www.golfnow.com/">GolfNow</a>, on a journey from a monolithic to a containerized, cloud native infrastructure managed by Kubernetes.
<br> <br>
A top-performing business within the NBC Sports Group, GolfNow is a technology and services company with the largest tee time marketplace in the world. GolfNow serves 5 million active golfers across 10 different products. In recent years, the business had grown so fast that the infrastructure supporting their giant monolithic application (written in C#.NET and backed by SQL Server database management system) could not keep up. "With our growth we obviously needed to expand our infrastructure, and we kept growing vertically rather than horizontally," says Sheriff, GolfNows Director, Architecture. "Our costs were growing exponentially. And on top of that, we had to build a Disaster Recovery (DR) environment, which then meant wed have to copy exactly what we had in our original data center to another data center that was just the standby. We were basically wasting money and doubling the cost of our infrastructure."
<br> <br>
In moving just the first of GolfNows important applications—a booking engine for golf courses and B2B marketing platform—from third-party services to their own Kubernetes environment, "our bill went down drastically," says Sheriff.
<br> <br>
The path to those stellar results began in late 2014. In order to support GolfNows global growth, the team decided that the company needed to have multiple data centers and the ability to quickly and easily re-route traffic as needed. "From there we knew that we needed to go in a direction of breaking things apart, microservices, and containerization," says Sheriff. "At the time we were trying to get away from <a href="https://www.microsoft.com/net">C#.NET</a> and <a href="https://www.microsoft.com/en-cy/sql-server/sql-server-2016">SQL Server</a> since it didnt run very well on Linux, where everything container was running smoothly."
<br> <br>
To that end, the team shifted to working with <a href="https://nodejs.org/">Node.js</a>, the open-source, cross-platform JavaScript runtime environment for developing tools and applications, and <a href="https://www.mongodb.com/">MongoDB</a>, the open-source database program. At the time, <ahref="https://www.docker.com/">Docker</a>, the platform for deploying applications in containers, was still new. But once the team began experimenting with it, Sheriff says, "we realized that was the way we wanted to go, especially since thats the way the industry is heading."
</div>
</section>
<div class="banner3">
<div class="banner3text">
"The team migrated the rest of the application into their Kubernetes cluster. And the impact was immediate: On top of cutting monthly costs by a large percentage, says Sheriff, 'Running at the same capacity and during our peak time, we were able to horizontally grow. Since we were using our VMs more efficiently with containers, we didnt have to pay extra money at all.'"
</div>
</div>
<section class="section3">
<div class="fullcol">
GolfNows dev team ran an "internal, low-key" proof of concept and were won over. "We really liked how easy it was to be able to pass containers around to each other and have them up and running in no time, exactly the way it was running on my machine," says Sheriff. "Because that is always the biggest gripe that Ops has with developers, right? It worked on my machine! But then we started getting to the point of, How do we make sure that these things stay up and running?" <br><br>
That led the team on a quest to find the right orchestration system for the companys needs. Sheriff says the first few options they tried were either too heavy or "didnt feel quite right." In late summer 2015, they discovered the just-released <a href="http://kubernetes.io/">Kubernetes</a>, which Sheriff immediately liked for its ease of use. "We did another proof of concept," he says, "and Kubernetes won because of the fact that the community backing was there, built on top of what Google had already done."
<br><br>
But before they could go with Kubernetes, <a href="http://www.nbc.com/">NBC</a>, GolfNows parent company, also asked them to comparison shop with another company. Sheriff and his team liked the competing companys platform user interface, but didnt like that its platform would not allow containers to run natively on Docker. With no clear decision in sight, Sheriffs VP at GolfNow, Steve McElwee, set up a three-month trial during which a GolfNow team (consisting of Sheriff and Josh, whos now Lead Architect, Open Platforms) would build out a Kubernetes environment, and a large NBC team would build out one with the other companys platform.
<br><br>
"We spun up the cluster and we tried to get everything to run the way we wanted it to run," Sheriff says. "The biggest thing that we took away from it is that not only did we want our applications to run within Kubernetes and Docker, we also wanted our databases to run there. We literally wanted our entire infrastructure to run within Kubernetes."
<br><br>
At the time there was nothing in the community to help them get Kafka and MongoDB clusters running within a Kubernetes and Docker environment, so Sheriff and Josh figured it out on their own, taking a full month to get it right. "Everything started rolling from there," Sheriff says. "We were able to get all our applications connected, and we finished our side of the proof of concept a month in advance. My VP was like, Alright, its over. Kubernetes wins."
<br><br>
The next step, beginning in January 2016, was getting everything working in production. The team focused first on one application that was already written in Node.js and MongoDB. A booking engine for golf courses and B2B marketing platform, the application was already going in the microservice direction but wasnt quite finished yet. At the time, it was running in <a href="https://devcenter.heroku.com/articles/mongohq">Heroku Compose</a> and other third-party services—resulting in a large monthly bill.
</div>
</section>
<div class="banner4">
<div class="banner4text">
"'The time I spent actually moving the applications was under 30 seconds! We can move data centers in just incredible amounts of time. If you havent come from the Kubernetes world you wouldnt believe me.' Sheriff puts it in these terms: 'Before Kubernetes I wasnt sleeping at night, literally. I was woken up all the time, because things were down. After Kubernetes, Ive been sleeping at night.'"
</div>
</div>
<section class="section4">
<div class="fullcol">
"The goal was to take all of that out and put it within this new platform weve created with Kubernetes on <a href="https://cloud.google.com/compute/">Google Compute Engine (GCE)</a>," says Sheriff. "So we ended up building piece by piece, in parallel, what was out in Heroku and Compose, in our Kubernetes cluster. Then, literally, just switched configs in the background. So in Heroku we had the app running hitting a Compose database. Wed take the config, change it and make it hit the database that was running in our cluster."
<br><br>
Using this procedure, they were able to migrate piecemeal, without any downtime. The first migration was done during off hours, but to test the limits, the team migrated the second database in the middle of the day, when lots of users were running the application. "We did it," Sheriff says, "and again it was successful. Nobody noticed."
<br><br>
After three weeks of monitoring to make sure everything was running stable, the team migrated the rest of the application into their Kubernetes cluster. And the impact was immediate: On top of cutting monthly costs by a large percentage, says Sheriff, "Running at the same capacity and during our peak time, we were able to horizontally grow. Since we were using our VMs more efficiently with containers, we didnt have to pay extra money at all."
<br><br>
Not only were they saving money, but they were also saving time. "I had a meeting this morning about migrating some applications from one cluster to another," says Josh. "I spent about 2 hours explaining the process. The time I spent actually moving the applications was under 30 seconds! We can move data centers in just incredible amounts of time. If you havent come from the Kubernetes world you wouldnt believe me." Sheriff puts it in these terms: "Before Kubernetes I wasnt sleeping at night, literally. I was woken up all the time, because things were down. After Kubernetes, Ive been sleeping at night."
<br><br>
A small percentage of the applications on GolfNow have been migrated over to the Kubernetes environment. "Our Core Team is rewriting a lot of the .NET applications into <a href="https://www.microsoft.com/net/core">.NET Core</a> [which is compatible with Linux and Docker] so that we can run them within containers," says Sheriff.
<br><br>
Looking ahead, Sheriff and his team want to spend 2017 continuing to build a whole platform around Kubernetes with <a href="https://github.com/drone/drone">Drone</a>, an open-source continuous delivery platform, to make it more developer-centric. "Now theyre able to manage configuration, theyre able to manage their deployments and things like that, making all these subteams that are now creating all these microservices, be self sufficient," he says. "So it can pull us away from applications and allow us to just make sure the cluster is running and healthy, and then actually migrate that over to our Ops team."
</div>
</section>
<div class="banner5">
<div class="banner5text">
"Having gone from complete newbies to production-ready in three months, the GolfNow team is eager to encourage other companies to follow their lead. 'This is The Six Million Dollar Man of the cloud right now,' adds Josh. 'Just try it out, watch it happen. I feel like the proof is in the pudding when you look at these kinds of application stacks. Theyre faster, theyre more resilient.'"
</div>
</div>
<section class="section5">
<div class="fullcol">
And long-term, Sheriff has an even bigger goal for getting more people into the Kubernetes fold. "Were actually trying to make this platform generic enough so that any of our sister companies can use it if they wish," he says. "Most definitely I think it can be used as a model. I think the way we migrated into it, the way we built it out, are all ways that I think other companies can learn from, and should not be afraid of."
<br><br>
The GolfNow team is also giving back to the Kubernetes community by open-sourcing a bot framework that Josh built. "We noticed that the dashboard user interface is actually moving a lot faster than when we started," says Sheriff. "However we realized what we needed was something thats more of a bot that really helps us administer Kubernetes as a whole through Slack." Josh explains: "With the Kubernetes-Slack integration, you can essentially hook into a cluster and the issue commands and edit configurations. Weve tried to simplify the security configuration as much as possible. We hope this will be our major thank you to Kubernetes, for everything youve given us."
<br><br>
Having gone from complete newbies to production-ready in three months, the GolfNow team is eager to encourage other companies to follow their lead. The lessons theyve learned: "Youve got to have buy-in from your boss," says Sheriff. "Another big deal is having two to three people dedicated to this type of endeavor. You cant have people who are half in, half out." And if you dont have buy-in from the get go, proving it out will get you there.
<br><br>
"This is The Six Million Dollar Man of the cloud right now," adds Josh. "Just try it out, watch it happen. I feel like the proof is in the pudding when you look at these kinds of application stacks. Theyre faster, theyre more resilient."
</div>
</section>
+59 -58
View File
@@ -14,28 +14,30 @@ cid: caseStudies
<main>
<div class="content">
<div class="case-studies">
<div class="case-study">
<img src="/images/case_studies/pearson.png" alt="Pearson">
<p class="quote">"We chose Kubernetes because of its flexibility, ease of management and the way it improves our engineers' productivity."</p>
<!--<p class="attrib">— Chris Jackson, Director for Cloud Product Engineering, Pearson</p>-->
<a href="./pearson/">Read about Pearson</a>
</div>
<div class="case-study">
<img src="/images/case_studies/wikimedia.png" alt="Wikimedia">
<p class="quote">"With Kubernetes, we're simplifying our environment and making it easier for developers to build the tools that make wikis run better."</p>
<!--<p class="attrib">— Yuvi Panda, Operations Engineer, Wikimedia Foundation</p>-->
<a href="./wikimedia/">Read about Wikimedia</a>
</div>
<div class="case-study">
<img src="/images/case_studies/ebay.png" alt="eBay">
<p class="quote">Inside eBay's shift to Kubernetes and containers atop OpenStack</p>
<a href="http://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/">Read about eBay</a>
</div>
<div class="case-study">
<img src="/images/case_studies/box.png" alt="box">
<p class="quote">Kubernetes at Box: Microservices at Maximum Velocity</p>
<a href="https://blog.box.com/blog/kubernetes-box-microservices-maximum-velocity/">Read about Box</a>
</div>
<div class="case-study">
<img src="/images/case_studies/peardeck.png" alt="peardeck">
<p class="quote">"In terms of the cloud, Kubernetes and Prometheus have so much to offer."</p>
<!--<p class="attrib">— Riley Eynon-Lynch, CEO of Pear Deck</p>-->
<a href="/case-studies/peardeck/">Read about Pear Deck</a>
</div>
<div class="case-study">
<img src="/images/case_studies/buffer.png" alt="Buffer">
<p class="quote">"Its amazing that we can use the Kubernetes solution off the shelf with our team. And it just keeps getting better."</p>
<!--<p class="attrib">— Dan Farrelly, Buffer Architect</p>-->
<a href="/case-studies/buffer/">Read about Buffer</a>
</div>
<div class="case-study">
<img src="/images/case_studies/wink_logo.png" alt="Wink">
<p class="quote">"What you get by adopting CoreOS/Kubernetes is portability, to not be locked in to anyone. You can really make your own fate."</p>
<!--<p class="attrib">— Kit Klein, Head of Engineering at Wink</p>-->
<a href="/case-studies/wink/">Read about Wink</a>
</div>
<div class="case-study">
<img src="/images/case_studies/ancestry-logo.png" alt="Ancestry">
<p class="quote">"Kubernetes saved our time tremendously; its an enabler. It really is incredible."</p>
<!--<p class="attrib">— Paul MacKay, Software Engineer and Architect at Ancestry</p>-->
<a href="/case-studies/ancestry/">Read about Ancestry.com</a>
</div>
</div>
</div>
</main>
@@ -43,18 +45,13 @@ cid: caseStudies
<section id="video">
<main>
<!--<div>-->
<!--<h3>"I don't want to deploy software the old way ever again"</h3>-->
<!--<p class="attrib">— Dylan Carney, Lead Software Engineer, Zulily</p>-->
<!--<img src="/images/case_studies/zulily.png" id="zulilyLogo" alt="zulily">-->
<!--</div>-->
<!--<div><button onclick="kub.showVideo()"><img src="/images/case_studies/video_thumb.jpg" alt="Zulily video"><h6>Kubernetes at zulily</h6></button></div>-->
<div>
<!--<h3>SAP</h3>-->
<h3>SAP's OpenStack, running on Kubernetes in production</h3>
<img src="/images/case_studies/sap_small.png" id="zulilyLogo" alt="SAP">
<!--<h3>Box</h3>-->
<h4><i>"Kubernetes has the opportunity to be the new cloud platform. The amount of innovation that's going to come from being able to standardize on Kubernetes as a platform is incredibly exciting - more exciting than anything I've seen in the last 10 years of working on the cloud."</i></h4>
<img src="/images/case_studies/box-small.png" id="boxlogo" alt="Box">
</div>
<div><button onclick="kub.showVideo()"><img src="/images/case_studies/video_thumb1.png" alt="SAP video"><h6>Kubernetes at SAP</h6></button></div>
<div style= "padding-left: 40px;"><button onclick="kub.showVideo()"><img src="/images/case_studies/Video-Clip-Box.png" alt="Box video"><h6>Kubernetes at Box</h6></button></div>
</main>
</section>
@@ -62,38 +59,42 @@ cid: caseStudies
<main>
<h3>Kubernetes Users</h3>
<div id="usersGrid">
<a target="_blank" href="https://www.youtube.com/watch?v=P5qfyv_zGcU"><img src="/images/case_studies/nyt.png" alt="New York Times"></a>
<a target="_blank" href="https://openai.com/blog/infrastructure-for-deep-learning"><img src="/images/case_studies/openai.png" alt="OpenAI"></a>
<a target="_blank" href="http://blogs.wsj.com/cio/2016/02/24/big-changes-in-goldmans-software-emerge-from-small-containers/"><img src="/images/case_studies/gs.png" alt="Goldman Sachs"></a>
<a target="_blank" href="https://youtu.be/4gyeixJLabo"><img src="/images/case_studies/sap.png" alt="SAP"></a>
<a target="_blank" href="http://www.nextplatform.com/2016/05/24/samsung-experts-put-kubernetes-paces/"><img src="/images/case_studies/sds.png" alt="Samsung SDS"></a>
<a target="_blank" href="http://thenewstack.io/wepay-kubernetes-changed-business/"><img src="/images/case_studies/wepay.png" alt="WePay"></a>
<a target="_blank" href="https://www.youtube.com/watch?v=5378N5iLb2Q"><img src="/images/case_studies/soundcloud.png" alt="SoundCloud"></a>
<a target="_blank" href="https://www.youtube.com/watch?v=F3iMkz_NSvU"><img src="/images/case_studies/homeoffice.png" alt="UK Home Office"></a>
<a target="_blank" href="http://searchitoperations.techtarget.com/news/450297178/Tech-firms-roll-out-Kubernetes-in-production"><img src="/images/case_studies/concur.png" alt="Concur"></a>
<a target="_blank" href="http://www.nextplatform.com/2015/08/04/amadeus-takes-off-with-containers-and-clouds/"><img src="/images/case_studies/amadeus.png" alt="Amadeus"></a>
<a target="_blank" href="http://superuser.openstack.org/articles/how-ancestry-com-s-open-source-strategy-combines-kubernetes-and-openstack"><img src="/images/case_studies/ancestry.png" alt="Ancestry.com"></a>
<a target="_blank" href="https://cloud.google.com/customers/ccp-games/"><img src="/images/case_studies/ccp.png" alt="CCP Games"></a>
<a target="_blank" href="https://www.openstack.org/videos/video/running-kubernetes-on-openstack-at-liveperson"><img src="/images/case_studies/liveperson.png" alt="LivePerson"></a>
<a target="_blank" href="https://youtu.be/YkOY7DgXKyw"><img src="/images/case_studies/monzo_logo.png" alt="monzo"></a>
<a target="_blank" href="https://blog.box.com/blog/kubernetes-box-microservices-maximum-velocity/"><img src="/images/case_studies/box_logo.png" alt="Box"></a>
<a target="_blank" href="https://cloudplatform.googleblog.com/2016/09/bringing-Pokemon-GO-to-life-on-Google-Cloud.html"><img src="/images/case_studies/pokemon_go_logo.png" alt="Pokemon GO"></a>
<a target="_blank" href="http://blog.kubernetes.io/2016/10/kubernetes-and-openstack-at-yahoo-japan.html"><img src="/images/case_studies/yahooJapan_logo.png" alt="Yahoo! Japan"></a>
<a target="_blank" href="https://cloud.google.com/customers/philips/"><img src="/images/case_studies/philips_logo.png" alt="Philips"></a>
<a target="_blank" href="https://youtu.be/EC_ZRLsw58M"><img src="/images/case_studies/buffer_logo.png" alt="buffer"></a>
<a target="_blank" href="https://youtu.be/lmeFkH-rHII"><img src="/images/case_studies/comcast_logo.png" alt="Comcast"></a>
<a href="./wikimedia/"><img src="/images/case_studies/wikimedia_logo.png" alt="Wikimedia"></a>
<a href="./pearson/"><img src="/images/case_studies/pearson_logo.png" alt="Pearson"></a>
<a target="_blank" href="#" onclick="event.preventDefault(); kub.showVideo()"><img src="/images/case_studies/zulily_logo.png" alt="zulily"></a>
<a target="_blank" href="http://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/"><img src="/images/case_studies/ebay_logo.png" alt="Ebay"></a>
<a target="_blank" href="https://docs.google.com/a/google.com/forms/d/e/1FAIpQLScuI7Ye3VQHQTwBASrgkjQDSS5TP0g3AXfFhwSM9YpHgxRKFA/viewform" class="tell-your-story"><img src="/images/case_studies/story.png" alt="Tell your story"></a>
<a target="_blank" href="http://www.nextplatform.com/2015/08/04/amadeus-takes-off-with-containers-and-clouds/"><img src="/images/case_studies/amadeus.png" alt="Amadeus"></a>
<a target="_blank" href="/case-studies/ancestry/"><img src="/images/case_studies/ancestry.png" alt="Ancestry.com"></a>
<a target="_blank" href="/case-studies/box/"><img src="/images/case_studies/box_logo.png" alt="box"></a>
<a target="_blank" href="/case-studies/buffer/"><img src="/images/case_studies/buffer_logo.png" alt="Buffer"></a>
<a target="_blank" href="https://cloud.google.com/customers/ccp-games/"><img src="/images/case_studies/ccp.png" alt="CCP Games"></a>
<a target="_blank" href="https://youtu.be/lmeFkH-rHII"><img src="/images/case_studies/comcast_logo.png" alt="Comcast"></a>
<a target="_blank" href="http://searchitoperations.techtarget.com/news/450297178/Tech-firms-roll-out-Kubernetes-in-production"><img src="/images/case_studies/concur.png" alt="Concur"></a>
<a target="_blank" href="http://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/"><img src="/images/case_studies/ebay_logo.png" alt="Ebay"></a>
<a target="_blank" href="http://blogs.wsj.com/cio/2016/02/24/big-changes-in-goldmans-software-emerge-from-small-containers/"><img src="/images/case_studies/gs.png" alt="Goldman Sachs"></a>
<a target="_blank" href="/case-studies/golfnow/"><img src="/images/case_studies/golfnow_logo.png" alt="GolfNow"></a>
<a target="_blank" href="http://blog.kubernetes.io/2017/02/inside-jd-com-shift-to-kubernetes-from-openstack.html"><img src="/images/case_studies/jd.png" alt="JD.COM"></a>
<a target="_blank" href="https://www.openstack.org/videos/video/running-kubernetes-on-openstack-at-liveperson"><img src="/images/case_studies/liveperson.png" alt="LivePerson"></a>
<a target="_blank" href="https://youtu.be/YkOY7DgXKyw"><img src="/images/case_studies/monzo_logo.png" alt="monzo"></a>
<a target="_blank" href="https://www.youtube.com/watch?v=P5qfyv_zGcU"><img src="/images/case_studies/nyt.png" alt="New York Times"></a>
<a target="_blank" href="https://openai.com/blog/infrastructure-for-deep-learning"><img src="/images/case_studies/openai.png" alt="OpenAI"></a>
<a target="_blank" href="/case-studies/peardeck/"><img src="/images/case_studies/peardeck_logo.png" alt="peardeck"></a>
<a href="/case-studies/pearson/"><img src="/images/case_studies/pearson_logo.png" alt="Pearson"></a>
<a target="_blank" href="https://cloud.google.com/customers/philips/"><img src="/images/case_studies/philips_logo.png" alt="Philips"></a>
<a target="_blank" href="https://cloudplatform.googleblog.com/2016/09/bringing-Pokemon-GO-to-life-on-Google-Cloud.html"><img src="/images/case_studies/pokemon_go_logo.png" alt="Pokemon GO"></a>
<a target="_blank" href="http://www.nextplatform.com/2016/05/24/samsung-experts-put-kubernetes-paces/"><img src="/images/case_studies/sds.png" alt="Samsung SDS"></a>
<a target="_blank" href="https://youtu.be/4gyeixJLabo"><img src="/images/case_studies/sap.png" alt="SAP"></a>
<a target="_blank" href="https://www.youtube.com/watch?v=5378N5iLb2Q"><img src="/images/case_studies/soundcloud.png" alt="SoundCloud"></a>
<a target="_blank" href="https://www.youtube.com/watch?v=F3iMkz_NSvU"><img src="/images/case_studies/homeoffice.png" alt="UK Home Office"></a>
<a target="_blank" href="http://thenewstack.io/wepay-kubernetes-changed-business/"><img src="/images/case_studies/wepay.png" alt="WePay"></a>
<a target="_blank" href="/case-studies/wink/"><img src="/images/case_studies/wink.png" alt="Wink"></a>
<a href="/case-studies/wikimedia/"><img src="/images/case_studies/wikimedia_logo.png" alt="Wikimedia"></a>
<a target="_blank" href="http://blog.kubernetes.io/2016/10/kubernetes-and-openstack-at-yahoo-japan.html"><img src="/images/case_studies/yahooJapan_logo.png" alt="Yahoo! Japan"></a>
<a target="_blank" href="#" onclick="event.preventDefault(); kub.showVideo()"><img src="/images/case_studies/zulily_logo.png" alt="zulily"></a>
<a target="_blank" href="https://docs.google.com/a/google.com/forms/d/e/1FAIpQLScuI7Ye3VQHQTwBASrgkjQDSS5TP0g3AXfFhwSM9YpHgxRKFA/viewform" class="tell-your-story"><img src="/images/case_studies/story.png" alt="Tell your story"></a>
</div>
</main>
</section>
<div id="videoPlayer">
<!--<iframe data-url="https://www.youtube.com/watch?v=B0_5Nms8sD0" frameborder="0" allowfullscreen></iframe>-->
<iframe data-url="https://www.youtube.com/embed/4gyeixJLabo?autoplay=1" frameborder="0" allowfullscreen="true"></iframe>
<!--<iframe data-url="https://www.youtube.com/watch?v=of45hYbkIZs" frameborder="0" allowfullscreen></iframe>-->
<iframe data-url="https://www.youtube.com/embed/of45hYbkIZs?autoplay=1" frameborder="0" allowfullscreen="true"></iframe>
<button id="closeButton"></button>
</div>
+111
View File
@@ -0,0 +1,111 @@
---
title: Pear Deck Case Study
layout: basic
case_study_styles: true
cid: caseStudies
css: /css/style_peardeck.css
---
<div class="banner1">
<h1> CASE STUDY:<img src="/images/peardeck_logo.png" width="22%" style="margin-bottom:-0px"><br> <div class="subhead">Infrastructure for a Growing EdTech Startup</div></h1>
</div>
<div class="details">
Company &nbsp;<b>Pear Deck</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location &nbsp;<b>Iowa City, Iowa</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry &nbsp;<b>Educational Software</b>
</div>
<hr>
<section class="section1">
<div class="cols">
<div class="col1">
<h2>Challenge</h2>
The three-year-old startup provides a web app for teachers to interact with their students in the classroom. The JavaScript app was built on Googles web app development platform <a href="https://firebase.google.com/">Firebase</a>, using <a href="https://www.heroku.com/">Heroku</a>. As the user base steadily grew, so did the development team. "We outgrew Heroku when we started wanting to have multiple services, and the deploying story got pretty horrendous. We were frustrated that we couldnt have the developers quickly stage a version," says CEO Riley Eynon-Lynch. "Tracing and monitoring became basically impossible." On top of that, many of Pear Decks customers are behind government firewalls and connect through Firebase, not Pear Decks servers, making troubleshooting even more difficult.
</div>
<div class="col2">
<h2>Solution</h2>
In 2016, the company began moving their code from Heroku to <a href="https://www.docker.com/">Docker</a> containers running on <a href="https://cloud.google.com/container-engine/">Google Container Engine</a>, orchestrated by <a href="http://kubernetes.io/">Kubernetes</a> and monitored with <a href="https://prometheus.io/">Prometheus</a>.
<br>
<br>
<h2>Impact</h2>
The new cloud native stack immediately improved the development workflow, speeding up deployments. Prometheus gave Pear Deck "a lot of confidence, knowing that people are still logging into the app and using it all the time," says Eynon-Lynch. "The biggest impact is being able to work as a team on the configuration in git in a pull request, and the biggest confidence comes from the solidity of the abstractions and the trust that we have in Kubernetes actually making our yaml files a reality."
</div>
</div>
</section>
<div class="banner2">
<div class="banner2text">
"We didnt even realize how stressed out we were about our lack of insight into what was happening with the app. Im really excited and have more and more confidence in the actual state of our application for our actual users, and not just what the CPU graphs are saying, because of Prometheus and Kubernetes."<br><br><span style="font-size:16px;letter-spacing:2px;"> RILEY EYNON-LYNCH, CEO OF PEAR DECK</span>
</div>
</div>
<section class="section2">
<div class="fullcol">
<h2>With the speed befitting a startup, Pear Deck delivered its first prototype to customers within three months of incorporating.</h2>
As a former high school math teacher, CEO Riley Eynon-Lynch felt an urgency to provide a tech solution to classes where instructors struggle to interact with every student in a short amount of time. "Pear Deck is an app that students can use to interact with the teacher all at once," he says. "When the teacher asks a question, instead of just the kid at the front of the room answering again, everybody can answer every single question. Its a huge fundamental shift in the messaging to the students about how much we care about them and how much they are a part of the classroom."<br><br>
Eynon-Lynch and his partners quickly built a JavaScript web app on Googles web app development platform <a href="https://firebase.google.com/">Firebase</a>, and launched the minimum viable product [MVP] on <a href="https://www.heroku.com/">Heroku</a> "because it was fast and easy," he says. "We made everything as easy as we could."
<br><br>
But once it launched, the user base began growing steadily at a rate of 30 percent a month. "Our Heroku bill was getting totally insane," Eynon-Lynch says. But even more crucially, as the company hired more developers to keep pace, "we outgrew Heroku. We wanted to have multiple services and the deploying story got pretty horrendous. We were frustrated that we couldnt have the developers quickly stage a version. Tracing and monitoring became basically impossible."
<br><br>
On top of that, many of Pear Decks customers are behind government firewalls and connect through Firebase, not Pear Decks servers, making troubleshooting even more difficult.
<br><br>
The team began looking around for another solution, and finally decided in early 2016 to start moving the app from Heroku to <a href="https://www.docker.com/">Docker</a> containers running on <a href="https://cloud.google.com/container-engine/">Google Container Engine</a>, orchestrated by <a href="http://kubernetes.io/">Kubernetes</a> and monitored with <a href="https://prometheus.io/">Prometheus</a>.
</div>
</section>
<div class="banner3">
<div class="banner3text">
"When it became clear that Google Container Engine was going to have a lot of support from Google and be a fully-managed Kubernetes platform, it seemed very obvious to us that was the way to go," says Eynon-Lynch.
</div>
</div>
<section class="section3">
<div class="fullcol">
They had considered other options like Googles App Engine (which they were already using for one service) and Amazons <a href="https://aws.amazon.com/ec2/">Elastic Compute Cloud</a> (EC2), while experimenting with running one small service that wasnt accessible to the Internet in Kubernetes. "When it became clear that Google Container Engine was going to have a lot of support from Google and be a fully-managed Kubernetes platform, it seemed very obvious to us that was the way to go," says Eynon-Lynch. "We didnt really consider Terraform and the other competitors because the abstractions offered by Kubernetes just jumped off the page to us."<br><br>
Once the team started porting its Heroku apps into Kubernetes, which was "super easy," he says, the impact was immediate. "Before, to make a new version of the app meant going to Heroku and reconfiguring 10 new services, so basically no one was willing to do it, and we never staged things," he says. "Now we can deploy our exact same configuration in lots of different clusters in 30 seconds. We have a full set up thats always running, and then any of our developers or designers can stage new versions with one command, including their recent changes. We stage all the time now, and everyone stopped talking about how cool it is because its become invisible how great it is."
<br><br>
Along with Kubernetes came Prometheus. "Until pretty recently we didnt have any kind of visibility into aggregate server metrics or performance," says Eynon-Lynch. The team had tried to use GKEs <a href="https://cloud.google.com/stackdriver/">Stackdriver</a> monitoring, but had problems making it work, and considered <a href="https://newrelic.com/">New Relic</a>. When they started looking at Prometheus in the fall of 2016, "the fit between the abstractions in Prometheus and the way we think about how our system works, was so clear and obvious," he says.<br><br>
The integration with Kubernetes made set-up easy. Once Helm installed Prometheus, "We started getting a graph of the health of all our Kubernetes nodes and pods immediately. I think we were pretty hooked at that point," Eynon-Lynch says. "Then we got our own custom instrumentation working in 15 minutes, and had an actively updated count of requests that we could do, rate on and get a sense of how many users are connected at a given point. And then it was another hour before we had alarms automatically showing up in our Slack channel. All that was in one afternoon. And it was an afternoon of gasping with delight, basically!"
</div>
</section>
<div class="banner4">
<div class="banner4text">
"We started getting a graph of the health of all our Kubernetes nodes and pods immediately. I think we were pretty hooked at that point," Eynon-Lynch says. "Then we got our own custom instrumentation working in 15 minutes, and had an actively updated count of requests that we could do, rate on and get a sense of how many users are connected at a given point. And then it was another hour before we had alarms automatically showing up in our Slack channel. All that was in one afternoon. And it was an afternoon of gasping with delight, basically!"
</div>
</div>
<section class="section4">
<div class="fullcol">
With Pear Decks specific challenges—traffic through Firebase as well as government firewalls—Prometheus was a game-changer. "We didnt even realize how stressed out we were about our lack of insight into what was happening with the app," Eynon-Lynch says. Before, when a customer would report that the app wasnt working, the team had to manually investigate the problem without knowing whether customers were affected all over the world, or whether Firebase was down, and where.<br><br>
To help solve that problem, the team wrote a script that pings Firebase from several different geographical locations, and then reports the responses to Prometheus in a histogram. "A huge impact that Prometheus had on us was just an amazing sigh of relief, of feeling like we knew what was happening," he says. "It took 45 minutes to implement [the Firebase alarm] because we knew that we had this trustworthy metrics platform in Prometheus. We werent going to have to figure out, Where do we send these metrics? How do we aggregate the metrics? How do we understand them?"<br><br>
Plus, Prometheus has allowed Pear Deck to build alarms for business goals. One measures the rate of successful app loads and goes off if the days loads are less than 90 percent of the loads from seven days before. "We run a JavaScript app behind ridiculous firewalls and all kinds of crazy browser extensions messing with it—Chrome will push a feature that breaks some CSS that were using," Eynon-Lynch says. "So that gives us a lot of confidence, and we at least know that people are still logging into the app and using it all the time."<br><br>
Now, when a customer complains, and none of the alarms have gone off, the team can feel confident that its not a widespread problem. "Just to be sure, we can go and double check the graphs and say, Yep, theres currently 10,000 people connected to that Firebase node. Its definitely working. Lets investigate your network settings, customer," he says. "And we can pass that back off to our support reps instead of the whole development team freaking out that Firebase is down."<br><br>
Pear Deck is also giving back to the community, building and open-sourcing a <a href="https://github.com/peardeck/prometheus-user-metrics">metrics aggregator</a> that enables end-user monitoring in Prometheus. "We can measure, for example, the time to interactive-dom on the web clients," he says. "The users all report that to our aggregator, then the aggregator reports to Prometheus. So we can set an alarm for some client side errors."<br><br>
Most of Pear Decks services have now been moved onto Kubernetes. And all of the teams new code is going on Kubernetes. "Kubernetes lets us experiment with service configurations and stage them on a staging cluster all at once, and test different scenarios and talk about them as a development team looking at code, not just talking about the steps we would eventually take as humans," says Eynon-Lynch.
</div>
</section>
<div class="banner5">
<div class="banner5text">
"A huge impact that Prometheus had on us was just an amazing sigh of relief, of feeling like we knew what was happening. It took 45 minutes to implement [the Firebase alarm] because we knew that we had this trustworthy metrics platform in Prometheus...in terms of the cloud, Kubernetes and Prometheus have so much to offer," he says.
</div>
</div>
<section class="section5">
<div class="fullcol">
Looking ahead, the team is planning to explore autoscaling on Kubernetes. With users all over the world but mostly in the United States, there are peaks and valleys in the traffic. One service thats still on App Engine can get as many as 10,000 requests a second during the day but far less at night. "We pay for the same servers at night, so I understand theres autoscaling that we can be taking advantage of," he says. "Implementing it is a big worry, exposing the rest of our Kubernetes cluster to us and maybe messing that up. But its definitely our intention to move everything over, because now none of the developers want to work on that app anymore because its such a pain to deploy it."
<br><br>
Theyre also eager to explore the work that Kubernetes is doing with stateful sets. "Right now all of the services we run in Kubernetes are stateless, and Google basically runs our databases for us and manages backups," Eynon-Lynch says. "But were interested in building our own web-socket solution that doesnt have to be super stateful but will have maybe an hours worth of state on it."
<br><br>
That project will also involve Prometheus, for a dark launch of web socket connections. "We dont know how reliable web socket connections behind all these horrible firewalls will be to our servers," he says. "We dont know what work Firebase has done to make them more reliable. So Im really looking forward to trying to get persistent connections with web sockets to our clients and have optional tools to understand if its working. Thats our next new adventure, into stateful servers."
<br><br>
As for Prometheus, Eynon-Lynch thinks the company has only gotten started. "We havent instrumented all our important features, especially those that depend on third parties," he says. "We have to wait for those third parties to tell us theyre down, which sometimes they dont do for a long time. So Im really excited and have more and more confidence in the actual state of our application for our actual users, and not just what the CPU graphs are saying, because of Prometheus and Kubernetes."
<br><br>
For a spry startup thats continuing to grow rapidly—and yes, theyre <a href="https://www.peardeck.com/careers/">hiring</a>!—Pear Deck is notably satisfied with how its infrastructure has evolved in the cloud native ecosystem. "Usually I have some angsty thing where I want to get to the new, better technology," says Eynon-Lynch, "but in terms of the cloud, Kubernetes and Prometheus have so much to offer."
<br><br>
</div>
</section>
+2 -2
View File
@@ -31,13 +31,13 @@ cid: caseStudies
<div class="bullet">
<h4>Challenges:</h4>
<ul>
<li>Pearson had difficulty in scaling and adapting to the growing online audience. They wanted to build and deliver content primarily over the web.</li>
<li>Pearson had difficulty in scaling and adapting to the growing online audience. They wanted to build and deliver content primarily over the web.</li>
</ul>
</div>
<div class="bullet">
<h4>Why Kubernetes:</h4>
<ul>
<li>Kubernetes will allow Pearson's teams to develop their apps in a consistent manner, saving time and minimizing complexity.</li>
<li>Kubernetes will allow Pearson's teams to develop their apps in a consistent manner, saving time and minimizing complexity.</li>
</ul>
</div>
<div class="bullet">
+109
View File
@@ -0,0 +1,109 @@
---
title: Wink Case Study
layout: basic
case_study_styles: true
cid: caseStudies
css: /css/style_wink.css
---
<div class="banner1">
<h1>CASE STUDY: <img src="/images/wink_logo.png" width="13%" style="margin-bottom:-4px"><br>
<div class="subhead">Cloud-Native Infrastructure Keeps Your Smart Home Connected</div>
</h1>
</div>
<div class="details">
Company &nbsp;<b>Wink</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location &nbsp;<b>New York, N.Y.</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industry &nbsp;<b>Internet of Things Platform</b>
</div>
<hr>
<section class="section1">
<div class="cols">
<div class="col1">
<h2>Challenge</h2>
Building a low-latency, highly reliable infrastructure to serve communications between millions of connected smart-home devices and the companys consumer hubs and mobile app, with an emphasis on horizontal scalability, the ability to encrypt everything quickly and connections that could be easily brought back up if anything went wrong.
<br><br>
<h2>Solution</h2>
Across-the-board use of a Kubernetes-Docker-CoreOS Container Linux stack.<br><br>
</div>
<div class="col2">
<h2>Impact</h2>
"Two of the biggest American retailers [Home Depot and Walmart] are carrying and promoting the brand and the hardware,” Wink Head of Engineering Kit Klein says proudly though he adds that "it really comes with a lot of pressure. Its not a retail situation where you have a lot of tech enthusiasts. These are everyday people who want something that works and have no tolerance for technical excuses.” And thats further testament to how much faith Klein has in the infrastructure that the Wink team has built. With 80 percent of Winks workload running on a unified stack of Kubernetes-Docker-CoreOS, the company has put itself in a position to continually innovate and improve its products and services. Committing to this technology, says Klein, "makes building on top of the infrastructure relatively&nbsp;easy.”
</div>
</div>
</section>
<div class="banner2">
<div class="banner2text">
"Its not proprietary, its totally open, its really portable. You can run all the workloads across different cloud providers. You can easily run a hybrid AWS or even bring in your own data center. Thats the benefit of having everything unified on one open source Kubernetes-Docker-CoreOS Container Linux stack. There are massive security benefits if you only have one Linux distro/machine image to validate. The benefits are enormous because you save money, and you save time.”<br><br><span style="font-size:15px;letter-spacing:0.08em">- KIT KLEIN, HEAD OF ENGINEERING, WINK</span>
</div>
</div>
<section class="section2">
<div class="fullcol">
<h2>How many people does it take to turn on a light bulb?</h2>
Kit Klein whips out his phone to demonstrate. With a few swipes, the head of engineering at Wink pulls up the smart-home app created by the New York City-based company and taps the light button. "Honestly when youre holding the phone and youre hitting the light,” he says, "by the time you feel the pressure of your finger on the screen, its on. It takes as long as the signal to travel to your brain.”<br><br>
Sure, it takes just one finger and less than 200 milliseconds to turn on the light or lock a door or change a thermostat. But what allows Wink to help consumers manage their connected smart-home products with such speed and ease is a sophisticated, cloud native infrastructure that Klein and his team built and continue to develop using a unified stack of CoreOS, the open-source operating system designed for clustered deployments, and Kubernetes, an open-source platform for automating deployment, scaling, and operations of application containers across clusters of hosts, providing container-centric infrastructure. "When you have a big, complex network of interdependent microservices that need to be able to discover each other, and need to be horizontally scalable and tolerant to failure, thats what this is really optimized for,” says Klein. "A lot of people end up relying on proprietary services [offered by some big cloud providers] to do some of this stuff, but what you get by adopting CoreOS/Kubernetes is portability, to not be locked in to anyone. You can really make your own fate.”<br><br>
Indeed, Wink did. The companys mission statement is to make the connected home accessible that is, user-friendly for non-technical owners, affordable and perhaps most importantly, reliable. "If you cant trust that when you hit the switch, you know a light is going to go on, or if youre remote and youre checking on your house and that information isnt accurate, then the convenience of the system is lost,” says Klein. "So thats where the infrastructure comes in.”<br><br>
Wink was incubated within Quirky, a company that developed crowd-sourced inventions. The Wink app was first introduced in 2013, and at the time, it controlled only a few consumer products such as the PivotPower Strip that Quirky produced in collaboration with GE. As smart-home products proliferated, Wink was launched in 2014 in Home Depot stores nationwide. Its first project: a hub that could integrate with smart products from about a dozen brands like Honeywell and Chamberlain. The biggest challenge would be to build the infrastructure to serve all those communications between the hub and the products, with a focus on maximizing reliability and minimizing latency.<br><br>
"When we originally started out, we were moving very fast trying to get the first product to market, the minimum viable product,” says Klein. "Lots of times you go down a path and end up having to backtrack and try different things. But in this particular case, we did a lot of the work up front, which led to us making a really sound decision to deploy it on CoreOS Container Linux. And that was very early in the life of it.”
</div>
</section>
<div class="banner3">
<div class="banner3text">
"...what you get by adopting CoreOS/Kubernetes is portability, to not be locked in to anyone. You can really make your own fate.”
</div>
</div>
<section class="section3">
<div class="fullcol">
Concern number one: Winks products need to connect to consumer devices in peoples homes, behind a firewall. "You dont have an end point like a URL, and you dont even know what ports are open behind that firewall,” Klein explains. "So you essentially need to have this thing wake up and talk to your system and then open real-time, bidirectional communication between the cloud and the device. And its really, really important that its persistent because you want to decrease as much as possible the overhead of sending a message you never know when someone is going to turn on the lights.”<br><br>
With the earliest version of the Wink Hub, when you decided to turn your lights on or off, the request would be sent to the cloud and then executed. Subsequent updates to Winks software enabled local control, cutting latency down to about 10 milliseconds for many devices. But with the need for cloud-enabled integrations of an ever-growing ecosystem of smart home products, low-latency internet connectivity is still a critical consideration.
<br><br>
<h2>"You essentially need to have this thing wake up and talk to your system and then open real-time, bidirectional communication between the cloud and the device. And its really, really important that its persistent...you never know when someone is going to turn on the&nbsp;lights.”</h2>
In addition, Wink had other requirements: horizontal scalability, the ability to encrypt everything quickly, connections that could be easily brought back up if something went wrong. "Looking at this whole structure we started, we decided to make a secure socket-based service,” says Klein. "Weve always used, I would say, some sort of clustering technology to deploy our services and so the decision we came to was, this thing is going to be containerized, running on Docker.”<br><br>
At the time just over two years ago Docker wasnt yet widely used, but as Klein points out, "it was certainly understood by the people who were on the frontier of technology. We started looking at potential technologies that existed. One of the limiting factors was that we needed to deploy multi-port non-http/https services. It wasnt really appropriate for some of the early cluster technology. We liked the project a lot and we ended up using it on other stuff for a while, but initially it was too targeted toward http workloads.”<br><br>
Once Winks backend engineering team decided on a Dockerized workload, they had to make decisions about the OS and the container orchestration platform. "Obviously you cant just start the containers and hope everything goes well,” Klein says with a laugh. "You need to have a system that is helpful [in order] to manage where the workloads are being distributed out to. And when the container inevitably dies or something like that, to restart it, you have a load balancer. All sorts of housekeeping work is needed to have a robust infrastructure.”
</div>
</section>
<div class="banner4">
<div class="banner4text">
"Obviously you cant just start the containers and hope everything goes well,” Klein says with a laugh. "You need to have a system that is helpful [in order] to manage where the workloads are being distributed out to. And when the container inevitably dies or something like that, to restart it, you have a load balancer. All sorts of housekeeping work is needed to have a robust infrastructure.”
</div>
</div>
<section class="section4">
<div class="fullcol">
Wink considered building directly on a general purpose Linux distro like Ubuntu (which would have required installing tools to run a containerized workload) and cluster management systems like Mesos (which was targeted toward enterprises with larger teams/workloads), but ultimately set their sights on CoreOS Container Linux. "A container-optimized Linux distribution system was exactly what we needed,” he says. "We didnt have to futz around with trying to take something like a Linux distro and install everything. Its got a built-in container orchestration system, which is Fleet, and an easy-to-use API. Its not as feature-rich as some of the heavier solutions, but we realized that, at that moment, it was exactly what we needed.”<br><br>
Winks hub (along with a revamped app) was introduced in July 2014 with a short-term deployment, and within the first month, they had moved the service to the Dockerized CoreOS deployment. Since then, theyve moved almost every other piece of their infrastructure from third-party cloud-to-cloud integrations to their customer service and payment portals onto CoreOS Container Linux clusters. <br><br>
Using this setup did require some customization. "Fleet is really nice as a basic container orchestration system, but it doesnt take care of routing, sharing configurations, secrets, et cetera, among instances of a service,” Klein says. "All of those layers of functionality can be implemented, of course, but if you dont want to spend a lot of time writing unit files manually which of course nobody does you need to create a tool to automate some of that, which we did.”<br><br>
Wink quickly embraced the Kubernetes container cluster manager when it was launched in 2015 and integrated with CoreOS core technology, and as promised, it ended up providing the features Wink wanted and had planned to build. "If not for Kubernetes, we likely would have taken the logic and library we implemented for the automation tool that we created, and would have used it in a higher level abstraction and tool that could be used by non-DevOps engineers from the command line to create and manage clusters,” Klein says. "But Kubernetes made that totally unnecessary and is written and maintained by people with a lot more experience in cluster management than us, so all the better.” Now, an estimated 80 percent of Winks workload is run on Kubernetes on top of CoreOS Container Linux.
</div>
</section>
<div class="banner5">
<div class="banner5text">
"Stay close to the development. Understand why decisions are being made. If you understand the intent behind the project, from the technological intent to a certain philosophical intent, then it helps you understand how to build your system in harmony with those systems as opposed to trying to work against it.”
</div>
</div>
<section class="section5">
<div class="fullcol">
Winks reasons for going all in are clear: "Its not proprietary, its totally open, its really portable,” Klein says. "You can run all the workloads across different cloud providers. You can easily run a hybrid AWS or even bring in your own data center. Thats the benefit of having everything unified on one Kubernetes-Docker-CoreOS Container Linux stack. There are massive security benefits if you only have one Linux distro to try to validate. The benefits are enormous because you save money, you save time.”<br><br>
Klein concedes that there are tradeoffs in every technology decision. "Cutting-edge technology is going to be scary for some people,” he says. "In order to take advantage of this, you really have to keep up with the technology. You cant treat it like its a black box. Stay close to the development. Understand why decisions are being made. If you understand the intent behind the project, from the technological intent to a certain philosophical intent, then it helps you understand how to build your system in harmony with those systems as opposed to trying to work against it.”<br><br>
Wink, which was acquired by Flex in 2015, now controls 2.3 million connected devices in households all over the country. Whats next for the company? A new version of the hub - Wink Hub 2 - hit shelves last November and is being offered for the first time at Walmart stores in addition to Home Depot. "Two of the biggest American retailers are carrying and promoting the brand and the hardware,” Klein says proudly though he adds that "it really comes with a lot of pressure. Its not a retail situation where you have a lot of tech enthusiasts. These are everyday people who want something that works and have no tolerance for technical excuses.” And thats further testament to how much faith Klein has in the infrastructure that the Wink team has have built.<br><br>
Winks engineering team has grown exponentially since its early days, and behind the scenes, Klein is most excited about the machine learning Wink is using. "We built [a system of] containerized small sections of the data pipeline that feed each other and can have multiple outputs,” he says. "Its like data pipelines as microservices.” Again, Klein points to having a unified stack running on CoreOS Container Linux and Kubernetes as the primary driver for the innovations to come. "Youre not reinventing the wheel every time,” he says. "You can just get down to work.” </div>
</section>
+18
View File
@@ -0,0 +1,18 @@
## 如何参与 Kubernetes 文档汉化工作
我们非常欢迎,非常希望您参与 Kubernetes 文档汉化做出贡献。
您可以单击屏幕右上角的 **Fork** 按钮,在您的 Github 账户中创建一外名为 *fork* 的存储库副本。在您的分支中进行更改,当您准备好将这些更改发送给我们时,请转到您的仓库创建新的 pull 请求,让我们知道这一点。
关于更多的贡献信息,请参阅:
* [贡献于 Kubernetes 文档](http://kubernetes.io/editdocs/)
* [创建文档拉取请求](http://kubernetes.io/docs/home/contribute/create-pull-request/)
* [写一个新的话题](http://kubernetes.io/docs/contribute/write-new-topic/)
* [暂停您的文档更改](http://kubernetes.io/docs/home/contribute/stage-documentation-changes/)
* [更用页面模板](http://kubernetes.io/docs/home/contribute/page-templates/)
* [文档样式指南](http://kubernetes.io/docs/home/contribute/style-guide/)
## 谢谢您!
Kubernetes 在社区参与中茁壮成长,我们非常感谢您对我们的网站和文档的贡献!
+32
View File
@@ -0,0 +1,32 @@
{% if overview %}
{{ overview }}
{% else %}
{% include templates/_errorthrower.md missing_block='overview' purpose='provides an overview of this concept.' %}
{% endif %}
* TOC
{:toc}
{% if body %}
{{ body }}
{% else %}
{% include templates/_errorthrower.md missing_block='body' purpose='supplies the body of the page content.' %}
{% endif %}
{% if whatsnext %}
## 开始下一步
{{ whatsnext }}
{% endif %}
+2
View File
@@ -0,0 +1,2 @@
Kubernetes 文档的 [用户指南](/docs/user-guide/) 部分中的主题将被移动到 [任务](/docs/tasks/)、[教程](/docs/tutorials/)和
[概念](/docs/concepts) 部分。 本主题的内容已转移到:
+135
View File
@@ -0,0 +1,135 @@
---
approvers:
- bgrant0607
- erictune
- lavalamp
title: Kubernetes API访问控制
---
用户通过 `kubectl`、客户端库或者通过发送REST请求[访问API](/docs/user-guide/accessing-the-cluster)。 用户(自然人)和[Kubernetes服务账户](/docs/tasks/configure-pod-container/configure-service-account/) 都可以被授权进行API访问。
请求到达API服务器后会经过几个阶段,具体说明如图:
![Diagram of request handling steps for Kubernetes API request](/images/docs/admin/access-control-overview.svg)
## 传输层安全
在典型的Kubernetes集群中,API通过443端口提供服务。
API服务器会提供一份证书。 该证书一般是自签名的, 所以用户机器上的 `$USER/.kube/config` 目录通常
包含该API服务器证书的根证书,用来代替系统默认根证书。 当用户使用 `kube-up.sh` 创建集群时,该证书通常会被自动写入用户的`$USER/.kube/config`。 如果集群中存在多个用户,则创建者需要与其他用户共享证书。
## 认证
一旦 TLS 连接建立,HTTP请求就进入到了认证的步骤。即图中的步骤 **1**
集群创建脚本或集群管理员会为API服务器配置一个或多个认证模块。
更具体的认证相关的描述详见 [这里](/docs/admin/authentication/)。
认证步骤的输入是整个HTTP请求,但这里通常只是检查请求头和/或客户端证书。
认证模块支持客户端证书,密码和Plain Tokens
Bootstrap Tokens,以及JWT Tokens (用于服务账户)。
(管理员)可以同时设置多种认证模块,在设置了多个认证模块的情况下,每个模块会依次尝试认证,
直到其中一个认证成功。
在 GCE 平台中,客户端证书,密码和Plain TokensBootstrap Tokens,以及JWT Tokens同时被启用。
如果请求认证失败,则请求被拒绝,返回401状态码。
如果认证成功,则被认证为具体的 `username`,该用户名可供随后的步骤中使用。一些认证模块还提供了用户的组成员关系,另一些则没有。
尽管Kubernetes使用 "用户名" 来进行访问控制和请求记录,但它实际上并没有 `user` 对象,也不存储用户名称或其他相关信息。
## 授权
当请求被认证为来自某个特定的用户后,该请求需要被授权。 即图中的步骤 **2** 。
请求须包含请求者的用户名,请求动作,以及该动作影响的对象。 如果存在相应策略,声明该用户具有进行相应操作的权限,则该请求会被授权。
例如,如果Bob有如下策略,那么他只能够读取`projectCaribou`命名空间下的pod资源:
```json
{
"apiVersion": "abac.authorization.kubernetes.io/v1beta1",
"kind": "Policy",
"spec": {
"user": "bob",
"namespace": "projectCaribou",
"resource": "pods",
"readonly": true
}
}
```
如果Bob发起以下请求,那么请求能够通过授权,因为Bob被允许访问 `projectCaribou` 命名空间下的对象:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "projectCaribou",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
}
}
}
```
如果Bob对 `projectCaribou` 命名空间下的对象发起一个写(`create` 或者 `update`)请求,那么它的授权会被拒绝。 如果Bob请求读取(`get`) 其他命名空间,例如 `projectFish`下的对象,其授权也会被拒绝。
Kubernetes的授权要求使用通用的REST属性与现有的组织或云服务提供商的访问控制系统进行交互。 采用REST格式是必要的,因为除Kubernetes外,这些访问控制系统还可能与其他的API进行交互。
Kubernetes 支持多种授权模块,例如ABAC模式,RBAC模式和 Webhook模式。 管理员创建集群时,会配置API服务器应用的授权模块。 如果多种授权模式同时被启用,Kubernetes将检查所有模块,如果其中一种通过授权,则请求授权通过。 如果所有的模块全部拒绝,则请求被拒绝(HTTP状态码403)。
要了解更多的Kubernetes授权相关信息,包括使用授权模块创建策略的具体说明等,可参考[授权概述](/docs/admin/authorization)。
## 准入控制
准入控制模块是能够修改或拒绝请求的软件模块。
作为授权模块的补充,准入控制模块会访问被创建或更新的对象的内容。
它们作用于对象的创建,删除,更新和连接 (proxy)阶段,但不包括对象的读取。
可以同时配置多个准入控制器,它们会按顺序依次被调用。
即图中的步骤 **3** 。
与认证和授权模块不同的是,如果任一个准入控制器拒绝请求,那么整个请求会立即被拒绝。
除了拒绝请求外,准入控制器还可以为对象设置复杂的默认值。
可用的准入控制模块描述 [如下](/docs/admin/admission-controllers/)。
一旦请求通过所有准入控制器,将使用对应API对象的验证流程对其进行验证,然后写入对象存储 (如步骤 **4**)。
## API的端口和IP
上述讨论适用于发送请求到API服务器的安全端口(典型情况)。
实际上API服务器可以通过两个端口提供服务:
默认情况下,API服务器在2个端口上提供HTTP服务:
1. `Localhost Port`:
- 用于测试和启动,以及管理节点的其他组件
(scheduler, controller-manager)与API的交互
- 没有TLS
- 默认值为8080,可以通过 `--insecure-port` 标记来修改。
- 默认的IP地址为localhost, 可以通过 `--insecure-bind-address`标记来修改。
- 请求会 **绕过** 认证和鉴权模块。
- 请求会被准入控制模块处理。
- 其访问需要主机访问的权限。
2. `Secure Port`:
- 尽可能使用该端口访问
- 应用 TLS。 可以通过 `--tls-cert-file` 设置证书, 通过 `--tls-private-key-file` 设置私钥。
- 默认值为6443,可以通过 `--secure-port` 标记来修改。
- 默认IP是首个非本地的网络接口地址,可以通过 `--bind-address` 标记来修改。
- 请求会经过认证和鉴权模块处理。
- 请求会被准入控制模块处理。
- 要求认证和授权模块正常运行。
通过 `kube-up.sh`创建集群时, 对 Google Compute Engine (GCE)
和一些其他的云供应商来说, API通过443端口提供服务。 对
GCE而言,项目上配置了防火墙规则,允许外部的HTTPS请求访问API,其他(厂商的)集群设置方法各不相同。
+141
View File
@@ -0,0 +1,141 @@
---
assignees:
- erictune
- lavalamp
- deads2k
- liggitt
title: ABAC 模式
---
{% capture overview %}
基于属性的访问控制(Attribute-based access control - ABAC)定义了访问控制范例,其中通过使用将属性组合在一起的策略来向用户授予访问权限。
{% endcapture %}
{% capture body %}
## 策略文件格式
基于 `ABAC` 模式,可以这样指定策略文件 `--authorization-policy-file=SOME_FILENAME`
此文件是 JSON 格式[每行都是一个JSON对象](http://jsonlines.org/),不应存在封闭的列表或映射,每行只有一个映射。
每一行都是一个 "策略对象",策略对象是具有以下映射的属性:
- 版本控制属性:
- `apiVersion`,字符串类型: 有效值为"abac.authorization.kubernetes.io/v1beta1",允许版本控制和转换策略格式。
- `kind`,字符串类型: 有效值为 "Policy",允许版本控制和转换策略格式。
- `spec` 配置为具有以下映射的属性:
- 匹配属性:
- `user`,字符串类型; 来自 `--token-auth-file` 的用户字符串,如果你指定`user`,它必须与验证用户的用户名匹配。
- `group`,字符串类型; 如果指定`group`,它必须与经过身份验证的用户的一个组匹配,`system:authenticated`匹配所有经过身份验证的请求。`system:unauthenticated`匹配所有未经过身份验证的请求。
- 资源匹配属性:
- `apiGroup`,字符串类型; 一个 API 组。
- 例: `extensions`
- 通配符: `*`匹配所有 API 组。
- `namespace`,字符串类型; 一个命名空间。
- 例如: `kube-system`
- 通配符: `*` 匹配所有资源请求。
- `resource`,字符串类型; 资源类型。
- 例:`pods`
- 通配符: `*`匹配所有资源请求。
- 非资源匹配属性:
- `nonResourcePath`,字符串类型; 非资源请求路径。
- 例如:`/version``/apis`
- 通配符:
- `*` 匹配所有非资源请求。
- `/foo/*` 匹配`/foo/`的所有子路径。
- `readonly`,键入 boolean,如果为 true,则表示该策略仅适用于 getlist 和 watch 操作。
**注意:** 未设置的属性与类型设置为零值的属性相同(例如空字符串,0、false),然而未知的应该可读性优先。
在将来,策略可能以 JSON 格式表示,并通过 REST 界面进行管理。
## 授权算法
请求具有与策略对象的属性对应的属性。
当接收到请求时,确定属性。 未知属性设置为其类型的零值(例如: 空字符串,0,false)。
设置为`“*"`的属性将匹配相应属性的任何值。
检查属性的元组,以匹配策略文件中的每个策略。 如果至少有一行匹配请求属性,则请求被授权(但可能会在稍后验证失败)。
要允许任何经过身份验证的用户执行某些操作,请将策略组属性设置为 `"system:authenticated“`
要允许任何未经身份验证的用户执行某些操作,请将策略组属性设置为`"system:authentication“`
要允许用户执行任何操作,请使用 apiGroup,命名空间,
资源和 nonResourcePath 属性设置为 `“*"`的策略.
要允许用户执行任何操作,请使用设置为`“*”` 的 apiGroupnamespaceresource 和 nonResourcePath 属性编写策略。
## Kubectl
Kubectl 使用 api-server 的 `/api``/apis` 端点进行协商客户端/服务器版本。 通过创建/更新来验证发送到API的对象操作,kubectl 查询某些 swagger 资源。 对于API版本"v1", 那就是`/swaggerapi/api/v1` `/swaggerapi/ experimental/v1`
当使用 ABAC 授权时,这些特殊资源必须明确通过策略中的 `nonResourcePath` 属性暴露出来(参见下面的[例子](#examples)):
* `/api``/api/*``/apis``/apis/*` 用于 API 版本协商.
* `/version` 通过 `kubectl version` 检索服务器版本.
* `/swaggerapi/*` 用于创建/更新操作.
要检查涉及到特定kubectl操作的HTTP调用,您可以调整详细程度:
kubectl --v=8 version
## 例子
1. Alice 可以对所有资源做任何事情:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "alice", "namespace": "*", "resource": "*", "apiGroup": "*"}}
```
2. Kubelet 可以读取任何pod:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "kubelet", "namespace": "*", "resource": "pods", "readonly": true}}
```
3. Kubelet 可以读写事件:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "kubelet", "namespace": "*", "resource": "events"}}
```
4. Bob 可以在命名空间“projectCaribou"中读取 pod:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "bob", "namespace": "projectCaribou", "resource": "pods", "readonly": true}}
```
5. 任何人都可以对所有非资源路径进行只读请求:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group": "system:authenticated", "readonly": true, "nonResourcePath": "*"}}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group": "system:unauthenticated", "readonly": true, "nonResourcePath": "*"}}
```
[完整文件示例](http://releases.k8s.io/{{page.githubbranch}}/pkg/auth/authorizer/abac/example_policy_file.jsonl)
## 服务帐户的快速说明
服务帐户自动生成用户。 用户名是根据命名约定生成的:
```shell
system:serviceaccount:<namespace>:<serviceaccountname>
```
创建新的命名空间也会导致创建一个新的服务帐户:
```shell
system:serviceaccount:<namespace>:default
```
例如,如果要将 API 的 kube-system 完整权限中的默认服务帐户授予,则可以将此行添加到策略文件中:
```json
{"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"system:serviceaccount:kube-system:default","namespace":"*","resource":"*","apiGroup":"*"}}
```
需要重新启动 apitorver 以获取新的策略行.
{% endcapture %}
{% include templates/concept.md %}
+155
View File
@@ -0,0 +1,155 @@
---
assignees:
- erictune
- lavalamp
- deads2k
- liggitt
title: 概述
---
{% capture overview %}
学习有关 Kubernetes 授权的更多信息,包括有关使用支持的授权模块创建策略的详细信息。
{% endcapture %}
{% capture body %}
在 Kubernetes 里,您必须经过身份验证(登录),才能授权您的请求(授予访问权限).。有关认证的信息,请参阅[访问控制概述](/docs/admin/access-the-api/)。
Kubernetes 提供通用的 REST API 请求。这意味着 Kubernetes 授权可以与现有的组织或云提供商的访问控制系统一起使用,该系统可以处理除 Kubernetes API 之外的其他 API。
## 确定请求是允许还是被拒绝
Kubernetes 使用 API 服务器授权 API 请求。它根据所有策略评估所有请求属性,并允许或拒绝请求。某些策略必须允许 API 请求的所有部分继续进行,这意味着默认情况下是拒绝权限。
(虽然 Kubernetes 使用 API ​​服务器,访问控制和依赖特定类型对象的特定领域策略由 Admission 控制器处理。)
当配置多个授权模块时,按顺序检查每个模块,如果有任何模块授权请求,则可以继续执行该请求。如果所有模块拒绝请求,则拒绝该请求(HTTP状态代码403)。
## 查看您的请求属性
Kubernetes 仅查看以下API请求属性:
* **user** - 验证期间提供的 `user` 字符串
* **group** - 认证用户所属的组名列表
* **“extra"** - 由认证层提供的任意字符串键到字符串值的映射
* **API** - 指示请求是否用于API资源
* **Request path** - 诸如`/api``/healthz`的其他非资源端点的路径(请参阅[kubectl](#kubectl)).
* **API request verb** - API 动词 `get``list``create``update``patch``watch``proxy``redirect``delete``deletecollection`用于资源请求。要确定资源 API 端点的请求动词,请参阅**确定下面的请求动词**.
* **HTTP request verb** - HTTP动词`get``post``put``delete`用于非资源请求
* **Resource** - 正在访问的资源的ID或名称(仅适用于资源请求)
--* 对于使用`get`, `update`, `patch`, 和 `delete`动词的资源请求,您必须提供资源名称。
* **Subresource** - 正在访问的子资源(仅用于资源请求)
* **Namespace** - 正在被访问的对象的命名空间(仅针对命名空间的资源请求)
* **API group** - 正在访问的API组(仅用于资源请求). 一个空字符串指定[核心 API 组](/docs/api/).
## 确定请求动词
要确定资源 API 端点的请求动词,请查看所使用的HTTP动词以及请求是否对单个资源或资源集合进行操作:
HTTP动词| 请求动词
---------- | ---------------
POST | 创建
GETHEAD | 获取(个人资源),列表(集合)
PUT | 更新
PATCH | 补丁
DELETE| 删除(个人资源),删除(收藏)
Kubernetes 有时会使用专门的动词检查授权以获得额外的权限。例如:
* [PodSecurityPolicy](/docs/concepts/policy/pod-security-policy/)在`extensions` API组中的`podsecuritypolicies`资源上检查`use`动词的授权。
* [RBAC](/docs/admin/authorization/rbac/#privilege-escalation-prevention-and-bootstrapping) 在`rbac.authorization.k8s.io` API组中的`roles``clusterroles`资源上检查`bind`动词的授权。
* [认证](/docs/admin/authentication/) 在核心API组中的`users``groups``serviceaccounts`上的`impersonate`动词的授权以及`authentication.k8s.io` API组中的`userextras`进行层次检查。
## 授权模块
* **ABAC模式** - 基于属性的访问控制(ABAC)定义了访问控制范例,通过使用将属性组合在一起的策略来授予用户访问权限。策略可以使用任何类型的属性(用户属性,资源属性,对象,环境属性等)。要了解有关使用ABAC模式的更多信息,请参阅[ABAC模式](/docs/admin/authorization/abac/)
* **RBAC模式** - 基于角色的访问控制(RBAC)是一种根据企业内个人用户的角色来调整对计算机或网络资源的访问的方法。在这种情况下,访问是单个用户执行特定任务(例如查看,创建或修改文件)的能力。要了解有关使用RBAC模式的更多信息,请参阅[RBAC模式](/docs/admin/authorization/rbac/)
*当指定 "RBAC"(基于角色的访问控制)使用 "rbac.authorization.k8s.io" API组来驱动授权决定时,允许管理员通过Kubernetes API动态配置权限策略.
.. *截至1.6 RBAC模式是测试版.
.. *要启用RBAC,请使用 `--authorization-mode=RBAC` 启动 apiserver.
* **Webhook模式** - WebHook 是HTTP回调:发生事件时发生的HTTP POST; 通过HTTP POST简单的事件通知. 实施 WebHooks 的 Web 应用程序将在某些事情发生时向URL发送消息. 要了解有关使用Webhook模式的更多信息,请参阅[Webhook模式](/docs/admin/authorization/webhook/)
* **自定义模块** - 您可以创建使用Kubernetes的自定义模块. 要了解更多信息,请参阅下面的**自定义模块**。
### 自定义模块
可以相当容易地开发其他实现,APIserver 调用 Authorizer 接口:
```go
type Authorizer interface {
Authorize(a Attributes) error
}
```
以确定是否允许每个API操作.
授权插件是实现此接口的模块.授权插件代码位于 `pkg/auth/authorizer/$MODULENAME` 中。
授权模块可以完全实现,也可以拨出远程授权服务。 授权模块可以实现自己的缓存,以减少具有相同或相似参数的重复授权调用的成本。 开发人员应该考虑缓存和撤销权限之间的交互。
#### 检查API访问
Kubernetes 将 `subjectaccessreviews.v1.authorization.k8s.io` 资源公开为允许外部访问API授权者决策的普通资源。 无论您选择使用哪个授权器,您都可以使用`SubjectAccessReview`发出一个`POST`,就像webhook授权器的`apis/authorization.k8s.io/v1/subjectaccessreviews` 端点一样,并回复一个响应。 例如:
```bash
kubectl create --v=8 -f - << __EOF__
{
"apiVersion": "authorization.k8s.io/v1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "kittensandponies",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
},
"user": "jane",
"group": [
"group1",
"group2"
],
"extra": {
"scopes": [
"openid",
"profile"
]
}
}
}
__EOF__
--- snip lots of output ---
I0913 08:12:31.362873 27425 request.go:908] Response Body: {"kind":"SubjectAccessReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null},"spec":{"resourceAttributes":{"namespace":"kittensandponies","verb":"GET","group":"unicorn.example.org","resource":"pods"},"user":"jane","group":["group1","group2"],"extra":{"scopes":["openid","profile"]}},"status":{"allowed":true}}
subjectaccessreview "" created
```
这对于调试访问问题非常有用,因为您可以使用此资源来确定授权者授予哪些访问权限。
## 为您的授权模块使用标志
您的策略中必须包含一个标志,以指出您的策略包含哪个授权模块:
可以使用以下标志:
- `--authorization-mode=ABAC` 基于属性的访问控制(ABAC)模式允许您使用本地文件配置策略。
- `--authorization-mode=RBAC` 基于角色的访问控制(RBAC)模式允许您使用Kubernetes API创建和存储策略.
- `--authorization-mode=Webhook` WebHook是一种HTTP回调模式,允许您使用远程REST管理授权。
- `--authorization-mode=AlwaysDeny` 此标志阻止所有请求. 仅使用此标志进行测试。
- `--authorization-mode=AlwaysAllow` 此标志允许所有请求. 只有在您不需要API请求授权的情况下才能使用此标志。
您可以选择多个授权模块. 如果其中一种模式为 `AlwaysAllow`,则覆盖其他模式,并允许所有API请求。
## 版本控制
对于版本 1.2,配置了 kube-up.sh 创建的集群,以便任何请求都不需要授权。
从版本 1.3 开始,配置由 kube-up.sh 创建的集群,使得 ABAC 授权模块处于启用状态。但是,其输入文件最初设置为允许所有用户执行所有操作,集群管理员需要编辑该文件,或者配置不同的授权器来限制用户可以执行的操作。
{% endcapture %}
{% capture whatsnext %}
* 要学习有关身份验证的更多信息,请参阅**身份验证**[控制访问 Kubernetes API](docs/admin/access-the-api/)。
* 要了解有关入学管理的更多信息,请参阅[使用 Admission 控制器](docs/admin/admission-controllers/)。
*
{% endcapture %}
{% include templates/concept.md %}
+18
View File
@@ -0,0 +1,18 @@
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: prometheus-node-exporter
spec:
template:
metadata:
name: prometheus-node-exporter
labels:
daemon: prom-node-exp
spec:
containers:
- name: c
image: prom/prometheus
ports:
- containerPort: 9090
hostPort: 9090
name: serverport
+215
View File
@@ -0,0 +1,215 @@
---
title: 构建高可用集群
---
## 简介
本文描述了如何构建一个高可用(high-availability, HA)的Kubernetes集群。这是一个非常高级的主题。
对于仅希望使用Kubernetes进行试验的用户,推荐使用更简单的配置工具进行搭建,例如:
[Minikube](/docs/getting-started-guides/minikube/),或者尝试使用[Google Container Engine](https://cloud.google.com/container-engine/) 来运行Kubernetes。
此外,当前在我们的端到端(e2e)测试环境中,没有对Kubernetes高可用的支持进行连续测试。我们将会增加这个连续测试项,但当前对单节点master的安装测试得更加严格。
* TOC
{:toc}
## 概览
搭建一个正真可靠,高度可用的分布式系统需要若干步骤。这类似于穿上内衣,裤子,皮带,背带,另一套内衣和另一套裤子。我们会详细介绍每一个步骤,但先在这里给出一个总结来帮助指导用户。
相关步骤如下:
* [创建可靠的组成节点,共同形成我们的高可用主节点实现。](#可靠的节点)
* [使用etcd集群,搭建一个冗余的,可靠的存储层。](#建立一个冗余的,可靠的存储层)
* [启动具有备份和负载均衡能力的Kubernetes API 服务](#复制的API服务)
* [搭建运行master选举的Kubernetes scheduler和controller-manager守护程序](#进行master选举的组件)
系统完成时看起来应该像这样:
![High availability Kubernetes diagram](/images/docs/ha.svg)
## 初始配置
本文假设你正在搭建一个3节点的主节点集群,每个节点上都运行者某种Linux系统。
指南中的示例使用Debian发行版,但它们应该可以被轻松移植到其他发行版上。
同样的,不管在公有云还是私有云亦或是裸机上,这个配置都应该可以运行。
从一个现成的单主节点集群开始是实现一个高可用Kubernetes集群的最简单的方法。这篇指导 [https://get.k8s.io](https://get.k8s.io) 描述了在多种平台上方便的安装一个单主节点集群的方法。
## 可靠的节点
我们在每个主节点上都将运行数个实现Kubernetes API的进程。使他们可靠的第一步是保证在发生故障时,每一个进程都可以自动重启。为了实现这个目标,我们需要安装一个进程监视器。我们选择了在每个工作者节点上都会运行的`kubelet`进程。这会带来便利性,因为我们使用了容器来分发我们的二进制文件,所以我们能够为每一个守护程序建立资源限制并省查它们的资源消耗。当然,我们也需要一些手段来监控kubelete本身(在此监测监控者本身是一个有趣的话题)。对于Debian系统我们选择了monit,但也有许多可替代的工具。例如在基于systemd的系统上(如RHEL, CentOS),你可以运行 'systemctl enable kubelet'。
如果你是从标准的Kubernetes安装扩展而来,那么`kubelet`二进制文件应该已经存在于你的系统中。你可以运行`which kubelet`来判断是否确实安装了这个二进制文件。如果没有安装的话,你应该手动安装 [kubelet binary](https://storage.googleapis.com/kubernetes-release/release/v0.19.3/bin/linux/amd64/kubelet),
[kubelet init file](http://releases.k8s.io/{{page.githubbranch}}/cluster/saltbase/salt/kubelet/initd) 和 [default-kubelet](/docs/admin/high-availability/default-kubelet)脚本。
如果使用monit,你还需要安装monit守护程序(`apt-get install monit`)以及[monit-kubelet](/docs/admin/high-availability/monit-kubelet) 和
[monit-docker](/docs/admin/high-availability/monit-docker) 配置。
在使用systemd的系统上,你可以执行 `systemctl enable kubelet``systemctl enable docker`
## 建立一个冗余的,可靠的存储层
高可用方案的中心基础是一个冗余的,可靠的存储层。高可用的头条规则是保护数据。不管发生了什么,不管什么着了火,只要还有数据,你就可以重建。如果丢掉了数据,你就完了。
集群化的etcd已经把你存储的数据复制到了你集群中的所有主节点实例上。这意味着如果要想丢失数据,三个节点的物理(或虚拟)硬盘需要全部同时故障。这种情况发生的概率是比较低的,所以对于许多人来说,运行一个复制的etcd集群可能已经足够的可靠了。你可以将集群数量从3个增大到5个来增加集群的可靠性。如果那样还不够,你可以添加[更多的可靠性到你的存储层](#更加可靠的存储)。
### 集群化etcd
集群化etcd的完整细节超出了本文范围,你可以在[etcd clustering page](https://github.com/coreos/etcd/blob/master/Documentation/op-guide/clustering.md)找到许多详细内容。这个例子仅走查一个简单的集群建立过程,使用etcd内置的发现功能来构建我们的集群。
首先,调用etcd发现服务来创建一个新令牌:
```shell
curl https://discovery.etcd.io/new?size=3
```
在每个节点上,拷贝 [etcd.yaml](/docs/admin/high-availability/etcd.yaml) 文件到`/etc/kubernetes/manifests/etcd.yaml`
每个节点上的kubelet会动态的监控这个文件夹的内容,并且会按照`etcd.yaml`里对pod的定义创建一个`etcd`服务的实例。
请注意,你应该使用上文中获取的令牌URL替换全部三个节点上`etcd.yaml`中的`${DISCOVERY_TOKEN}`项。同时还应该将每个节点上的 `${NODE_NAME}`替换为一个不同的名字(例如:`node-1`),并将 `${NODE_IP}`替换为正确的IP地址。
#### 验证你的集群
如果已经将这个文件拷贝到所有三个节点,你应该已经搭建起了一个集群化的etcd。你可以在主节点上进行验证:
```shell
kubectl exec < pod_name > etcdctl member list
```
```shell
kubectl exec < pod_name > etcdctl cluster-health
```
你也可以在一个节点上运行 `etcdctl set foo bar`,在另一个节点上运行`etcdctl get foo`来验证集群是否工作正常。
### 更加可靠的存储
当然,如果你对增加数据的可靠性感兴趣,这里还有一些更深入的选项可以使etcd把它的数据存放在比常规硬盘更可靠的地方(裤带和背带,ftw!)。
如果你使用云服务,那么你的提供商通常会为你提供这个特性,例如Google Cloud Platform上的 [Persistent Disk](https://cloud.google.com/compute/docs/disks/persistent-disks) 。它们是可以挂载到你的虚拟机中的块设备持久化存储。其他的云服务提供商提供了类似的解决方案。
如果运行于物理机之上,你仍然可以使用iSCSI或者NFS接口通过网络来连接冗余存储。
此外,你还可以运行一个集群文件系统,比如Gluster或者Ceph。最后,你还可以在你的每个物理机器上运行RAID矩阵。
不管你选择如何实现,如果已经选择了使用其中的一个选项,那么你应该保证你的存储被挂载到了每一台机器上。如果你的存储在集群中的三个主节点之间共享,那么你应该在存储上为每一个节点创建一个不同的文件夹。对于所有的这些指导,我们都假设这个存储被挂载到你机器上的`/var/etcd/data`路径。
## 复制的API服务
在正确搭建复制的etcd之后,我们还需要使用kubelet安装apiserver。
首先,你需要创建初始的日志文件,这样Docker才会挂载一个文件而不是一个文件夹:
```shell
touch /var/log/kube-apiserver.log
```
接下来,你需要在每个节点上创建一个`/srv/kubernetes/`文件夹。这个文件夹包含:
* basic_auth.csv - 基本认证的用户名和密码
* ca.crt - CA证书
* known_tokens.csv - 实体(例如kubelet)用来和apiserver通信的令牌
* kubecfg.crt - 客户端证书,公钥
* kubecfg.key - 客户端证书,私钥
* server.cert - 服务端证书,公钥
* server.key - 服务端证书,私钥
创建这个文件夹最简单的方法可以是从一个工作正常的集群的主节点拷贝,或者你也可以手动生成它们。
### 启动API服务
一旦这些文件已经存在了,拷贝 [kube-apiserver.yaml](/docs/admin/high-availability/kube-apiserver.yaml) 到每个主节点的 `/etc/kubernetes/manifests/`文件夹。
kubelet会监控这个文件夹,并且会按照文件里对pod的定义创建一个`kube-apiserver`容器。
### 负载均衡
现在,你应该有3个全部正常工作的apiserver了。如果搭建了网络负载均衡器,你应该能够通过那个负载均衡器访问你的集群,并且看到负载在apiserver实例间分发。设置负载均衡器依赖于你的平台的实际情况,例如对于Google Cloud Platform的指导可以在[这里](https://cloud.google.com/compute/docs/load-balancing/)找到。
请注意,如果使用了身份认证,你可能需要重新生成你的证书,除每个节点的IP地址外额外包含负载均衡器的IP地址。
对于部署在集群中的pods `kubernetes`服务/dns名称应该自动的为主节点提供了负载均衡的endpoint。
对于使用API的外部用户(如命令行运行的`kubectl`,持续集成管道或其他客户端)你会希望将他们配置成为访问外部负载均衡器的地址。
## 进行Master选举的组件
到目前为止,我们已经搭建了状态存储,也搭建好了API服务,但我们还没有运行任何真正改变集群状态的服务,比如controller manager和scheduler。为了可靠的实现这个目标,我们希望在同一时间只有一个参与者在修改集群状态。但是我们希望复制这些参与者的实例以防某个机器宕机。要做到这一点,我们打算在API中使用一个lease-lock来执行master选举。我们会对每一个scheduler和controller-manager使用`--leader-elect`标志,从而在API中使用一个租约来保证同一时间只有一个scheduler和controller-manager的实例正在运行。
scheduler和controller-manager可以配置为只和位于它们相同节点(即127.0.0.1)上的API服务通信,也可以配置为使用API服务的负载均衡器的IP地址。不管它们如何配置,当使用`--leader-elect` 时scheduler和controller-manager都将完成上文提到的leader选举过程。
为了防止访问API服务失败,选举出的leader不能通过更新租约来选举一个新的leader。当scheduler和controller-manager通过127.0.0.1访问API服务,而相同节点上的API服务不可用时,这一点相当重要。
### 安装配置文件
首先,在每个节点上创建空白日志文件,这样Docker就会挂载这些文件而不是创建一个新文件夹:
```shell
touch /var/log/kube-scheduler.log
touch /var/log/kube-controller-manager.log
```
接下来,在每个节点上配置scheduler和controller manager pods的描述文件。拷贝 [kube-scheduler.yaml](/docs/admin/high-availability/kube-scheduler.yaml) 和 [kube-controller-manager.yaml](/docs/admin/high-availability/kube-controller-manager.yaml) 到`/etc/kubernetes/manifests/` 文件夹。
## 结尾
此时,你已经完成了master组件的配置(耶!),但你还需要添加工作者节点(噗!)。
如果你有一个现成的集群,你只需要在每个节点上简单的重新配置你的kubeletes连接到负载均衡的endpoint并重启它们。
如果你搭建的是一个全新的集群,你将需要在每个工作节点上安装kubelet和kube-proxy,并设置 `--apiserver`指向复制的endpoint。
+233
View File
@@ -0,0 +1,233 @@
---
title: kube-apiserver
notitle: true
---
## kube-apiserver
### 概要
Kubernetes API server 为 api 对象验证并配置数据,包括 pods、 services、 replicationcontrollers和其它 api 对象。API Server 提供 REST 操作和到集群共享状态的前端,所有其他组件通过它进行交互。
```
kube-apiserver
```
### 选项
```
--admission-control stringSlice 控制资源进入集群的准入控制插件的顺序列表。逗号分隔的NamespaceLifecycle列表。(默认值[AlwaysAdmit])
--admission-control-config-file string 包含准入控制配置的文件。
--advertise-address ip 向集群成员通知apiserver消息的IP地址。这个地址必须能够被集群中其他成员访问。如果IP地址为空,将会使用--bind-address,如果未指定--bind-address,将会使用主机的默认接口地址。
--allow-privileged 如果为true, 将允许特权容器.
--anonymous-auth 启用到API server的安全端口的匿名请求。未被其他认证方法拒绝的请求被当做匿名请求。匿名请求的用户名为system:anonymous,用户组名为system:unauthenticated。(默认值true
--apiserver-count int 集群中运行的apiserver数量,必须为正数。(默认值1)
--audit-log-maxage int 基于文件名中的时间戳,旧审计日志文件的最长保留天数。
--audit-log-maxbackup int 旧审计日志文件的最大保留个数.
--audit-log-maxsize int 审计日志被轮转前的最大兆字节数。
--audit-log-path string 如果设置该值,所有到apiserver的请求都将会被记录到这个文件。'-'表示记录到标准输出。
--audit-policy-file string 定义审计策略配置的文件的路径。需要打开'AdvancedAuditing'特性开关。AdvancedAuditing需要一个配置来启用审计功能。
--audit-webhook-config-file string 一个具有kubeconfig格式文件的路径,该文件定义了审计的webhook配置。需要打开'AdvancedAuditing'特性开关。
--audit-webhook-mode string 发送审计事件的策略。 Blocking模式表示正在发送事件时应该阻塞服务器的响应。 Batch模式使webhook异步缓存和发送事件。 Known模式为batch,blocking。 (默认值"batch")
--authentication-token-webhook-cache-ttl duration 从webhook令牌认证者获取的响应的缓存时长。(默认值2m0s)
--authentication-token-webhook-config-file string 包含webhook配置的文件,用于令牌认证,具有kubeconfig格式。API server将查询远程服务来决定对bearer令牌的认证。
--authorization-mode string 在安全端口上进行权限验证的插件的顺序列表。以逗号分隔的列表,包括:AlwaysAllow,AlwaysDeny,ABAC,Webhook,RBAC,Node.(默认值"AlwaysAllow"
--authorization-policy-file string 包含权限验证策略的csv文件,和--authorization-mode=ABAC一起使用,作用在安全端口上。
--authorization-webhook-cache-authorized-ttl duration 从webhook授权者获得的'authorized'响应的缓存时长。(默认值5m0s)
--authorization-webhook-cache-unauthorized-ttl duration 从webhook授权者获得的'unauthorized'响应的缓存时长。(默认值30s)
--authorization-webhook-config-file string 包含webhook配置的kubeconfig格式文件,和--authorization-mode=Webhook一起使用。API server将查询远程服务来决定对API server安全端口的访问。
--azure-container-registry-config string 包含Azure容器注册表配置信息的文件的路径。
--basic-auth-file string 如果设置该值,这个文件将会被用于准许通过http基本认证到API server安全端口的请求。
--bind-address ip 监听--seure-port的IP地址。被关联的接口必须能够被集群其它节点和CLI/web客户端访问。如果为空,则将使用所有接口(0.0.0.0)。(默认值0.0.0.0
--cert-dir string 存放TLS证书的目录。如果提供了--tls-cert-file和--tls-private-key-file选项,该标志将被忽略。(默认值 "/var/run/kubernetes"
--client-ca-file string 如果设置此标志,对于任何请求,如果存包含client-ca-file中的authorities签名的客户端证书,将会使用客户端证书中的CommonName对应的身份进行认证。
--cloud-config string 云服务提供商配置文件路径。空字符串表示无配置文件.
--cloud-provider string 云服务提供商,空字符串表示无提供商。
--contention-profiling 如果已经启用profiling,则启用锁竞争profiling。
--cors-allowed-origins stringSlice CORS的域列表,以逗号分隔。合法的域可以是一个匹配子域名的正则表达式。如果这个列表为空则不会启用CORS.
--delete-collection-workers int 用于DeleteCollection调用的工作者数量。这被用于加速namespace的清理。(默认值1)
--deserialization-cache-size int 在内存中缓存的反序列化json对象的数量。
--enable-aggregator-routing 打开到endpoints IP的aggregator路由请求,替换cluster IP。
--enable-garbage-collector 启用通用垃圾回收器. 必须与kube-controller-manager对应的标志保持同步。 (默认值true)
--enable-logs-handler 如果为true,则为apiserver日志功能安装一个/logs处理器。(默认值true)
--enable-swagger-ui 在apiserver的/swagger-ui路径启用swagger ui。
--etcd-cafile string 用于保护etcd通信的SSL CA文件。
--etcd-certfile string 用于保护etcd通信的的SSL证书文件。
--etcd-keyfile string 用于保护etcd通信的SSL密钥文件.
--etcd-prefix string 附加到所有etcd中资源路径的前缀。 (默认值"/registry"
--etcd-quorum-read 如果为true, 启用quorum读。
--etcd-servers stringSlice 连接的etcd服务器列表,形式为(scheme://ip:port),使用逗号分隔。
--etcd-servers-overrides stringSlice 针对单个资源的etcd服务器覆盖配置, 以逗号分隔。 单个配置覆盖格式为: group/resource#servers, 其中servers形式为http://ip:port, 以分号分隔。
--event-ttl duration 事件驻留时间。(默认值1h0m0s)
--experimental-bootstrap-token-auth 启用此选项以允许'kube-system'命名空间中的'bootstrap.kubernetes.io/token'类型密钥可以被用于TLS的启动认证。
--experimental-encryption-provider-config string 包含加密提供程序的配置的文件,该加密提供程序被用于在etcd中保存密钥。
--experimental-keystone-ca-file string 如果设置该值,将会使用experimental-keystone-ca-file中的一个authority对Keystone服务的证书进行验证,否则将会使用主机的根CA进行验证。
--experimental-keystone-url string 如果设置了该值,将启用keystone认证插件。
--external-hostname string 为此master生成外部URL时使用的主机名(例如Swagger API文档)。
--feature-gates mapStringBool 一个描述alpha/experimental特性开关的键值对列表。 选项包括:
Accelerators=true|false (ALPHA - default=false)
AdvancedAuditing=true|false (ALPHA - default=false)
AffinityInAnnotations=true|false (ALPHA - default=false)
AllAlpha=true|false (ALPHA - default=false)
AllowExtTrafficLocalEndpoints=true|false (default=true)
AppArmor=true|false (BETA - default=true)
DynamicKubeletConfig=true|false (ALPHA - default=false)
DynamicVolumeProvisioning=true|false (ALPHA - default=true)
ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false)
ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false)
LocalStorageCapacityIsolation=true|false (ALPHA - default=false)
PersistentLocalVolumes=true|false (ALPHA - default=false)
RotateKubeletClientCertificate=true|false (ALPHA - default=false)
RotateKubeletServerCertificate=true|false (ALPHA - default=false)
StreamingProxyRedirects=true|false (BETA - default=true)
TaintBasedEvictions=true|false (ALPHA - default=false)
--google-json-key string 用于认证的Google Cloud Platform服务账号的JSON密钥。
--insecure-allow-any-token username/group1,group2 如果设置该值, 你的服务将处于非安全状态。任何令牌都将会被允许,并将从令牌中把用户信息解析成为username/group1,group2。
--insecure-bind-address ip 用于监听--insecure-port的IP地址 (设置成0.0.0.0表示监听所有接口)。(默认值127.0.0.1)
--insecure-port int 用于监听不安全和为认证访问的端口。这个配置假设你已经设置了防火墙规则,使得这个端口不能从集群外访问。对集群的公共地址的443端口的访问将被代理到这个端口。默认设置中使用nginx实现。(默认值8080)
--kubelet-certificate-authority string 证书authority的文件路径。
--kubelet-client-certificate string 用于TLS的客户端证书文件路径。
--kubelet-client-key string 用于TLS的客户端证书密钥文件路径.
--kubelet-https 为kubelet启用https。 (默认值true
--kubelet-preferred-address-types stringSlice 用于kubelet连接的首选NodeAddressTypes列表。 (默认值[Hostname,InternalDNS,InternalIP,ExternalDNS,ExternalIP])
--kubelet-read-only-port uint 已废弃: kubelet端口. (默认值10255
--kubelet-timeout duration kubelet操作超时时间。(默认值
5s
--kubernetes-service-node-port int 如果不为0Kubernetes master服务(用于创建/管理apiserver)将会使用NodePort类型,并将这个值作为端口号。如果为0,Kubernetes master服务将会使用ClusterIP类型。
--master-service-namespace string 已废弃: 注入到pod中的kubernetes master服务的命名空间。(默认值"default"
--max-connection-bytes-per-sec int 如果不为0,每个用户连接将会被限速为该值(bytes/sec)。当前只应用于长时间运行的请求。
--max-mutating-requests-inflight int 在给定时间内进行中可变请求的最大数量。当超过该值时,服务将拒绝所有请求。0值表示没有限制。(默认值200)
--max-requests-inflight int 在给定时间内进行中不可变请求的最大数量。当超过该值时,服务将拒绝所有请求。0值表示没有限制。(默认值400)
--min-request-timeout int 一个可选字段,表示一个handler在一个请求超时前,必须保持它处于打开状态的最小秒数。当前只对监听请求handler有效,它基于这个值选择一个随机数作为连接超时值,以达到分散负载的目的(默认值1800)。
--oidc-ca-file string 如果设置该值,将会使用oidc-ca-file中的任意一个authority对OpenID服务的证书进行验证,否则将会使用主机的根CA对其进行验证。
--oidc-client-id string 使用OpenID连接的客户端的ID,如果设置了oidc-issuer-url,则必须设置这个值。
--oidc-groups-claim string 如果提供该值,这个自定义OpenID连接名将指定给特定的用户组。该声明值需要是一个字符串或字符串数组。此标志为实验性的,请查阅验证相关文档进一步了解详细信息。
--oidc-issuer-url string OpenID颁发者URL,只接受HTTPS方案。如果设置该值,它将被用于验证OIDC JSON Web Token(JWT)。
--oidc-username-claim string 用作用户名的OpenID声明值。注意,不保证除默认 ('sub')外的其他声明值的唯一性和不变性。此标志为实验性的,请查阅验证相关文档进一步了解详细信息。
--profiling 在web接口host:port/debug/pprof/上启用profiling。(默认值true
--proxy-client-cert-file string 当必须调用外部程序时,用于证明aggregator或者kube-apiserver的身份的客户端证书。包括代理到用户api-server的请求和调用webhook准入控制插件的请求。它期望这个证书包含一个来自于CA中的--requestheader-client-ca-file标记的签名。该CA在kube-system命名空间的'extension-apiserver-authentication' configmap中发布。从Kube-aggregator收到调用的组件应该使用该CA进行他们部分的双向TLS验证。
--proxy-client-key-file string 当必须调用外部程序时,用于证明aggregator或者kube-apiserver的身份的客户端证书密钥。包括代理到用户api-server的请求和调用webhook准入控制插件的请求。
--repair-malformed-updates 如果为true,服务将会尽力修复更新请求以通过验证,例如:将更新请求UID的当前值设置为空。在我们修复了所有发送错误格式请求的客户端后,可以关闭这个标志。
--requestheader-allowed-names stringSlice 使用--requestheader-username-headers指定的,允许在头部提供用户名的客户端证书通用名称列表。如果为空,任何通过--requestheader-client-ca-file中authorities验证的客户端证书都是被允许的。
--requestheader-client-ca-file string 在信任请求头中以--requestheader-username-headers指示的用户名之前,用于验证接入请求中客户端证书的根证书捆绑。
--requestheader-extra-headers-prefix stringSlice 用于检查的请求头的前缀列表。建议使用X-Remote-Extra-。
--requestheader-group-headers stringSlice 用于检查群组的请求头列表。建议使用X-Remote-Group.
--requestheader-username-headers stringSlice 用于检查用户名的请求头列表。建议使用X-Remote-User。
--runtime-config mapStringString 传递给apiserver用于描述运行时配置的键值对集合。 apis/<groupVersion>键可以被用来打开/关闭特定的api版本。apis/<groupVersion>/<resource>键被用来打开/关闭特定的资源. api/all和api/legacy键分别用于控制所有的和遗留的api版本.
--secure-port int 用于监听具有认证授权功能的HTTPS协议的端口。如果为0,则不会监听HTTPS协议。 (默认值6443)
--service-account-key-file stringArray 包含PEM加密的x509 RSA或ECDSA私钥或公钥的文件,用于验证ServiceAccount令牌。如果设置该值,--tls-private-key-file将会被使用。指定的文件可以包含多个密钥,并且这个标志可以和不同的文件一起多次使用。
--service-cluster-ip-range ipNet CIDR表示的IP范围,服务的cluster ip将从中分配。 一定不要和分配给nodes和pods的IP范围产生重叠。
--ssh-keyfile string 如果不为空,在使用安全的SSH代理访问节点时,将这个文件作为用户密钥文件。
--storage-backend string 持久化存储后端。 选项为: 'etcd3' (默认), 'etcd2'.
--storage-media-type string 在存储中保存对象的媒体类型。某些资源或者存储后端可能仅支持特定的媒体类型,并且忽略该配置项。(默认值 "application/vnd.kubernetes.protobuf")
--storage-versions string 按组划分资源存储的版本。 以"group1/version1,group2/version2,..."的格式指定。当对象从一组移动到另一组时, 你可以指定"group1=group2/v1beta1,group3/v1beta1,..."的格式。你只需要传入你希望从结果中改变的组的列表。默认为从KUBE_API_VERSIONS环境变量集成而来,所有注册组的首选版本列表。 (默认值"admission.k8s.io/v1alpha1,admissionregistration.k8s.io/v1alpha1,apps/v1beta1,authentication.k8s.io/v1,authorization.k8s.io/v1,autoscaling/v1,batch/v1,certificates.k8s.io/v1beta1,componentconfig/v1alpha1,extensions/v1beta1,federation/v1beta1,imagepolicy.k8s.io/v1alpha1,networking.k8s.io/v1,policy/v1beta1,rbac.authorization.k8s.io/v1beta1,settings.k8s.io/v1alpha1,storage.k8s.io/v1,v1")
--target-ram-mb int apiserver内存限制,单位为MB(用于配置缓存大小等)。
--tls-ca-file string 如果设置该值,这个证书authority将会被用于从Admission Controllers过来的安全访问。它必须是一个PEM加密的合法CA捆绑包。此外, 该证书authority可以被添加到以--tls-cert-file提供的证书文件中.
--tls-cert-file string 包含用于HTTPS的默认x509证书的文件。(如果有CA证书,则附加于server证书之后)。如果启用了HTTPS服务,并且没有提供--tls-cert-file和--tls-private-key-file,则将为公共地址生成一个自签名的证书和密钥并保存于/var/run/kubernetes目录。
--tls-private-key-file string 包含匹配--tls-cert-file的x509证书私钥的文件。
--tls-sni-cert-key namedCertKey 一对x509证书和私钥的文件路径, 可以使用符合正式域名的域形式作为后缀。 如果没有提供域形式后缀, 则将提取证书名。 非通配符版本优先于通配符版本, 显示的域形式优先于证书中提取的名字。 对于多个密钥/证书对, 请多次使用--tls-sni-cert-key。例如: "example.crt,example.key" or "foo.crt,foo.key:*.foo.com,foo.com". (默认值[])
--token-auth-file string 如果设置该值,这个文件将被用于通过令牌认证来保护API服务的安全端口。
--version version[=true] 打印版本信息并退出。
--watch-cache 启用apiserver的监视缓存。(默认值true)
--watch-cache-sizes stringSlice 每种资源(pods, nodes等)的监视缓存大小列表,以逗号分隔。每个缓存配置的形式为:resource#sizesize是一个数字。在watch-cache启用时生效。
```
###### Auto generated by spf13/cobra on 11-Jul-2017
@@ -0,0 +1,87 @@
---
approvers:
- liggitt
title: Kubelet authentication/authorization
---
* TOC
{:toc}
## Overview
A kubelet's HTTPS endpoint exposes APIs which give access to data of varying sensitivity,
and allow you to perform operations with varying levels of power on the node and within containers.
This document describes how to authenticate and authorize access to the kubelet's HTTPS endpoint.
## Kubelet authentication
By default, requests to the kubelet's HTTPS endpoint that are not rejected by other configured
authentication methods are treated as anonymous requests, and given a username of `system:anonymous`
and a group of `system:unauthenticated`.
To disable anonymous access and send `401 Unauthorized` responses to unauthenticated requests:
* start the kubelet with the `--anonymous-auth=false` flag
To enable X509 client certificate authentication to the kubelet's HTTPS endpoint:
* start the kubelet with the `--client-ca-file` flag, providing a CA bundle to verify client certificates with
* start the apiserver with `--kubelet-client-certificate` and `--kubelet-client-key` flags
* see the [apiserver authentication documentation](/docs/admin/authentication/#x509-client-certs) for more details
To enable API bearer tokens (including service account tokens) to be used to authenticate to the kubelet's HTTPS endpoint:
* ensure the `authentication.k8s.io/v1beta1` API group is enabled in the API server
* start the kubelet with the `--authentication-token-webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
* the kubelet calls the `TokenReview` API on the configured API server to determine user information from bearer tokens
## Kubelet authorization
Any request that is successfully authenticated (including an anonymous request) is then authorized. The default authorization mode is `AlwaysAllow`, which allows all requests.
There are many possible reasons to subdivide access to the kubelet API:
* anonymous auth is enabled, but anonymous users' ability to call the kubelet API should be limited
* bearer token auth is enabled, but arbitrary API users' (like service accounts) ability to call the kubelet API should be limited
* client certificate auth is enabled, but only some of the client certificates signed by the configured CA should be allowed to use the kubelet API
To subdivide access to the kubelet API, delegate authorization to the API server:
* ensure the `authorization.k8s.io/v1beta1` API group is enabled in the API server
* start the kubelet with the `--authorization-mode=Webhook`, `--kubeconfig`, and `--require-kubeconfig` flags
* the kubelet calls the `SubjectAccessReview` API on the configured API server to determine whether each request is authorized
The kubelet authorizes API requests using the same [request attributes](/docs/admin/authorization/#request-attributes) approach as the apiserver.
The verb is determined from the incoming request's HTTP verb:
HTTP verb | request verb
----------|---------------
POST | create
GET, HEAD | get
PUT | update
PATCH | patch
DELETE | delete
The resource and subresource is determined from the incoming request's path:
Kubelet API | resource | subresource
-------------|----------|------------
/stats/\* | nodes | stats
/metrics/\* | nodes | metrics
/logs/\* | nodes | log
/spec/\* | nodes | spec
*all others* | nodes | proxy
The namespace and API group attributes are always an empty string, and
the resource name is always the name of the kubelet's `Node` API object.
When running in this mode, ensure the user identified by the `--kubelet-client-certificate` and `--kubelet-client-key`
flags passed to the apiserver is authorized for the following attributes:
* verb=\*, resource=nodes, subresource=proxy
* verb=\*, resource=nodes, subresource=stats
* verb=\*, resource=nodes, subresource=log
* verb=\*, resource=nodes, subresource=spec
* verb=\*, resource=nodes, subresource=metrics
+216
View File
@@ -0,0 +1,216 @@
---
approvers:
- ericchiang
- mikedanese
- jcbsmpsn
title: TLS bootstrapping
---
* TOC
{:toc}
## Overview
This document describes how to set up TLS client certificate bootstrapping for kubelets.
Kubernetes 1.4 introduced an API for requesting certificates from a cluster-level Certificate Authority (CA). The original intent of this API is to enable provisioning of TLS client certificates for kubelets. The proposal can be found [here](https://github.com/kubernetes/kubernetes/pull/20439)
and progress on the feature is being tracked as [feature #43](https://github.com/kubernetes/features/issues/43).
## kube-apiserver configuration
The API server should be configured with an [authenticator](/docs/admin/authentication/) that can authenticate tokens as a user in the `system:bootstrappers` group.
This group will later be used in the controller-manager configuration to scope approvals in the default approval
controller. As this feature matures, you should ensure tokens are bound to a Role-Based Access Control (RBAC) policy which limits requests
(using the bootstrap token) strictly to client requests related to certificate provisioning. With RBAC in place, scoping the tokens to a group allows for great flexibility (e.g. you could disable a particular bootstrap group's access when you are done provisioning the nodes).
While any authentication strategy can be used for the kubelet's initial bootstrap credentials, the following two authenticators are recommended for ease of provisioning.
1. [Bootstrap Tokens](/docs/admin/bootstrap-tokens/) - __alpha__
2. [Token authentication file](###token-authentication-file)
Using bootstrap tokens is currently __alpha__ and will simplify the management of bootstrap token management especially in a HA scenario.
### Token authentication file
Tokens are arbitrary but should represent at least 128 bits of entropy derived from a secure random number
generator (such as /dev/urandom on most modern systems). There are multiple ways you can generate a token. For example:
`head -c 16 /dev/urandom | od -An -t x | tr -d ' '`
will generate tokens that look like `02b50b05283e98dd0fd71db496ef01e8`
The token file should look like the following example, where the first three values can be anything and the quoted group
name should be as depicted:
```
02b50b05283e98dd0fd71db496ef01e8,kubelet-bootstrap,10001,"system:bootstrappers"
```
Add the `--token-auth-file=FILENAME` flag to the kube-apiserver command (in your systemd unit file perhaps) to enable the token file.
See docs [here](/docs/admin/authentication/#static-token-file) for further details.
### Client certificate CA bundle
Add the `--client-ca-file=FILENAME` flag to the kube-apiserver command to enable client certificate authentication,
referencing a certificate authority bundle containing the signing certificate (e.g. `--client-ca-file=/var/lib/kubernetes/ca.pem`).
## kube-controller-manager configuration
The API for requesting certificates adds a certificate-issuing control loop to the Kubernetes Controller Manager. This takes the form of a
[cfssl](https://blog.cloudflare.com/introducing-cfssl/) local signer using assets on disk. Currently, all certificates issued have one year validity and a default set of key usages.
### Signing assets
You must provide a Certificate Authority in order to provide the cryptographic materials necessary to issue certificates.
This CA should be trusted by kube-apiserver for authentication with the `--client-ca-file=FILENAME` flag. The management
of the CA is beyond the scope of this document but it is recommended that you generate a dedicated CA for Kubernetes.
Both certificate and key are assumed to be PEM-encoded.
The kube-controller-manager flags are:
```
--cluster-signing-cert-file="/etc/path/to/kubernetes/ca/ca.crt" --cluster-signing-key-file="/etc/path/to/kubernetes/ca/ca.key"
```
### Approval controller
In 1.7 the experimental "group auto approver" controller is dropped in favor of the new `csrapproving` controller
that ships as part of [kube-controller-manager](/docs/admin/kube-controller-manager/) and is enabled by default.
The controller uses the [`SubjectAccessReview` API](/docs/admin/authorization/#checking-api-access) to determine
if a given user is authorized to request a CSR, then approves based on the authorization outcome. To prevent
conflicts with other approvers, the builtin approver doesn't explicitly deny CSRs, only ignoring unauthorized requests.
The controller categorizes CSRs into three subresources:
1. `nodeclient` - a request by a user for a client certificate with `O=system:nodes` and `CN=system:node:(node name)`.
2. `selfnodeclient` - a node renewing a client certificate with the same `O` and `CN`.
3. `selfnodeserver` - a node renewing a serving certificate. (ALPHA, requires feature gate)
The checks to determine if a CSR is a `selfnodeserver` request is currently tied to the kubelet's credential rotation
implementation, an __alpha__ feature. As such, the definition of `selfnodeserver` will likely change in a future and
requires the `RotateKubeletServerCertificate` feature gate on the controller manager. The feature progress can be
tracked at [kubernetes/features#267](https://github.com/kubernetes/features/issues/267).
```
--feature-gates=RotateKubeletServerCertificate=true
```
The following RBAC `ClusterRoles` represent the `nodeclient`, `selfnodeclient`, and `selfnodeserver` capabilities. Similar roles
may be automatically created in future releases.
```yml
# A ClusterRole which instructs the CSR approver to approve a user requesting
# node client credentials.
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: approve-node-client-csr
rules:
- apiGroups: ["certificates.k8s.io"]
resources: ["certificatesigningrequests/nodeclient"]
verbs: ["create"]
---
# A ClusterRole which instructs the CSR approver to approve a node renewing its
# own client credentials.
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: approve-node-client-renewal-csr
rules:
- apiGroups: ["certificates.k8s.io"]
resources: ["certificatesigningrequests/selfnodeclient"]
verbs: ["create"]
---
# A ClusterRole which instructs the CSR approver to approve a node requesting a
# serving cert matching its client cert.
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: approve-node-server-renewal-csr
rules:
- apiGroups: ["certificates.k8s.io"]
resources: ["certificatesigningrequests/selfnodeserver"]
verbs: ["create"]
```
These powers can be granted to credentials, such as bootstrapping tokens. For example, to replicate the behavior
provided by the removed auto-approval flag, of approving all CSRs by a single group:
```
# REMOVED: This flag no longer works as of 1.7.
--insecure-experimental-approve-all-kubelet-csrs-for-group="system:bootstrappers"
```
An admin would create a `ClusterRoleBinding` targeting that group.
```yml
# Approve all CSRs for the group "system:bootstrappers"
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: auto-approve-csrs-for-group
subjects:
- kind: Group
name: system:bootstrappers
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: approve-node-client-csr
apiGroup: rbac.authorization.k8s.io
```
To let a node renew its own credentials, an admin can construct a `ClusterRoleBinding` targeting
that node's credentials:
```yml
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: node1-client-cert-renewal
subjects:
- kind: User
name: system:node:node-1 # Let "node-1" renew its client certificate.
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: approve-node-client-renewal-csr
apiGroup: rbac.authorization.k8s.io
```
Deleting the binding will prevent the node from renewing its client credentials, effectively
removing it from the cluster once its certificate expires.
## kubelet configuration
To request a client certificate from kube-apiserver, the kubelet first needs a path to a kubeconfig file that contains the
bootstrap authentication token. You can use `kubectl config set-cluster`, `set-credentials`, and `set-context` to build this kubeconfig. Provide the name `kubelet-bootstrap` to `kubectl config set-credentials` and include `--token=<token-value>` as follows:
```
kubectl config set-credentials kubelet-bootstrap --token=${BOOTSTRAP_TOKEN} --kubeconfig=bootstrap.kubeconfig
```
When starting the kubelet, if the file specified by `--kubeconfig` does not exist, the bootstrap kubeconfig is used to request a client certificate from the API server. On approval of the certificate request and receipt back by the kubelet, a kubeconfig file referencing the generated key and obtained certificate is written to the path specified by `--kubeconfig`. The certificate and key file will be placed in the directory specified by `--cert-dir`.
**Note:** The following flags are required to enable this bootstrapping when starting the kubelet:
```
--require-kubeconfig
--bootstrap-kubeconfig="/path/to/bootstrap/kubeconfig"
```
Additionally, in 1.7 the kubelet implements __alpha__ features for enabling rotation of both its client and/or serving certs.
These can be enabled through the respective `RotateKubeletClientCertificate` and `RotateKubeletServerCertificate` feature
flags on the kubelet, but may change in backward incompatible ways in future releases.
```
--feature-gates=RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true
```
`RotateKubeletClientCertificate` causes the kubelet to rotate its client certificates by creating new CSRs as its existing
credentials expire. `RotateKubeletServerCertificate` causes the kubelet to both request a serving certificate after
bootstrapping its client credentials and rotate the certificate. The serving cert currently does not request DNS or IP
SANs.
## kubectl approval
The signing controller does not immediately sign all certificate requests. Instead, it waits until they have been flagged with an
"Approved" status by an appropriately-privileged user. This is intended to eventually be an automated process handled by an external
approval controller, but for the alpha version of the API it can be done manually by a cluster administrator using kubectl.
An administrator can list CSRs with `kubectl get csr` and describe one in detail with `kubectl describe csr <name>`. Before the 1.6 release there were
[no direct approve/deny commands](https://github.com/kubernetes/kubernetes/issues/30163) so an approver had to update
the Status field directly ([rough how-to](https://github.com/gtank/csrctl)). Later versions of Kubernetes offer `kubectl certificate approve <name>` and `kubectl certificate deny <name>` commands.
+292
View File
@@ -0,0 +1,292 @@
---
approvers:
- jlowdermilk
- justinsb
- quinton-hoole
title: 多区域运行
---
## 介绍
Kubernetes 从v1.2开始支持将集群运行在多个故障域中。
(GCE 中称其为 "区(Zones" AWS 中称其为 "可用区(Availability Zones",这里我们也称其为 "区")。
它是广泛意义上的集群联邦特性的轻量级版本 (之前被称为 ["Ubernetes"](https://github.com/kubernetes/community/blob/{{page.githubbranch}}/contributors/design-proposals/federation/federation.md))。
完整的集群联邦能够将多个分别运行在不同区或云供应商(或本地数据中心)的集群集中管理。
然而,很多用户只是希望通过将单一云供应商上的Kubernetes集群运行在多个区域,来提高集群的可用性,
这就是1.2版本中提供的对多区域的支持。
(之前被称为 "Ubernetes Lite")。
多区域的支持是有明确限制的: Kubernetes集群能够运行在多个区,但必须在同一个地域内 (云供应商也须一致)。
目前只有GCE和AWS自动支持 (尽管在其他云甚至裸机上,也很容易通过为节点和卷添加合适的标签来实现类似的支持)。
* TOC
{:toc}
## 功能
节点启动时,Kubelet自动为其添加区信息的标签。
在单一区域的集群中,Kubernetes 会自动将副本管理器或服务的pod分布到各节点上 (以减轻单实例故障的影响)。
在多区域的集群中,这种分布的行为扩展到了区域级别
(以减少区域故障对整体的影响)。 (通过 `SelectorSpreadPriority` 来实现)。
这种分发是尽力而为(best-effort)的,所以如果集群在各个区之间是异构的
(比如,各区间的节点数量不同、节点类型不同、pod的资源需求不同等)可能导致pod无法完全均匀地分布。
如果需要的话,用户可以使用同质的区(节点数量和节点类型相同)来减少区域之间分配不均匀的可能。
当卷被创建时, `PersistentVolumeLabel`准入控制器会自动为其添加区域的标签。
调度器 (通过 `VolumeZonePredicate` 断言) 会确申领该卷的pod被调度到该卷对应的区域,
因为卷是不支持跨区挂载的。
## 限制
对多区的支持有一些重要的限制:
* 我们假设不同的区域间在网络上离得很近,所以我们不做任何的区域感知路由。 特别是,通过服务的网络访问可能跨区域 (即使该服务后端pod的其中一些运行在与客户端相同的区域中),这可能导致额外的延迟和损耗。
* 卷的区域亲和性只对 `PersistentVolume`有效。 例如,如果你在pod的spec中直接指定一个EBS的卷,则不会生效。
* 集群不支持跨云平台或地域 (这些功能需要完整的集群联邦特性支持)。
* 尽管节点位于多区域,目前默认情况下 kube-up 创建的管理节点是单实例的。 所以尽管服务是高可用的,并且能够容忍跨区域的性能损耗,管理平面还是单区域的。 需要高可用的管理平面的用户可以按照 [高可用](/docs/admin/high-availability) 指导来操作。
* 目前StatefulSet的卷动态创建时的跨区域分配,与pod的亲和性/反亲和性不兼容。
* StatefulSet的名称包含破折号 ("-")时,可能影响到卷在区域间的均匀分布。
* 为deployment或pod指定多个PVC时,要求其StorageClass处于同一区域内,否则,相应的PV卷需要在一个区域中静态配置。 另一种方式是使用StatefulSet,这可以确保同一副本所挂载的卷位于同一区内。
## 演练
接下来我们将介绍如何同时在 GCE 和 AWS 上创建和使用多区域的集群。 为此,你需要创建一个完整的集群
(指定 `MULTIZONE=true`),然后再次执行 `kube-up`(指定 `KUBE_USE_EXISTING_MASTER=true`)来添加其他区域的节点。
### 创建集群
按正常方式创建集群,但是传入 MULTIZONE 来通知集群对多区域进行管理。 在 us-central1-a 区域创建节点。
GCE:
```shell
curl -sS https://get.k8s.io | MULTIZONE=true KUBERNETES_PROVIDER=gce KUBE_GCE_ZONE=us-central1-a NUM_NODES=3 bash
```
AWS:
```shell
curl -sS https://get.k8s.io | MULTIZONE=true KUBERNETES_PROVIDER=aws KUBE_AWS_ZONE=us-west-2a NUM_NODES=3 bash
```
该步骤按正常方式创建了集群,仍然运行在单个区域中。
`MULTIZONE=true` 已经开启了多区域的能力。
### 标记节点
查看节点,你可以发现节点上打了区域信息的标签。
节点位于 `us-central1-a` (GCE) 或者 `us-west-2a` (AWS)。 标签 `failure-domain.beta.kubernetes.io/region` 用于区分地域,
标签 `failure-domain.beta.kubernetes.io/zone` 用于区分区域。
```shell
> kubectl get nodes --show-labels
NAME STATUS AGE VERSION LABELS
kubernetes-master Ready,SchedulingDisabled 6m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-1,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-master
kubernetes-minion-87j9 Ready 6m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-87j9
kubernetes-minion-9vlv Ready 6m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-9vlv
kubernetes-minion-a12q Ready 6m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-a12q
```
### 添加其它区中的节点
接下来我们复用已有的管理节点,添加运行于其它区域 (us-central1-b或us-west-2b)中的节点。
再次执行 kube-up 通过指定 `KUBE_USE_EXISTING_MASTER=true`
kube-up 不会创建新的管理节点,而是会复用之前创建的。
GCE:
```shell
KUBE_USE_EXISTING_MASTER=true MULTIZONE=true KUBERNETES_PROVIDER=gce KUBE_GCE_ZONE=us-central1-b NUM_NODES=3 kubernetes/cluster/kube-up.sh
```
在 AWS 中我们还需要为新增的子网指定网络CIDR,还有管理节点的内部IP地址。
```shell
KUBE_USE_EXISTING_MASTER=true MULTIZONE=true KUBERNETES_PROVIDER=aws KUBE_AWS_ZONE=us-west-2b NUM_NODES=3 KUBE_SUBNET_CIDR=172.20.1.0/24 MASTER_INTERNAL_IP=172.20.0.9 kubernetes/cluster/kube-up.sh
```
再次查看节点,3个新增的节点已经启动,并被标记为us-central1-b
```shell
> kubectl get nodes --show-labels
NAME STATUS AGE VERSION LABELS
kubernetes-master Ready,SchedulingDisabled 16m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-1,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-master
kubernetes-minion-281d Ready 2m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-b,kubernetes.io/hostname=kubernetes-minion-281d
kubernetes-minion-87j9 Ready 16m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-87j9
kubernetes-minion-9vlv Ready 16m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-9vlv
kubernetes-minion-a12q Ready 17m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-a12q
kubernetes-minion-pp2f Ready 2m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-b,kubernetes.io/hostname=kubernetes-minion-pp2f
kubernetes-minion-wf8i Ready 2m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-b,kubernetes.io/hostname=kubernetes-minion-wf8i
```
### 卷的亲和性
使用动态创建卷的功能创建一个卷 (只有PV持久卷才支持区域亲和性):
```json
kubectl create -f - <<EOF
{
"kind": "PersistentVolumeClaim",
"apiVersion": "v1",
"metadata": {
"name": "claim1",
"annotations": {
"volume.alpha.kubernetes.io/storage-class": "foo"
}
},
"spec": {
"accessModes": [
"ReadWriteOnce"
],
"resources": {
"requests": {
"storage": "5Gi"
}
}
}
}
EOF
```
**注意:** Kubernetes 1.3以上的版本中可以将PVC分发到多个已配置的区域中,在1.2版本中, 动态卷只能创建在管理节点所在的区域内(即这里的 us-central1-a / us-west-2a);相关issue
([#23330](https://github.com/kubernetes/kubernetes/issues/23330))
在1.3后续的版本中已解决。
现在我们验证一下 Kubernetes 自动为创建的PV打上了所在地域和区域的标签。
```shell
> kubectl get pv --show-labels
NAME CAPACITY ACCESSMODES STATUS CLAIM REASON AGE LABELS
pv-gce-mj4gm 5Gi RWO Bound default/claim1 46s failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a
```
现在我们将创建使用这些PVC的pod。
因为 GCE 的PD存储 / AWS 的EBS 卷 不支持跨区域挂载,
这意味着相应的pod只能创建在卷所在的区域中。
```yaml
kubectl create -f - <<EOF
kind: Pod
apiVersion: v1
metadata:
name: mypod
spec:
containers:
- name: myfrontend
image: nginx
volumeMounts:
- mountPath: "/var/www/html"
name: mypd
volumes:
- name: mypd
persistentVolumeClaim:
claimName: claim1
EOF
```
注意pod被自动创建在了卷所在的区域中,因为云供应商通常不支持卷的跨区域挂载(attach)。
```shell
> kubectl describe pod mypod | grep Node
Node: kubernetes-minion-9vlv/10.240.0.5
> kubectl get node kubernetes-minion-9vlv --show-labels
NAME STATUS AGE VERSION LABELS
kubernetes-minion-9vlv Ready 22m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-9vlv
```
### Pod的跨区域分布
副本管理器或服务的pod被自动创建在了不同的区域。 首先,在第三个区域内启动节点:
GCE:
```shell
KUBE_USE_EXISTING_MASTER=true MULTIZONE=true KUBERNETES_PROVIDER=gce KUBE_GCE_ZONE=us-central1-f NUM_NODES=3 kubernetes/cluster/kube-up.sh
```
AWS:
```shell
KUBE_USE_EXISTING_MASTER=true MULTIZONE=true KUBERNETES_PROVIDER=aws KUBE_AWS_ZONE=us-west-2c NUM_NODES=3 KUBE_SUBNET_CIDR=172.20.2.0/24 MASTER_INTERNAL_IP=172.20.0.9 kubernetes/cluster/kube-up.sh
```
验证你现在在3个区域内拥有节点:
```shell
kubectl get nodes --show-labels
```
创建 guestbook-go 示例应用, 它包含一个副本数为3的RC,运行一个简单的网络应用:
```shell
find kubernetes/examples/guestbook-go/ -name '*.json' | xargs -I {} kubectl create -f {}
```
Pod应该分布在全部3个区域上:
```shell
> kubectl describe pod -l app=guestbook | grep Node
Node: kubernetes-minion-9vlv/10.240.0.5
Node: kubernetes-minion-281d/10.240.0.8
Node: kubernetes-minion-olsh/10.240.0.11
> kubectl get node kubernetes-minion-9vlv kubernetes-minion-281d kubernetes-minion-olsh --show-labels
NAME STATUS AGE VERSION LABELS
kubernetes-minion-9vlv Ready 34m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a,kubernetes.io/hostname=kubernetes-minion-9vlv
kubernetes-minion-281d Ready 20m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-b,kubernetes.io/hostname=kubernetes-minion-281d
kubernetes-minion-olsh Ready 3m v1.6.0+fff5156 beta.kubernetes.io/instance-type=n1-standard-2,failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-f,kubernetes.io/hostname=kubernetes-minion-olsh
```
负载平衡器覆盖集群中的所有区域; guestbook-go 示例包含一个
负载均衡服务的例子:
```shell
> kubectl describe service guestbook | grep LoadBalancer.Ingress
LoadBalancer Ingress: 130.211.126.21
> ip=130.211.126.21
> curl -s http://${ip}:3000/env | grep HOSTNAME
"HOSTNAME": "guestbook-44sep",
> (for i in `seq 20`; do curl -s http://${ip}:3000/env | grep HOSTNAME; done) | sort | uniq
"HOSTNAME": "guestbook-44sep",
"HOSTNAME": "guestbook-hum5n",
"HOSTNAME": "guestbook-ppm40",
```
负载平衡器正确指向了所有的pod,即使它们位于不同的区域内。
### 停止集群
使用完成后,进行清理:
GCE:
```shell
KUBERNETES_PROVIDER=gce KUBE_USE_EXISTING_MASTER=true KUBE_GCE_ZONE=us-central1-f kubernetes/cluster/kube-down.sh
KUBERNETES_PROVIDER=gce KUBE_USE_EXISTING_MASTER=true KUBE_GCE_ZONE=us-central1-b kubernetes/cluster/kube-down.sh
KUBERNETES_PROVIDER=gce KUBE_GCE_ZONE=us-central1-a kubernetes/cluster/kube-down.sh
```
AWS:
```shell
KUBERNETES_PROVIDER=aws KUBE_USE_EXISTING_MASTER=true KUBE_AWS_ZONE=us-west-2c kubernetes/cluster/kube-down.sh
KUBERNETES_PROVIDER=aws KUBE_USE_EXISTING_MASTER=true KUBE_AWS_ZONE=us-west-2b kubernetes/cluster/kube-down.sh
KUBERNETES_PROVIDER=aws KUBE_AWS_ZONE=us-west-2a kubernetes/cluster/kube-down.sh
```
+22
View File
@@ -0,0 +1,22 @@
---
assignees:
- thockin
title: Kubernetes OpenVSwitch GRE/VxLAN 网络
---
本文档介绍了如何使用OpenVSwitch,在跨nodes的pods之间设置网络。
隧道类型可以是GRE或者是VxLAN。如需在网络内执行大规模隔离时,最好使用VxLAN。
![OVS Networking](/images/docs/ovs-networking.png)
Kubernetes中Vagrant的设置如下:
docker网桥被brctl生成的Linux网桥(kbr0)所代替,kbr0是具有256个地址空间的子网。总的来说,node会得到10.244.x.0/24的子网,docker上配置使用的网桥会代替默认docker0的网桥。
另外,OVS网桥创建(obr0),并将其作为端口添加到kbr0的网桥中。所有OVS网桥通过GRE隧道连接所有的nodes。因此,每个node都有一个到其他nodes的出站GRE隧道。这个隧道没有必要是一个完整的网状物,但是越像网状结构越好。在网桥上开启STP(生成树)模式以防止环路的发生。
路由规则允许任何10.244.0.0/16通过与隧道相连的OVS网桥到达目标。
@@ -0,0 +1,71 @@
---
approvers:
- dchen1107
- roberthbailey
- liggitt
title: Master 节点通信
---
* TOC
{:toc}
## 概览
本文对 Master 节点(确切说是 apiserver)和 Kubernetes 集群之间的通信路径进行了分类。目的是为了让用户能够自定义他们的安装,对网络配置进行加固,使得集群能够在不可信的网络上(或者在一个云服务商完全公共的 IP 上)运行。
## Cluster -> Master
所有从集群到 master 的通信路径都终止于 apiserver(其它 master 组件没有被设计为可暴露远程服务)。在一个典型的部署中,apiserver 被配置为在一个安全的 HTTPS 端口(443)上监听远程连接并启用一种或多种形式的客户端[身份认证](/docs/admin/authentication/)机制。一种或多种客户端[身份认证](/docs/admin/authentication/)机制应该被启用,特别是在允许使用 [匿名请求](/docs/admin/authentication/#anonymous-requests) 或 [service account tokens](/docs/admin/authentication/#service-account-tokens) 的时候。
应该使用集群的公共根证书开通节点,如此它们就能够基于有效的客户端凭据安全的连接 apiserver。例如:在一个默认的 GCE 部署中,客户端凭据以客户端证书的形式提供给 kubelet。请查看 [kubelet TLS bootstrapping](/docs/admin/kubelet-tls-bootstrapping/) 获取如何自动提供 kubelet 客户端证书。
想要连接到 apiserver 的 Pods 可以使用一个 service account 安全的进行连接。这种情况下,当 Pods 被实例化时 Kubernetes 将自动的把公共根证书和一个有效的不记名令牌注入到 pod 里。`kubernetes` service (所有 namespaces 中)都配置了一个虚拟 IP 地址,用于转发(通过 kube-proxy)请求到 apiserver 的 HTTPS endpoint。
Master 组件通过非安全(没有加密或认证)端口和集群的 apiserver 通信。这个端口通常只在 master 节点的 localhost 接口暴露,这样,所有在相同机器上运行的 master 组件就能和集群的 apiserver 通信。一段时间以后,master 组件将变为使用带身份认证和权限验证的安全端口(查看[#13598](https://github.com/kubernetes/kubernetes/issues/13598))。
这样的结果使得从集群(在节点上运行的 nodes 和 pods)到 master 的缺省连接操作模式默认被保护,能够在不可信或公网中运行。
## Master -> Cluster
从 masterapiserver)到集群有两种主要的通信路径。第一种是从 apiserver 到集群中每个节点上运行的 kubelet 进程。第二种是从 apiserver 通过它的代理功能到任何 node、pod 或者 service。
### apiserver -> kubelet
从 apiserver 到 kubelet 的连接用于获取 pods 日志、连接(通过 kubectl)运行中的 pods,以及使用 kubele 的端口转发功能。这些连接终止于 kubelet 的 HTTPS endpoint。
默认的,apiserver 不会验证 kubelet 的服务证书,这会导致连接遭到中间人攻击,因而在不可信或公共网络上是不安全的。
为了对这个连接进行认证,请使用 `--kubelet-certificate-authority` 标记给 apiserver 提供一个根证书捆绑,用于 kubelet 的服务证书。
如果这样不可能,又要求避免在不可信的或公共的网络上进行连接,请在 apiserver 和 kubelet 之间使用 [SSH 隧道](/docs/concepts/architecture/master-node-communication/#ssh-tunnels)。
最后,应该启用[Kubelet 用户认证和/或权限认证](/docs/admin/kubelet-authentication-authorization/)来保护 kubelet API。
### apiserver -> nodes, pods, and services
从 apiserver 到 node、pod或者service 的连接默认为纯 HTTP 方式,因此既没有认证,也没有加密。他们能够通过给API URL 中的 node、pod 或 service 名称添加前缀 `https:` 来运行在安全的 HTTPS 连接上。但他们即不会认证 HTTPS endpoint 提供的证书,也不会提供客户端证书。这样虽然连接是加密的,但它不会提供任何完整性保证。这些连接**目前还不能安全的**在不可信的或公共的网络上运行。
### SSH 隧道
[Google Container Engine](https://cloud.google.com/container-engine/docs/) 使用 SSH 隧道保护 Master -> Cluster 通信路径。在这种配置下,apiserver 发起一个到集群中每个节点的 SSH 隧道(连接到在 22 端口监听的 ssh 服务)并通过这个隧道传输所有到 kubelet、node、pod 或者 service 的流量。这个隧道保证流量不会在集群运行的私有 GCE 网络之外暴露。
+234
View File
@@ -0,0 +1,234 @@
---
assignees:
- caesarxuchao
- dchen1107
title: Nodes
redirect_from:
- "/docs/admin/node/"
- "/docs/admin/node.html"
- "/docs/concepts/nodes/node/"
- "/docs/concepts/nodes/node.html"
---
* TOC
{:toc}
## Node 是什么?
`Node` 是 Kubernetes 的工作节点,以前叫做 `minion`。取决于你的集群,Node 可以是一个虚拟机或者物理机器。每个 node 都有用于运行 [pods](/docs/user-guide/pods) 的必要服务,并由 master 组件管理。Node 上的服务包括 Docker、kubelet 和 kube-proxy。请查阅架构设计文档中 [The Kubernetes Node](https://git.k8s.io/community/contributors/design-proposals/architecture/architecture.md#the-kubernetes-node) 一节获取更多细节。
## Node 状态
一个 node 的状态包含以下信息:
* [地址](#地址)
* ~~[阶段](#阶段)~~ **已废弃**
* [条件](#条件)
* [容量](#容量)
* [信息](#信息)
下面对每个章节进行详细描述。
### 地址
这些字段组合的用法取决于你的云服务商或者裸金属配置。
* HostNameHostName 和 node 内核报告的相同。可以通过 kubelet 的 `--hostname-override` 参数覆盖。
* ExternalIP:通常是可以外部路由的 node IP 地址(从集群外可访问)。
* InternalIP:通常是仅可在集群内部路由的 node IP 地址。
### 阶段
一废弃:node 阶段已经不再使用。
### 条件
`conditions` 字段描述了所有 `Running` nodes 的状态。
| Node 条件 | 描述 |
| ---------------- | ---------------------------------------- |
| `OutOfDisk` | `True` 表示 node 的空闲空间不足以用于添加新 pods, 否则为 `False` |
| `Ready` | `True` 表示 node 是健康的并已经准备好接受 pods;`False` 表示 node 不健康而且不能接受 pods;`Unknown` 表示 node 控制器在最近 40 秒内没有收到 node 的消息 |
| `MemoryPressure` | `True` 表示 node 不存在内存压力 -- 即 node 内存用量低, 否则为 `False` |
| `DiskPressure` | `True` 表示 node 不存在磁盘压力 -- 即磁盘用量低, 否则为 `False` |
Node 条件使用一个 JSON 对象表示。例如,下面的响应描述了一个健康的 node。
```json
"conditions": [
{
"kind": "Ready",
"status": "True"
}
]
```
如果 Ready 条件处于状态 "Unknown" 或者 "False" 的时间超过了 `pod-eviction-timeout`(一个传递给 [kube-controller-manager](/docs/admin/kube-controller-manager/) 的参数),node 上的所有 Pods 都会被 Node 控制器计划删除。默认的删除超时时长为**5分钟**。某些情况下,当 node 不可访问时,apiserver 不能和其上的 kubelet 通信。删除 pods 的决定不能传达给 kubelet,直到它重新建立和 apiserver 的连接为止。与此同时,被计划删除的 pods 可能会继续在分区 node 上运行。
在 1.5 版本之前的 Kubernetes 里,node 控制器会将不能访问的 pods 从 apiserver 中[强制删除](/docs/concepts/workloads/pods/pod/#force-deletion-of-pods)。但在 1.5 或更高的版本里,在node 控制器确认这些 pods 已经在集群里停运行前不会强制删除它们。你可以看到这些处于 "Terminating" 或者 "Unknown" 状态的 pods 可能在无法访问的 node 上运行。为了防止 kubernetes 不能从底层基础设施中推断出一个 node 是否已经永久的离开了集群,集群管理员可能需要手动删除这个 node 对象。从 Kubernetes 删除 node 对象将导致 apiserver 删除 node 上所有运行的 Pod 对象并释放它们的名字。
### 容量
描述 node 上的可用资源:CPU、内存和可以调度到 node 上的 pods 的最大数量。
### 信息
关于 node 的通用信息,例如内核版本、Kubernetes 版本(kubelet 和 kube-proxy 版本)、Docker 版本 (如果使用了)和 OS 名。这些信息由 Kubelet 从 node 搜集而来。
## 管理
与 [pods](/docs/user-guide/pods) 和 [services](/docs/user-guide/services) 不同,node 并不是在 Kubernetes 内部创建的:它是被外部的云服务商创建,例如 Google Compute Engine 或者你的集群中的物理或者虚拟机。这意味着当 Kubernetes 创建一个 node 时,它其实仅仅创建了一个对象来代表这个 node。创建以后,Kubernetes 将检查这个 node 是否可用。例如,如果你尝试使用如下内容创建一个 node:
```json
{
"kind": "Node",
"apiVersion": "v1",
"metadata": {
"name": "10.240.79.157",
"labels": {
"name": "my-first-k8s-node"
}
}
}
```
Kubernetes 会在内部创一个 node 对象(象征 node),并基于 `metadata.name` 字段(我们假设 `metadata.name` 能够被解析)通过健康检查来验证 node。如果 node 可用,意即所有必要服务都已运行,它就符合了运行一个 pod 的条件;否则它将被所有的集群动作忽略指导变为可用。请注意,Kubernetes 将保存不可用 node 的对象,除非它被客户端显式的删除。Kubernetes 将持续检查 node 是否变的可用。
当前,有3个组件同 Kubernetes node 接口交互:node 控制器、kubelet 和 kubectl。
### Node 控制器
Node 控制器是一个 Kubernetes master 组件,管理 nodes 的方方面面。
Node 控制器在 node 的生命周期中扮演了多个角色。第一个是当 node 注册时为它分配一个 CIDR block(如果打开了 CIDR 分配)。
第二个是使用云服务商提供了可用节点列表保持 node 控制器内部的 nodes 列表更新。如果在云环境下运行,任何时候当一个 node 不健康时 node 控制器将询问云服务 node 的虚拟机是否可用。如果不可用,node 控制器会将这个 node 从它的 nodes 列表删除。
第三个是监控 nodes 的健康情况。Node 控制器负责在 node 不能访问时(也即是 node 控制器因为某些原因没有收到心跳,例如 node 宕机)将它的 NodeStatus 的 NodeReady 状态更新为 ConditionUnknown。后续如果 node 持续不可访问,Node 控制器将删除 node 上的所有 pods(使用优雅终止)。(默认情况下 40s 开始报告 ConditionUnknown,在那之后 5m 开始删除 pods。)Node 控制器每隔 `--node-monitor-period` 秒检查每个 node 的状态。
在 Kubernetes 1.4 中我们更新了 node 控制器逻辑以更好的处理大批量 nodes 访问 master 出问题的情况(例如 master 的网络出了问题)。从 1.4 开始,node 控制器在决定删除 pod 之前会检查集群中所有 nodes 的状态。
大部分情况下, node 控制器把删除频率限制在每秒 `--node-eviction-rate` 个(默认为 0.1)。这表示它在 10 秒钟内不会从超过一个 node 上删除 pods。
当一个 availability zone 中的 node 变为不健康时,它的删除行为将发生改变。Node 控制器会同时检查 zone 中不健康(NodeReady 状态为 ConditionUnknown 或 ConditionFalse)的 nodes 的百分比。如果不健康 nodes 的部分超过 `--unhealthy-zone-threshold` (默认为 0.55),删除速率将会减小:如果集群较小(意即小于等于 `--large-cluster-size-threshold` 个 nodes - 默认为50),删除将会停止,否则删除速率将降为每秒 `--secondary-node-eviction-rate` 个(默认为 0.01)。在单个 availability zone 实施这些策略的原因是当一个 availability zone 可能从 master 分区时其它的仍然保持连接。如果你的集群没有跨越云服务商的多个 availability zones,那就只有一个 availability zone(整个集群)。
在多个 availability zones 分布你的 nodes 的一个关键原因是当整个 zone 故障时,工作负载可以转移到健康的 zones。因此,如果一个 zone 中的所有 nodes 都不健康时,node 控制器会以正常的速率 `--node-eviction-rate` 删除。在所有的 zones 都不健康(也即集群中没有健康 node)的极端情况下,node 控制器将假设 master 的连接出了某些问题,它将停止所有删除动作直到一些连接恢复。
从 Kubernetes 1.6 开始,NodeController 还负责删除运行在拥有 `NoExecute` taints 的 nodes 上的 pods,如果这些 pods 没有 tolerate 这些 taints。此外,作为一个默认禁用的 alpha 特性,NodeController 还负责根据 node 故障(例如 node 不可访问或没有 ready)添加 taints。请查看 [这个文档](/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature)了解关于 `NoExecute` taints 和这个 alpha 特性。
### Nodes 自注册
当 kubelet 标志 `--register-node` 为 true (默认)时,它会尝试向 API 服务注册自己。这是首选模式,被绝大多数发行版选用。
对于自注册模式,kubelet 使用下列参数启动:
- `--api-servers` - apiservers 地址。
- `--kubeconfig` - 用于向 apiserver 验证自己的凭据路径。
- `--cloud-provider` - 如何从云服务商读取关于自己的元数据。
- `--register-node` - 自动向 API 服务注册。
- `--register-with-taints` - 使用 taints 列表(逗号分隔的 `<key>=<value>:<effect>`)注册 node。当 `register-node` 为 false 时无效。
- `--node-ip` - node IP 地址。
- `--node-labels` - 向集群注册时给 node 添加的 labels。
- `--node-status-update-frequency` - 指定 kubelet 向 master 发送状态的频率。
目前,任何 kubelet 都被授权可以创建/修改任意 node 资源,但通常只对自己的进行创建/修改。(未来我们计划只允许一个 kubelet 修改它自己 node 的资源。)
#### 手动 Node 管理
集群管理员可以创建及修改 node 对象。
如果管理员希望手动创建 node 对象,请设置 kubelet 标记 `--register-node=false`
管理员可以修改 node 资源(忽略 `--register-node` 设置)。修改包括在 node 上设置 labels及标记它为不可调度。
Nodes 上的 labels 可以和 pods 的 node selectors 一起使用来控制调度,例如限制一个 pod 只能在一个符合要求的 nodes 子集上运行。
标记一个 node 为不可调度的将防止新建 pods 调度到那个 node 之上,但不会影响任何已经在它之上的 pods。这是重启 node 等操作之前的一个有用的准备步骤。例如,标记一个 node 为不可调度的,执行以下命令:
```shell
kubectl cordon $NODENAME
```
请注意,被 daemonSet 控制器创建的 pods 将忽略 Kubernetes 调度器,且不会遵照 node 上不可调度的属性。这个假设基于守护程序属于节点机器,即使在准备重启而隔离应用的时候。
### Node 容量
Node 的容量(cpu 数量和内存容量)是 node 对象的一部分。通常情况下,在创建 node 对象时,它们会注册自己并报告自己的容量。如果你正在执行[手动 node 管理](#manual-node-administration),那么你需要在添加 node 时手动设置 node 容量。
Kubernetes 调度器保证一个 node 上有足够的资源供其上的所有 pods 使用。它会检查 node 上所有容器要求的总和不会超过 node 的容量。这包括所有 kubelet 启动的容器,但不包含 Docker 启动的容器和不在容器中的进程。
如果希望显式的为非 pod 进程预留资源,你可以创建一个占位 pod。使用如下模板:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: resource-reserver
spec:
containers:
- name: sleep-forever
image: gcr.io/google_containers/pause:0.8.0
resources:
requests:
cpu: 100m
memory: 100Mi
```
设置 `cpu``memory` 值为你希望预留的资源量。将文件放在清单文件夹中(kubelet 的 `--config=DIR` 标志)。当你希望预留资源时,在每个 kubelet 上都这样执行。
## API 对象
Node 是 Kubernetes REST API 的顶级资源。更多关于 API 对象的细节可以在这里找到: [Node API
object](/docs/api-reference/{{page.version}}/#node-v1-core).``
@@ -0,0 +1,45 @@
---
title: 安装扩展(Addons
---
## 概览
Add-ons 扩展了 Kubernetes 的功能。
本文列举了一些可用的 add-ons 以及到它们各自安装说明的链接。
每个 add-ons 按字母顺序排序 - 顺序不代表任何优先地位。
## 网络和网络策略
* [Calico](http://docs.projectcalico.org/latest/getting-started/kubernetes/installation/hosted/) 是一个安全的 L3 网络和网络策略提供者。
* [Canal](https://github.com/tigera/canal/tree/master/k8s-install) 结合 Flannel 和 Calico, 提供网络和网络策略。
* [Cilium](https://github.com/cilium/cilium) 是一个 L3 网络和网络策略插件, 能够透明的实施 HTTP/API/L7 策略。 同时支持路由(routing)和叠加/封装( overlay/encapsulation)模式。
* [Contiv](http://contiv.github.io) 为多种用例提供可配置网络(使用 BGP 的原生 L3,使用 vxlan 的 overlay,经典 L2 和 Cisco-SDN/ACI)和丰富的策略框架。Contiv 项目完全[开源](http://github.com/contiv)。[安装工具](http://github.com/contiv/install)同时提供基于和不基于 kubeadm 的安装选项。
* [Flannel](https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml) 是一个可以用于 Kubernetes 的 overlay 网络提供者。
* [Romana](http://romana.io) 是一个 pod 网络的层 3 解决方案,并且支持 [NetworkPolicy API](/docs/concepts/services-networking/network-policies/)。Kubeadm add-on 安装细节可以在[这里](https://github.com/romana/romana/tree/master/containerize)找到。
* [Weave Net](https://www.weave.works/docs/net/latest/kube-addon/) 提供了在网络分组两端参与工作的网络和网络策略,并且不需要额外的数据库。
* [CNI-Genie](https://github.com/Huawei-PaaS/CNI-Genie) 使 Kubernetes 无缝连接到一种 CNI 插件,例如:Flannel、Calico、Canal、Romana 或者 Weave。
## 可视化管理
* [Dashboard](https://github.com/kubernetes/dashboard#kubernetes-dashboard) 是一个 Kubernetes 的 web 控制台界面。
* [Weave Scope](https://www.weave.works/documentation/scope-latest-installing/#k8s) 是一个图形化工具,用于查看你的 containers、 pods、services等。 请和一个 [Weave Cloud account](https://cloud.weave.works/) 一起使用,或者自己运行 UI。
## 遗留 Add-ons
还有一些其它 add-ons 归档在已废弃的 [cluster/addons](https://git.k8s.io/kubernetes/cluster/addons) 路径中。
维护完善的 add-ons 应该被链接到这里。欢迎提出 PRs!
@@ -0,0 +1,86 @@
---
approvers:
- davidopp
- lavalamp
title: 集群管理概述
---
{% capture overview %}
集群管理概述面向任何创建和管理 Kubernetes 集群的读者人群。我们假设你对 [用户指南](/docs/user-guide/)中的概念有一些熟悉。
{% endcapture %}
{% capture body %}
## 规划集群
查阅 [选择正确解决方案](/docs/setup/pick-right-solution/) 中的指导,获取如何规划、建立以及配置 Kubernetes 集群的示例。本文所列的文章称为*发行版*。
在选择一个指南前,有一些因素需要考虑:
- 你是打算在你的电脑上尝试 Kubernetes,还是要构建一个高可用的多节点集群?请选择最适合你需求的发行版。
- **如果你正在设计一个高可用集群**,请了解[在多个 zones 中配置集群](/docs/admin/multi-cluster)。
- 你的集群是在**本地**还是**云(IaaS**上?Kubernetes 不能直接支持混合集群。作为代替,你可以建立多个集群。
- **如果你在本地配置 Kubernetes**,需要考虑哪种[网络模型](/docs/admin/networking)最适合。一种自定义网络的选项是 [*OpenVSwitch GRE/VxLAN 网络*](/docs/admin/ovs-networking/),它使用 OpenVSwitch 在跨 Kubernetes 节点的 pods 之间建立起网络。
- 你的 Kubernetes 在 **裸金属硬件** 还是 **虚拟机(VMs)**上运行?
- 你**只想运行一个集群**,还是打算**活动开发 Kubernetes 项目代码**?如果是后者,请选择一个活动开发的发行版。某些发行版只提供二进制发布版,但提供更多的选择。
- 让你自己熟悉运行一个集群所需的[组件](/docs/admin/cluster-components) 。
请注意:不是所有的发行版都被积极维护着。请选择测试过最近版本的 Kubernetes 的发行版。
如果你正在使用和 Salt 有关的指南,请查阅 [使用 Salt 配置 Kubernetes](/docs/admin/salt)。
## 管理集群
[管理集群](/docs/concepts/cluster-administration/cluster-management/)叙述了和集群生命周期相关的几个主题:创建一个新集群、升级集群的 master 和 worker 节点、执行节点维护(例如内核升级)以及升级活动集群的 Kubernetes API 版本。
## 保护集群
* [Kubernetes 容器环境](/docs/concepts/containers/container-environment-variables/) 描述了 Kubernetes 节点上由 Kubelet 管理的容器的环境。
* [控制到 Kubernetes API 的访问](/docs/admin/accessing-the-api) 描述了如何为用户和 service accounts 建立权限许可.
* [用户认证](/docs/admin/authentication) 阐述了 Kubernetes 中的认证功能,包括许多认证选项。
* [授权](/docs/admin/authorization)从认证中分离出来,用于控制如何处理 HTTP 请求。
* [使用 Admission Controllers](/docs/admin/admission-controllers) 阐述了在认证和授权之后拦截到 Kubernetes API 服务的请求的插件。
* [在 Kubernetes Cluster 中使用 Sysctls](/docs/concepts/cluster-administration/sysctl-cluster/) 描述了管理员如何使用 `sysctl` 命令行工具来设置内核参数。
* [审计](/docs/tasks/debug-application-cluster/audit/) 描述了如何与 Kubernetes 的审计日志交互。
### 保护 kubelet
* [Master 节点通信](/docs/concepts/cluster-administration/master-node-communication/)
* [TLS 引导](/docs/admin/kubelet-tls-bootstrapping/)
* [Kubelet 认证/授权](/docs/admin/kubelet-authentication-authorization/)
## 可选集群服务
* [DNS 与 SkyDNS 集成](/docs/concepts/services-networking/dns-pod-service/)描述了如何将一个 DNS 名解析到一个Kubernetes service。
* [记录和监控集群活动](/docs/concepts/cluster-administration/logging/) 阐述了Kubernetes 的日志如何工作以及怎样实现。
{% endcapture %}
{% include templates/concept.md %}
@@ -0,0 +1,116 @@
---
title: 联邦
---
{% capture overview %}
本页面阐明了为何以及如何使用联邦创建Kubernetes集群。
{% endcapture %}
{% capture body %}
## 为何使用联邦
联邦可以使多个集群的管理简单化。它提供了两个主要构件模块:
* 跨集群同步资源:联邦能够让资源在多个集群中同步。例如,你可以确保在多个集群中存在同样的部署。
* 跨集群发现:联邦能够在所有集群的后端自动配置DNS服务和负载均衡。例如,通过多个集群的后端,你可以确保全局的VIP或DNS记录可用。
联邦技术的其他应用场景:
* 高可用性:通过跨集群分摊负载,自动配置DNS服务和负载均衡,联邦将集群失败所带来的影响降到最低。
* 避免供应商锁定:跨集群使迁移应用程序变得更容易,联邦服务避免了供应商锁定。
只有在多个集群的场景下联邦服务才是有帮助的。这里列出了一些你会使用多个集群的原因:
* 降低延迟:在多个区域含有集群,可使用离用户最近的集群来服务用户,从而最大限度降低延迟。
* 故障隔离:对于故障隔离,也许有多个小的集群比有一个大的集群要更好一些(例如:一个云供应商的不同可用域里有多个集群)。详细信息请参阅[多集群指南](/docs/admin/multi-cluster)。
* 可伸缩性:对于单个kubernetes集群是有伸缩性限制的(但对于大多数用户来说并非如此。更多细节参考[Kubernetes扩展和性能目标](https://git.k8s.io/community/sig-scalability/goals.md))。
* [混合云](#混合云的能力):可以有多个集群,它们分别拥有不同的云供应商或者本地数据中心。
### 注意事项
虽然联邦有很多吸引人的场景,但这里还是有一些需要关注的事项:
* 增加网络的带宽和损耗:联邦控制面会监控所有的集群,来确保集群的当前状态与预期一致。那么当这些集群运行在一个或者多个云提供者的不同区域中,则会带来重大的网络损耗。
* 降低集群的隔离:当联邦控制面中存在一个故障时,会影响所有的集群。把联邦控制面的逻辑降到最小可以缓解这个问题。 无论何时,它都是kubernetes集群里控制面的代表。设计和实现也使其变得更安全,避免多集群运行中断。
* 完整性:联邦项目相对较新,还不是很成熟。不是所有资源都可用,且很多资源才刚刚开始。[Issue 38893](https://github.com/kubernetes/kubernetes/issues/38893) 列举了一些团队正忙于解决的系统已知问题。
### 混合云的能力
Kubernetes集群里的联邦包括运行在不同云供应商上的集群(例如,谷歌云、亚马逊),和本地部署的集群(例如,OpenStack)。只需在适当的云供应商和/或位置创建所需的所有集群,并将每个集群的API endpoint和凭据注册到您的联邦API服务中(详情参考[联邦管理指南](/docs/admin/federation/))。
在此之后,您的[API资源](#api资源)就可以跨越不同的集群和云供应商。
## 建立联邦
若要能联合多个集群,首先需要建立一个联邦控制面。参照[安装指南](/docs/tutorials/federation/set-up-cluster-federation-kubefed/) 建立联邦控制面。
## API资源
控制面建立完成后,就可以开始创建联邦API资源了。
以下指南详细介绍了一些资源:
* [Cluster](/docs/tasks/administer-federation/cluster/)
* [ConfigMap](/docs/tasks/administer-federation/configmap/)
* [DaemonSets](/docs/tasks/administer-federation/daemonset/)
* [Deployment](/docs/tasks/administer-federation/deployment/)
* [Events](/docs/tasks/administer-federation/events/)
* [Ingress](/docs/tasks/administer-federation/ingress/)
* [Namespaces](/docs/tasks/administer-federation/namespaces/)
* [ReplicaSets](/docs/tasks/administer-federation/replicaset/)
* [Secrets](/docs/tasks/administer-federation/secret/)
* [Services](/docs/concepts/cluster-administration/federation-service-discovery/)
[API参考文档](/docs/reference/federation/)列举了联邦API服务支持的所有资源。
## 级联删除
Kubernetes1.6版本支持联邦资源级联删除。使用级联删除,即当删除联邦控制面的一个资源时,也删除了所有底层集群中的相应资源。
当使用REST API时,级联删除功能不是默认开启的。若使用REST API从联邦控制面删除一个资源时,要开启级联删除功能,即需配置选项 `DeleteOptions.orphanDependents=false`。使用`kubectl delete`使级联删除功能默认开启。使用`kubectl delete --cascade=false`禁用级联删除功能。
注意:Kubernetes1.5版本开始支持联邦资源子集的级联删除。
## 单个集群的范围
对于IaaS供应商如谷歌计算引擎或亚马逊网络服务,一个虚拟机存在于一个[](https://cloud.google.com/compute/docs/zones)或[可用域](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html)中。
我们建议一个Kubernetes集群里的所有虚机应该在相同的可用域里,因为:
- 与单一的全局Kubernetes集群对比,该方式有较少的单点故障。
- 与跨可用域的集群对比,该方式更容易推断单区域集群的可用性属性。
- 当Kubernetes开发者设计一个系统(例如,对延迟、带宽或相关故障进行假设),他们也会假设所有的机器都在一个单一的数据中心,或者以其他方式紧密相连。
每个可用区域里包含多个集群当然是可以的,但是总的来说我们认为集群数越少越好。
偏爱较少集群数的原因是:
- 在某些情况下,在一个集群里有更多的节点,可以改进Pods的装箱问题(更少的资源碎片)。
- 减少操作开销(尽管随着OPS工具和流程的成熟而降低了这块的优势)。
- 为每个集群的固定资源花费降低开销,例如,使用apiserver的虚拟机(但是在全体集群开销中,中小型集群的开销占比要小的多)。
多集群的原因包括:
- 严格的安全性策略要求隔离一类工作与另一类工作(但是,请参见下面的集群分割)。
- 测试集群或其他集群软件直至最优的新Kubernetes版本发布。
## 选择合适的集群数
Kubernetes集群数量选择也许是一个相对静止的选择,因为对其重新审核的情况很少。相比之下,一个集群中的节点数和一个服务中的pods数可能会根据负载和增长频繁变化。
选择集群的数量,首先,需要决定哪些区域对于将要运行在Kubernetes上的服务,可以有足够的时间到达所有的终端用户(如果使用内容分发网络,则不需要考虑CDN-hosted内容的延迟需求)。法律问题也可能影响这一点。例如,拥有全球客户群的公司可能会对于在美国、欧盟、亚太和南非地区拥有集群起到决定权。使用`R`代表区域的数量。
其次,决定有多少集群在同一时间不可用,而一些仍然可用。使用`U`代表不可用的数量。如果不确定,最好选择1。
如果允许负载均衡在集群故障发生时将通信引导到任何区域,那么至少需要较大的`R``U + 1`集群。若非如此(例如,若要在集群故障发生时确保所有用户的低延迟),则需要`R * (U + 1)`集群(在每一个`R`区域里都有`U + 1`)。在任何情况下,尝试将每个集群放在不同的区域中。
最后,如果你的集群需求超过一个Kubernetes集群推荐的最大节点数,那么你可能需要更多的集群。Kubernetes1.3版本支持多达1000个节点的集群规模。
{% endcapture %}
{% capture whatsnext %}
* 进一步学习[联邦提案](https://github.com/kubernetes/community/blob/{{page.githubbranch}}/contributors/design-proposals/federation.md)。
* 集群联邦参考该[配置指导](/docs/tutorials/federation/set-up-cluster-federation-kubefed/)。
* 查看[Kubecon2016浅谈联邦](https://www.youtube.com/watch?v=pq9lbkmxpS8)
{% endcapture %}
{% include templates/concept.md %}
@@ -0,0 +1,101 @@
---
approvers:
- sttts
title: Kubernetes集群中使用Sysctls
---
* TOC
{:toc}
这篇文章描述了如何在Kubernetes集群中使用Sysctls。
## 什么是Sysctl
在Linux中,Sysctl接口允许管理员在内核运行时修改内核参数。这些可用参数都存在于虚拟进程文件系统中的`/proc/sys/`目录。这些内核参数作用于各种子系统中,例如:
- 内核 (通用前缀:`kernel.`)
- 网络 (通用前缀:`net.`)
- 虚拟内存 (通用前缀:`vm.`)
- 设备专用 (通用前缀:`dev.`)
- 更多子系统描述见 [Kernel docs](https://www.kernel.org/doc/Documentation/sysctl/README).
获取所有参数列表,可运行
```
$ sudo sysctl -a
```
## 命名空间级vs.节点级Sysctls
在今天的Linux内核系统中有一些Sysctls是 _命名空间级_ 的。这意味着他们在同节点的不同pod间是可配置成独立的。在kubernetes里,命名空间级是Sysctls的一个必要条件,以使其在一个pod语境里易于理解。
以下列出了Sysctls中已知的 _命名空间级_
- `kernel.shm*`(内核中共享内存相关参数),
- `kernel.msg*`(内核中SystemV消息队列相关参数),
- `kernel.sem`(内核中信号量参数),
- `fs.mqueue.*`(内核中POSIX消息队列相关参数),
- `net.*`(内核中网络配置项相关参数)。
Sysctls中非命名空间级的被称为 _节点级_ ,其必须由集群管理员手动设置,要么通过节点的底层Linux分布方式(例如,通过 `/etc/sysctls.conf`),亦或在特权容器中使用Daemonset。
**注意**: 这是很好的做法,考虑在一个集群里给有特殊sysctl的节点设置为 _污点_ ,并且给他们安排仅需要这些sysctl设置的pods。 建议采用Kubernetes [_污点和容点_
特征](/docs/user-guide/kubectl/{{page.version}}/#taint) 来实现。
## 安全的 vs. 不安全的 Sysctls
Sysctls被分为 _安全的__不安全的_ sysctls。同一节点上的pods间除了适当命名空间命名一个 _安全的_ sysctl,还必须适当的 _隔离_ 。 这意味着给一个pod设置一个 _安全的_ sysctl
- 不能对相同节点上其他pod产生任何影响
- 不能对节点的健康造成损害
- 不能在pod资源限制以外获取更多的CPU和内存资源
目前看来,大多数的 _命名空间级_ sysctls 不一定被认为是 _安全的_
在Kubernetes 1.4版本中,以下sysctls提供了 _安全的_ 配置:
- `kernel.shm_rmid_forced`,
- `net.ipv4.ip_local_port_range`,
- `net.ipv4.tcp_syncookies`.
该列表在未来的Kubernetes版本里还会继续扩充,当kubelet提供更好的隔离机制时。
所有 _安全的_ sysctls 都是默认启用的。
所有 _不安全的_ sysctls 默认是关闭的,且必须通过每个节点基础上的集群管理手动开启。禁用不安全的sysctls的Pods将会被计划,但不会启动。
**警告**: 由于他们的本质是 _不安全的_ ,使用 _不安全的_ sysctls是自担风险的,并且会导致严重的问题,例如容器的错误行为,资源短缺或者是一个节点的完全破损。
## 使能不安全的Sysctls
牢记上面的警告, 在非常特殊的情况下,例如高性能指标或是实时应用程序优化,集群管理员可以允许 _不安全的_
sysctls。 _不安全的_ sysctls 会打上kubelet标识,在逐节点的基础上被启用,例如:
```shell
$ kubelet --experimental-allowed-unsafe-sysctls 'kernel.msg*,net.ipv4.route.min_pmtu' ...
```
只有 _命名空间级_ sysctls 可以使用该方法启用。
## 给Pod配置Sysctls
在Kubernetes 1.4版本中,sysctl特性是一个alpha API。因此,sysctls被设置为在pods上使用注释。它们适用于同一个pod上的所有容器。
这里列举了一个例子, _安全的__不安全的_ sysctls使用不同的注释:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: sysctl-example
annotations:
security.alpha.kubernetes.io/sysctls: kernel.shm_rmid_forced=1
security.alpha.kubernetes.io/unsafe-sysctls: net.ipv4.route.min_pmtu=1000,kernel.msgmax=1 2 3
spec:
...
```
**注意**: 包含以上规定的 _不安全的_ sysctls的一个Pod, 将无法启动任何不能使这两个 _不安全的_ sysctls明确的节点。 推荐
_节点级_ sysctls使用 [_容点和污点_
特征](/docs/user-guide/kubectl/v1.6/#taint) or [taints on nodes](/docs/concepts/configuration/taint-and-toleration/)
来将这些pods分配到正确的nodes上。
@@ -0,0 +1,93 @@
---
approvers:
- mikedanese
title: Configuration Best Practices
---
{% capture overview %}
This document highlights and consolidates configuration best practices that are introduced throughout the user-guide, getting-started documentation, and examples.
This is a living document. If you think of something that is not on this list but might be useful to others, please don't hesitate to file an issue or submit a PR.
{% endcapture %}
{% capture body %}
## General Config Tips
- When defining configurations, specify the latest stable API version (currently v1).
- Configuration files should be stored in version control before being pushed to the cluster. This allows quick roll-back of a configuration if needed. It also aids with cluster re-creation and restoration if necessary.
- Write your configuration files using YAML rather than JSON. Though these formats can be used interchangeably in almost all scenarios, YAML tends to be more user-friendly.
- Group related objects into a single file whenever it makes sense. One file is often easier to manage than several. See the [guestbook-all-in-one.yaml](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/guestbook/all-in-one/guestbook-all-in-one.yaml) file as an example of this syntax.
Note also that many `kubectl` commands can be called on a directory, so you can also call `kubectl create` on a directory of config files. See below for more details.
- Don't specify default values unnecessarily, in order to simplify and minimize configs, and to reduce error. For example, omit the selector and labels in a `ReplicationController` if you want them to be the same as the labels in its `podTemplate`, since those fields are populated from the `podTemplate` labels by default. See the [guestbook app's](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/guestbook/) .yaml files for some [examples](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/guestbook/frontend-deployment.yaml) of this.
- Put an object description in an annotation to allow better introspection.
## "Naked" Pods vs Replication Controllers and Jobs
- If there is a viable alternative to naked pods (in other words: pods not bound to a [replication controller](/docs/user-guide/replication-controller)), go with the alternative. Naked pods will not be rescheduled in the event of node failure.
Replication controllers are almost always preferable to creating pods, except for some explicit [`restartPolicy: Never`](/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy) scenarios. A [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/) object (currently in Beta) may also be appropriate.
## Services
- It's typically best to create a [service](/docs/concepts/services-networking/service/) before corresponding [replication controllers](/docs/concepts/workloads/controllers/replicationcontroller/). This lets the scheduler spread the pods that comprise the service.
You can also use this process to ensure that at least one replica works before creating lots of them:
1. Create a replication controller without specifying replicas (this will set replicas=1);
2. Create a service;
3. Then scale up the replication controller.
- Don't use `hostPort` unless it is absolutely necessary (for example: for a node daemon). It specifies the port number to expose on the host. When you bind a Pod to a `hostPort`, there are a limited number of places to schedule a pod due to port conflicts— you can only schedule as many such Pods as there are nodes in your Kubernetes cluster.
If you only need access to the port for debugging purposes, you can use the [kubectl proxy and apiserver proxy](/docs/tasks/access-kubernetes-api/http-proxy-access-api/) or [kubectl port-forward](/docs/tasks/access-application-cluster/port-forward-access-application-cluster/).
You can use a [Service](/docs/concepts/services-networking/service/) object for external service access.
If you explicitly need to expose a pod's port on the host machine, consider using a [NodePort](/docs/user-guide/services/#type-nodeport) service before resorting to `hostPort`.
- Avoid using `hostNetwork`, for the same reasons as `hostPort`.
- Use _headless services_ for easy service discovery when you don't need kube-proxy load balancing. See [headless services](/docs/user-guide/services/#headless-services).
## Using Labels
- Define and use [labels](/docs/user-guide/labels/) that identify __semantic attributes__ of your application or deployment. For example, instead of attaching a label to a set of pods to explicitly represent some service (For example, `service: myservice`), or explicitly representing the replication controller managing the pods (for example, `controller: mycontroller`), attach labels that identify semantic attributes, such as `{ app: myapp, tier: frontend, phase: test, deployment: v3 }`. This will let you select the object groups appropriate to the context— for example, a service for all "tier: frontend" pods, or all "test" phase components of app "myapp". See the [guestbook](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/guestbook/) app for an example of this approach.
A service can be made to span multiple deployments, such as is done across [rolling updates](/docs/tasks/run-application/rolling-update-replication-controller/), by simply omitting release-specific labels from its selector, rather than updating a service's selector to match the replication controller's selector fully.
- To facilitate rolling updates, include version info in replication controller names, for example as a suffix to the name. It is useful to set a 'version' label as well. The rolling update creates a new controller as opposed to modifying the existing controller. So, there will be issues with version-agnostic controller names. See the [documentation](/docs/tasks/run-application/rolling-update-replication-controller/) on the rolling-update command for more detail.
Note that the [Deployment](/docs/concepts/workloads/controllers/deployment/) object obviates the need to manage replication controller 'version names'. A desired state of an object is described by a Deployment, and if changes to that spec are _applied_, the deployment controller changes the actual state to the desired state at a controlled rate. (Deployment objects are currently part of the [`extensions` API Group](/docs/concepts/overview/kubernetes-api/#api-groups).)
- You can manipulate labels for debugging. Because Kubernetes replication controllers and services match to pods using labels, this allows you to remove a pod from being considered by a controller, or served traffic by a service, by removing the relevant selector labels. If you remove the labels of an existing pod, its controller will create a new pod to take its place. This is a useful way to debug a previously "live" pod in a quarantine environment. See the [`kubectl label`](/docs/concepts/overview/working-with-objects/labels/) command.
## Container Images
- The [default container image pull policy](/docs/concepts/containers/images/) is `IfNotPresent`, which causes the [Kubelet](/docs/admin/kubelet/) to not pull an image if it already exists. If you would like to always force a pull, you must specify a pull image policy of `Always` in your .yaml file (`imagePullPolicy: Always`) or specify a `:latest` tag on your image.
That is, if you're specifying an image with other than the `:latest` tag, for example `myimage:v1`, and there is an image update to that same tag, the Kubelet won't pull the updated image. You can address this by ensuring that any updates to an image bump the image tag as well (for example, `myimage:v2`), and ensuring that your configs point to the correct version.
**Note:** You should avoid using `:latest` tag when deploying containers in production, because this makes it hard to track which version of the image is running and hard to roll back.
- To work only with a specific version of an image, you can specify an image with its digest (SHA256). This approach guarantees that the image will never update. For detailed information about working with image digests, see [the Docker documentation](https://docs.docker.com/engine/reference/commandline/pull/#pull-an-image-by-digest-immutable-identifier).
## Using kubectl
- Use `kubectl create -f <directory>` where possible. This looks for config objects in all `.yaml`, `.yml`, and `.json` files in `<directory>` and passes them to `create`.
- Use `kubectl delete` rather than `stop`. `Delete` has a superset of the functionality of `stop`, and `stop` is deprecated.
- Use kubectl bulk operations (via files and/or labels) for get and delete. See [label selectors](/docs/user-guide/labels/#label-selectors) and [using labels effectively](/docs/concepts/cluster-administration/manage-deployment/#using-labels-effectively).
- Use `kubectl run` and `expose` to quickly create and expose single container Deployments. See the [quick start guide](/docs/user-guide/quick-start/) for an example.
{% endcapture %}
{% include templates/concept.md %}
@@ -0,0 +1,26 @@
apiVersion: v1
kind: Pod
metadata:
name: with-node-affinity
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/e2e-az-name
operator: In
values:
- e2e-az1
- e2e-az2
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: another-node-label-key
operator: In
values:
- another-node-label-value
containers:
- name: with-node-affinity
image: gcr.io/google_containers/pause:2.0
@@ -0,0 +1,29 @@
apiVersion: v1
kind: Pod
metadata:
name: with-pod-affinity
spec:
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: security
operator: In
values:
- S1
topologyKey: failure-domain.beta.kubernetes.io/zone
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: security
operator: In
values:
- S2
topologyKey: kubernetes.io/hostname
containers:
- name: with-pod-affinity
image: gcr.io/google_containers/pause:2.0
+296
View File
@@ -0,0 +1,296 @@
---
approvers:
- erictune
- thockin
title: 镜像
---
{% capture overview %}
在Kubernetes pod中引用镜像前,请创建Docker镜像,并将之推送到镜像仓库中。
容器的“image”属性支持和Docker命令行相同的语法,包括私有仓库和标签。
{% endcapture %}
{:toc}
{% capture body %}
## 升级镜像
默认的镜像拉取策略是“IfNotPresent”,在镜像已经存在的情况下,kubelet将不在去拉取镜像。
如果总是想要拉取镜像,必须设置拉取策略为“Always”或者设置镜像标签为“:latest”。
如果没有指定镜像的标签,它会被假定为“:latest”,同时拉取策略为“Always”。
注意应避免使用“:latest”标签,参见 [Best Practices for Configuration](/docs/concepts/configuration/overview/#container-images) 获取更多信息。
## 使用私有仓库
从私有仓库读取镜像时可能需要密钥。
凭证可以用以下方式提供:
- 使用Google Container Registry
- 每个集群分别配置
- 在Google Compute Engine 或者 Google Container Engine上自动配置
- 所有的pod都能读取项目的私有仓库
- 使用 AWS EC2 Container Registry (ECR)
- 使用IAM角色和策略来控制对ECR仓库的访问
- 自动刷新ECR的登录凭证
- 使用 Azure Container Registry (ACR)
- 配置节点对私有仓库认证
- 所有的pod都可以读取已配置的私有仓库
- 需要集群管理员提供node的配置
- 提前拉取镜像
- 所有的pod都可以使用node上缓存的镜像
- 需要以root进入node操作
- pod上指定 ImagePullSecrets
- 只有提供了密钥的pod才能接入私有仓库
下面将详细描述每一项
### 使用 Google Container Registry
Kuberetes运行在Google Compute Engine (GCE)时原生支持[Google ContainerRegistry (GCR)]
(https://cloud.google.com/tools/container-registry/)。如果kubernetes集群运行在GCE
或者Google Container Engine (GKE)上,使用镜像全名(e.g. gcr.io/my_project/image:tag)即可。
集群中的所有pod都会有读取这个仓库中镜像的权限。
Kubelet将使用实例的Google service account向GCR认证。实例的service account拥有
`https://www.googleapis.com/auth/devstorage.read_only`,所以它可以从项目的GCR拉取,但不能推送。
### 使用 AWS EC2 Container Registry
当Node是AWS EC2实例时,Kubernetes原生支持[AWS EC2 ContainerRegistry](https://aws.amazon.com/ecr/)。
在pod定义中,使用镜像全名即可 (例如 `ACCOUNT.dkr.ecr.REGION.amazonaws.com/imagename:tag`)
集群中可以创建pod的用户都可以使用ECR中的任意镜像运行pod。
Kubelet会获取并且定期刷新ECR的凭证。它需要以下权限
- `ecr:GetAuthorizationToken`
- `ecr:BatchCheckLayerAvailability`
- `ecr:GetDownloadUrlForLayer`
- `ecr:GetRepositoryPolicy`
- `ecr:DescribeRepositories`
- `ecr:ListImages`
- `ecr:BatchGetImage`
要求:
- 必须使用kubelet 1.2.0及以上版本
- 如果node在区域A,而镜像仓库在另一个区域B,需要1.3.0及以上版本
- 区域中必须提供ECR
诊断
- 验证是否满足以上要求
- 获取工作站的$REGION (例如 `us-west-2`)凭证,使用凭证SSH到主机手动运行docker,检查是否运行
- 验证kublet是否使用参数`--cloud-provider=aws`运行
- 检查kubelet日志(例如 `journalctl -u kubelet`),是否有类似的行
- `plugins.go:56] Registering credential provider: aws-ecr-key`
- `provider.go:91] Refreshing cache for provider: *aws_credentials.ecrProvider`
### 使用 Azure Container Registry (ACR)
当使用[Azure Container Registry](https://azure.microsoft.com/en-us/services/container-registry/)时,可以使用admin user或者service principal认证。
任何一种情况,认证都通过标准的Dokcer authentication完成。本指南假设使用[azure-cli](https://github.com/azure/azure-cli)
命令行工具。
首先,需要创建仓库并获取凭证,完整的文档请参考
[Azure container registry documentation](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-azure-cli)。
创建好容器仓库后,可以使用以下凭证登录:
* `DOCKER_USER` : service principal, or admin username
* `DOCKER_PASSWORD`: service principal password, or admin user password
* `DOCKER_REGISTRY_SERVER`: `${some-registry-name}.azurecr.io`
* `DOCKER_EMAIL`: `${some-email-address}`
填写以上变量后,就可以
[configure a Kubernetes Secret and use it to deploy a Pod](/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod)。
### 配置Nodes对私有仓库认证
**注意:** 如果在Google Container Engine (GKE)上运行集群,每个节点上都会有`.dockercfg`文件,它包含对Google Container Registry的凭证。
不需要使用以下方法。
**注意:** 如果在AWS EC2上运行集群且准备使用EC2 Container Registry (ECR),每个node上的kubelet会管理和更新ECR的登录凭证。不需要使用以下方法。
**注意:** 该方法适用于能够对节点进行配置的情况。该方法在GCE及在其它能自动配置节点的云平台上并不适合。
Docker将私有仓库的密钥存放在`$HOME/.dockercfg``$HOME/.docker/config.json`文件中。Kubelet上,docker会使用root用户`$HOME`路径下的密钥。
推荐如下步骤来为node配置私有仓库。以下示例在PC或笔记本电脑中操作
1.对于想要使用的每一种凭证,运行 `docker login [server]`,它会更新`$HOME/.docker/config.json`
1.使用编辑器查看`$HOME/.docker/config.json`,保证文件中包含了想要使用的凭证
1.获取node列表,例如
- 如果使用node名称,`nodes=$(kubectl get nodes -o jsonpath='{range.items[*].metadata}{.name} {end}')`
- 如果使用node IP `nodes=$(kubectl get nodes -o jsonpath='{range .items[*].status.addresses[?(@.type=="ExternalIP")]}{.address} {end}')`
1.将本地的`.docker/config.json`拷贝到每个节点root用户目录下
- 例如: `for n in $nodes; do scp ~/.docker/config.json root@$n:/root/.docker/config.json; done`
创建使用私有仓库的pod来验证,例如:
```yaml
$ cat <<EOF > /tmp/private-image-test-1.yaml
apiVersion: v1
kind: Pod
metadata:
name: private-image-test-1
spec:
containers:
- name: uses-private-image
image: $PRIVATE_IMAGE_NAME
imagePullPolicy: Always
command: [ "echo", "SUCCESS" ]
EOF
$ kubectl create -f /tmp/private-image-test-1.yaml
pod "private-image-test-1" created
$
```
如果一切正常,一段时间后,可以看到:
```shell
$ kubectl logs private-image-test-1
SUCCESS
```
如果失败,则可以看到:
```shell
$ kubectl describe pods/private-image-test-1 | grep "Failed"
Fri, 26 Jun 2015 15:36:13 -0700 Fri, 26 Jun 2015 15:39:13 -0700 19 {kubelet node-i2hq} spec.containers{uses-private-image} failed Failed to pull image "user/privaterepo:v1": Error: image user/privaterepo:v1 not found
```
必须保证集群中所有的节点都有相同的`.docker/config.json`文件。否则,pod会在一些节点上正常运行而在另一些节点上无法启动
例如,如果使用node自动弹缩,那么每个实例模板都需要包含`.docker/config.json`,或者挂载一个包含这个文件的驱动器。
`.docker/config.json`中配置了私有仓库密钥后,所有pod都会能读取私有仓库中的镜像。
**该方法已在6月26日的docker私有仓库和kubernetes v0.19.3上测试通过,其他私有仓库,如quay.io应该也可以运行,但未测试过。**
### 提前拉取镜像
**注意:** 如果在Google Container Engine (GKE)上运行集群,每个节点上都会有`.dockercfg`文件,它包含对Google Container Registry的凭证。
不需要使用以下方法。
**注意:** 该方法适用于能够对节点进行配置的情况。该方法在GCE及在其它能自动配置节点的云平台上并不适合。
默认情况下,kubelet会尝试从指定的仓库拉取每一个镜像
但是,如果容器属性`imagePullPolicy`设置为`IfNotPresent`或者`Never`
则会使用本地镜像(优先、唯一、分别)。
如果依赖提前拉取镜像代替仓库认证,
必须保证集群所有的节点提前拉取的镜像是相同的。
可以用于提前载入指定的镜像以提高速度,或者作为私有仓库认证的一种替代方案
所有的pod都可以使用node上缓存的镜像
### 在pod上指定ImagePullSecrets
**注意:** GKE,GCE及其他自动创建node的云平台上,推荐使用本方法。
Kuberentes支持在pod中指定仓库密钥。
#### 使用Docker Config创建Secret
运行以下命令,将大写字母代替为合适的值
```shell
$ kubectl create secret docker-registry myregistrykey --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL
secret "myregistrykey" created.
```
如果需要接入多个仓库,可以为每个仓库创建一个secret。
当为pod拉取镜像时,kubelet会将`imagePullSecrets`合入一个独立虚拟的`.docker/config.json`
Pod只能引用和它相同namespace的ImagePullSecrets
所以需要为每一个namespace做配置
#### 通过kubectl创建secret
由于某种原因在一个`.docker/config.json`中需要多个项或者需要非上述命令给出的secret,可以[create a secret using
json or yaml](/docs/user-guide/secrets/#creating-a-secret-manually)。
请保证:
- 设置data项的名称为`.dockerconfigjson`
- 使用base64对docker文件编码,并将字符准确黏贴到`data[".dockerconfigjson"]`
- 设置`type``kubernetes.io/dockerconfigjson`
示例:
```yaml
apiVersion: v1
kind: Secret
metadata:
name: myregistrykey
namespace: awesomeapps
data:
.dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eSBsbGxsbGxsbGxsbGxsbG9vb29vb29vb29vb29vb29vb29vb29vb29vb25ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubmdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2cgYXV0aCBrZXlzCg==
type: kubernetes.io/dockerconfigjson
```
如果收到错误消息`error: no objects passed to create`,可能是 base64 编码后的字符串非法。
如果收到错误消息类似`Secret "myregistrykey" is invalid: data[.dockerconfigjson]: invalid value ...`,
说明数据已经解码成功,但是不满足`.docker/config.json`文件的语法。
#### 在pod中引用imagePullSecrets
现在,在创建pod时,可以在pod定义中增加`imagePullSecrets`小节来引用secret
```yaml
apiVersion: v1
kind: Pod
metadata:
name: foo
namespace: awesomeapps
spec:
containers:
- name: foo
image: janedoe/awesomeapp:v1
imagePullSecrets:
- name: myregistrykey
```
对每一个使用私有仓库的pod,都需要做以上操作。
也可以在[serviceAccount](/docs/user-guide/service-accounts) 资源中设置imagePullSecrets自动设置`imagePullSecrets`
`imagePullSecrets`可以和每个node上的`.docker/config.json`一起使用,他们将共同生效。本方法在Google Container Engine (GKE)
也能正常工作。
### 使用场景
配置私有仓库有多种方案,以下是一些常用场景和建议的解决方案。
1. 集群运行非专有(例如 开源镜像)镜像。镜像不需要隐藏。
- 使用Docker hub上的公有镜像
- 无需配置
- 在GCE/GKE上会自动使用高稳定性和高速的Docker hub的本地mirror
1. 集群运行一些专有镜像,这些镜像对外部公司需要隐藏,对集群用户可见
- 使用自主的私有[Docker registry](https://docs.docker.com/registry/).
- 可以放置在[Docker Hub](https://hub.docker.com/account/signup/),或者其他地方。
- 按照上面的描述,在每个节点手动配置.docker/config.json
- 或者,在防火墙内运行一个内置的私有仓库,并开放读取权限
- 不需要配置Kubenretes
- 或者,在GCE/GKE上时,使用项目的Google Container Registry
- 使用集群自动伸缩比手动配置node工作的更好
- 或者,在更改集群node配置不方便时,使用`imagePullSecrets`
1. 使用专有镜像的集群,有更严格的访问控制
- 保证[AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages)开启。否则,所有的pod都可以使用镜像
- 将敏感数据存储在"Secret"资源中,而不是打包在镜像里
1. 多租户集群下,每个租户需要自己的私有仓库
- 保证[AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages)开启。否则,所有租户的所有的pod都可以使用镜像
- 私有仓库开启认证
- 为每个租户获取仓库凭证,放置在secret中,并发布到每个租户的namespace下
- 租户将secret增加到每个namespace下的imagePullSecrets中
{% endcapture %}
{% include templates/concept.md %}
@@ -0,0 +1,36 @@
---
title: 概念模板示例
approvers:
- chenopis
---
{% capture overview %}
**注意:** 注意为新文档 [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) 。
本页解释了 ...
{% endcapture %}
{% capture body %}
## 了解 ...
Kubernetes 提供 ...
## 使用 ...
使用 ...
{% endcapture %}
{% capture whatsnext %}
**[可选章节]**
* 了解更多 [Writing a New Topic](/docs/home/contribute/write-new-topic/)。
* 查看 [Using Page Templates - Concept template](/docs/home/contribute/page-templates/#concept_template) 了解如何使用本模板。
{% endcapture %}
{% include templates/concept.md %}
+124
View File
@@ -0,0 +1,124 @@
---
assignees:
- lavalamp
title: Kubernetes 组件
redirect_from:
- "/docs/admin/cluster-components/"
- "/docs/admin/cluster-components.html"
---
{% capture overview %}
本文档概述了 Kubernetes 所需的各种二进制组件, 用于提供齐全的功能。
{% endcapture %}
{% capture body %}
## Master 组件
Master 组件提供的集群控制。Master 组件对集群做出全局性决策(例如:调度),以及检测和响应集群事件(副本控制器的`replicas`字段不满足时,启动新的副本)。
Master 组件可以在集群中的任何节点上运行。然而,为了简单起见,设置脚本通常会启动同一个虚拟机上所有 Master 组件,并且不会在此虚拟机上运行用户容器。请参阅[构建高可用性群集](/docs/admin/high-availability)示例对于多主机 VM 的设置。
### API服务器
[kube-apiserver](/docs/admin/kube-apiserver)对外暴露了Kubernetes API。它是的 Kubernetes 前端控制层。它被设计为水平扩展,即通过部署更多实例来缩放。请参阅[构建高可用性群集](/docs/admin/high-availability).
### etcd
[etcd](/docs/admin/etcd) 用于 Kubernetes 的后端存储。所有集群数据都存储在此处,始终为您的 Kubernetes 集群的 etcd 数据提供备份计划。
### kube-controller-manager
[kube-controller-manager](/docs/admin/kube-controller-manager)运行控制器,它们是处理集群中常规任务的后台线程。逻辑上,每个控制器是一个单独的进程,但为了降低复杂性,它们都被编译成独立的可执行文件,并在单个进程中运行。
这些控制器包括:
* 节点控制器: 当节点移除时,负责注意和响应。
* 副本控制器: 负责维护系统中每个副本控制器对象正确数量的 Pod。
* 端点控制器: 填充 端点(Endpoints) 对象(即连接 Services & Pods)。
* 服务帐户和令牌控制器: 为新的命名空间创建默认帐户和 API 访问令牌.
### 云控制器管理器-(cloud-controller-manager)
cloud-controller-manager 是用于与底层云提供商交互的控制器。云控制器管理器二进制是 Kubernetes v1.6 版本中引入的 Alpha 功能。
cloud-controller-manager 仅运行云提供商特定的控制器循环。您必须在 kube-controller-manager 中禁用这些控制器循环,您可以通过在启动 kube-controller-manager 时将 `--cloud-provider` 标志设置为`external`来禁用控制器循环。
cloud-controller-manager 允许云供应商代码和 Kubernetes 核心彼此独立发展,在以前的版本中,Kubernetes 核心代码依赖于云提供商特定的功能代码。在未来的版本中,云供应商的特定代码应由云供应商自己维护,并与运行 Kubernetes 的云控制器管理器相关联。
以下控制器具有云提供商依赖关系:
* 节点控制器: 用于检查云提供商以确定节点是否在云中停止响应后被删除
* 路由控制器: 用于在底层云基础架构中设置路由
* 服务控制器: 用于创建,更新和删除云提供商负载平衡器
* 数据卷控制器: 用于创建,附加和装载卷,并与云提供商进行交互以协调卷
### 调度器 - (kube-scheduler)
[kube-scheduler](/docs/admin/kube-scheduler)监视没有分配节点的新创建的 Pod,选择一个节点供他们运行。
### 插件(addons)
插件是实现集群功能的 Pod 和 Service。 Pods 可以通过 DeploymentsReplicationControllers 管理。插件对象本身是受命名空间限制的,被创建于 `kube-system` 命名空间。
Addon 管理器用于创建和维护附加资源. 有关详细信息,请参阅[here](http://releases.k8s.io/HEAD/cluster/addons).
#### DNS
虽然其他插件并不是必需的,但所有 Kubernetes 集群都应该具有[Cluster DNS](/docs/concepts/services-networking/dns-pod-service/),许多示例依赖于它。
Cluster DNS 是一个 DNS 服务器,和您部署环境中的其他 DNS 服务器一起工作,为 Kubernetes 服务提供DNS记录。
Kubernetes 启动的容器自动将 DNS 服务器包含在 DNS 搜索中。
#### 用户界面
dashboard 提供了集群状态的只读概述。有关更多信息,请参阅[使用HTTP代理访问 Kubernetes API](/docs/tasks/access-kubernetes-api/http-proxy-access-api/)
#### 容器资源监控
[容器资源监控](/docs/user-guide/monitoring)将关于容器的一些常见的时间序列度量值保存到一个集中的数据库中,并提供用于浏览这些数据的界面。
#### 集群层面日志
[集群层面日志](/docs/user-guide/logging/overview) 机制负责将容器的日志数据保存到一个集中的日志存储中,该存储能够提供搜索和浏览接口。
## 节点组件
节点组件在每个节点上运行,维护运行的 Pod 并提供 Kubernetes 运行时环境。
### kubelet
[kubelet](/docs/admin/kubelet)是主要的节点代理,它监测已分配给其节点的 Pod(通过 apiserver 或通过本地配置文件),提供如下功能:
* 挂载 Pod 所需要的数据卷(Volume)。
* 下载 Pod 的 secrets。
* 通过 Docker 运行(或通过 rkt)运行 Pod 的容器。
* 周期性的对容器生命周期进行探测。
* 如果需要,通过创建 *镜像 PodMirror Pod* 将 Pod 的状态报告回系统的其余部分。
* 将节点的状态报告回系统的其余部分。
### kube-proxy
[kube-proxy](/docs/admin/kube-proxy)通过维护主机上的网络规则并执行连接转发,实现了Kubernetes服务抽象。
### docker
Docker 用于运行容器。
### rkt
支持 rkt 运行容器作为 Docker 的试验性替代方案。
### supervisord
supervisord 是一个轻量级的进程监控系统,可以用来保证 kubelet 和 docker 运行。
### fluentd
fluentd 是一个守护进程,它有助于提供[集群层面日志](#cluster-level-logging) 集群层面的日志。
{% endcapture %}
{% include templates/concept.md %}
@@ -0,0 +1,118 @@
---
approvers:
- k8s-merge-robot
title: 认识 Kubernetes?
---
Kubernetes 是一个跨主机集群的 [开源的容器调度平台,它可以自动化应用容器的部署、扩展和操作](http://www.slideshare.net/BrianGrant11/wso2con-us-2015-kubernetes-a-platform-for-automating-deployment-scaling-and-operations) , 提供以容器为中心的基础架构。
使用 Kubernetes, 您可以快速高效地响应客户需求:
- 快速、可预测地部署您的应用程序
- 拥有即时扩展应用程序的能力
- 不影响现有业务的情况下,无缝地发布新功能
- 优化硬件资源,降低成本
我们的目标是构建一个软件和工具的生态系统,以减轻您在公共云或私有云运行应用程序的负担。
#### Kubernetes 具有如下特点:
* **便携性**: 无论公有云、私有云、混合云还是多云架构都全面支持
* **可扩展**: 它是模块化、可插拔、可挂载、可组合的,支持各种形式的扩展
* **自修复**: 它可以自保持应用状态、可自重启、自复制、自缩放的,通过声明式语法提供了强大的自修复能力
Kubernetes 项目由 Google 公司在 2014 年启动。Kubernetes 建立在 [Google 公司超过十余年的运维经验基础之上,Google 所有的应用都运行在容器上](https://research.google.com/pubs/pub43438.html), 再与社区中最好的想法和实践相结合,也许它是最受欢迎的容器平台。
##### 准备好 [开始](/docs/getting-started-guides/)?
## 为什么是容器?
查看此文,可以了解为什么您要使用容器 [容器](http://aucouranton.com/2014/06/13/linux-containers-parallels-lxc-openvz-docker-and-more/)?
![为什么是容器?](/images/docs/why_containers.svg)
*传统* 部署应用程序的方式,一般是使用操作系统自带的包管理器在主机上安装应用依赖,之后再安装应用程序。这无疑将应用程序的可执行文件、应用的配置、应用依赖库和应用的生命周期与宿主机操作系统进行了紧耦合。在此情境下,可以通过构建不可改变的虚拟机镜像版本,通过镜像版本实现可预测的发布和回滚,但是虚拟机实在是太重量级了,且镜像体积太庞大,便捷性差。
*新方式* 是基于操作系统级虚拟化而不是硬件级虚拟化方法来部署容器。容器之间彼此隔离并与主机隔离:它们具有自己的文件系统,不能看到彼此的进程,并且它们所使用的计算资源是可以被限制的。它们比虚拟机更容易构建,并且因为它们与底层基础架构和主机文件系统隔离,所以它们可以跨云和操作系统快速分发。
由于容器体积小且启动快,因此可以在每个容器镜像中打包一个应用程序。这种一对一的应用镜像关系拥有很多好处。使用容器,不需要与外部的基础架构环境绑定, 因为每一个应用程序都不需要外部依赖,更不需要与外部的基础架构环境依赖。完美解决了从开发到生产环境的一致性问题。
容器同样比虚拟机更加透明,这有助于监测和管理。尤其是容器进程的生命周期由基础设施管理,而不是由容器内的进程对外隐藏时更是如此。最后,每个应用程序用容器封装,管理容器部署就等同于管理应用程序部署。
容器优点摘要:
* **敏捷的应用程序创建和部署**:
与虚拟机镜像相比,容器镜像更容易创建,提升了硬件的使用效率。
* **持续开发、集成和部署**:
提供可靠与频繁的容器镜像构建和部署,可以很方便及快速的回滚 (由于镜像不可变性).
* **关注开发与运维的分离**:
在构建/发布时创建应用程序容器镜像,从而将应用程序与基础架构分离。
* **开发、测试和生产环境的一致性**:
在笔记本电脑上运行与云中一样。
* **云和操作系统的可移植性**:
可运行在 Ubuntu, RHEL, CoreOS, 内部部署, Google 容器引擎和其他任何地方。
* **以应用为中心的管理**:
提升了操作系统的抽象级别,以便在使用逻辑资源的操作系统上运行应用程序。
* **松耦合、分布式、弹性伸缩 [微服务](http://martinfowler.com/articles/microservices.html)**:
应用程序被分成更小,更独立的部分,可以动态部署和管理 - 而不是巨型单体应用运行在专用的大型机上。
* **资源隔离**:
通过对应用进行资源隔离,可以很容易的预测应用程序性能。
* **资源利用**:
高效率和高密度。
#### 为什么我们需要 Kubernetes,它能做什么?
最基础的,Kubernetes 可以在物理或虚拟机集群上调度和运行应用程序容器。然而,Kubernetes 还允许开发人员从物理和虚拟机'脱离',从以**主机为中心**的基础架构转移到以**容器为中心**的基础架构,这样可以提供容器固有的全部优点和益处。Kubernetes 提供了基础设施来构建一个真正以**容器为中心**的开发环境。
Kubernetes 满足了生产中运行应用程序的许多常见的需求,例如:
* [Pod](/docs/user-guide/pods/) 提供复合应用并保留一个应用一个容器的容器模型,
* [挂载外部存储](/docs/user-guide/volumes/),
* [Secret管理](/docs/user-guide/secrets/),
* [应用健康检查](/docs/user-guide/production-pods/#liveness-and-readiness-probes-aka-health-checks),
* [副本应用实例](/docs/user-guide/replication-controller/),
* [横向自动扩缩容](/docs/user-guide/horizontal-pod-autoscaling/),
* [服务发现](/docs/user-guide/connecting-applications/),
* [负载均衡](/docs/user-guide/services/),
* [滚动更新](/docs/user-guide/update-demo/),
* [资源监测](/docs/user-guide/monitoring/),
* [日志采集和存储](/docs/user-guide/logging/overview/),
* [支持自检和调试](/docs/user-guide/introspection-and-debugging/),
* [认证和鉴权](/docs/admin/authorization/).
这提供了平台即服务 (PAAS) 的简单性以及基础架构即服务 (IAAS) 的灵活性,并促进跨基础设施供应商的可移植性。
有关详细信息,请参阅 [用户指南](/docs/user-guide/).
#### 为什么 Kubernetes 是一个平台?
Kubernetes 提供了很多的功能,总会有新的场景受益于新特性。它可以简化应用程序的工作流,加快开发速度。被大家认可的应用编排通常需要有较强的自动化能力。这就是为什么 Kubernetes 被设计作为构建组件和工具的生态系统平台,以便更轻松地部署、扩展和管理应用程序。
[Label](/docs/user-guide/labels/) 允许用户按照自己的方式组织管理对应的资源。 [注解](/docs/user-guide/annotations/) 使用户能够以自定义的描述信息来修饰资源,以适用于自己的工作流,并为管理工具提供检查点状态的简单方法。
此外,[Kubernetes 控制面 (Controll Plane)](/docs/admin/cluster-components) 是构建在相同的 [APIs](/docs/api/) 上面,开发人员和用户都可以用。用户可以编写自己的控制器, [调度器](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/docs/devel/scheduler.md)等等,如果这么做,根据新加的[自定义 API](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/extending-api.md) ,可以扩展当前的通用 [CLI 命令行工具](/docs/user-guide/kubectl-overview/)。
这种 [设计](https://git.k8s.io/community/contributors/design-proposals/architecture/principles.md) 使得许多其他系统可以构建在 Kubernetes 之上。
#### Kubernetes 不是什么:
Kubernetes 不是一个传统意义上,包罗万象的 PaaS (平台即服务) 系统。我们保留用户选择的自由,这非常重要。
* Kubernetes 不限制支持的应用程序类型。 它不插手应用程序框架 (例如 [Wildfly](http://wildfly.org/)), 不限制支持的语言运行时 (例如 Java, Python, Ruby),只迎合符合 [12种因素的应用程序](http://12factor.net/),也不区分"应用程序"与"服务"。Kubernetes 旨在支持极其多样化的工作负载,包括无状态、有状态和数据处理工作负载。如果应用可以在容器中运行,它就可以在 Kubernetes 上运行。
* Kubernetes 不提供作为内置服务的中间件 (例如 消息中间件)、数据处理框架 (例如 Spark)、数据库 (例如 mysql)或集群存储系统 (例如 Ceph)。这些应用可以运行在 Kubernetes 上。
* Kubernetes 没有提供点击即部署的服务市场
* Kubernetes 从源代码到镜像都是非垄断的。 它不部署源代码且不构建您的应用程序。 持续集成 (CI) 工作流是一个不同用户和项目都有自己需求和偏好的领域。 所以我们支持在 Kubernetes 分层的 CI 工作流,但不指定它应该如何工作。
* Kubernetes 允许用户选择其他的日志记录,监控和告警系统 (虽然我们提供一些集成作为概念验证)
* Kubernetes 不提供或授权一个全面的应用程序配置语言/系统 (例如 [jsonnet](https://github.com/google/jsonnet)).
* Kubernetes 不提供也不采用任何全面机器配置、保养、管理或自我修复系统
另一方面,许多 PaaS 系统*运行*在 Kubernetes 上面,例如 [Openshift](https://github.com/openshift/origin), [Deis](http://deis.io/), and [Eldarion](http://eldarion.cloud/)。 您也可以自定义您自己的 PaaS, 与您选择的 CI 系统集成,或与 Kubernetes 一起使用: 将您的容器镜像部署到 Kubernetes。
由于 Kubernetes 在应用级别而不仅仅在硬件级别上运行,因此它提供 PaaS 产品通用的一些功能,例如部署、扩展、负载均衡、日志记录、监控等。但是,Kubernetes 不是单一的,默认解决方案是可选和可插拔的。
此处,Kubernetes 不仅仅是一个 "编排系统";它消除了编排的需要。 "编排"技术定义的是工作流的执行: 从 A 到 B,然后到 C。相反,Kubernetes 是包括一套独立、可组合的控制过程,通过声明式语法使其连续地朝着期望状态驱动当前状态。 不需要告诉它具体从 A 到 C 的过程,只要告诉到 C 的状态即可。 也不需要集中控制;该方法更类似于"编舞"。这使得系统更容易使用并且更强大、更可靠、更具弹性和可扩展性。
#### *Kubernetes* 是什么意思? K8s?
名称 **Kubernetes** 源于希腊语,意为 "舵手" 或 "飞行员" 且是英文 "governor" 和 ["cybernetic"](http://www.etymonline.com/index.php?term=cybernetics)的词根。 **K8s** 是通过将 8 个字母 "ubernete" 替换为 8 而导出的缩写。另外,在中文里,k8s 的发音与 Kubernetes 的发音比较接近。
@@ -0,0 +1,98 @@
---
title: 理解 Kubernetes 对象
redirect_from:
- "/docs/concepts/abstractions/overview/"
- "/docs/concepts/abstractions/overview.html"
---
{% capture overview %}
本页说明了 Kubernetes 对象在 Kubernetes API 中是如何表示的,以及如何在 `.yaml` 格式的文件中表示。
{% endcapture %}
{% capture body %}
## 理解 Kubernetes 对象
在 Kubernetes 系统中,*Kubernetes 对象* 是持久化的实体。Kubernetes 使用这些实体去表示整个集群的状态。特别地,它们描述了如下信息:
* 哪些容器化应用在运行(以及在哪个 Node 上)
* 可以被应用使用的资源
* 关于应用运行时表现的策略,比如重启策略、升级策略,以及容错策略
Kubernetes 对象是 “目标性记录” —— 一旦创建对象,Kubernetes 系统将持续工作以确保对象存在。通过创建对象,本质上是在告知 Kubernetes 系统,所需要的集群工作负载看起来是什么样子的,这就是 Kubernetes 集群的 **期望状态(Desired State**
操作 Kubernetes 对象 —— 是否创建、修改,或者删除 —— 需要使用 [Kubernetes API](https://git.k8s.io/community/contributors/devel/api-conventions.md)。比如,当使用 `kubectl` 命令行接口时,CLI 会执行必要的 Kubernetes API 调用,也可以在程序中直接调用 Kubernetes API。为了实现该目标,Kubernetes 当前提供了一个 `golang` [客户端库](https://github.com/kubernetes/client-go)
,其它语言库(例如[Python](https://github.com/kubernetes-incubator/client-python))也正在开发中。
### 对象规约(Spec)与状态(Status)
每个 Kubernetes 对象包含两个嵌套的对象字段,它们负责管理对象的配置:对象 *spec* 和 对象 *status*
*spec* 是必需的,它描述了对象的 *期望状态(Desired State* —— 希望对象所具有的特征。
*status* 描述了对象的 *实际状态(Actual State*,它是由 Kubernetes 系统提供和更新的。在任何时刻,Kubernetes 控制面一直努力地管理着对象的实际状态以与期望状态相匹配。
例如,Kubernetes Deployment 对象能够表示运行在集群中的应用。
当创建 Deployment 时,可能需要设置 Deployment 的规约,以指定该应用需要有 3 个副本在运行。
Kubernetes 系统读取 Deployment 规约,并启动我们所期望的该应用的 3 个实例 —— 更新状态以与规约相匹配。
如果那些实例中有失败的(一种状态变更),Kubernetes 系统通过修正来响应规约和状态之间的不一致 —— 这种情况,会启动一个新的实例来替换。
关于对象 spec、status 和 metadata 的更多信息,查看 [Kubernetes API 约定](https://git.k8s.io/community/contributors/devel/api-conventions.md)。
### 描述 Kubernetes 对象
当创建 KUbernetes 对象时,必须提供对象的规约,用来描述该对象的期望状态,以及关于对象的一些基本信息(例如名称)。
当使用 KUbernetes API 创建对象时(或者直接创建,或者基于`kubectl`),API 请求必须在请求体中包含 JSON 格式的信息。
**大多数情况下,需要在 .yaml 文件中为 `kubectl` 提供这些信息**。
`kubectl` 在发起 API 请求时,将这些信息转换成 JSON 格式。
这里有一个 `.yaml` 示例文件,展示了 KUbernetes Deployment 的必需字段和对象规约:
{% include code.html language="yaml" file="nginx-deployment.yaml" ghlink="/docs/concepts/overview/working-with-objects/nginx-deployment.yaml" %}
使用类似于上面的 `.yaml` 文件来创建 Deployment,一种方式是使用 `kubectl` 命令行接口(CLI)中的 [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create) 命令,将 `.yaml` 文件作为参数。下面是一个示例:
```shell
$ kubectl create -f docs/user-guide/nginx-deployment.yaml --record
```
输出类似如下这样:
```shell
deployment "nginx-deployment" created
```
### 必需字段
在想要创建的 KUbernetes 对象对应的 `.yaml` 文件中,需要配置如下的字段:
* `apiVersion` - 创建该对象所使用的 Kubernetes API 的版本
* `kind` - 想要创建的对象的类型
* `metadata` - 帮助识别对象唯一性的数据,包括一个 `name` 字符串、UID 和可选的 `namespace`
也需要提供对象的 `spec` 字段。对象 `spec` 的精确格式对每个 Kubernetes 对象来说是不同的,包含了特定于该对象的嵌套字段。[Kubernetes API 参考](/docs/api/)能够帮助我们找到任何我们想创建的对象的 spec 格式。
{% endcapture %}
{% capture whatsnext %}
* 了解最重要的基本 Kubernetes 对象,例如 [Pod](/docs/concepts/abstractions/pod/)。
{% endcapture %}
{% include templates/concept.md %}
@@ -0,0 +1,16 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80

Some files were not shown because too many files have changed in this diff Show More