Compare commits

...

887 Commits

Author SHA1 Message Date
Zach Corleissen 7defcaa86d Update release-1.6 for version changes in 1.9 (#6521)
* Update release-1.6 for version changes in 1.9

🛑 DO NOT MERGE 🛑

Update config files to use 1.9 as version number.

* Update _config.yml

* Update _config.yml
2017-12-15 17:40:41 -06:00
Steve Perry 51d9f8dac5 Change link to 1.5 ref docs. (#5856) 2017-10-10 17:04:42 -07:00
Steve Perry 5416064726 Remove old ref docs from the 1.5 doc set. (#5855)
Remove old ref docs from the 1.6 doc set.
2017-10-10 16:30:32 -07:00
Steve Perry 67a7444cca Update URL for 1.7 docs. 2017-10-10 12:40:35 -07:00
Steve Perry 3688d4d2dc Add 1.8 to version picker for 1.6 docs. (#5831) 2017-10-09 21:44:03 -07:00
Andrew Chen 3fab9b4636 Merge pull request #5272 from kubernetes/chenopis-1.6-patch
Make caret for version drop-down more visible in v1.6
2017-09-01 17:10:07 -07:00
Andrew Chen b7bdec1414 Make caret for version drop-down more visible in v1.6 2017-09-01 17:06:40 -07:00
Andrew Chen ee8bef1bba Merge pull request #4760 from kubernetes/chenopis-v1.6-version-selector
Add deprecation warning to release-1.6
2017-08-10 22:51:55 -07:00
Andrew Chen a3b365d5a8 Add deprecation warning to release-1.6 2017-08-10 22:46:48 -07:00
Andrew Chen 1cff283759 convert indents back to tabs 2017-08-10 16:09:06 -07:00
Andrew Chen 4dcc666794 Merge pull request #4744 from kubernetes/chenopis-v1.6-version-selector
Add Version Selector
2017-08-10 15:59:44 -07:00
Andrew Chen f09d79909e Add Version Selector 2017-08-10 15:53:05 -07:00
Andrew Chen e8d310100d update githubbranch 2017-08-07 16:33:21 -07:00
Andrew Chen 02b43cc051 switch from hardcoded master to page variable 2017-08-07 16:25:39 -07:00
Andrew Chen c3755c0158 update version number 2017-08-07 16:20:58 -07:00
Andrew Chen 42e97ac889 convert include to array in _config.yml 2017-07-24 16:15:28 -07:00
Andrew Chen 25d0d3edb4 prevent bot indexing 2017-07-24 11:16:47 -07:00
Andrew Chen 2753f80465 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  cassandra.md: Fix Liquid syntax warning
  add small blurb about reclaim policies and SCs
  Update links to proper repos
2017-06-29 16:04:20 -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
Patrick Christopher 46be5c6bc7 add small blurb about reclaim policies and SCs 2017-06-28 23:27:17 -07:00
Christoph Blecker 2e192598a0 Update links to proper repos 2017-06-28 22:08:36 -07:00
Andrew Chen 587920e622 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 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:12 -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
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 c6b909de18 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  outdate link (#4199)
2017-06-27 21:11:13 -07:00
jianglingxia 68b4abc1f4 outdate link (#4199)
* outdate link

* resubmit the outdate link
2017-06-27 21:08:02 -07:00
Andrew Chen 98d5d8ede6 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Removed -fs from troubleshooting command (#4177)
2017-06-27 16:48:44 -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 5137ba582a 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 definitions for Task and Tutorial. (#4206)
2017-06-27 16:11:30 -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
Andrew Chen 6dac39de5b 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 script.js
  Replace remaining kargo usages to kubespray
2017-06-27 10:01:23 -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
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 5e9ea589d5 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 example templates
  redirect fix for meanstack article
2017-06-26 16:40:04 -07: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
Andrew Chen 210f7ba24b Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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:56 -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
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 310b3980db Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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:52 -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
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 685396fb8d Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fixed loopback plugin link
2017-06-25 12:28:46 -07:00
Matej Baćo 9347a503c8 fixed loopback plugin link 2017-06-25 12:23:10 -07:00
Andrew Chen c00c946d13 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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:10 -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
Andrew Chen dda7d83b7f Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  fixed #3968 (#4105)
2017-06-23 14:05:04 -07:00
Vincent 80c90ba8fb fixed #3968 (#4105)
* fixed #3968

* advise from @chenopis
2017-06-23 14:03:07 -07:00
Andrew Chen e441af2e27 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 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:13 -07: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 f2b71cc84d 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 broken links to client samples. (#4139)
2017-06-23 00:39:34 -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 51d779fe41 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Edits for clarity, concision, style, formatting, (#4160)
  rename kargo to kubespray in getting started docs (#4119)
2017-06-22 15:44:20 -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
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
Andrew Chen edd9e6c565 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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
  Document the use of verb if set resourceNames
2017-06-22 14:42:55 -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
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
Andrew Chen bc25964394 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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:58:22 -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
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 c9eb0737cb Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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
  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-21 14:43:32 -07:00
Federico Gimenez 0b5d13704a bump openstack cli tools versions to working values 2017-06-20 16:31:22 -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
Sameer Naik 7047cdefbf fixes typos and corrects links in the minikube guide (#4051) 2017-06-20 14:14:37 -07:00
Elliot Anderson 6ce8d8e475 Use native patch functionality instead of JQ 2017-06-20 13:48:44 -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 857c1bfe86 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:
  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:53:21 -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 a6af64c989 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 '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)
2017-06-19 10:16:08 -07: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
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 e4a301ea68 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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:09 -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
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 2c7fb7c3e9 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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)
  Make issue title automatically a link
  Update directions for macOS bash completion
2017-06-07 09:57:05 -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
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 e2d46b3d76 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 TCP socket health check example (#3977)
  Update networking.md (#3950)
  [authorization] fix invalid href for webhook
2017-06-05 14:06:58 -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
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 1510c31f16 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Remove self-referential link
  Add fibre channel volume explanation (#3967)
2017-06-05 10:42:20 -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 0d0cc45c7d Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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
  Create Installing kubeadm topic. (#3709)
2017-06-02 14:29:14 -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
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
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 3b4700d2ce 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 example in the "Adding ConfigMap data to a Volume" section
  Update ExternalName example
  Completes PR #3325
2017-06-01 16:20:34 -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 ce9cfacb7f Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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:26 -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 38e819845a 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 golang version to 1.8.1
2017-06-01 14:27:20 -07:00
Anirudh Ramanathan 2f82ff8a96 Update golang version to 1.8.1 2017-06-01 13:51:12 -07:00
Andrew Chen 90dcb039db Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Implement PR #3859 with tabs
2017-06-01 13:32:44 -07:00
Andrew Chen 8ad0302646 Implement PR #3859 with tabs 2017-06-01 10:08:51 -07:00
Andrew Chen a73e5d5139 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Templates (#3949)
  Revised IBM Bluemix Container Service description
2017-05-31 23:20:37 -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 38c50e11e0 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* '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
  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 12:49:20 -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
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 9f95738233 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Reimplement #2756 (#3935)
2017-05-30 16:30:44 -07:00
Andrew Chen e0a852eb28 Reimplement #2756 (#3935) 2017-05-30 16:30:02 -07:00
Andrew Chen 153e91d370 Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.6
* 'master' of https://github.com/kubernetes/kubernetes.github.io: (627 commits)
  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.
  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
  Add deprecation tag (#3922)
  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
  ...

# Conflicts:
#	docs/tasks/debug-application-cluster/logging-elasticsearch-kibana.md
2017-05-30 16:01:47 -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
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 4ca2f4e738 Add deprecation tag (#3922)
* Add deprecation tag

* match docsContent styling in dialog
2017-05-26 16:59:29 -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
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
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
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 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
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 7cf77d926e Merge pull request #3673 from crassirostris/es-logging-fix
Fix Elasticsearch logging manual
2017-05-08 10:03:05 -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
Mik Vyatskov 533786c368 Fix Elasticsearch logging manual 2017-05-08 13:47:44 +02: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
1451 changed files with 23478 additions and 176240 deletions
+4
View File
@@ -1,3 +1,7 @@
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> For 1.7 Features: set Milestone to `1.7` and Base Branch to `release-1.7`
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> NOTE: Please check the “Allow edits from maintainers” box below to allow
> reviewers fix problems on your patch and speed up the review process.
> Please delete this note before submitting the pull request.
-1
View File
@@ -24,4 +24,3 @@ Session.vim
tags
kubernetes.github.io.iml
_redirects
+4 -18
View File
@@ -1,6 +1,6 @@
language: go
go:
- 1.7.3
- 1.8.1
# Don't want default ./... here:
install:
@@ -11,23 +11,9 @@ install:
# (1) Fetch dependencies for us to run the tests in test/examples_test.go
- go get -t -v k8s.io/kubernetes.github.io/test
# The dependencies are complicated for test/examples_test.go
# k8s.io/kubernetes/pkg is a dependency, which in turn depends on apimachinery
# but we also have apimachinery directly as one of our dependencies, which causes a conflict.
# Additionally, we get symlinks when we clone the directory. The below steps do the following:
# (a) Replace the symlink with the actual dependencies from kubernetes/staging/src/
# (b) copy all the vendored files to $GOPATH/src
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/apiserver
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/client-go
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/sample-apiserver
- rm $GOPATH/src/k8s.io/kubernetes/vendor/k8s.io/kube-aggregator
- cp -r $GOPATH/src/k8s.io/kubernetes/vendor/* $GOPATH/src/
- rm -rf $GOPATH/src/k8s.io/kubernetes/vendor/*
- cp -r $GOPATH/src/k8s.io/kubernetes/staging/src/* $GOPATH/src/
- cp -r $GOPATH/src/k8s.io/apimachinery/vendor/* $GOPATH/src/
- rm -rf $GOPATH/src/k8s.io/apimachinery/vendor/*
# Simplified deduplication of dependencies.
- 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
+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/).
+1 -4
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)
@@ -11,8 +11,5 @@ build: ## Build site with production settings and put deliverables in _site.
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
serve: ## Boot the development server.
jekyll serve
+5 -5
View File
@@ -7,11 +7,11 @@ 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/)
* [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!
+42 -7
View File
@@ -1,5 +1,6 @@
name: Kubernetes
title: Kubernetes
url: https://kubernetes.io
description: Production-Grade Container Orchestration
markdown: kramdown
kramdown:
@@ -17,9 +18,39 @@ defaults:
scope:
path: ""
values:
version: "v1.5.1"
githubbranch: "master"
docsbranch: "master"
fullversion: "v1.6.8"
version: "v1.6"
githubbranch: "v1.6.8"
docsbranch: "release-1.6"
versions:
- fullversion: "v1.9.0"
version: "v1.9"
githubbranch: "v1.9.0"
docsbranch: "release-1.9"
url: https://kubernetes.io/docs/home/
- fullversion: "v1.8.4"
version: "v1.8"
githubbranch: "v1.8.4"
docsbranch: "release-1.8"
url: https://v1-8.docs.kubernetes.io/docs/home/
- fullversion: "v1.7.3"
version: "v1.7"
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/
-
scope:
path: "docs"
@@ -36,19 +67,23 @@ gems:
- jekyll-seo-tag
- jekyll-include-cache
include: [_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
+50 -34
View File
@@ -10,13 +10,21 @@ 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: 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 +32,59 @@ 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
- 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/secret.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
- 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/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
- 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
-223
View File
@@ -1,223 +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/projected-volume/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
- 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/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/node-allocatable.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/etcd_upgrade.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
+50 -172
View File
@@ -1,211 +1,89 @@
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"
- title: Using the API
section:
- title: Version 1.6
path: /docs/resources-reference/v1.6/
- title: Version 1.5
path: /docs/resources-reference/v1.5/
- title: "Kubernetes API"
section:
- title: Version 1.6
path: /docs/api-reference/v1.6/
- title: Version 1.5
path: /docs/api-reference/v1.5/
- title: "Kubectl Commands"
section:
- title: Version 1.6
path: /docs/user-guide/kubectl/v1.6/
- title: Version 1.5
path: /docs/user-guide/kubectl/v1.5/
- title: Kubernetes API
section:
- docs/api.md
- docs/reference/api-overview.md
- title: Accessing the API
section:
- docs/admin/accessing-the-api.md
- docs/admin/authentication.md
- docs/admin/bootstrap-tokens.md
- title: Authorization Plugins
section:
- docs/admin/authorization/index.md
- docs/admin/authorization/rbac.md
- docs/admin/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/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.6
path: /docs/api-reference/v1.6/
- 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.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
- docs/admin/kubeadm.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/pod-preset/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.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/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/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/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/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/ubuntu/manual.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
+99 -36
View File
@@ -3,77 +3,142 @@ 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-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/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/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
- 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/authenticate-across-clusters-kubeconfig.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/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-third-party-resource.md
- title: Using TLS
- title: TLS
section:
- docs/tasks/tls/managing-tls-in-a-cluster.md
- title: Administering a Cluster
- title: Administer a Cluster
section:
- docs/tasks/administer-cluster/overview.md
- docs/tasks/administer-cluster/assign-pods-nodes.md
- docs/tasks/administer-cluster/access-cluster-api.md
- docs/tasks/administer-cluster/access-cluster-services.md
- docs/tasks/administer-cluster/configure-upgrade-etcd.md
- docs/tasks/administer-cluster/apply-resource-quota-limit.md
- docs/tasks/administer-cluster/out-of-resource.md
- docs/tasks/administer-cluster/cpu-memory-limit.md
- docs/tasks/administer-cluster/reserve-compute-resources.md
- docs/tasks/administer-cluster/static-pod.md
- docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods.md
- docs/tasks/administer-cluster/cluster-management.md
- docs/tasks/administer-cluster/upgrade-1-6.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/declare-network-policy.md
- docs/tasks/administer-cluster/calico-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/change-default-storage-class.md
- docs/tasks/administer-cluster/share-configuration.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
- title: Change Cluster Size
path: https://github.com/kubernetes/kubernetes/wiki/User-FAQ#how-do-i-change-the-size-of-my-cluster/
- 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/administer-federation/cluster.md
- docs/tasks/administer-federation/configmap.md
- docs/tasks/administer-federation/daemonset.md
- docs/tasks/administer-federation/deployment.md
@@ -83,14 +148,12 @@ toc:
- docs/tasks/administer-federation/replicaset.md
- docs/tasks/administer-federation/secret.md
- title: Managing Stateful Applications
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
- title: Managing Cluster Daemons
- title: Manage Cluster Daemons
section:
- docs/tasks/manage-daemon/update-daemon-set.md
- title: Manage GPUs
section:
- docs/tasks/manage-gpus/scheduling-gpus.md
+11 -11
View File
@@ -32,6 +32,9 @@ toc:
- title: Online Training Course
path: https://www.udacity.com/course/scalable-microservices-with-kubernetes--ud615
- 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 +43,22 @@ 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
+3
View File
@@ -0,0 +1,3 @@
# Prevent bots from indexing site
/*
X-Robots-Tag: noindex
-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:
+12
View File
@@ -0,0 +1,12 @@
{% if page.deprecated %}
<section id="deprecationWarning">
<main>
<div class="content deprecation-warning">
<h3>
Documentation for Kubernetes {{ page.version}} is no longer actively maintained. The version you are currently viewing is a static snapshot.
For up-to-date documentation, see the <a href="{{ page.currentUrl }}">latest</a> version.
</h3>
</div>
</main>
</section>
{% endif %}
+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>
+14 -6
View File
@@ -2,12 +2,20 @@
<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">
{% if page.class == "gridPage" %}<link rel="stylesheet" href="/css/gridpage.css">{% endif %}
<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">
<link rel="stylesheet" type="text/css" href="/css/styles.css">
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="/css/sweetalert.css">
{% if page.deprecated %}<link rel="stylesheet" type="text/css" href="/css/deprecation-warning.css">{% endif %}
{% if page.class == "gridPage" %}<link rel="stylesheet" type="text/css" href="/css/gridpage.css">{% 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>
+15 -4
View File
@@ -5,13 +5,24 @@
<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>
<li><a href="/case-studies/">Case Studies</a></li>
<li>
<a href="#">
{{page.version}} <span class="ui-icon ui-icon-carat-1-s"></span>
</a>
<ul>
{% for version in page.versions %}
<li><a href="{{ version.url }}">{{ version.version }}</a></li>
{% endfor %}
</ul>
</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>
@@ -19,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">
+126
View File
@@ -391,6 +391,132 @@
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: 'F5 Networks',
logo: 'f5networks',
link: 'https://f5.com/about-us/news/press-kit',
blurb: 'Integration of our ADC services with Kubernetes'
},
{
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/blog/posts/problems-within-your-kubernetes-cluster/',
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: 'https://drive.google.com/file/d/0BxCnAyMK1pgBTUFOdEZsUndLa01xMGJYZWtUVmVOdldadk80/view?usp=sharing',
blurb: ''
},
{
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: 0,
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: 0,
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'
}
]
-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>
-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 %}
+2 -2
View File
@@ -4,8 +4,8 @@
<tr>
<td>
<p><b>NOTICE</b></p>
<p>As of March 14, 2017, the Kubernetes SIG-Docs-Maintainers group have begun migration of the User Guide content as announced previously to the <a href="https://github.com/kubernetes/community/tree/master/sig-docs">SIG Docs community</a> through the <a href="https://groups.google.com/forum/#!forum/kubernetes-sig-docs">kubernetes-sig-docs</a> group and <a href="https://kubernetes.slack.com/messages/sig-docs/">kubernetes.slack.com #sig-docs</a> channel.</p>
<p>The user guides within this section are being refactored into topics within Tutorials, Tasks, and Concepts. Anything that has been moved will have a notice placed in its previous location as well as a link to its new location. The reorganization implements the table of contents (ToC) outlined in the <a href="https://docs.google.com/a/google.com/document/d/18hRCIorVarExB2eBVHTUR6eEJ2VVk5xq1iBmkQv8O6I/edit?usp=sharing">kubernetes-docs-toc</a> document and should improve the documentation's findability and readability for a wider range of audiences.</p>
<p>As of March 14, 2017, the Kubernetes SIG-Docs-Maintainers group have begun migration of the User Guide content as announced previously to the <a href="https://git.k8s.io/community/sig-docs">SIG Docs community</a> through the <a href="https://groups.google.com/forum/#!forum/kubernetes-sig-docs">kubernetes-sig-docs</a> group and <a href="https://kubernetes.slack.com/messages/sig-docs/">kubernetes.slack.com #sig-docs</a> channel.</p>
<p>The user guides within this section are being refactored into topics within Tutorials, Tasks, and Concepts. Anything that has been moved will have a notice placed in its previous location as well as a link to its new location. The reorganization implements a new table of contents and should improve the documentation's findability and readability for a wider range of audiences.</p>
<p>For any questions, please contact: <a href="mailto:kubernetes-sig-docs@googlegroups.com">kubernetes-sig-docs@googlegroups.com</a></p>
</td>
</tr>
@@ -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">
+7 -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">
@@ -38,12 +35,12 @@
</div>
</section>
{% include deprecation-warning.html %}
<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 -->
@@ -69,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>
+327 -18
View File
@@ -258,12 +258,46 @@ ul.global-nav
left: 0
background: #fff
.ui-icon
filter: brightness(0) invert(1)
ul
display: none
position: fixed
top: 40px
text-align: left
li
display: block
height: 28px
a
background: $dark-grey
color: #fff
padding: 7px
li:last-child
a
border-radius: 7px
li:hover
ul
display: block
.flip-nav ul.global-nav li a,
.open-nav ul.global-nav li a,
color: #333
color: $dark-grey
.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
.flip-nav ul.global-nav li a.active:after,
.flip-nav ul.global-nav li ul li a.active:after,
.open-nav ul.global-nav li a.active:after,
background: $blue
@@ -864,6 +898,9 @@ dd
font-size: inherit
background-color: transparent
.includecode
table-layout: fixed
.includecode, .includecode th, .includecode td
padding: 0 !important
@@ -965,8 +1002,8 @@ dd
//font-weight: 700
text-decoration: underline
a:visited
color: blueviolet
// a:visited
// color: blueviolet
a.button
border-radius: 2px
@@ -1294,7 +1331,7 @@ $feature-box-div-margin-bottom: 40px
height: 30vw
max-width: 1200px
max-height: 450px
margin: 20px auto
margin: 20px auto
iframe
position: absolute
@@ -1302,6 +1339,270 @@ $feature-box-div-margin-bottom: 40px
width: 100%
height: 100%
// Dialog
.ui-icon
display: inline-block !important
#feature-state-dialog-link
text-decoration: none !important
padding: 5px !important
a:visited
color: #454545 !important
a code
display: inline-block !important
box-sizing: border-box !important
background-color: #f7f7f7 !important
color: #303030 !important
font-family: "Roboto Mono", monospace !important
vertical-align: baseline !important
font-size: 14px !important
font-weight: bold !important
padding: 0px 4px !important
#feature-state-dialog
background: #fff !important
border: 1px solid #ddd !important
padding: 0.5em 1em !important
ul, li
list-style: disc !important
margin: 4px 12px !important
p
margin: 8px 0px !important
code
display: inline-block !important
box-sizing: border-box !important
background-color: #f7f7f7 !important
color: #303030 !important
font-family: "Roboto Mono", monospace !important
vertical-align: baseline !important
font-size: 14px !important
font-weight: bold !important
padding: 0px 4px !important
.ui-dialog
background: #f7f7f7 !important
padding: 0.5em
.ui-dialog-content
position: relative
float: right
width: 100%
$toc-margin: 15px
$header-clearance: $header-height + 20px
* + h2, * + h3, * + h4, * + h5, * + h6
margin-top: 30px
h1, h2, h3, h4, h5, h6
line-height: normal
font-weight: 500
margin-bottom: 30px
padding-bottom: 10px
// Make sure anchor links aren't hidden by the header
&:before
display: block
content: " "
margin-top: -$header-clearance
height: $header-clearance
visibility: hidden
h1,h2
border-bottom: 1px solid #cccccc
h1
font-size: 32px
padding-right: 60px
h2
font-size: 28px
h3
font-size: 24px
font-weight: 300
margin-bottom: 5px
h4
font-size: 20px
margin-bottom: 0px
h5, h6
font-size: 16px
font-weight: 500
p
font-size: 16px
font-weight: 300
line-height: 1.75em
p + p
margin-top: 10px
code
display: inline-block
box-sizing: border-box
background-color: $light-grey
color: $dark-grey
font-family: $mono-font
vertical-align: baseline
font-size: 14px
font-weight: bold
padding: 2px 4px
a code
color: $blue
text-decoration: underline
pre .pi, pre .s
margin: 0
padding: 0
.highlight code span, code, pre code
font-family: "Roboto Mono", monospace
code, pre code
color: #303030
pre code
padding: 0
pre
background-color: #f7f7f7
display: block
margin: 20px 0
padding: 15px
position: relative
overflow-x: auto
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code
font-family: inherit
font-size: inherit
background-color: transparent
.includecode
table-layout: fixed
.includecode, .includecode th, .includecode td
padding: 0 !important
.includecode th
text-align: right !important
padding: 10px !important
.includecode th a, .includecode th a code
color: white !important
background-color: transparent !important
.includecode pre
margin: 0 !important
ul li
list-style: disc
ol li
list-style: decimal
ul, ol
margin: 20px 0
padding-left: 30px
font-weight: 300
ul ul, ol ol, ul ol, ol ul
margin: 0.75em 0
li
margin-bottom: 0.75em
font-size: 16px
line-height: 1.75em
table
width: 100%
border: 1px solid #ccc
border-spacing: 0
margin-top: 30px
margin-bottom: 30px
thead, tr:nth-child(even)
background-color: $light-grey
thead
background-color: #555
color: white
th, td
padding: 8px
text-align: left
margin: 0
th
font-weight: normal
td
font-size: 0.85em
#editPageButton
position: absolute
top: -25px
right: 5px
width: 50px
height: 50px
line-height: 50px
border-radius: 50%
white-space: nowrap
text-indent: 50px
overflow: hidden
background: $blue url(/images/icon-pencil.svg) no-repeat
background-position: 12px 10px
background-size: 29px 29px
#markdown-toc
margin-bottom: 20px
ul, li
list-style: disc
color: $blue
ul
padding: 0 15px
margin: 0
li
padding: 0
line-height: 1.5em
margin-bottom: 0
a
position: relative
color: $blue
font-weight: 700
img
max-width: 100%
a
//font-weight: 700
text-decoration: underline
// a:visited
// color: blueviolet
a.button
border-radius: 2px
text-decoration: none
&:visited
color: white
a.issue
margin-left: 0px
.ui-dialog-buttonpane
background: #f7f7f7 !important
// Tabs
.ui-widget-header
background: transparent !important
@@ -1313,19 +1614,27 @@ $feature-box-div-margin-bottom: 40px
padding: 0px !important
list-style: none !important
margin-bottom: 0px !important
margin-left: 1px !important
margin-left: 4px !important
.ui-tabs-panel
ul li
list-style: disc !important
ol li
list-style: decimal !important
.ui-widget-content
border: 0px !important
.ui-widget-content
table
margin: 0px !important
.ui-tabs .ui-tabs-panel
padding: 0px !important
border: 1px solid #ccc !important
.ui-tabs-anchor
text-decoration: none !important
// Talk to us
#talkToUs
h3, h4
@@ -1432,17 +1741,17 @@ $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
//
//
//
+18
View File
@@ -0,0 +1,18 @@
## 如何参与 Kubernetes 文档汉化工作
我们非常欢迎,非常希望您参与 Kubernetes 文档汉化做出贡献。
您可以单击屏幕右上角的 **Fork** 按钮,在您的 Github 账户中创建一外名为 *fork* 的存储库副本。在您的分支中进行更改,当您准备好将这些更改发送给我们时,请转到您的仓库创建新的 pull 请求,让我们知道这一点。
关于更多的贡献信息,请参阅:
* [贡献于 Kubernetes 文档](http://kubernetes.io/editdocs/)
* [创建文档拉取请求](http://kubernetes.io/docs/contribute/create-pull-request/)
* [写一个新的话题](http://kubernetes.io/docs/contribute/write-new-topic/)
* [暂停您的文档更改](http://kubernetes.io/docs/contribute/stage-documentation-changes/)
* [更用页面模板](http://kubernetes.io/docs/contribute/page-templates/)
* [文档样式指南](http://kubernetes.io/docs/contribute/style-guide/)
## 谢谢您!
Kubernetes 在社区参与中茁壮成长,我们非常感谢您对我们的网站和文档的贡献!
+2
View File
@@ -0,0 +1,2 @@
Kubernetes 文档的 [用户指南](/docs/user-guide/) 部分中的主题将被移动到 [任务](/docs/tasks/)、[教程](/docs/tutorials/)和
[概念](/docs/concepts) 部分。 本主题的内容已转移到:
@@ -0,0 +1,119 @@
---
assignees:
- 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 控制面](/docs/admin/cluster-components) 是构建在相同的 [APIs](/docs/api/) 上面,开发员人和用户都可以用。用户可以编写自己的控制器, [调度器](https://git.k8s.io/community/contributors/devel/scheduler.md)等等,如果这么做,根据新加的[自定义 API](https://git.k8s.io/community/contributors/design-proposals/extending-api.md) ,可以扩展当前的通用 [CLI 命令行工具](/docs/user-guide/kubectl-overview/)。
这种 [设计](https://git.k8s.io/community/contributors/design-proposals/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,35 @@
---
title: 交互式教程 - 创建集群
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
<div class="layout" id="top">
<main class="content katacoda-content">
<div class="katacoda">
<div class="katacoda__alert">
To interact with the Terminal, please use the desktop/tablet version
</div>
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-id="kubernetes-bootcamp/1" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;"></div>
</div>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/deploy-intro/" role="button">Continue to Module 2<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+110
View File
@@ -0,0 +1,110 @@
---
redirect_from:
- "/docs/tutorials/getting-started/create-cluster/"
- "/docs/tutorials/getting-started/create-cluster.html"
title: 使用 Minikube 创建一个集群
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-8">
<h3>目标</h3>
<ul>
<li>了解什么是 Kubernetes 集群</li>
<li>了解什么是 Minikube</li>
<li>使用在线终端启动 Kubernetes 集群</li>
</ul>
</div>
<div class="col-md-8">
<h3>Kubernetes 集群</h3>
<p>
<b>Kubernetes 用于协调高度可用的计算机集群,这些计算机群集被连接作为单个单元工作。</b> Kubernetes 中的抽象允许您将容器化的应用程序部署到集群,而不必专门将其绑定到单个计算机。为了利用这种新的部署模型,应用程序需要以将它们与各个主机分离的方式打包: 它们需要被容器化。容器化应用程序比过去的部署模型更灵活和可用,其中应用程序直接安装到特定机器上,作为深入集成到主机中的软件包。 <b>Kubernetes 以更有效的方式自动化、跨集群的容器应用程序的分发和调度。</b> Kubernetes 是一个 <a href="https://github.com/kubernetes/kubernetes">开源</a> 平台,为生产环境准备的。
</p>
<p>Kubernetes 集群由两种类型的资源组成:
<ul>
<li>一个 <b>Master</b> 调度节点</li>
<li><b>Nodes</b> 应用程序实际运行的地方</li>
</ul>
</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_lined">
<h3>概要:</h3>
<ul>
<li>Kubernetes 集群</li>
<li>Minikube</li>
</ul>
</div>
<div class="content__box content__box_fill">
<p><i>
Kubernetes 是一个生产级的开源平台,用于协调计算机集群内部和跨计算机集群的应用程序容器的分发(调度)和运行。
</i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">集群图</h2>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p><img src="/docs/tutorials/kubernetes-basics/public/images/module_01_cluster.svg"></p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p><b>Master 负责管理集群。</b> master 协调集群中的所有活动,例如调度应用程序、维护应用程序的所需状态、扩展应用程序和滚动更新。</p>
<p><b>node 是 Kubernetes 集群中的工作机器,可以是物理机或虚拟机。</b> 每个工作节点都有一个 Kubelet,它是管理 node 并与 Kubernetes Master 节点进行通信的代理。node 上还应具有处理容器操作的工作,例如 <a href="https://www.docker.com/">Docker</a><a href="https://coreos.com/rkt/">rkt</a>。一个 Kubernetes 工作集群至少有三个 node 节点。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i> Master 管理集群和 Nodes 用于托管正在运行的应用程序。 </i></p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p>当您在 Kubernetes 上部署应用程序时,您可以告诉 master 启动应用程序容器。Master 调度容器在集群的 Node 上运行。<b> Nodes 使用 Master 公开的 Kubernetes API 与 Master 通信</b>。最终用户还可以直接使用 Kubernetes 的 API 与集群交互。</p>
<p>Kubernetes 集群可以部署在物理机或虚拟机上。要开始使用 Kubernetes 开发,您可以使用 <a href="https://github.com/kubernetes/minikube">Minikube</a>。Minikube 是一个轻量级的 Kubernetes 实现,在本机创建一台虚拟机,并部署一个只包含一个节点的简单集群。 Minikube 适用于 Linux, Mac OS 和 Windows 系统。Minikube CLI 提供了集群的基本引导操作,包括启动、停止、状态和删除。但是,对于此基础训练,您将使用预先安装了 Minikube 的在线终端。</p>
<p>现在您已经知道 Kubernetes 是什么,让我们使用在线教程,开始我们的第一个集群!</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/cluster-interactive/" role="button">启动交互教程 <span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
@@ -0,0 +1,39 @@
---
title: 交互式教程 - 部署应用程序
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
<div class="layout" id="top">
<main class="content katacoda-content">
<br>
<div class="katacoda">
<div class="katacoda__alert">
To interact with the Terminal, please use the desktop/tablet version
</div>
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-id="kubernetes-bootcamp/7" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;">
</div>
</div>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/explore-intro/" role="button">Continue to Module 3<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+108
View File
@@ -0,0 +1,108 @@
---
title: 使用 kubectl 创建部署
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-8">
<h3>目标</h3>
<ul>
<li>了解应用程序部署</li>
<li>使用 kubectl 在 Kubernetes 上部署您的第一个应用程序</li>
</ul>
</div>
<div class="col-md-8">
<h3>Kubernetes 部署</h3>
<p>
一旦运行了 Kubernetes 集群,您可以在其上部署容器化应用程序。为此,您可以创建一个 Kubernetes <b>Deployment</b>。Deployment 负责创建和更新应用程序实例。创建 Deployment 后, Kubernetes master 会将 Deployment 创建的应用程序实例调度到集群中的各个节点。
</p>
<p>创建应用程序实例后,Kubernetes Deployment 控制器会持续监视这些实例。如果托管它的节点不可用或删除,则 Deployment 控制器将替换实例。 <b>这提供了一种解决机器故障或维护的自愈机制。</b></p>
<p>在编排前的世界中,通常会使用安装脚本启动应用程序,但是它们并不能从机器故障中恢复。通过创建应用程序实例并使其运行在跨节点的机器之间,Kubernetes Deployments 提供了截然不同的应用管理方法。 </p>
</div>
<div class="col-md-4">
<div class="content__box content__box_lined">
<h3>概要:</h3>
<ul>
<li>Deployments</li>
<li>Kubectl</li>
</ul>
</div>
<div class="content__box content__box_fill">
<p><i>
Deployment 负责创建和更新应用程序的实例
</i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">在 Kubernetes 上部署您的第一个应用程序</h2>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p><img src="/docs/tutorials/kubernetes-basics/public/images/module_02_first_app.svg"></p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p>您可以使用 Kubernetes 命令行工具 <b>Kubectl</b>创建和管理 Deployment。Kubectl 使用 Kubernetes API 与集群进行交互。在本模块中,您将学习在 Kubernetes 集群上运行应用程序部署所需的最常见 Kubectl 命令。</p>
<p>创建部署时,您需要为应用程序指定容器镜像以及要运行的副本数。您可以稍后通过更新部署来更改该信息;模块 <a href="/docs/tutorials/kubernetes-basics/scale-intro/">5</a><a href="/docs/tutorials/kubernetes-basics/update-intro/">6</a> 是一个基础训练讨论如何扩展和更新您的部署。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i> 应用程序需要打包成支持的容器格式之一,以便部署在 Kubernetes 上。</i></p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p>对于我们的第一个部署,我们将使用 <a href="https://nodejs.org">Node.js</a> 应用程序打包到 Docker 容器。源代码和 Dockerfile 可在 Kubernetes Bootcamp <a href="https://github.com/kubernetes/kubernetes-bootcamp">GitHub 存储库</a> 中找到。</p>
<p>现在您已经知道部署是什么,我来再来看看在线教程,并部署我们的第一个应用程序!</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/deploy-interactive/" role="button">启动交互式教程 <span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
@@ -0,0 +1,39 @@
---
title: 交互式教程 - 应用程序探索
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
<div class="layout" id="top">
<main class="content katacoda-content">
<br>
<div class="katacoda">
<div class="katacoda__alert">
To interact with the Terminal, please use the desktop/tablet version
</div>
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-id="kubernetes-bootcamp/4" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;">
</div>
</div>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/expose-intro/" role="button">Continue to Module 4<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+142
View File
@@ -0,0 +1,142 @@
---
title: 查看 Pods 和 Nodes
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-8">
<h3>目标</h3>
<ul>
<li>了解 Kubernetes Pods</li>
<li>了解 Kubernetes Nodes</li>
<li>已部署应用故障排除</li>
</ul>
</div>
<div class="col-md-8">
<h2>Kubernetes Pods</h2>
<p>当您在模块 <a href="/docs/tutorials/kubernetes-basics/deploy-intro/">2</a>中创建部署时,Kubernetes 创建了一个 <b>Pod</b> 来托管您的应用程序实例。Pod 是一个 Kubernetes 的资源抽象,表示一个或多个应用容器 (例如 Docker 或 rkt) 组,以及一些用于这些容器的共享资源。这些资源包括:</p>
<ul>
<li>共享存储,如卷</li>
<li>网络,作为唯一的集群 IP 地址</li>
<li>每个容器如何运行的信息,例如容器镜像版本或要使用的特定端口</li>
</ul>
<p>Pod 模型可以理解为应用程序特定的 "逻辑主机",并且可以包含相对紧密耦合的不同应用程序容器。例如,Pod 可能包含带有 Node.js 应用程序的容器以及用于提供要由 Node.js Web 服务器发布数据的不同容器。Pod 中的容器共享 IP 地址和端口空间,始终位于同一位置并且统一调度,并在相同的节点上运行,共享上下文环境。</p>
<p>Pods 是 Kubernetes 平台上的原子单元。当我们在 Kubernetes 上创建一个部署时,该部署将在其中创建包含容器的 Pod (而不是直接创建容器)。每个 Pod 绑定到它被调度的节点,并且保持在那里,直到终止 (根据重启策略) 或删除。在节点故障的情况下,在集群中的其他可用节点上调度相同的 Pod。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_lined">
<h3>概要:</h3>
<ul>
<li>Pods</li>
<li>Nodes</li>
<li>Kubectl 主要命令</li>
</ul>
</div>
<div class="content__box content__box_fill">
<p><i>
Pod 是一组或多个应用程序容器 (例如 Docker 或 rkt),包含共享存储 (卷),IP 地址以及有关如何运行它们的信息。
</i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">Pods 概览</h2>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p><img src="/docs/tutorials/kubernetes-basics/public/images/module_03_pods.svg"></p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2>Nodes</h2>
<p>Pod 总是运行在 <b>Node</b>上。Node 是 Kubernetes 的工作机器,可以是一个虚拟机或物理,这取决于在集群的安装情况。每个 Node 由 Master 管理。一个 Node 上可以有多个 Pod, Kubernetes master 会自动处理调度集群各个 Node 上的 Pod。 Master 在自动调度时,会考虑每个 Node 上的可用资源。</p>
<p>每个 Kubernetes Node 节点至少运行以下组件:</p>
<ul>
<li>Kubelet 是负责 Kubernetes Master 和 所有 Node 节点之间通信的进程,它管理机器上运行的 Pod 和容器。</li>
<li>容器运行时(例如 Docker, rkt) 负责从镜像仓库中拉取容器镜像,解包容器并运行应用程序。</li>
</ul>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i> 如果一些容器强耦合并且需要共享资源(例如 磁盘),那么这些容器应该放到单个 Pod 中一起调度。 </i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">Node 概述</h2>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p><img src="/docs/tutorials/kubernetes-basics/public/images/module_03_nodes.svg"></p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2>使用 kubectl 进行故障排除</h2>
<p>在模块 <a href="/docs/tutorials/kubernetes-basics/deploy-intro/">2</a>中,您使用了 Kubectl 命令行接口。您将在模块 3 中继续使用它来获取有关已部署应用程序及其环境信息。最常见的操作可以通过以下 kubectl 命令完成:</p>
<ul>
<li><b>kubectl get</b> - 列出可用资源</li>
<li><b>kubectl describe</b> - 显示有关资源的详细信息</li>
<li><b>kubectl logs</b> - 从 Pod 中的容器打印日志</li>
<li><b>kubectl exec</b> - 在 Pod 中的容器执行命令</li>
</ul>
<p>您可以使用这些命令来查看应用程序部署的时间,它们当前的状态,运行的位置及其配置。</p>
<p>现在我们更多地了解了集群组件和命令行交互,接下来,一起来探索分析我们的应用程序。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i> Node 是 Kubernetes 中的工作机器,可能是物理机或虚拟机,具体取决于集群的安装配置。多个 Pod 可以在一个 Node 上运行。 </i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/explore-interactive/" role="button">启动交互式教程<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
@@ -0,0 +1,36 @@
---
title: 交互性教程 - 应用外部可见
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
<div class="layout" id="top">
<main class="content katacoda-content">
<div class="katacoda">
<div class="katacoda__alert">
To interact with the Terminal, please use the desktop/tablet version
</div>
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-id="kubernetes-bootcamp/8" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;">
</div>
</div>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/scale-intro/" role="button">Continue to Module 5<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+138
View File
@@ -0,0 +1,138 @@
---
title: 使用服务让您的应用程序外部可见
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-8">
<h3>目标</h3>
<ul>
<li>了解 Kubernetes 服务</li>
<li>了解 Kubernetes 标签</li>
<li>应用程序在 Kubernetes 外部可见</li>
</ul>
</div>
<div class="col-md-8">
<h3>Kubernetes Services</h3>
<p>虽然每个 Pod 在所在的集群中拥有自己独立的 IP 地址,但这些 IP 地址不会暴露在 Kubernetes 集群外部。考虑到 Pod 可能随时会被终止、删除或被其他 Pod 替换,我们需要一种方法让其他 Pod 和应用程序自动发现彼此。Kubernetes 通过 Service 对 Pods 进行分组来解决此问题。一个 Kubernetes <b>Service</b> 是一个抽象层,它定义了一组逻辑的 Pods,并让这些 Pods 对外部流量可见,可以被负载均衡和服务发现。 </p>
<p>此抽象允许我们将 Pods 暴露给集群外部的流量访问。Services 具有自己的唯一集群专用 IP 地址,并显示一个端口以接收流量。如果选择在集群外公开 Service,则有如下选项:</p>
<ul>
<li>LoadBalancer - 提供公有 IP 地址 (在 GCP 或 AWS 上运行 Kubernetes 通常使用此方式)</li>
<li>NodePort - 使用 NAT 在集群的每个 Node 节点的同一端口让服务可见。(所有 Kubernetes 集群和 Minikube 中都可用此方式)</li>
</ul>
</div>
<div class="col-md-4">
<div class="content__box content__box_lined">
<h3>摘要:</h3>
<ul>
<li>Pod 流量外部可见</li>
<li>Pods 流量负载均衡</li>
<li>使用标签</li>
</ul>
</div>
<div class="content__box content__box_fill">
<p><i>
Kubernetes Service 是一个抽象层,它定义了一组逻辑的 Pods,并为这些 Pods 启用了外部流量访问、负载均衡和服务发现。
</i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">Services 概述</h2>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p><img src="/docs/tutorials/kubernetes-basics/public/images/module_04_services.svg"></p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p>一个 Service 提供了一组 Pods 的流量负载均衡。通过创建服务以对来自特定部署的所有 Pods 进行分组时,这是有用的(当我们有多个实例运行时,我们的应用程序将在下一个模块中使用这一点)。</p>
<p>Services 还负责集群内部的服务发现 (包含在 <a href="/docs/user-guide/connecting-applications/#accessing-the-service">访问服务</a>中)。 例如,这将允许前端服务 (如 web 服务器) 从后端服务 (如 数据库) 接收流量,而不必考虑 Pod。 </p>
<p>Services 使用标签选择器匹配一组 Pods,标签选择器支持在标签上进行原始逻辑分组的能力。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i> 您可以通过添加 --expose 作为 kubectl 运行命令的参数,在创建 Deployment 的同时创建 Service。 </i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p><b>Labels</b> 是附加到对象的 键/值对,例如 Pods,您可以将它们视为社交媒体的标签符号。它们用于以对用户有意义的方式组织相关对象,如:</p>
<ul>
<li>生产环境 (生产、测试、开发)</li>
<li>应用程序版本 (beta、v1.3)</li>
<li>服务类型 (前端、后端、数据库)</li>
</ul>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i> Labels 是附加到对象的键/值对。</i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">Labels</h2>
</div>
</div>
<div class="row">
<div class="col-md-8">
<p><img src="/docs/tutorials/kubernetes-basics/public/images/module_04_labels.svg"></p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p>Labels 可以在创建时或以后附加到对象,并可以随时修改。
在使用 kubectl run 命令新建 Pods/Deployment 时,会设置一些默认的 Labels/Label。标签和标签选择器之间的链接定义了 Deployment 及其创建 Pod 之间的关系。</p>
<p>现在,让我们在 Service 的帮助下公开我们的应用程序,并应用一些新的标签。</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/expose-interactive/" role="button">启动交互式教程<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+106
View File
@@ -0,0 +1,106 @@
---
title: 概述
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="./public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-9">
<h2>Kubernetes 基础</h2>
<p>本教程介绍了 Kubernetes 集群编排系统的基础知识。每个模块包含关于 Kubernetes 主要特性和概念的一些背景信息,并包括一个交互式在线教程。这些交互式教程让您可以自己管理一个简单的集群及其容器化应用程序。</p>
<p>使用交互式教程,您可以学习:</p>
<ul>
<li>在集群上部署容器化应用程序</li>
<li>弹性部署</li>
<li>使用新的软件版本,更新容器化应用程序</li>
<li>调试容器化应用程序</li>
</ul>
<p>教程 Katacoda 在您的浏览器中运行一个虚拟终端,在浏览器中运行 Minikube,这是一个可在任何地方小规模本地部署的 Kubernetes 集群。没有安装任何软件或进行任何配置; 每个交互性教程都直接从您的网页浏览器上运行。</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-9">
<h2>Kubernetes 可以为您做些什么?</h2>
<p>现代的 Web 服务,用户希望应用程序能够 24/7 全天候使用,开发人员希望每天可以多次发布部署新版本的应用程序。 容器化可以帮助软件包服务于这些目标,使应用程序能够以简单快速的方式发布和更新,而无需停机。Kubernetes 帮助您确保这些容器化的应用程序在您想要的地方和时间运行,并帮助应用程序找到它们需要的资源的工具。 <a href="http://kubernetes.io/docs/whatisk8s/">Kubernetes</a> 是一个生产可用的开源平台,具有 Google 容器集群方面的设计与经验积累,拥有来自社区的最佳实践。</p>
</div>
</div>
<div class="content__modules">
<h2>Kubernetes 基础模块</h2>
<div class="row">
<div class="col-md-4">
<div class="thumbnail">
<a href="/docs/tutorials/kubernetes-basics/cluster-intro/"><img src="./public/images/module_01.svg?v=1469803628347" alt=""></a>
<div class="caption">
<a href="cluster-intro/"><h5>1. 创建一个 Kubernetes 集群</h5></a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<a href="/docs/tutorials/kubernetes-basics/deploy-intro/"><img src="./public/images/module_02.svg?v=1469803628347" alt=""></a>
<div class="caption">
<a href="deploy-intro/"><h5>2. 部署应用程序</h5></a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<a href="/docs/tutorials/kubernetes-basics/explore-intro/"><img src="./public/images/module_03.svg?v=1469803628347" alt=""></a>
<div class="caption">
<a href="explore-intro/"><h5>3. 应用程序探索</h5></a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<a href="/docs/tutorials/kubernetes-basics/expose-intro/"><img src="./public/images/module_04.svg?v=1469803628347" alt=""></a>
<div class="caption">
<a href="expose-intro/"><h5>4. 应用外部可见</h5></a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<a href="/docs/tutorials/kubernetes-basics/scale-intro/"><img src="./public/images/module_05.svg?v=1469803628347" alt=""></a>
<div class="caption">
<a href="scale-intro/"><h5>5. 应用可伸缩</h5></a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<a href="/docs/tutorials/kubernetes-basics/update-intro/"><img src="./public/images/module_06.svg?v=1469803628347" alt=""></a>
<div class="caption">
<a href="update-intro/"><h5>6. 应用更新</h5></a>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/cluster-intro/" role="button">开始教程<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+38
View File
@@ -0,0 +1,38 @@
---
title: 交互式教程 - 扩展您的应用程序
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
<div class="layout" id="top">
<main class="content katacoda-content">
<div class="katacoda">
<div class="katacoda__alert">
To interact with the Terminal, please use the desktop/tablet version
</div>
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-id="kubernetes-bootcamp/5" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;">
</div>
</div>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/update-intro/" role="button">Continue to Module 6<span class="btn__next"></span></a>
</div>
</div>
</main>
<a class="scrolltop" href="#top"></a>
</div>
</body>
</html>
+120
View File
@@ -0,0 +1,120 @@
---
title: 运行应用程序的多个实例
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-8">
<h3>目标</h3>
<ul>
<li>使用 kubectl 缩放应用程序</li>
</ul>
</div>
<div class="col-md-8">
<h3>缩放应用程序</h3>
<p>在之前的模块中,我们创建了一个 <a href="http://kubernetes.io/docs/user-guide/deployments/"> Deployment</a>,然后通过 <a href="http://kubernetes.io/docs/user-guide/services/">Service</a>让应用程序外部可见。Deployment 仅为我们的应用程序创建了一个 Pod。 当流量增加时,我们将需要扩展应用程序以跟上用户需求。</p>
<p><b>Scaling</b> 是通过更改 Deployment 中的副本数量实现的。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_lined">
<h3>摘要:</h3>
<ul>
<li>Deployment 的缩放</li>
</ul>
</div>
<div class="content__box content__box_fill">
<p><i> 您可以使用 kubectl run 命令的 --replicas 参数,在创建 Deployment 时指定多个实例。 </i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">Scaling 概述</h2>
</div>
</div>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-8">
<div id="myCarousel" class="carousel" data-ride="carousel" data-interval="3000">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="/docs/tutorials/kubernetes-basics/public/images/module_05_scaling1.svg">
</div>
<div class="item">
<img src="/docs/tutorials/kubernetes-basics/public/images/module_05_scaling2.svg">
</div>
</div>
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="sr-only ">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p>扩展 Deployment 将确保新创建的 Pods 会调度到可用资源的 Node 节点上,收缩会保证 Pods 数量减少至新的所需状态。 Kubernetes 还支持 Pods 的 <a href="http://kubernetes.io/docs/user-guide/horizontal-pod-autoscaling/"> 自动缩放版 </a> ,但不在本教程范围之内。收缩到零也是可以的,此时它将终止指定 Deployment 的所有 Pod。 </p>
<p>运行应用程序的多个实例需要一种将流量分发给所有实例的方法。服务有内置的负载均衡器,可将网络流量分配给 Deployment 暴露的所有 Pods。服务通过使用 endpoints 持续监控运行的 Pods,以确保流量仅发送到可用的 Pods。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i>通过更改 Deployment 中的副本数可以实现伸缩应用程序。</i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p> 一旦您有应用程序的多个实例,您将能够滚动更新而不会停止服务。我们将在下一个模块中介绍。现在,我们去在线终端扩展我们的应用程序。</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/scale-interactive/" role="button">启动交互式教程 <span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
@@ -0,0 +1,31 @@
---
title: 交互式教程 - 更新您的应用程序
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
<div class="layout" id="top">
<main class="content katacoda-content">
<div class="katacoda">
<div class="katacoda__alert">
To interact with the Terminal, please use the desktop/tablet version
</div>
<div class="katacoda__box" id="inline-terminal-1" data-katacoda-id="kubernetes-bootcamp/6" data-katacoda-color="326de6" data-katacoda-secondary="273d6d" data-katacoda-hideintro="false" data-katacoda-font="Roboto" data-katacoda-fontheader="Roboto Slab" data-katacoda-prompt="Kubernetes Bootcamp Terminal" style="height: 600px;">
</div>
</div>
</main>
</div>
</body>
</html>
+135
View File
@@ -0,0 +1,135 @@
---
title: 执行滚动更新
---
<!DOCTYPE html>
<html lang="en">
<body>
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<div class="layout" id="top">
<main class="content">
<div class="row">
<div class="col-md-8">
<h3>目标</h3>
<ul>
<li>使用 kubectl 执行滚动更新</li>
</ul>
</div>
<div class="col-md-8">
<h3>更新应用程序</h3>
<p>用户期望应用程序始终可用,并且开发人员有望每天部署新版本。这就是 Kubernetes 的滚动更新。 <b>Rolling updates</b> 允许通过使用新的 Pods 实例逐个更新来实现零停机的更新部署。新的 Pods 会被调度到可用资源的 Node 节点上。</p>
<p>在上一个模块中,我们将应用程序扩展为运行多个实例。这是执行更新但不影响应用可用性的要求。默认情况下,更新期间最大数量的 Pods 可能不可用,此时创建和更新 Pod 的最大数量是一。 这两个选项可以配置为数字或百分比(Pods)。
在 Kubernetes 中,更新已版本化,任何部署更新都可以恢复到以前的 (稳定) 版本。</p>
</div>
<div class="col-md-4">
<div class="content__box content__box_lined">
<h3>摘要:</h3>
<ul>
<li>更新应用程序</li>
</ul>
</div>
<div class="content__box content__box_fill">
<p><i>滚动更新允许通过使用新的 Pods 实例逐个更新来实现零停机的部署更新。 </i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<h2 style="color: #3771e3;">滚动更新概述</h2>
</div>
</div>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-8">
<div id="myCarousel" class="carousel" data-ride="carousel" data-interval="3000">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="/docs/tutorials/kubernetes-basics/public/images/module_06_rollingupdates1.svg" >
</div>
<div class="item">
<img src="/docs/tutorials/kubernetes-basics/public/images/module_06_rollingupdates2.svg">
</div>
<div class="item">
<img src="/docs/tutorials/kubernetes-basics/public/images/module_06_rollingupdates3.svg">
</div>
<div class="item">
<img src="/docs/tutorials/kubernetes-basics/public/images/module_06_rollingupdates4.svg">
</div>
</div>
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="sr-only ">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p>与应用程序缩放类似,如果 Deployment 外部可见,则 Service 将在更新期间将流量负载均衡到可用的 Pod。可用的 Pod 指的是应用程序用户可用的实例。</p>
<p>滚动更新允许以下操作:</p>
<ul>
<li>将应用程序从一个环境升级到另一个环境 (通过容器镜像更新)</li>
<li>回滚到以前的版本</li>
<li>持续集成和持续交付,实现应用程序零故障</li>
</ul>
</div>
<div class="col-md-4">
<div class="content__box content__box_fill">
<p><i>如果部署外部可见,则服务将在更新期间将流量负载均衡到可用的 Pod。 </i></p>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-md-8">
<p> 在下面的交互式教程中,我们将把应用程序更新到一个新版本,并执行回滚。</p>
</div>
</div>
<br>
<div class="row">
<div class="col-md-12">
<a class="btn btn-lg btn-success" href="/docs/tutorials/kubernetes-basics/update-interactive/" role="button">启动交互式教程<span class="btn__next"></span></a>
</div>
</div>
</main>
</div>
</body>
</html>
+9
View File
@@ -0,0 +1,9 @@
---
assignees:
- k8s-merge-robot
title: 认识 Kubernetes?
---
{% include user-guide-content-moved.md %}
[认识 Kubernetes?](/docs/concepts/overview/what-is-kubernetes/)
+6
View File
@@ -0,0 +1,6 @@
.deprecation-warning {
padding: 20px;
margin: 20px 0;
border-radius: 3px;
background-color: #eeeeee;
}
+36 -31
View File
@@ -3,12 +3,12 @@ assignees:
- bgrant0607
- erictune
- lavalamp
title: Controlling Accessing to the Kubernetes API
title: Controlling Access to the Kubernetes API
---
Users [access the API](/docs/user-guide/accessing-the-cluster) using `kubectl`,
client libraries, or by making REST requests. Both human users and
[Kubernetes service accounts](/docs/user-guide/service-accounts/) can be
[Kubernetes service accounts](/docs/tasks/configure-pod-container/configure-service-account/) can be
authorized for API access.
When a request reaches the API, it goes through several stages, illustrated in the
following diagram:
@@ -57,43 +57,48 @@ users in its object store.
## Authorization
Once the request is authenticated as coming from a specific user,
it moves to a generic authorization step. This is shown as step **2** in the
diagram.
After the request is authenticated as coming from a specific user, the request must be authorized. This is shown as step **2** in the diagram.
The input to the Authorization step are attributes of the REST request, including:
- the username determined by the Authentication step.
- a `verb` associated with the API request. Most object support these common operations: `list, watch, create, update, patch, delete`. Some objects have "special verbs"; for example pods and services can be `proxy`-ed.
- any subresource associated with the API request (e.g. `status`).
- the Group, Version, and Kind of the API resource (e.g. `v1 pod`, or `batch/v1 job`) being
operated on.
- the name and namespace of the object.
A request must include the username of the requester, the requested action, and the object affected by the action. The request is authorized if an existing policy declares that the user has permissions to complete the requested action.
There are multiple supported Authorization Modules. The cluster creator configures the API
server with which Authorization Modules should be used. When multiple Authorization Modules
are configured, each is checked in sequence, and if any Module authorizes the request,
then the request can proceed. If all deny the request, then the request is denied (HTTP status
code 403).
For example, if Bob has the policy below, then he can read pods only in the namespace `projectCaribou`:
The [Authorization Modules](/docs/admin/authorization) page describes what authorization modules
are available and how to configure them.
```json
{
"apiVersion": "abac.authorization.kubernetes.io/v1beta1",
"kind": "Policy",
"spec": {
"user": "bob",
"namespace": "projectCaribou",
"resource": "pods",
"readonly": true
}
}
```
If Bob makes the following request, the request is authorized because he is allowed to read objects in the `projectCaribou` namespace:
For version 1.2, clusters created by `kube-up.sh` are configured so that no authorization is
required for any request.
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "projectCaribou",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
}
}
}
```
If Bob makes a request to write (`create` or `update`) to the objects in the `projectCaribou` namespace, his authorization is denied. If Bob makes a request to read (`get`) objects in a different namespace such as `projectFish`, then his authorization is denied.
As of version 1.3, clusters created by `kube-up.sh` are configured so that the ABAC authorization
modules are enabled. However, its input file is initially set to allow all users to do all
operations. The cluster administrator needs to edit that file, or configure a different authorizer
to restrict what users can do.
Kubernetes authorization requires that you use common REST attributes to interact with existing organization-wide or cloud-provider-wide access control systems. It is important to use REST formatting because these control systems might interact with other APIs besides the Kubernetes API.
Kubernetes supports multiple authorization modules, such as ABAC mode, RBAC Mode, and Webhook mode. When an administrator creates a cluster, they configured the authorization modules that should be used in the API server. If more than one authorization modules are configured, Kubernetes checks each module, and if any module authorizes the request, then the request can proceed. If all of the modules deny the request, then the request is denied (HTTP status code 403).
The Authorization step is designed to operate on attributes that are likely to be common to most
REST requests, such as object name, kind, etc. This is intended to facilitate interation with
existing organization-wide or cloud-provider-wide access control systems (which may handle
other APIs besides the Kubernetes API).
To learn more about Kubernetes authorization, including details about creating policies using the supported authorization modules, see [Authorization Overview](/docs/admin/authorization).
Access controls and policies that depend on specific fields of specific Kinds of objects
are handled by Admission Controllers.
## Admission Control
+51 -5
View File
@@ -87,7 +87,7 @@ The ImagePolicyWebhook plug-in allows a backend webhook to make admission decisi
```
#### Configuration File Format
ImagePolicyWebhook uses the admission config file `--admission-controller-config-file` to set configuration options for the behavior of the backend. This file may be json or yaml and has the following format:
ImagePolicyWebhook uses the admission config file `--admission-control-config-file` to set configuration options for the behavior of the backend. This file may be json or yaml and has the following format:
```javascript
{
@@ -197,7 +197,7 @@ We strongly recommend using this plug-in if you intend to make use of Kubernetes
### SecurityContextDeny
This plug-in will deny any pod with a [SecurityContext](/docs/user-guide/security-context) that defines options that were not available on the `Container`.
This plug-in will deny any pod that attempts to set certain escalating [SecurityContext](/docs/user-guide/security-context) fields. This should be enabled if a cluster doesn't utilize [pod security policies](/docs/user-guide/pod-security-policy) to restrict the set of values a security context can take.
### ResourceQuota
@@ -205,7 +205,7 @@ This plug-in will observe the incoming request and ensure that it does not viola
enumerated in the `ResourceQuota` object in a `Namespace`. If you are using `ResourceQuota`
objects in your Kubernetes deployment, you MUST use this plug-in to enforce quota constraints.
See the [resourceQuota design doc](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/admission_control_resource_quota.md) and the [example of Resource Quota](/docs/admin/resourcequota/) for more details.
See the [resourceQuota design doc](https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md) and the [example of Resource Quota](/docs/concepts/policy/resource-quotas/) for more details.
It is strongly encouraged that this plug-in is configured last in the sequence of admission control plug-ins. This is
so that quota is not prematurely incremented only for the request to be rejected later in admission control.
@@ -218,7 +218,7 @@ your Kubernetes deployment, you MUST use this plug-in to enforce those constrain
be used to apply default resource requests to Pods that don't specify any; currently, the default LimitRanger
applies a 0.1 CPU requirement to all Pods in the `default` namespace.
See the [limitRange design doc](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/admission_control_limit_range.md) and the [example of Limit Range](/docs/admin/limitrange/) for more details.
See the [limitRange design doc](https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md) and the [example of Limit Range](/docs/tasks/configure-pod-container/limit-range/) for more details.
### InitialResources (experimental)
@@ -227,7 +227,7 @@ then the plug-in auto-populates a compute resource request based on historical u
If there is not enough data to make a decision the Request is left unchanged.
When the plug-in sets a compute resource request, it annotates the pod with information on what compute resources it auto-populated.
See the [InitialResouces proposal](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/proposals/initial-resources.md) for more details.
See the [InitialResouces proposal](https://git.k8s.io/community/contributors/design-proposals/initial-resources.md) for more details.
### NamespaceLifecycle
@@ -257,9 +257,55 @@ storage classes and how to mark a storage class as default.
This plug-in sets the default forgiveness toleration for pods, which have no forgiveness tolerations, to tolerate
the taints `notready:NoExecute` and `unreachable:NoExecute` for 5 minutes.
### PodNodeSelector
This plug-in defaults and limits what node selectors may be used within a namespace by reading a namespace annotation and a global configuration.
#### Configuration File Format
PodNodeSelector uses the admission config file `--admission-control-config-file` to set configuration options for the behavior of the backend.
Note that the configuration file format will move to a versioned file in a future release.
This file may be json or yaml and has the following format:
```yaml
podNodeSelectorPluginConfig:
clusterDefaultNodeSelector: <node-selectors-labels>
namespace1: <node-selectors-labels>
namespace2: <node-selectors-labels>
```
#### Configuration Annotation Format
PodNodeSelector uses the annotation key `scheduler.alpha.kubernetes.io/node-selector` to assign node selectors to namespaces.
```yaml
apiVersion: v1
kind: Namespace
metadata:
annotations:
scheduler.alpha.kubernetes.io/node-selector: <node-selectors-labels>
name: namespace3
```
### PodSecurityPolicy
This plug-in acts on creation and modification of the pod and determines if it should be admitted
based on the requested security context and the available Pod Security Policies.
For Kubernetes < 1.6.0, the API Server must enable the extensions/v1beta1/podsecuritypolicy API
extensions group (`--runtime-config=extensions/v1beta1/podsecuritypolicy=true`).
See also [Pod Security Policy documentation](/docs/concepts/policy/pod-security-policy/)
for more information.
## Is there a recommended set of plug-ins to use?
Yes.
For Kubernetes >= 1.6.0, we strongly recommend running the following set of admission control plug-ins (order matters):
```shell
--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds
```
For Kubernetes >= 1.4.0, we strongly recommend running the following set of admission control plug-ins (order matters):
-9
View File
@@ -1,9 +0,0 @@
---
assignees:
- stclair
title: AppArmor
---
{% include user-guide-content-moved.md %}
[AppArmor](/docs/tutorials/clusters/apparmor/)
-10
View File
@@ -1,10 +0,0 @@
---
assignees:
- soltysh
- sttts
title: Audit in Kubernetes
---
{% include user-guide-content-moved.md %}
[Auditing](/docs/concepts/cluster-administration/audit/)
+106 -1
View File
@@ -54,7 +54,7 @@ You can enable multiple authentication methods at once. You should usually use a
- service account tokens for service accounts
- at least one other method for user authentication.
When multiple are enabled, the first authenticator module
When multiple authenticator modules are enabled, the first module
to successfully authenticate the request short-circuits evaluation.
The API server does not guarantee the order authenticators run in.
@@ -580,6 +580,111 @@ Starting in 1.6, the ABAC and RBAC authorizers require explicit authorization of
`system:anonymous` user or the `system:unauthenticated` group, so legacy policy rules
that grant access to the `*` user or `*` group do not include anonymous users.
## User impersonation
A user can act as another user through impersonation headers. These let requests
manually override the user info a request authenticates as. For example, an admin
could use this feature to debug an authorization policy by temporarily
impersonating another user and seeing if a request was denied.
Impersonation requests first authenticate as the requesting user, then switch
to the impersonated user info.
* A user makes an API call with their credentials _and_ impersonation headers.
* API server authenticates the user.
* API server ensures the authenticated users has impersonation privileges.
* Request user info is replaced with impersonation values.
* Request is evaluated, authorization acts on impersonated user info.
The following HTTP headers can be used to performing an impersonation request:
* `Impersonate-User`: The username to act as.
* `Impersonate-Group`: A group name to act as. Can be provided multiple times to set multiple groups. Optional. Requires "Impersonate-User"
* `Impersonate-Extra-( extra name )`: A dynamic header used to associate extra fields with the user. Optional. Requires "Impersonate-User"
An example set of headers:
```http
Impersonate-User: jane.doe@example.com
Impersonate-Group: developers
Impersonate-Group: admins
Impersonate-Extra-dn: cn=jane,ou=engineers,dc=example,dc=com
Impersonate-Extra-scopes: view
Impersonate-Extra-scopes: development
```
When using `kubectl` set the `--as` flag to configure the `Impersonate-User`
header.
```shell
$ kubectl drain mynode
Error from server (Forbidden): User "clark" cannot get nodes at the cluster scope. (get nodes mynode)
$ kubectl drain mynode --as=superman
node "mynode" cordoned
node "mynode" drained
```
To impersonate a user, group, or set extra fields, the impersonating user must
have the ability to perform the "impersonate" verb on the kind of attribute
being impersonated ("user", "group", etc.). For clusters that enable the RBAC
authorization plugin, the following ClusterRole encompasses the rules needed to
set user and group impersonation headers:
```yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: impersonator
rules:
- apiGroups: [""]
resources: ["users", "groups", "serviceaccounts"]
verbs: ["impersonate"]
```
Extra fields are evaluated as sub-resources of the resource "userextras". To
allow a user to use impersonation headers for the extra field "scopes," a user
should be granted the following role:
```yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: scopes-impersonator
# Can set "Impersonate-Extra-scopes" header.
- apiGroups: ["authentication.k8s.io"]
resources: ["userextras/scopes"]
verbs: ["impersonate"]
```
The values of impersonation headers can also be restricted by limiting the set
of `resourceNames` a resource can take.
```yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: limited-impersonator
rules:
# Can impersonate the user "jane.doe@example.com"
- apiGroups: [""]
resources: ["users"]
verbs: ["impersonate"]
resourceNames: ["jane.doe@example.com"]
# Can impersonate the groups "developers" and "admins"
- apiGroups: [""]
resources: ["groups"]
- verbs: ["impersonate"]
resourceNames: ["developers","admins"]
# Can impersonate the extras field "scopes" with the values "view" and "development"
- apiGroups: ["authentication.k8s.io"]
resources: ["userextras/scopes"]
verbs: ["impersonate"]
resourceNames: ["view", "development"]
```
## Plugin Development
We plan for the Kubernetes API server to issue tokens after the user has been
+155
View File
@@ -0,0 +1,155 @@
---
assignees:
- erictune
- lavalamp
- deads2k
- liggitt
title: ABAC Mode
---
{% capture overview %}
Attribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together.
{% endcapture %}
{% capture body %}
## Policy File Format
For mode `ABAC`, also specify `--authorization-policy-file=SOME_FILENAME`.
The file format is [one JSON object per line](http://jsonlines.org/). There
should be no enclosing list or map, just one map per line.
Each line is a "policy object". A policy object is a map with the following
properties:
- Versioning properties:
- `apiVersion`, type string; valid values are "abac.authorization.kubernetes.io/v1beta1". Allows versioning and conversion of the policy format.
- `kind`, type string: valid values are "Policy". Allows versioning and conversion of the policy format.
- `spec` property set to a map with the following properties:
- Subject-matching properties:
- `user`, type string; the user-string from `--token-auth-file`. If you specify `user`, it must match the username of the authenticated user.
- `group`, type string; if you specify `group`, it must match one of the groups of the authenticated user. `system:authenticated` matches all authenticated requests. `system:unauthenticated` matches all unauthenticated requests.
- Resource-matching properties:
- `apiGroup`, type string; an API group.
- Ex: `extensions`
- Wildcard: `*` matches all API groups.
- `namespace`, type string; a namespace.
- Ex: `kube-system`
- Wildcard: `*` matches all resource requests.
- `resource`, type string; a resource type
- Ex: `pods`
- Wildcard: `*` matches all resource requests.
- Non-resource-matching properties:
- `nonResourcePath`, type string; non-resource request paths.
- Ex: `/version` or `/apis`
- Wildcard:
- `*` matches all non-resource requests.
- `/foo/*` matches all subpaths of `/foo/`.
- `readonly`, type boolean, when true, means that the policy only applies to get, list, and watch operations.
**NOTES:** An unset property is the same as a property set to the zero value for its type
(e.g. empty string, 0, false). However, unset should be preferred for
readability.
In the future, policies may be expressed in a JSON format, and managed via a
REST interface.
## Authorization Algorithm
A request has attributes which correspond to the properties of a policy object.
When a request is received, the attributes are determined. Unknown attributes
are set to the zero value of its type (e.g. empty string, 0, false).
A property set to `"*"` will match any value of the corresponding attribute.
The tuple of attributes is checked for a match against every policy in the
policy file. If at least one line matches the request attributes, then the
request is authorized (but may fail later validation).
To permit any authenticated user to do something, write a policy with the
group property set to `"system:authenticated"`.
To permit any unauthenticated user to do something, write a policy with the
group property set to `"system:unauthenticated"`.
To permit a user to do anything, write a policy with the apiGroup, namespace,
resource, and nonResourcePath properties set to `"*"`.
## Kubectl
Kubectl uses the `/api` and `/apis` endpoints of api-server to negotiate
client/server versions. To validate objects sent to the API by create/update
operations, kubectl queries certain swagger resources. For API version `v1`
those would be `/swaggerapi/api/v1` & `/swaggerapi/experimental/v1`.
When using ABAC authorization, those special resources have to be explicitly
exposed via the `nonResourcePath` property in a policy (see [examples](#examples) below):
* `/api`, `/api/*`, `/apis`, and `/apis/*` for API version negotiation.
* `/version` for retrieving the server version via `kubectl version`.
* `/swaggerapi/*` for create/update operations.
To inspect the HTTP calls involved in a specific kubectl operation you can turn
up the verbosity:
kubectl --v=8 version
## Examples
1. Alice can do anything to all resources:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "alice", "namespace": "*", "resource": "*", "apiGroup": "*"}}
```
2. Kubelet can read any pods:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "kubelet", "namespace": "*", "resource": "pods", "readonly": true}}
```
3. Kubelet can read and write events:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "kubelet", "namespace": "*", "resource": "events"}}
```
4. Bob can just read pods in namespace "projectCaribou":
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "bob", "namespace": "projectCaribou", "resource": "pods", "readonly": true}}
```
5. Anyone can make read-only requests to all non-resource paths:
```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": "*"}}
```
[Complete file example](http://releases.k8s.io/{{page.githubbranch}}/pkg/auth/authorizer/abac/example_policy_file.jsonl)
## A quick note on service accounts
A service account automatically generates a user. The user's name is generated
according to the naming convention:
```shell
system:serviceaccount:<namespace>:<serviceaccountname>
```
Creating a new namespace also causes a new service account to be created, of
this form:
```shell
system:serviceaccount:<namespace>:default
```
For example, if you wanted to grant the default service account in the
kube-system full privilege to the API, you would add this line to your policy
file:
```json
{"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"system:serviceaccount:kube-system:default","namespace":"*","resource":"*","apiGroup":"*"}}
```
The apiserver will need to be restarted to pickup the new policy lines.
{% endcapture %}
{% include templates/concept.md %}
+68 -338
View File
@@ -7,55 +7,40 @@ assignees:
title: Overview
---
In Kubernetes, authorization happens as a separate step from authentication.
See the [Accessing Control Overview](/docs/admin/accessing-the-api/) for an
overview of how authentication and authorization are applied to requests.
{% capture overview %}
Learn more about Kubernetes authorization, including details about creating policies using the supported authorization modules.
{% endcapture %}
Authorization applies to all HTTP accesses on the main (secure) apiserver port.
{% capture body %}
In Kubernetes, you must be authenticated (logged in) before your request can be authorized (granted permission to access). For information about authentication, see [Accessing Control Overview](/docs/admin/accessing-the-api/).
The authorization check for any request compares attributes of the context of
the request, (such as user, resource, and namespace) with access
policies. An API call must be allowed by some policy in order to proceed.
Kubernetes expects attributes that are common to REST API requests. This means that Kubernetes authorization works with existing organization-wide or cloud-provider-wide access control systems which may handle other APIs besides the Kubernetes API.
The following implementations are available, and are selected by flag:
## Determine Whether a Request is Allowed or Denied
Kubernetes authorizes API requests using the API server. It evaluates all of the request attributes against all policies and allows or denies the request. All parts of an API request must be allowed by some policy in order to proceed. This means that permissions are denied by default.
- `--authorization-mode=AlwaysDeny` blocks all requests (used in tests).
- `--authorization-mode=AlwaysAllow` allows all requests; use if you don't
need authorization.
- `--authorization-mode=ABAC` allows for a simple local-file-based user-configured
authorization policy. ABAC stands for Attribute-Based Access Control.
- `--authorization-mode=RBAC` allows for authorization to be driven by policy
stored in the Kubernetes API. RBAC stands for Role-Based Access Control.
- `--authorization-mode=Webhook` allows for authorization to be driven by a
remote service using REST.
(Although Kubernetes uses the API server, access controls and policies that depend on specific fields of specific kinds of objects are handled by Admission Controllers.)
If multiple modes are provided the set is unioned, and only a single authorizer is required to admit the action. This means the flag:
When multiple authorization modules are configured, each is checked in sequence, and if any module authorizes the request, then the request can proceed. If all modules deny the request, then the request is denied (HTTP status code 403).
```
--authorization-mode=AlwaysDeny,AlwaysAllow
```
## Review Your Request Attributes
Kubernetes reviews only the following API request attributes:
will always allow.
* **user** - The `user` string provided during authentication
* **group** - The list of group names to which the authenticated user belongs
* **"extra"** - A map of arbitrary string keys to string values, provided by the authentication layer
* **API** - Indicates whether the request is for an API resource
* **Request path** - Path to miscellaneous non-resource endpoints like `/api` or `/healthz` (see [kubectl](#kubectl)).
* **API request verb** - API verbs `get`, `list`, `create`, `update`, `patch`, `watch`, `proxy`, `redirect`, `delete`, and `deletecollection` are used for resource requests. To determine the request verb for a resource API endpoint, see **Determine the request verb** below.
* **HTTP request verb** - HTTP verbs `get`, `post`, `put`, and `delete` are used for non-resource requests
* **Resource** - The ID or name of the resource that is being accessed (for resource requests only)
--* For resource requests using `get`, `update`, `patch`, and `delete` verbs, you must provide the resource name.
* **Subresource** - The subresource that is being accessed (for resource requests only)
* **Namespace** - The namespace of the object that is being accessed (for namespaced resource requests only)
* **API group** - The API group being accessed (for resource requests only). An empty string designates the [core API group](/docs/api/).
## Request Attributes
A request has the following attributes that can be considered for authorization:
- user (the user-string which a user was authenticated as).
- group (the list of group names the authenticated user is a member of).
- "extra" (a map of arbitrary string keys to string values, provided by the authentication layer)
- whether the request is for an API resource.
- the request path.
- allows authorizing access to miscellaneous non-resource endpoints like `/api` or `/healthz` (see [kubectl](#kubectl)).
- the request verb.
- API verbs `get`, `list`, `create`, `update`, `patch`, `watch`, `proxy`, `redirect`, `delete`, and `deletecollection` are used for resource requests
- HTTP verbs `get`, `post`, `put`, and `delete` are used for non-resource requests
- what resource is being accessed (for resource requests only)
- what subresource is being accessed (for resource requests only)
- the namespace of the object being accessed (for namespaced resource requests only)
- the API group being accessed (for resource requests only); an empty string designates the [core API group](/docs/api/)
The request verb for a resource API endpoint can be determined by the HTTP verb used and whether or not the request acts on an individual resource or a collection of resources:
## Determine the Request Verb
To determine the request verb for a resource API endpoint, review the HTTP verb used and whether or not the request acts on an individual resource or a collection of resources:
HTTP verb | request verb
----------|---------------
@@ -65,304 +50,24 @@ PUT | update
PATCH | patch
DELETE | delete (for individual resources), deletecollection (for collections)
Some components perform authorization checks for additional permissions using specialized verbs. For example:
Kubernetes sometimes checks authorization for additional permissions using specialized verbs. For example:
* [PodSecurityPolicy](/docs/user-guide/pod-security-policy/) checks for authorization of the `use` verb on `podsecuritypolicies` resources in the `extensions` API group.
* [PodSecurityPolicy](/docs/concepts/policy/pod-security-policy/) checks for authorization of the `use` verb on `podsecuritypolicies` resources in the `extensions` API group.
* [RBAC](/docs/admin/authorization/rbac/#privilege-escalation-prevention-and-bootstrapping) checks for authorization
of the `bind` verb on `roles` and `clusterroles` resources in the `rbac.authorization.k8s.io` API group.
* [Authentication](/docs/admin/authentication/) layer checks for authorization of the `impersonate` verb on `users`, `groups`, and `userextras` in the `authentication.k8s.io` API group, and the `serviceaccounts` in the core API group.
## ABAC Mode
### Policy File Format
For mode `ABAC`, also specify `--authorization-policy-file=SOME_FILENAME`.
The file format is [one JSON object per line](http://jsonlines.org/). There
should be no enclosing list or map, just one map per line.
Each line is a "policy object". A policy object is a map with the following
properties:
- Versioning properties:
- `apiVersion`, type string; valid values are "abac.authorization.kubernetes.io/v1beta1". Allows versioning and conversion of the policy format.
- `kind`, type string: valid values are "Policy". Allows versioning and conversion of the policy format.
- `spec` property set to a map with the following properties:
- Subject-matching properties:
- `user`, type string; the user-string from `--token-auth-file`. If you specify `user`, it must match the username of the authenticated user.
- `group`, type string; if you specify `group`, it must match one of the groups of the authenticated user. `system:authenticated` matches all authenticated requests. `system:unauthenticated` matches all unauthenticated requests.
- Resource-matching properties:
- `apiGroup`, type string; an API group.
- Ex: `extensions`
- Wildcard: `*` matches all API groups.
- `namespace`, type string; a namespace.
- Ex: `kube-system`
- Wildcard: `*` matches all resource requests.
- `resource`, type string; a resource type
- Ex: `pods`
- Wildcard: `*` matches all resource requests.
- Non-resource-matching properties:
- `nonResourcePath`, type string; non-resource request paths.
- Ex: `/version` or `/apis`
- Wildcard:
- `*` matches all non-resource requests.
- `/foo/*` matches `/foo/` and all of its subpaths.
- `readonly`, type boolean, when true, means that the policy only applies to get, list, and watch operations.
**NOTES:** An unset property is the same as a property set to the zero value for its type
(e.g. empty string, 0, false). However, unset should be preferred for
readability.
In the future, policies may be expressed in a JSON format, and managed via a
REST interface.
### Authorization Algorithm
A request has attributes which correspond to the properties of a policy object.
When a request is received, the attributes are determined. Unknown attributes
are set to the zero value of its type (e.g. empty string, 0, false).
A property set to `"*"` will match any value of the corresponding attribute.
The tuple of attributes is checked for a match against every policy in the
policy file. If at least one line matches the request attributes, then the
request is authorized (but may fail later validation).
To permit any authenticated user to do something, write a policy with the
group property set to `"system:authenticated"`.
To permit any unauthenticated user to do something, write a policy with the
group property set to `"system:unauthenticated"`.
To permit a user to do anything, write a policy with the apiGroup, namespace,
resource, and nonResourcePath properties set to `"*"`.
### Kubectl
Kubectl uses the `/api` and `/apis` endpoints of api-server to negotiate
client/server versions. To validate objects sent to the API by create/update
operations, kubectl queries certain swagger resources. For API version `v1`
those would be `/swaggerapi/api/v1` & `/swaggerapi/experimental/v1`.
When using ABAC authorization, those special resources have to be explicitly
exposed via the `nonResourcePath` property in a policy (see [examples](#examples) below):
* `/api`, `/api/*`, `/apis`, and `/apis/*` for API version negotiation.
* `/version` for retrieving the server version via `kubectl version`.
* `/swaggerapi/*` for create/update operations.
To inspect the HTTP calls involved in a specific kubectl operation you can turn
up the verbosity:
kubectl --v=8 version
### Examples
1. Alice can do anything to all resources:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "alice", "namespace": "*", "resource": "*", "apiGroup": "*"}}
```
2. Kubelet can read any pods:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "kubelet", "namespace": "*", "resource": "pods", "readonly": true}}
```
3. Kubelet can read and write events:
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "kubelet", "namespace": "*", "resource": "events"}}
```
4. Bob can just read pods in namespace "projectCaribou":
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user": "bob", "namespace": "projectCaribou", "resource": "pods", "readonly": true}}
```
5. Anyone can make read-only requests to all non-resource paths:
```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": "*"}}
```
[Complete file example](http://releases.k8s.io/{{page.githubbranch}}/pkg/auth/authorizer/abac/example_policy_file.jsonl)
### A quick note on service accounts
A service account automatically generates a user. The user's name is generated
according to the naming convention:
```shell
system:serviceaccount:<namespace>:<serviceaccountname>
```
Creating a new namespace also causes a new service account to be created, of
this form:
```shell
system:serviceaccount:<namespace>:default
```
For example, if you wanted to grant the default service account in the
kube-system full privilege to the API, you would add this line to your policy
file:
```json
{"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"system:serviceaccount:kube-system:default","namespace":"*","resource":"*","apiGroup":"*"}}
```
The apiserver will need to be restarted to pickup the new policy lines.
## RBAC Mode
When specified "RBAC" (Role-Based Access Control) uses the
"rbac.authorization.k8s.io" API group to drive authorization decisions,
allowing admins to dynamically configure permission policies through the
Kubernetes API.
As of 1.6 RBAC mode is in beta.
To enable RBAC, start the apiserver with `--authorization-mode=RBAC`.
For details about administrating and using RBAC, view the [RBAC guide](/docs/admin/authorization/rbac).
## Webhook Mode
When specified, mode `Webhook` causes Kubernetes to query an outside REST
service when determining user privileges.
### Configuration File Format
Mode `Webhook` requires a file for HTTP configuration, specify by the
`--authorization-webhook-config-file=SOME_FILENAME` flag.
The configuration file uses the [kubeconfig](/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/)
file format. Within the file "users" refers to the API Server webhook and
"clusters" refers to the remote service.
A configuration example which uses HTTPS client auth:
```yaml
# clusters refers to the remote service.
clusters:
- name: name-of-remote-authz-service
cluster:
certificate-authority: /path/to/ca.pem # CA for verifying the remote service.
server: https://authz.example.com/authorize # URL of remote service to query. Must use 'https'.
# users refers to the API Server's webhook configuration.
users:
- name: name-of-api-server
user:
client-certificate: /path/to/cert.pem # cert for the webhook plugin to use
client-key: /path/to/key.pem # key matching the cert
# kubeconfig files require a context. Provide one for the API Server.
current-context: webhook
contexts:
- context:
cluster: name-of-remote-authz-service
user: name-of-api-server
name: webhook
```
### Request Payloads
When faced with an authorization decision, the API Server POSTs a JSON
serialized api.authorization.v1beta1.SubjectAccessReview object describing the
action. This object contains fields describing the user attempting to make the
request, and either details about the resource being accessed or requests
attributes.
Note that webhook API objects are subject to the same [versioning compatibility rules](/docs/api/)
as other Kubernetes API objects. Implementers should be aware of looser
compatibility promises for beta objects and check the "apiVersion" field of the
request to ensure correct deserialization. Additionally, the API Server must
enable the `authorization.k8s.io/v1beta1` API extensions group (`--runtime-config=authorization.k8s.io/v1beta1=true`).
An example request body:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "kittensandponies",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
},
"user": "jane",
"group": [
"group1",
"group2"
]
}
}
```
The remote service is expected to fill the SubjectAccessReviewStatus field of
the request and respond to either allow or disallow access. The response body's
"spec" field is ignored and may be omitted. A permissive response would return:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"status": {
"allowed": true
}
}
```
To disallow access, the remote service would return:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"status": {
"allowed": false,
"reason": "user does not have read access to the namespace"
}
}
```
Access to non-resource paths are sent as:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"nonResourceAttributes": {
"path": "/debug",
"verb": "get"
},
"user": "jane",
"group": [
"group1",
"group2"
]
}
}
```
Non-resource paths include: `/api`, `/apis`, `/metrics`, `/resetMetrics`,
`/logs`, `/debug`, `/healthz`, `/swagger-ui/`, `/swaggerapi/`, `/ui`, and
`/version.` Clients require access to `/api`, `/api/*`, `/apis`, `/apis/*`,
and `/version` to discover what resources and versions are present on the server.
Access to other non-resource paths can be disallowed without restricting access
to the REST api.
For further documentation refer to the authorization.v1beta1 API objects and
plugin/pkg/auth/authorizer/webhook/webhook.go.
## Module Development
Other implementations can be developed fairly easily.
The APIserver calls the Authorizer interface:
* [Authentication](/docs/admin/authentication/) layer checks for authorization of the `impersonate` verb on `users`, `groups`, and `serviceaccounts` in the core API group, and the `userextras` in the `authentication.k8s.io` API group.
## Authorization Modules
* **ABAC Mode** - Attribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together. The policies can use any type of attributes (user attributes, resource attributes, object, environment attributes etc). To learn more about using the ABAC mode, see [ABAC Mode](/docs/admin/authorization/abac/)
* **RBAC Mode** - Role-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within an enterprise. In this context, access is the ability of an individual user to perform a specific task, such as view, create, or modify a file. To learn more about using the RBAC mode, see [RBAC Mode](/docs/admin/authorization/rbac/)
..* When specified "RBAC" (Role-Based Access Control) uses the "rbac.authorization.k8s.io" API group to drive authorization decisions, allowing admins to dynamically configure permission policies through the Kubernetes API.
..* As of 1.6 RBAC mode is in beta.
..* To enable RBAC, start the apiserver with `--authorization-mode=RBAC`.
* **Webhook Mode** - A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen. To learn more about using the Webhook mode, see [Webhook Mode](/docs/admin/authorization/webhook/)
* **Custom Modules** - You can create custom modules for using with Kubernetes. To learn more, see **Custom Modules** below.
### Custom Modules
Other implementations can be developed fairly easily. The APIserver calls the Authorizer interface:
```go
type Authorizer interface {
@@ -381,8 +86,7 @@ their own caching to reduce the cost of repeated authorization calls with the
same or similar arguments. Developers should then consider the interaction
between caching and revocation of permissions.
### Checking API Access
#### Checking API Access
Kubernetes exposes the `subjectaccessreviews.v1.authorization.k8s.io` resource as a
normal resource that allows external access to API authorizer decisions. No matter which authorizer
@@ -425,3 +129,29 @@ subjectaccessreview "" created
This is useful for debugging access problems, in that you can use this resource
to determine what access an authorizer is granting.
## Using Flags for Your Authorization Module
You must include a flag in your policy to indicate which authorization module your policies include:
The following flags can be used:
- `--authorization-mode=ABAC` Attribute-Based Access Control (ABAC) mode allows you to configure policies using local files.
- `--authorization-mode=RBAC` Role-based access control (RBAC) mode allows you to create and store policies using the Kubernetes API.
- `--authorization-mode=Webhook` WebHook is an HTTP callback mode that allows you to manage authorization using a remote REST.
- `--authorization-mode=AlwaysDeny` This flag blocks all requests. Use this flag only for testing.
- `--authorization-mode=AlwaysAllow` This flag allows all requests. Use this flag only if you do not require authorization for your API requests.
You can choose more than one authorization module. If one of the modes is `AlwaysAllow`, then it overrides the other modes and all API requests are allowed.
## Versioning
For version 1.2, clusters created by kube-up.sh are configured so that no authorization is required for any request.
As of version 1.3, clusters created by kube-up.sh are configured so that the ABAC authorization modules are enabled. However, its input file is initially set to allow all users to do all operations. The cluster administrator needs to edit that file, or configure a different authorizer to restrict what users can do.
{% endcapture %}
{% capture whatsnext %}
* To learn more about Authentication, see **Authentication** in [Controlling Access to the Kubernetes API](/docs/admin/accessing-the-api/).
* To learn more about Admission Control, see [Using Admission Controllers](/docs/admin/admission-controllers/).
{% endcapture %}
{% include templates/concept.md %}
+30 -10
View File
@@ -168,6 +168,29 @@ rules:
verbs: ["get", "list"]
```
Resources can also be referred to by name for certain requests through the `resourceNames` list.
When specified, requests using the "get", "delete", "update", and "patch" verbs can be restricted
to individual instances of a resource. To restrict a subject to only "get" and "update" a single
configmap, you would write:
```yaml
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
namespace: default
name: configmap-updater
rules:
- apiGroups: [""]
resources: ["configmap"]
resourceNames: ["my-configmap"]
verbs: ["update", "get"]
```
Notably, if `resourceNames` are set, then the verb must not be list, watch, create, or deletecollection.
Because resource names are not present in the URL for create, list, watch, and deletecollection API requests,
those verbs would not be allowed by a rule with resourceNames set, since the resourceNames portion of the
rule would not match the request.
#### Role Examples
Only the `rules` section is shown in the following examples.
@@ -225,7 +248,7 @@ Allow "GET" and "POST" requests to the non-resource endpoint "/healthz" and all
```yaml
rules:
- nonResourceURLs: ["/healthz", "/healthz/*"]
- nonResourceURLs: ["/healthz", "/healthz/*"] # '*' in a nonResourceURL is a suffix glob match
verbs: ["get", "post"]
```
@@ -247,8 +270,8 @@ Group information in Kubernetes is currently provided by the Authenticator
modules. Groups, like users, are represented as strings, and that string
has no format requirements, other than that the prefix `system:` is reserved.
[Service Accounts](/docs/user-guide/service-accounts/) have usernames with the `system:serviceaccount:` prefix and belong
to groups with the `system:serviceaccounts` prefix.
[Service Accounts](/docs/tasks/configure-pod-container/configure-service-account/) have usernames with the `system:serviceaccount:` prefix and belong
to groups with the `system:serviceaccounts:` prefix.
#### Role Binding Examples
@@ -349,7 +372,7 @@ To opt out of this reconciliation, set the `rbac.authorization.kubernetes.io/aut
annotation on a default cluster role or rolebinding to `false`.
Be aware that missing default permissions and subjects can result in non-functional clusters.
Auto-reconciliation is enabled in Kubernetes version 1.6+.
Auto-reconciliation is enabled in Kubernetes version 1.6+ when the RBAC authorizer is active.
### Discovery Roles
@@ -394,11 +417,6 @@ When used in a <b>ClusterRoleBinding</b>, it gives full control over every resou
When used in a <b>RoleBinding</b>, it gives full control over every resource in the rolebinding's namespace, including the namespace itself.</td>
</tr>
<tr>
<td><b>cluster-status</b></td>
<td>None</td>
<td>Allows read-only access to basic cluster status information.</td>
</tr>
<tr>
<td><b>admin</b></td>
<td>None</td>
<td>Allows admin access, intended to be granted within a namespace using a <b>RoleBinding</b>.
@@ -509,6 +527,8 @@ This is commonly used by add-on API servers for unified authentication and autho
The [Kubernetes controller manager](/docs/admin/kube-controller-manager/) runs core control loops.
When invoked with `--use-service-account-credentials`, each control loop is started using a separate service account.
Corresponding roles exist for each control loop, prefixed with `system:controller:`.
If the controller manager is not started with `--use-service-account-credentials`,
it runs all control loops using its own credential, which must be granted all the relevant roles.
These roles include:
* system:controller:attachdetach-controller
@@ -668,7 +688,7 @@ In order from most secure to least secure, the approaches are:
--namespace=my-namespace
```
Many [add-ons](/docs/admin/addons/) currently run as the "default" service account in the "kube-system" namespace.
Many [add-ons](/docs/concepts/cluster-administration/addons/) currently run as the "default" service account in the "kube-system" namespace.
To allow those add-ons to run with super-user access, grant cluster-admin permissions to the "default" service account in the "kube-system" namespace.
NOTE: Enabling this means the "kube-system" namespace contains secrets that grant super-user access to the API.
+148
View File
@@ -0,0 +1,148 @@
---
assignees:
- erictune
- lavalamp
- deads2k
- liggitt
title: Webhook Mode
---
{% capture overview %}
A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen.
{% endcapture %}
{% capture body %}
When specified, mode `Webhook` causes Kubernetes to query an outside REST
service when determining user privileges.
## Configuration File Format
Mode `Webhook` requires a file for HTTP configuration, specify by the
`--authorization-webhook-config-file=SOME_FILENAME` flag.
The configuration file uses the [kubeconfig](/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/)
file format. Within the file "users" refers to the API Server webhook and
"clusters" refers to the remote service.
A configuration example which uses HTTPS client auth:
```yaml
# clusters refers to the remote service.
clusters:
- name: name-of-remote-authz-service
cluster:
certificate-authority: /path/to/ca.pem # CA for verifying the remote service.
server: https://authz.example.com/authorize # URL of remote service to query. Must use 'https'.
# users refers to the API Server's webhook configuration.
users:
- name: name-of-api-server
user:
client-certificate: /path/to/cert.pem # cert for the webhook plugin to use
client-key: /path/to/key.pem # key matching the cert
# kubeconfig files require a context. Provide one for the API Server.
current-context: webhook
contexts:
- context:
cluster: name-of-remote-authz-service
user: name-of-api-server
name: webhook
```
## Request Payloads
When faced with an authorization decision, the API Server POSTs a JSON
serialized api.authorization.v1beta1.SubjectAccessReview object describing the
action. This object contains fields describing the user attempting to make the
request, and either details about the resource being accessed or requests
attributes.
Note that webhook API objects are subject to the same [versioning compatibility rules](/docs/api/)
as other Kubernetes API objects. Implementers should be aware of looser
compatibility promises for beta objects and check the "apiVersion" field of the
request to ensure correct deserialization. Additionally, the API Server must
enable the `authorization.k8s.io/v1beta1` API extensions group (`--runtime-config=authorization.k8s.io/v1beta1=true`).
An example request body:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "kittensandponies",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
},
"user": "jane",
"group": [
"group1",
"group2"
]
}
}
```
The remote service is expected to fill the SubjectAccessReviewStatus field of
the request and respond to either allow or disallow access. The response body's
"spec" field is ignored and may be omitted. A permissive response would return:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"status": {
"allowed": true
}
}
```
To disallow access, the remote service would return:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"status": {
"allowed": false,
"reason": "user does not have read access to the namespace"
}
}
```
Access to non-resource paths are sent as:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"nonResourceAttributes": {
"path": "/debug",
"verb": "get"
},
"user": "jane",
"group": [
"group1",
"group2"
]
}
}
```
Non-resource paths include: `/api`, `/apis`, `/metrics`, `/resetMetrics`,
`/logs`, `/debug`, `/healthz`, `/swagger-ui/`, `/swaggerapi/`, `/ui`, and
`/version.` Clients require access to `/api`, `/api/*`, `/apis`, `/apis/*`,
and `/version` to discover what resources and versions are present on the server.
Access to other non-resource paths can be disallowed without restricting access
to the REST api.
For further documentation refer to the authorization.v1beta1 API objects and
[webhook.go](https://git.k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go).
{% endcapture %}
{% include templates/concept.md %}
+3 -3
View File
@@ -14,7 +14,7 @@ creating new clusters or joining new nodes to an existing cluster. It was built
to support [`kubeadm`](/docs/admin/kubeadm/), but can be used in other contexts
for users that wish to start clusters without `kubeadm`. It is also built to
work, via RBAC policy, with the [Kubelet TLS
Bootstrap](/docs/admin/kubelet-tls-bootstrap/) system.
Bootstrapping](/docs/admin/kubelet-tls-bootstrapping/) system.
Bootstrap Tokens are defined with a specific type
(`bootstrap.kubernetes.io/token`) of secrets that lives in the `kube-system`
@@ -58,7 +58,7 @@ Authorization: Bearer 07401b.f395accd246ae52d
Each valid token is backed by a secret in the `kube-system` namespace. You can
find the full design doc
[here](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/bootstrap-discovery.md).
[here](https://git.k8s.io/community/contributors/design-proposals/bootstrap-discovery.md).
Here is what the secret looks like. Note that `base64(string)` indicates the
value should be base64 encoded. The undecoded version is provided here for
@@ -168,4 +168,4 @@ rules (base64 encoded while discarding any trailing `=`). That encoded payload
is then used to form a whole JWS by inserting it between the 2 dots. You can
verify the JWS using the `HS256` scheme (HMAC-SHA256) with the full token (e.g.
`07401b.f395accd246ae52d`) as the shared secret. Users _must_ verify that HS256
is used.
is used.
-9
View File
@@ -1,9 +0,0 @@
---
assignees:
- lavalamp
title: Kubernetes Components
---
{% include user-guide-content-moved.md %}
[Kubernetes Components](/docs/concepts/overview/components/)
+1 -1
View File
@@ -111,7 +111,7 @@ Heapster's resource limits are set dynamically based on the initial size of your
and [#22940](http://issue.k8s.io/22940)). If you find that Heapster is running
out of resources, you should adjust the formulas that compute heapster memory request (see those PRs for details).
For directions on how to detect if addon containers are hitting resource limits, see the [Troubleshooting section of Compute Resources](/docs/user-guide/compute-resources/#troubleshooting).
For directions on how to detect if addon containers are hitting resource limits, see the [Troubleshooting section of Compute Resources](/docs/concepts/configuration/manage-compute-resources-container/#troubleshooting).
In the [future](http://issue.k8s.io/13048), we anticipate to set all cluster addon resource limits based on cluster size, and to dynamically adjust them if you grow or shrink your cluster.
We welcome PRs that implement those features.
-9
View File
@@ -1,9 +0,0 @@
---
assignees:
- davidopp
title: Pod Disruption Budget
---
{% include user-guide-content-moved.md %}
[Configuring a Pod Disruption Budget](/docs/tasks/configure-pod-container/configure-pod-disruption-budget/)
-10
View File
@@ -1,10 +0,0 @@
---
assignees:
- davidopp
- thockin
title: Using DNS Pods and Services
---
{% include user-guide-content-moved.md %}
[DNS Pods and Services](/docs/concepts/services-networking/dns-pod-service/)
-49
View File
@@ -1,49 +0,0 @@
---
assignees:
- lavalamp
title: Configuring Kubernetes Use of etcd
---
[etcd](https://coreos.com/etcd/docs/latest/) is a highly-available key value
store which Kubernetes uses for persistent storage of all of its REST API
objects.
## Configuration: high-level goals
Access Control: give *only* kube-apiserver read/write access to etcd. You do not
want apiserver's etcd exposed to every node in your cluster (or worse, to the
internet at large), because access to etcd is equivalent to root in your
cluster.
Data Reliability: for reasonable safety, either etcd needs to be run as a
[cluster](/docs/admin/high-availability/#clustering-etcd) (multiple machines each running
etcd) or etcd's data directory should be located on durable storage (e.g., GCE's
persistent disk). In either case, if high availability is required--as it might
be in a production cluster--the data directory ought to be [backed up
periodically](https://coreos.com/etcd/docs/latest/op-guide/recovery.html),
to reduce downtime in case of corruption.
## Default configuration
The default setup scripts use kubelet's file-based static pods feature to run etcd in a
[pod](http://releases.k8s.io/{{page.githubbranch}}/cluster/saltbase/salt/etcd/etcd.manifest). This manifest should only
be run on master VMs. The default location that kubelet scans for manifests is
`/etc/kubernetes/manifests/`.
## Kubernetes's usage of etcd
By default, Kubernetes objects are stored under the `/registry` key in etcd.
This path can be prefixed by using the [kube-apiserver](/docs/admin/kube-apiserver) flag
`--etcd-prefix="/foo"`.
`etcd` is the only place that Kubernetes keeps state.
## Troubleshooting
To test whether `etcd` is running correctly, you can try writing a value to a
test key. On your master VM (or somewhere with firewalls configured such that
you can talk to your cluster's etcd), try:
```shell
curl -fs -X PUT "http://${host}:${port}/v2/keys/_test"
```
-214
View File
@@ -1,214 +0,0 @@
---
assignees:
- mml
- wojtek-t
title: Upgrading and Rolling Back etcd
---
## About etcd
[etcd](https://coreos.com/etcd/docs/latest/) is a highly-available key value
store, which Kubernetes uses for persistent storage of all of its REST API
objects.
<!-- TODO(mml): Write this doc.
For the mechanics behind how kubernetes builds, distributes and deploys etcd,
see _some doc_.
-->
### Important assumptions
The upgrade procedure described in this document assumes that either:
1. The etcd cluster has only a single node, or
1. The etcd cluster has multiple nodes. In this case, the upgrade procedure requires shutting down the
etcd cluster. During the time the etcd cluster is shutdown, the Kubernetes API Server
will be read only.
**Warning**: Deviations from the assumptions are untested by continuous
integration, and deviations might create undesirable consequences. Additional
information about operating an etcd cluster is available [from the etcd
maintainers](https://github.com/coreos/etcd/tree/master/Documentation).
### etcd for Kubernetes: high-level goals
Access control: Give only kube-apiserver read/write access to etcd. You do not
want the API server's etcd exposed to every node in your cluster, or worse, to the
internet at large. Access to etcd is equivalent to root access in your
cluster.
Data reliability: For reasonable safety, either etcd needs to be run as a
[cluster](/docs/admin/high-availability/#clustering-etcd), or etcd's data directory
should be located on durable storage, for example, a Google Compute Engine persistent disk.
In either case, if high availability is
required--as it might be in a production cluster--the data directory ought to be
[backed up periodically](https://coreos.com/etcd/docs/latest/op-guide/recovery.html)
to reduce downtime in case of corruption.
## Background
As of Kubernetes version 1.5.1, we are still using etcd from the 2.2.1 release with
the v2 API. Also, we have no pre-existing process for updating etcd, as we have
never updated etcd by either minor or major version.
Note that we need to migrate both the etcd versions that we are using (from 2.2.1
to at least 3.0.x) as well as the version of the etcd API that Kubernetes talks to. The etcd 3.0.x
binaries support both the v2 and v3 API.
This document describes how to do this migration. If you want to skip the
background and cut right to the procedure, see [Upgrade
Procedure](#upgrade-procedure).
### etcd upgrade requirements
There are requirements on how an etcd cluster upgrade can be performed. The primary considerations are:
- Upgrade between one minor release at a time
- Rollback supported through additional tooling
#### One minor release at a time
Upgrade only one minor release at a time. For example, we cannot upgrade directly from 2.1.x to 2.3.x.
Within patch releases it is possible to upgrade and downgrade between arbitrary versions. Starting a cluster for
any intermediate minor release, waiting until the cluster is healthy, and then
shutting down the cluster down will perform the migration. For example, to upgrade from version 2.1.x to 2.3.y,
it is enough to start etcd in 2.2.z version, wait until it is healthy, stop it, and then start the
2.3.y version.
#### Rollback via additional tooling
Versions 3.0+ of etcd do not support general rollback. That is,
after migrating from M.N to M.N+1, there is no way to go back to M.N.
The etcd team has provided a [custom rollback tool](https://github.com/kubernetes/kubernetes/tree/master/cluster/images/etcd/rollback)
but the rollback tool has these limitations:
* This custom rollback tool is not part of the etcd repo and does not receive the same
testing as the rest of etcd. We are testing it in a couple of end-to-end tests.
There is only community support here.
* The rollback can be done only from the 3.0.x version (that is using the v3 API) to the
2.2.1 version (that is using the v2 API).
* The tool only works if the data is stored in `application/json` format.
* Rollback doesnt preserve resource versions of objects stored in etcd.
**Warning**: If the data is not kept in `application/json` format (see [Upgrade
Procedure](#upgrade-procedure)), you will lose the option to roll back to etcd
2.2.
The last bullet means that any component or user that has some logic
depending on resource versions may require restart after etcd rollback. This
includes that all clients using the watch API, which depends on
resource versions. Since both the kubelet and kube-proxy use the watch API, a
rollback might require restarting all Kubernetes components on all nodes.
**Note**: At the time of writing, both Kubelet and KubeProxy are using “resource
version” only for watching (i.e. are not using resource versions for anything
else). And both are using reflector and/or informer frameworks for watching
(i.e. they dont send watch requests themselves). Both those frameworks if they
cant renew watch, they will start from “current version” by doing “list + watch
from the resource version returned by list”. That means that if the apiserver
will be down for the period of rollback, all of node components should basically
restart their watches and start from “now” when apiserver is back. And it will
be back with new resource version. That would mean that restarting node
components is not needed. But the assumptions here may not hold forever.
## Design
This section describes how we are going to do the migration, given the
[etcd upgrade requirements](#etcd-upgrade-requirements).
Note that because the code changes in Kubernetes code needed
to support the etcd v3 API are local and straightforward, we do not
focus on them at all. We focus only on the upgrade/rollback here.
### New etcd Docker image
We decided to completely change the the content of the etcd image and the way it works.
So far, the Docker image for etcd in version X has contained only the etcd and
etcdctl binaries.
Going forward, the Docker image for etcd in version X will contain multiple
versions of etcd. For example, the 3.0.17 image will contain the 2.2.1, 2.3.7, and
3.0.17 binaries of etcd and etcdctl. This will allow running etcd in multiple
different versions using the same Docker image.
Additionally, the image will contain a custom script, written by the Kubernetes team,
for doing migration between versions. The image will also contain the rollback tool
provided by the etcd team.
### Migration script
The migration script that will be part of the etcd Docker image is a bash
script that works as follows:
1. Detect which version of etcd we were previously running.
For that purpose, we have added a dedicated file, `version.txt`, that
holds that information and is stored in the etcd-data-specific directory,
next to the etcd data. If the file doesnt exist, we default it to version 2.2.1.
1. If we are in version 2.2.1 and are supposed to upgrade, backup
data.
1. Based on the detected previous etcd version and the desired one
(communicated via environment variable), do the upgrade steps as
needed. This means that for every minor etcd release greater than the detected one and
less than or equal to the desired one:
1. Start etcd in that version.
1. Wait until it is healthy. Healthy means that you can write some data to it.
1. Stop this etcd. Note that this etcd will not listen on the default
etcd port. It is hard coded to listen on ports that the API server is not
configured to connect to, which means that API server wont be able to connect
to it. Assuming no other client goes out of its way to try to
connect and write to this obscure port, no new data will be written during
this period.
1. If the desired API version is v3 and the detected version is v2, do the offline
migration from the v2 to v3 data format. For that we use two tools:
* ./etcdctl migrate: This is the official tool for migration provided by the etcd team.
* A custom script that is attaching TTLs to events in the etcd. Note that etcdctl
migrate doesnt support TTLs.
1. After every successful step, update contents of the version file.
This will protect us from the situation where something crashes in the
meantime ,and the version file gets completely unsynchronized with the
real data. Note that it is safe if the script crashes after the step is
done and before the file is updated. This will only result in redoing one
step in the next try.
All the previous steps are for the case where the detected version is less than or
equal to the desired version. In the opposite case, that is for a rollback, the
script works as follows:
1. Verify that the detected version is 3.0.x with the v3 API, and the
desired version is 2.2.1 with the v2 API. We dont support any other rollback.
1. If so, we run the custom tool provided by etcd team to do the offline
rollback. This tool reads the v3 formatted data and writes it back to disk
in v2 format.
1. Finally update the contents of the version file.
### Upgrade procedure
Simply modify the command line in the etcd manifest to:
1. Run the migration script. If the previously run version is already in the
desired version, this will be no-op.
1. Start etcd in the desired version.
Starting in Kubernetes version 1.6, this has been done in the manifests for new
Google Compute Engine clusters. You should also specify these environment
variables. In particular,you must keep `STORAGE_MEDIA_TYPE` set to
`application/json` if you wish to preserve the option to roll back.
```
TARGET_STORAGE=etcd3
ETCD_IMAGE=3.0.17
TARGET_VERSION=3.0.17
STORAGE_MEDIA_TYPE=application/json
```
To roll back, use these:
```
TARGET_STORAGE=etcd2
ETCD_IMAGE=3.0.17
TARGET_VERSION=2.2.1
STORAGE_MEDIA_TYPE=application/json
```
+2 -2
View File
@@ -129,7 +129,7 @@ $ federation/deploy/deploy.sh deploy_federation
```
This spins up the federation control components as pods managed by
[`Deployments`](http://kubernetes.io/docs/user-guide/deployments/) on your
[`Deployments`](/docs/concepts/workloads/controllers/deployment/) on your
existing Kubernetes cluster. It also starts a
[`type: LoadBalancer`](http://kubernetes.io/docs/user-guide/services/#type-loadbalancer)
[`Service`](http://kubernetes.io/docs/user-guide/services/) for the
@@ -385,4 +385,4 @@ if required.
## For more information
* [Federation proposal](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/proposals/federation.md) details use cases that motivated this work.
* [Federation proposal](https://git.k8s.io/community/contributors/design-proposals/federation.md) details use cases that motivated this work.
-9
View File
@@ -1,9 +0,0 @@
---
assignees:
- madhusudancs
title: Setting up Cluster Federation with Kubefed
---
{% include user-guide-content-moved.md %}
[Setting up Cluster Federation with kubefed](/docs/tutorials/federation/set-up-cluster-federation-kubefed/)
+1 -1
View File
@@ -4,5 +4,5 @@ MASTER_IP=<insert-ip-here>
DNS_IP=<insert-dns-ip-here>
DAEMON_ARGS="$DAEMON_ARGS --api-servers=https://${MASTER_IP} --enable-debugging-handlers=true --cloud-provider=
gce --config=/etc/kubernetes/manifests --allow-privileged=False --v=2 --cluster-dns=${DNS_IP} --cluster-domain=c
gce --pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=False --v=2 --cluster-dns=${DNS_IP} --cluster-domain=c
luster.local --configure-cbr0=true --cgroup-root=/ --system-container=/system "
+9 -12
View File
@@ -1,12 +1,12 @@
---
title: Building High-Availability Clusters
---
---
title: Building High-Availability Clusters
---
## Introduction
This document describes how to build a high-availability (HA) Kubernetes cluster. This is a fairly advanced topic.
Users who merely want to experiment with Kubernetes are encouraged to use configurations that are simpler to set up such as
the simple [Docker based single node cluster instructions](/docs/getting-started-guides/docker),
Users who merely want to experiment with Kubernetes are encouraged to use configurations that are simpler to set up such
as [Minikube](/docs/getting-started-guides/minikube/)
or try [Google Container Engine](https://cloud.google.com/container-engine/) for hosted Kubernetes.
Also, at this time high availability support for Kubernetes is not continuously tested in our end-to-end (e2e) testing. We will
@@ -17,7 +17,7 @@ be working to add this continuous testing, but for now the single-node master in
## Overview
Setting up a truly reliable, highly available distributed system requires a number of steps, it is akin to
Setting up a truly reliable, highly available distributed system requires a number of steps. It is akin to
wearing underwear, pants, a belt, suspenders, another pair of underwear, and another pair of pants. We go into each
of these steps in detail, but a summary is given here to help guide and orient the user.
@@ -63,7 +63,6 @@ If you are using monit, you should also install the monit daemon (`apt-get insta
On systemd systems you `systemctl enable kubelet` and `systemctl enable docker`.
## Establishing a redundant, reliable data storage layer
The central foundation of a highly available solution is a redundant, reliable storage layer. The number one rule of high-availability is
@@ -97,7 +96,6 @@ Note that in `etcd.yaml` you should substitute the token URL you got above for `
and you should substitute a different name (e.g. `node-1`) for `${NODE_NAME}` and the correct IP address
for `${NODE_IP}` on each machine.
#### Validating your cluster
Once you copy this into all three nodes, you should have a clustered etcd set up. You can validate on master with
@@ -130,7 +128,6 @@ Regardless of how you choose to implement it, if you chose to use one of these o
to each machine. If your storage is shared between the three masters in your cluster, you should create a different directory on the storage
for each node. Throughout these instructions, we assume that this storage is mounted to your machine in `/var/etcd/data`
## Replicated API Servers
Once you have replicated etcd set up correctly, we will also install the apiserver using the kubelet.
@@ -184,9 +181,9 @@ cluster state, such as the controller manager and scheduler. To achieve this re
instances of these actors, in case a machine dies. To achieve this, we are going to use a lease-lock in the API to perform
master election. We will use the `--leader-elect` flag for each scheduler and controller-manager, using a lease in the API will ensure that only 1 instance of the scheduler and controller-manager are running at once.
The scheduler and controller-manager can be configured to talk to the API server that is on the same node (i.e. 127.0.0.1), or it can be configured to communicate using the load balanced IP address of the API servers. Regardless of how they are configured, the scheduler and controller-manager will complete the leader election process mentioned above when using the `--leader-elect` flag.
The scheduler and controller-manager can be configured to talk to the API server that is on the same node (i.e. 127.0.0.1), or it can be configured to communicate using the load balanced IP address of the API servers. Regardless of how they are configured, the scheduler and controller-manager will complete the leader election process mentioned above when using the `--leader-elect` flag.
In case of a failure accessing the API server, the elected leader will not be able to renew the lease, causing a new leader to be elected. This is especially relevant when configuring the scheduler and controller-manager to access the API server via 127.0.0.1, and the API server on the same node is unavailable.
In case of a failure accessing the API server, the elected leader will not be able to renew the lease, causing a new leader to be elected. This is especially relevant when configuring the scheduler and controller-manager to access the API server via 127.0.0.1, and the API server on the same node is unavailable.
### Installing configuration files
-7
View File
@@ -1,7 +0,0 @@
---
title: Admin Guide
---
{% include user-guide-content-moved.md %}
[Cluster Administration Overview](/docs/tasks/administer-cluster/overview/)
+63
View File
@@ -0,0 +1,63 @@
---
title: kube-scheduler
notitle: true
---
## kube-scheduler
### Synopsis
The Kubernetes scheduler is a policy-rich, topology-aware,
workload-specific function that significantly impacts availability, performance,
and capacity. The scheduler needs to take into account individual and collective
resource requirements, quality of service requirements, hardware/software/policy
constraints, affinity and anti-affinity specifications, data locality, inter-workload
interference, deadlines, and so on. Workload-specific requirements will be exposed
through the API as necessary.
```
kube-scheduler
```
### Options
```
--address string The IP address to serve on (set to 0.0.0.0 for all interfaces) (default "0.0.0.0")
--algorithm-provider string The scheduling algorithm provider to use, one of: DefaultProvider | ClusterAutoscalerProvider (default "DefaultProvider")
--failure-domains string Indicate the "all topologies" set for an empty topologyKey when it's used for PreferredDuringScheduling pod anti-affinity. (default "kubernetes.io/hostname,failure-domain.beta.kubernetes.io/zone,failure-domain.beta.kubernetes.io/region")
--feature-gates value A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:
AllAlpha=true|false (ALPHA - default=false)
AllowExtTrafficLocalEndpoints=true|false (ALPHA - default=false)
AppArmor=true|false (BETA - default=true)
DynamicKubeletConfig=true|false (ALPHA - default=false)
DynamicVolumeProvisioning=true|false (ALPHA - default=true)
--google-json-key string The Google Cloud Platform Service Account JSON Key to use for authentication.
--hard-pod-affinity-symmetric-weight int RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule corresponding to every RequiredDuringScheduling affinity rule. --hard-pod-affinity-symmetric-weight represents the weight of implicit PreferredDuringScheduling affinity rule. (default 1)
--kube-api-burst value Burst to use while talking with kubernetes apiserver (default 100)
--kube-api-content-type string Content type of requests sent to apiserver. (default "application/vnd.kubernetes.protobuf")
--kube-api-qps value QPS to use while talking with kubernetes apiserver (default 50)
--kubeconfig string Path to kubeconfig file with authorization and master location information.
--leader-elect Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. (default true)
--leader-elect-lease-duration duration The duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled. (default 15s)
--leader-elect-renew-deadline duration The interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled. (default 10s)
--leader-elect-retry-period duration The duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled. (default 2s)
--master string The address of the Kubernetes API server (overrides any value in kubeconfig)
--policy-config-file string File with scheduler policy configuration
--port value The port that the scheduler's http service runs on (default 10251)
--profiling Enable profiling via web interface host:port/debug/pprof/ (default true)
--scheduler-name string Name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name' (default "default-scheduler")
```
###### Auto generated by spf13/cobra on 24-Oct-2016
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/admin/kube-scheduler.md?pixel)]()
<!-- END MUNGE: GENERATED_ANALYTICS -->
+95 -10
View File
@@ -4,7 +4,7 @@ assignees:
- luxas
- errordeveloper
- jbeda
title: kubeadm reference
title: kubeadm Setup Tool
---
This document provides information on how to use kubeadm's advanced options.
@@ -23,7 +23,9 @@ following steps:
1. kubeadm generates a self-signed CA to provision identities for each component
(including nodes) in the cluster. It also generates client certificates to
be used by various components.
be used by various components. If the user has provided their own CA by
dropping it in the cert directory (configured via `--cert-dir`, by default
`/etc/kubernetes/pki`), this step is skipped.
1. Outputting a kubeconfig file for the kubelet to use to connect to the API
server, as well as an additional kubeconfig file for administration.
@@ -38,8 +40,8 @@ following steps:
run there. It also sets up the RBAC authorization system and writes a
special ConfigMap that is used to bootstrap trust with the kubelets.
1. kubeadm installs installs add-on components via the API server. Right now
this is the internal DNS server and the kube-proxy DaemonSet.
1. kubeadm installs add-on components via the API server. Right now this is
the internal DNS server and the kube-proxy DaemonSet.
Running `kubeadm join` on each node in the cluster consists of the following
steps:
@@ -70,7 +72,7 @@ It is usually sufficient to run `kubeadm init` without any flags, but in some
cases you might like to override the default behaviour. Here we specify all the
flags that can be used to customise the Kubernetes installation.
- `--api-advertise-address`
- `--apiserver-advertise-address`
This is the address the API Server will advertise to other members of the
cluster. This is also the address used to construct the suggested `kubeadm
@@ -105,6 +107,19 @@ A kubeadm specific [config file](#config-file). This can be used to specify an
extended set of options including passing arbitrary command line flags to the
control plane components.
**Note**: When providing configuration values using _both_ a configuration file
and flags, the file will take precedence. For example, if a file exists with:
```yaml
apiVersion: kubeadm.k8s.io/v1alpha1
kind: MasterConfiguration
token: 1234
```
and the user ran `kubeadm init --config file.yaml --token 5678`,
the chosen token value will be `1234`.
- `--kubernetes-version` (default 'latest') the kubernetes version to initialise
The **v1.6** version of kubeadm only supports building clusters that are at
@@ -141,6 +156,16 @@ names `<service_name>.<namespace>.svc.cluster.local`. You can use the
update the `/etc/systemd/system/kubelet.service.d/10-kubeadm.conf` file
accordingly else DNS will not function correctly.
**Note**: This flag has an effect (it's needed for the kube-dns Deployment
manifest and the API Server's serving certificate) but not as you might expect,
since you will have to modify the arguments to the kubelets in the cluster for
it to work fully. Specifying DNS parameters using this flag only is not enough.
Rewriting the kubelet's CLI arguments is out of scope for kubeadm as it should
be agnostic to how you run the kubelet. However, making all kubelets in the
cluster pick up information dynamically via the API _is_ in scope and is a
[planned feature](https://github.com/kubernetes/kubeadm/issues/28) for upcoming
releases.
- `--skip-preflight-checks`
By default, kubeadm runs a series of preflight checks to validate the system
@@ -277,7 +302,9 @@ networking:
podSubnet: <cidr>
kubernetesVersion: <string>
cloudProvider: <string>
authorizationMode: <string>
authorizationModes:
- <authorizationMode1|string>
- <authorizationMode2|string>
token: <string>
tokenTTL: <time duration>
selfHosted: <bool>
@@ -295,6 +322,8 @@ apiServerCertSANs:
- <name2|string>
certificatesDir: <string>
```
In addition, if authorizationMode is set to `ABAC`, you should write the config to `/etc/kubernetes/abac_policy.json`.
However, if authorizationMode is set to `Webhook`, you should write the config to `/etc/kubernetes/webhook_authz.conf`.
### Sample Node Configuration
@@ -327,7 +356,7 @@ commands.
* `kubeadm token create` Creates a new token.
* `--description` Set the description on the new token.
* `--ttl duration` Set expiration time of the token as a delta from "now".
Default is 0 for no expiration.
Default is 0 for no expiration. The unit of the duration is seconds.
* `--usages` Set the ways that the token can be used. The default is
`signing,authentication`. These are the usages as described above.
* `kubeadm token delete <token id>|<token id>.<token secret>` Delete a token.
@@ -346,7 +375,7 @@ docs](/docs/admin/bootstrap-tokens/).
## Automating kubeadm
Rather than copying the token you obtained from `kubeadm init` to each node, as
in the [basic kubeadm tutorial](docs/getting-started-guides/kubeadm/), you can
in the [basic kubeadm tutorial](/docs/admin/kubeadm/), you can
parallelize the token distribution for easier automation. To implement this
automation, you must know the IP address that the master will have after it is
started.
@@ -378,11 +407,25 @@ configuration file.
| Variable | Default | Description |
| --- | --- | --- |
| `KUBE_KUBERNETES_DIR` | `/etc/kubernetes` | Where most configuration files are written to and read from |
| `KUBE_HOST_ETCD_PATH` | `/var/lib/etcd` | Local etcd state for Kubernetes cluster |
| `KUBE_HYPERKUBE_IMAGE` | | If set, use a single hyperkube image with this name. If not set, individual images per server component will be used. |
| `KUBE_ETCD_IMAGE` | `gcr.io/google_containers/etcd-<arch>:3.0.17` | The etcd container image to use. |
| `KUBE_REPO_PREFIX` | `gcr.io/google_containers` | The image prefix for all images that are used. |
If `KUBE_KUBERNETES_DIR` is specified, you may need to rewrite the arguments of the kubelet.
(e.g. --kubeconfig, --pod-manifest-path)
If `KUBE_REPO_PREFIX` is specified, you may need to set the kubelet flag `--pod-infra-container-image` which specifies which pause image to use.
Defaults to `gcr.io/google_containers/pause-${ARCH}:3.0` where `${ARCH}` can be one of `amd64`, `arm`, `arm64`, `ppc64le` or `s390x`.
```bash
cat > /etc/systemd/system/kubelet.service.d/20-pod-infra-image.conf <<EOF
[Service]
Environment="KUBELET_EXTRA_ARGS=--pod-infra-container-image=<your-image>"
EOF
systemctl daemon-reload
systemctl restart kubelet
```
If you want to use kubeadm with an http proxy, you may need to configure it to
support http_proxy, https_proxy, or no_proxy.
@@ -403,11 +446,53 @@ export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,example.com,1
Remember to change `proxy_ip` and add a kube master node IP address to
`no_proxy`.
## Use Kubeadm with other CRI runtimes
Since [Kubernetes 1.6 release](https://git.k8s.io/kubernetes/CHANGELOG.md#node-components-1), Kubernetes container runtimes have been transferred to using CRI by default. Currently, the build-in container runtime is Docker which is enabled by build-in `dockershim` in `kubelet`.
Using other CRI based runtimes with kubeadm is very simple, and currently supported runtimes are:
- [cri-o](https://github.com/kubernetes-incubator/cri-o)
- [frakti](https://github.com/kubernetes/frakti)
- [rkt](https://github.com/kubernetes-incubator/rktlet)
After you have successfully installed `kubeadm` and `kubelet`, please follow these two steps:
1. Install runtime shim on every node. You will need to follow the installation document in the runtime shim project listing above.
2. Configure kubelet to use remote CRI runtime. Please remember to change `RUNTIME_ENDPOINT` to your own value like `/var/run/{your_runtime}.sock`:
```shell
$ cat > /etc/systemd/system/kubelet.service.d/20-cri.conf <<EOF
Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --container-runtime-endpoint=$RUNTIME_ENDPOINT --feature-gates=AllAlpha=true"
EOF
$ systemctl daemon-reload
```
Now `kubelet` is ready to use the specified CRI runtime, and you can continue with `kubeadm init` and `kubeadm join` workflow to deploy Kubernetes cluster.
## Using custom certificates
By default kubeadm will generate all the certificates needed for a cluster to run.
You can override this behaviour by providing your own certificates.
To do so, you must place them in whatever directory is specified by the
`--cert-dir` flag or `CertificatesDir` configuration file key. By default this
is `/etc/kubernetes/pki`.
If a given certificate and private key pair both exist, kubeadm will skip the
generation step and those files will be validated and used for the prescribed
use-case.
This means you can, for example, prepopulate `/etc/kubernetes/pki/ca.crt`
and `/etc/kubernetes/pki/ca.key` with an existing CA, which then will be used
for signing the rest of the certs.
## Releases and release notes
If you already have kubeadm installed and want to upgrade, run `apt-get update
&& apt-get upgrade` or `yum update` to get the latest version of kubeadm.
Refer to the
[CHANGELOG.md](https://github.com/kubernetes/kubeadm/blob/master/CHANGELOG.md)
[CHANGELOG.md](https://git.k8s.io/kubeadm/CHANGELOG.md)
for more information.
+52 -52
View File
@@ -10,87 +10,87 @@ title: TLS bootstrapping
## Overview
This document describes how to set up TLS client certificate bootstrapping for kubelets.
Kubernetes 1.4 introduces an experimental API for requesting certificates from a cluster-level
Certificate Authority (CA). The first supported use of this API is the 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).
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).
## apiserver configuration
## kube-apiserver configuration
You must provide a token file which specifies at least one "bootstrap token" assigned to a kubelet bootstrap-specific 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 an RBAC policy which limits requests
using the bootstrap token to only be able to make requests related to certificate provisioning. When RBAC policy
is in place, scoping the tokens to a group will allow great flexibility (e.g. you could disable a particular
bootstrap group's access when you are done provisioning the nodes).
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).
### Token auth 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:
### 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 ' '`
`head -c 16 /dev/urandom | od -An -t x | tr -d ' '`
will generate tokens that look like `02b50b05283e98dd0fd71db496ef01e8`
will generate tokens that look like `02b50b05283e98dd0fd71db496ef01e8`
The token file will look like the following example, where the first three values can be anything and the quoted group
name should be as depicted:
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:kubelet-bootstrap"
```
```
Add the `--token-auth-file=FILENAME` flag to the apiserver command to enable the token file.
See docs at http://kubernetes.io/docs/admin/authentication/#static-token-file for further details.
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](http://kubernetes.io/docs/admin/authentication/#static-token-file) for further details.
### Client certificate CA bundle
Add the `--client-ca-file=FILENAME` flag to the apiserver command to enable client certificate authentication,
referencing a certificate authority bundle containing the signing certificate.
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`).
## controller-manager configuration
The API for requesting certificates adds a certificate-issuing control loop to the KCM. 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.
## 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 the apiserver for authentication with the `--client-ca-file=SOMEFILE` flag. The management
### 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.
Both certificate and key are assumed to be PEM-encoded.
The kube-controller-manager flags are:
The new 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"
```
```
### Auto-approval
To ease deployment and testing, the alpha version of the certificate request API includes a flag to approve all certificate
### Automatic approval
To ease deployment and testing, there is an experimental flag in the certificate bootstrapping API to approve all certificate
requests made by users in a certain group. The intended use of this is to whitelist only the group corresponding to the bootstrap
token in the token file above. Use of this flag circumvents makes the "approval" process described below and is not recommended
for production use.
token in the token file above. Use of this flag circumvents the approval process described below and is not recommended
for production use.
The flag is:
The flag is:
```
--insecure-experimental-approve-all-kubelet-csrs-for-group="system:kubelet-bootstrap"
```
```
## kubelet configuration
To use request a client cert from the certificate request API, the kubelet needs a path to a kubeconfig file that contains the
bootstrap auth token. If the file specified by `--kubeconfig` does not exist, the bootstrap kubeconfig is used to request a
client certificate from the API server. On success, 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 stored in the directory pointed
by `--cert-dir`. The new flag is:
## 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`.
The flag to enable this bootstrapping when starting the kubelet is:
```
--experimental-bootstrap-kubeconfig="/path/to/bootstrap/kubeconfig"
```
```
## kubectl approval
The signing controller does not immediately sign all certificate requests. Instead, it waits until they have been flagged with an
## 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`, describe one in detail with `kubectl describe <name>`. There are
[currently no direct approve/deny commands](https://github.com/kubernetes/kubernetes/issues/30163) so an approver will need to update
the Status field directly. A rough example of how to do this in bash which should only be used until the porcelain merges is available
at [https://github.com/gtank/csrctl](https://github.com/gtank/csrctl).
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.
+4 -5
View File
@@ -1,5 +1,5 @@
---
title: Overview
title: kubelet
notitle: true
---
## kubelet
@@ -25,8 +25,7 @@ seconds (configurable with a flag).
HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint
is checked every 20 seconds (also configurable with a flag).
HTTP server: The kubelet can also listen for HTTP and respond to a simple API
(underspec'd currently) to submit a new manifest.
HTTP server: The kubelet can also listen for HTTP requests and respond to a simple API call to submit a new manifest.
```
kubelet
@@ -67,7 +66,7 @@ kubelet
--enable-custom-metrics Support for gathering custom metrics.
--enable-debugging-handlers Enables server endpoints for log collection and local running of containers and commands (default true)
--enable-server Enable the Kubelet's server (default true)
--enforce-node-allocatable stringSlice A comma separated list of levels of node allocatable enforcement to be enforced by kubelet. Acceptible options are 'pods', 'system-reserved' & 'kube-reserved'. If the latter two options are specified, '--system-reserved-cgroup' & '--kube-reserved-cgroup' must also be set respectively. See https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md for more details. [default='pods'] (default [pods])
--enforce-node-allocatable stringSlice A comma separated list of levels of node allocatable enforcement to be enforced by kubelet. Acceptible options are 'pods', 'system-reserved' & 'kube-reserved'. If the latter two options are specified, '--system-reserved-cgroup' & '--kube-reserved-cgroup' must also be set respectively. See https://git.k8s.io/community/contributors/design-proposals/node-allocatable.md for more details. [default='pods'] (default [pods])
--event-burst int32 Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if --event-qps > 0 (default 10)
--event-qps int32 If > 0, limit event creations per second to this value. If 0, unlimited. (default 5)
--eviction-hard string A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction. (default "memory.available<100Mi")
@@ -77,7 +76,7 @@ kubelet
--eviction-soft string A set of eviction thresholds (e.g. memory.available<1.5Gi) that if met over a corresponding grace period would trigger a pod eviction.
--eviction-soft-grace-period string A set of eviction grace periods (e.g. memory.available=1m30s) that correspond to how long a soft eviction threshold must hold before triggering a pod eviction.
--exit-on-lock-contention Whether kubelet should exit upon lock-file contention.
--experimental-allocatable-ignore-eviction When set to 'true', Hard Eviction Thresholds will be ignored while calculating Node Allocatable. See https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node-allocatable.md for more details. [default=false]
--experimental-allocatable-ignore-eviction When set to 'true', Hard Eviction Thresholds will be ignored while calculating Node Allocatable. See https://git.k8s.io/community/contributors/design-proposals/node-allocatable.md for more details. [default=false]
--experimental-allowed-unsafe-sysctls stringSlice Comma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk.
--experimental-bootstrap-kubeconfig string <Warning: Experimental feature> Path to a kubeconfig file that will be used to get client certificate for 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 success, 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 stored in the directory pointed by --cert-dir.
--experimental-check-node-capabilities-before-mount [Experimental] if set true, the kubelet will check the underlying node for required componenets (binaries, etc.) before performing the mount
-10
View File
@@ -1,10 +0,0 @@
---
assignees:
- derekwaynecarr
- janetkuo
title: Setting Pod CPU and Memory Limits
---
{% include user-guide-content-moved.md %}
[Setting Pod CPU and Memory Limits](/docs/tasks/configure-pod-container/limit-range/)
-9
View File
@@ -1,9 +0,0 @@
---
assignees:
- davidopp
title: Using Multiple Clusters
---
{% include user-guide-content-moved.md %}
[Using Multiple Clusters](/docs/concepts/cluster-administration/multiple-clusters/)
+20 -20
View File
@@ -11,7 +11,7 @@ title: Running in Multiple Zones
Kubernetes 1.2 adds support for running a single cluster in multiple failure zones
(GCE calls them simply "zones", AWS calls them "availability zones", here we'll refer to them as "zones").
This is a lightweight version of a broader Cluster Federation feature (previously referred to by the affectionate
nickname ["Ubernetes"](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/federation.md)).
nickname ["Ubernetes"](https://git.k8s.io/community/contributors/design-proposals/federation.md)).
Full Cluster Federation allows combining separate
Kubernetes clusters running in different regions or cloud providers
(or on-premise data centers). However, many
@@ -111,11 +111,11 @@ and `failure-domain.beta.kubernetes.io/zone` for the zone:
> kubectl get nodes --show-labels
NAME STATUS AGE LABELS
kubernetes-master Ready,SchedulingDisabled 6m 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 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 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 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
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
```
### Add more nodes in a second zone
@@ -146,14 +146,14 @@ in us-central1-b:
```shell
> kubectl get nodes --show-labels
NAME STATUS AGE LABELS
kubernetes-master Ready,SchedulingDisabled 16m 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 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 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 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 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 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 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
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
```
### Volume affinity
@@ -231,8 +231,8 @@ cross-zone attachments are not generally permitted by cloud providers:
> 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 LABELS
kubernetes-minion-9vlv Ready 22m 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
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
```
### Pods are spread across zones
@@ -273,10 +273,10 @@ 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 LABELS
kubernetes-minion-9vlv Ready 34m 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 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 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
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
```
-11
View File
@@ -1,11 +0,0 @@
---
assignees:
- dcbw
- freehan
- thockin
title: Network Plugins
---
{% include user-guide-content-moved.md %}
[Network Plugins](/docs/concepts/cluster-administration/network-plugins/)
-9
View File
@@ -1,9 +0,0 @@
---
assignees:
- thockin
title: Networking in Kubernetes
---
{% include user-guide-content-moved.md %}
[Cluster Networking](/docs/concepts/cluster-administration/networking/)
+1 -1
View File
@@ -84,7 +84,7 @@ sudo docker run -it --rm --privileged --net=host \
gcr.io/google_containers/node-test:0.2
```
Node conformance test is a containerized version of [node e2e test](https://github.com/kubernetes/kubernetes/blob/{{page.version}}/docs/devel/e2e-node-tests.md).
Node conformance test is a containerized version of [node e2e test](https://git.k8s.io/community/contributors/devel/e2e-node-tests.md).
By default, it runs all conformance tests.
Theoretically, you can run any node e2e test if you configure the container and
-10
View File
@@ -1,10 +0,0 @@
---
assignees:
- Random-Liu
- dchen1107
title: Monitoring Node Health
---
{% include user-guide-content-moved.md %}
[Monitoring Node Health](/docs/tasks/debug-application-cluster/monitor-node-health/)
-11
View File
@@ -1,11 +0,0 @@
---
assignees:
- derekwaynecarr
- vishh
- timstclair
title: Configuring Out Of Resource Handling
---
{% include user-guide-content-moved.md %}
[Configuring Out of Resource Handling](/docs/concepts/cluster-administration/out-of-resource/)

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