Compare commits

...

3595 Commits

Author SHA1 Message Date
Damini Satya 0eecbd40e3 Update config.toml(release-1.17) for 1.17 (#18031) 2019-12-09 16:01:31 -08:00
Tim Bannister 68e8fb5a82 Update for v1.17 (#18034) 2019-12-09 15:14:40 -08:00
Damini Satya 253bcb2283 Reference Documentation for kubectl Commands for 1.17 (#18017) 2019-12-09 15:12:40 -08:00
Damini Satya 50139f0132 Update feature-gates.md (#18033) 2019-12-09 12:58:03 -08:00
Damini Satya 638a341877 Reference Documentation for the Kubernetes API for 1.17 (#18019) 2019-12-09 12:44:04 -08:00
daminisatya fa71e44da1 Promote VolumeSubpathEnvExpansion to GA 2019-12-06 17:48:50 -05:00
Yasen Simeonov 8cfbabadbd add Antrea description in dev-1.17 (#17919) 2019-12-06 17:48:50 -05:00
Tim Bannister c3917a5e50 Cleanup kubectl generators docs (#17609)
* Write ReplicationController without a space

* Drop mentioning unsupported cluster versions

* Fix capitalization for “API group”

* Tweak wording

* Avoid using deprecated generator in example
2019-12-06 17:48:49 -05:00
Joe Betz 3d7e739b5b Add resource version section to api-concepts documentation (#16910)
* Add Resource Version semantics section to api concepts

* Clarify risks of going back in time, add details about compaction and watch cache sizes

* Apply suggestions from liggitt

Co-Authored-By: Jordan Liggitt <jordan@liggitt.net>

* remove pesudocode, apply feedback

* Fix typo

* Clarify equality rules
2019-12-06 17:48:49 -05:00
Cheng Pan 0247b7897e Update AWS EBS Migration Feature state (#16126) 2019-12-06 17:48:49 -05:00
Jordan Liggitt 3c40a092f7 Update WebhookAdmissionConfiguration examples (#17549) 2019-12-06 17:48:49 -05:00
Jordan Liggitt a8020b6275 AdmissionConfiguration v1 (#17548) 2019-12-06 17:48:49 -05:00
Jordan Liggitt 1bdaa20400 Update docs for v1 resource quota configuration (#17547) 2019-12-06 17:48:49 -05:00
Draven 162292ac2f feat: update TaintNodesByCondition in feature gates table (#17377) 2019-12-06 17:48:49 -05:00
Jianzhu Zhang fe6087b601 update doc for kubelet option --reserved-cpus (#17648) 2019-12-06 17:48:48 -05:00
Patrick Lang 6fde238d15 doc: Simplify Windows deployments with RuntimeClass (#16697)
* doc: Simplify Windows deployments with RuntimeClass

* Updating on review feedback

* doc: Adding windows-build label from enhancement 1301
2019-12-06 17:48:48 -05:00
Lubomir I. Ivanov 1156daf227 kubeadm: update the upgrade documentation for 1.17 (#17587) 2019-12-06 17:48:48 -05:00
Draven 0e5d8e520e feat: graduate ResourceQuotaScopeSelectors to GA in 1.17 (#17554) 2019-12-06 17:48:48 -05:00
Tim Bannister 6be1509c2b Update Node concept for TaintNodesByCondition going GA (#17577) 2019-12-06 17:48:48 -05:00
Deep Debroy fea3bf18c5 Update list of feature flags for in-tree plugins migrated to CSI (#17533)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-12-06 17:48:48 -05:00
John Belamaric d8ee2090f2 Service topology alpha documentation (#17459) 2019-12-06 17:48:48 -05:00
Andrew Sy Kim a4447802db add topology.kubernetes.io/zone, topology.kubernetes.io/region and node.kubernetes.io/instance-type labels to docs (#17498)
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-12-06 17:48:47 -05:00
Lachlan Evenson 5702296827 (docs/dualstack): v1.17 updates (#17457)
* Add placehold doc updates for dualstack in 1.17

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add Downward API and /etc/hosts Pod IP validation

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* remove addressed known issue via k/k pr 85246

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Remove known issue and add flag as part of k/k 79993

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* remove follow up placeholders

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update verbiage

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Make IP addressing consistent throughout the task

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update to status.podIPs

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update content/en/docs/tasks/network/validate-dual-stack.md

Use set instead of env

Co-Authored-By: Khaled Henidak (Kal) <khnidk@outlook.com>
2019-12-06 17:48:47 -05:00
Rob Scott 6e6f90acc1 Updating EndpointSlice documentation for beta release in 1.17 (#17411) 2019-12-06 17:48:47 -05:00
Xing Yang 38684c3035 Add documentation for VolumeSnapshot Beta (#17233) 2019-12-06 17:48:47 -05:00
Dr. Stefan Schimanski d42940b264 Update CRD defaulting docs for GA (#17450) 2019-12-06 17:48:47 -05:00
Louise Daly bfa4e7ca9d Fix broken Topology Manager link (#17746)
Part of What's Next Device Plugin section
2019-12-06 17:48:47 -05:00
Louise Daly e1f50b1d63 Update Topology Manager docs (#17451)
* Added information on how device plugins can take advantage
of Topology Manager
* Updated the Topology Manager documentation to include additionalinformation and update some out of date sections
2019-12-06 17:48:47 -05:00
Zihong Zheng 9278d3cfac Update service load balancer finalizer doc for GA (#17438) 2019-12-06 17:48:46 -05:00
Lee Verberne 50d9795fb8 Promote PodShareProcessNamespace to stable (#17192)
* Promote PodShareProcessNamespace to stable

* Add for_k8s_version to feature-state label

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Readd version-check to shareProcessNamespace task
2019-12-06 17:48:46 -05:00
Fabio Bertinatto 68ef194ead Promote Node-specific volume limits to GA (#17432) 2019-12-06 17:48:46 -05:00
Patrick Lang 7524f7d954 Update RunAsUsername to beta (#17460)
* doc:Update RunAsUsername to beta

* doc: update samples - kubernetes.io/os is no longer beta

* Updating based on review feedback
2019-12-06 17:48:46 -05:00
Michelle Au ddd2a14a7c Update docs for csi topology ga (#17408) 2019-12-06 17:48:46 -05:00
Wojciech Tyczynski 1a884b1f97 Promote NodeLease feature to GA (#17189) 2019-12-06 17:48:46 -05:00
David Zhu b04abcfb61 Move CSIMigration and CSIMigrationGCE to Beta in Kubernetes v1.17 (#17478) 2019-12-06 17:48:45 -05:00
Ciprian Hacman 3c89724c93 Use exact version numbers for installing Docker in Ubuntu (#17428) 2019-12-06 17:48:45 -05:00
Ciprian Hacman 703b2658c2 Update Docker installation instructions (#17405) 2019-12-06 17:48:45 -05:00
Draven 012a41a5fc feat: graduate ScheduleDaemonSetPods to GA (#17350) 2019-12-06 17:48:45 -05:00
Wojciech Tyczynski 877978350f Watch bookmarks to GA (#17026) 2019-12-06 17:48:45 -05:00
Matthias Bertschy dde56f2463 Promote StartupProbe to beta (enabled by default). (#17164) 2019-12-06 17:48:45 -05:00
Draven 3dd265c40b feat: graduate TaintNodesByCondition to GA (#17073) 2019-12-06 17:48:44 -05:00
Zach Corleissen 448fa621ee Prune permissions (#17978) 2019-12-06 12:26:50 -08:00
craigbox 7cdf68f95a minor fixes (#17973)
Change "release manager" to "release team lead" to correct terminology; update date to today
2019-12-06 12:12:50 -08:00
Zach Corleissen 7a0ef2e4fe Update Hugo version in netlify.toml to 0.59.1 (#17976) 2019-12-06 11:56:52 -08:00
Samuel Kihahu 767f9fb0c0 en-docs: Add kubectl Installation Via Homebrew (#17928) 2019-12-06 07:34:51 -08:00
Daniel Helfand 12dadf46ee confirm installation instructions for minikube (#17479) 2019-12-06 07:06:50 -08:00
Aresforchina 5b27a99c6c fixup 404 urls (#17954) 2019-12-06 03:26:49 -08:00
Aresforchina 42106280a4 fix-up 404 urls (#17955) 2019-12-06 03:24:50 -08:00
Manish Bansal 93e241a001 Document correction for PDB (#17573)
* Document correction for PDB

The word "may" should be replaced with "will". I do not see any reason for the ambiguity here.

* Updated as per review comments

* Updated as per review comments
2019-12-06 03:18:50 -08:00
June Yi cb559f13c2 Sixth Korean l10n work for release-1.16 (#17962)
* Update _index.md (#17762)
* Update apparmor.md (#17767)
* Update hello-minikube.md (#17771)
* Update guestbook.md (#17773)
* Update localization_ko.md (#17777)
* Fix grammatical errors (#17776)
* Translate /docs/reference/issues-security/security.md in Korea (#17763)
* Create issues.md (#17765)
* Update basic-stateful-set.md (#17774)
* Fixed typo ko/docs/concepts/overview/components.md (#17778)
* Modify typo. (#17802)
* Update cloud-controller.md (#17760)
* Update file outdated korean docs in dev-1.16-ko.6. (#17772)
* Translate concepts/services-networking/ingress-controller in Korean (#17858)
* Update ingress-controller.md
* Translate services-networking/ingress.md in Korean. (#17807)
* Fix grammatical errors (#17775)
* Translate docs/contribute/style/write-new-topic.md in Korean (#17758)

Co-Authored-By: const-k <kss07120@gmail.com>
Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
Co-Authored-By: power8993 <37264128+power8993@users.noreply.github.com>
Co-Authored-By: reung37 <49059415+reung37@users.noreply.github.com>
Co-Authored-By: Chihoon-Sung <55041611+Chihoon-Sung@users.noreply.github.com>
Co-Authored-By: Claudia J.Kang <claudiajkang@gmail.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
2019-12-05 22:12:49 -08:00
Satyajit Das cc79282861 Broken link fixed (#17961)
* Broken link fixed

* Better wording

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-12-05 20:38:49 -08:00
Zach Corleissen bb45a9818d Revert breaking commits (#17967)
* Revert "Remove dead links to old getting started guides (#17889)"

This reverts commit d6285eaac4.

* Revert "Fix a command in kubectl cheatsheet (#17888)"

This reverts commit e03f4b258c.
2019-12-05 15:22:49 -08:00
craigbox 79f7a0a078 Release interview blog post for 1.16 (#17963)
* Release interview blog post for 1.16

Part 3, after

* https://kubernetes.io/blog/2018/07/16/how-the-sausage-is-made-the-kubernetes-1.11-release-interview-from-the-kubernetes-podcast/
* https://kubernetes.io/blog/2019/05/13/cat-shirts-and-groundhog-day-the-kubernetes-1.14-release-interview/

* Update 2019-12-05-kubernetes-1-16-release-interview.md

Copy editing
2019-12-05 08:44:32 -08:00
Abhay c26806c69e Updated kubeone URL (#17766) 2019-12-04 22:10:32 -08:00
Irvi Aini 80e5ceb0d1 Add job running into completion in ID Localization. (#16705) 2019-12-04 20:40:31 -08:00
Irvi Aini ac1b7eee8e Initialize Common Label for ID Localization. (#16706) 2019-12-04 20:38:32 -08:00
Irvi Aini 060cbcd0fb Add statefulsets for ID localization. (#16700) 2019-12-04 20:36:31 -08:00
Irvi Aini 6450802fef Initialize DNS Pod Service for ID Localization. (#16707)
Co-Authored-By: Giri Kuncoro <girikuncoro@users.noreply.github.com>
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-12-04 20:00:32 -08:00
prameshj 342958a0a2 Update the cluster create and disable commands (#17947) 2019-12-04 18:14:32 -08:00
Roy Hvaara 88d0f78251 Add YouTube social button in header and footer (#16838) 2019-12-04 15:22:31 -08:00
Zach Corleissen 7892097a67 Freshen the list of English content approvers for SIG Docs (#17929) 2019-12-04 12:48:57 -08:00
Rémy Léone 60a4e48380 Translate Minikube environment to French (#17939) 2019-12-04 05:54:57 -08:00
Aresforchina 88c871eb07 fix-up 404 urls (#17941)
* fix-up 404 urls

* Revert "fix-up 404 urls"

This reverts commit 4515c4d38bad73c9073e17e4b2e6b00f02034e29.

* fix-ip 404 urls

* fix-up 404 urls

* fix-up 404 urls

Revert "fix-up 404 urls"

This reverts commit 4515c4d38bad73c9073e17e4b2e6b00f02034e29.

fix-ip 404 urls

fix-up 404 urls

* fix-up 404 urls
2019-12-04 05:52:57 -08:00
Matt Simons db93c49e7d correct diagram label (#17942) 2019-12-04 05:50:57 -08:00
Marc Bihlmaier b3ac0d1124 Update guaranteed-scheduling-critical-addon-pods.md (#17151)
* Update guaranteed-scheduling-critical-addon-pods.md

cleanup old stuff again

* Update content/en/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update guaranteed-scheduling-critical-addon-pods.md

remove whitespace
2019-12-04 01:36:57 -08:00
Aresforchina 7d26c045c2 fix-up 404 urls (#17936)
* fix-up 404 urls

* Revert "fix-up 404 urls"

This reverts commit 4515c4d38bad73c9073e17e4b2e6b00f02034e29.

* fix-ip 404 urls

* fix-up 404 urls
2019-12-04 00:30:57 -08:00
Jacky Wu 9a08775daf Fixed hot reload panic of local hugo issue. (#17894) 2019-12-03 23:06:57 -08:00
Tunde Olu-Isa 68194ab374 specify components requiring feature gate (#17922)
* specify components requiring feature gate 

currently, TTLafterfinished feature gate is a flag that can be passed to kube-apiserver, kube-scheduler and kube-controller-manager. The current description doesn't state what components to pass the flag to.

* specify components requiring feature gate
2019-12-03 17:34:57 -08:00
mhamdi semah bf92b9febd add cidr to glossary (#17550)
* add CIDR

* modify cidr definition

* Update content/en/docs/reference/glossary/cidr.md

Co-Authored-By: Chris <6834943+christophercarney@users.noreply.github.com>

* Update content/en/docs/reference/glossary/cidr.md

Co-Authored-By: Chris <6834943+christophercarney@users.noreply.github.com>
2019-12-03 06:16:57 -08:00
Matt McNaughton 832371281d Add missing systemctl step for running cri-o (#17926)
After installing `cri-o`, we must run `systemctl daemon-reload` before
trying to run `systemctl start crio`. Otherwise, `systemd` doesn't know
about the crio configuration.

Similar instructions already exist for installing docker - this diff
adds these instructions for crio.
2019-12-03 06:00:57 -08:00
Sameer Vohra 29ca5ea07b Update kube-scheduler.md (#17283)
Fix grammar typo
2019-12-03 03:50:57 -08:00
Chris Abraham 7c61b6f059 updated 3 logos on case studies page (#17628) 2019-12-03 03:06:57 -08:00
zhouya0 f257d1fcba fix path not consistent (#17923) 2019-12-03 01:16:57 -08:00
Zach Corleissen 759e546bd9 Update KubeCon buttons for Shanghai (#17916) 2019-12-02 20:20:57 -08:00
Rafael Franzke 7b14a06369 Blog post: Gardener Project Update (#17516)
* Add Gardener Project Update blog post

* Update and rename 2019-11-10-gardener-project-update.md to 2019-11-27-gardener-project-update.md

* Update and rename 2019-11-27-gardener-project-update.md to 2019-12-02-gardener-project-update.md
2019-12-02 09:33:05 -08:00
Samuel Kihahu 80c338ff52 en-fr: Append Note To Alternative Linux Install (#17827) 2019-12-02 07:41:05 -08:00
umiblue 3079e9b00f Update an out-of-date link (#17907)
Signed-off-by: umiblue <lentil1016@163.com>
2019-12-02 05:49:05 -08:00
Rahu2000 d883da0005 fix broken link in kops.md (#17292)
fix broken link in kops.md
2019-12-02 03:05:04 -08:00
Kohei Toyoda 555c0b878b fix output example in automated-tasks-with-cron-jobs.md (#17906) 2019-12-02 02:27:04 -08:00
Karen Bradshaw 249f88c64e update style guide for styling component names (#17588)
* update style guide for styling component names

- Attempt to outline style conventions for components
  and component tools
- Interested in comments and feedback

* update style examples

* style edits

- removed code style for components not cmd tools
- added style suggestion for namespaces
- cleaned up a few stray spaces
2019-12-02 02:21:04 -08:00
Ronak Banka 7527f83b36 Fix broken link to AWS provider settings source (#17899) 2019-12-02 00:27:04 -08:00
Zhang Yong c73493d000 fix 404 urls in kustomization.md (#17793)
* Update kustomization.md

fix 404 urls in kustomization.md

* Update content/en/docs/tasks/manage-kubernetes-objects/kustomization.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* update kustomization.md to be more stable
2019-12-02 00:25:04 -08:00
makocchi 2b23087c8d Fix a dead link (#17900) 2019-12-02 00:23:04 -08:00
bogard1203 5c87fecbf2 Deleted duplicate sentence and corrected typo (#17902)
* Corrected the typo of 'chck' with 'check'

* Removed the duplicate sentence
2019-12-02 00:09:04 -08:00
Kohei Toyoda 8a4f05dbc6 update exmaple for job (#17903) 2019-12-02 00:07:04 -08:00
huccshen 3ba765cbeb fix some broken links (#17897) 2019-12-01 20:01:04 -08:00
Jonathan Hall 8fc9b513ec Spelling correction (#17895) 2019-12-01 16:49:04 -08:00
Luzhenxing 62b6fe2280 Change PowerShell example to use the -Raw flag (#17645) 2019-12-01 06:03:03 -08:00
Qiming d6285eaac4 Remove dead links to old getting started guides (#17889)
Close: #17859
2019-11-30 21:25:03 -08:00
Qiming e03f4b258c Fix a command in kubectl cheatsheet (#17888)
Closes: #17883
2019-11-30 21:23:03 -08:00
Qiming 7f7829fceb Fix the format of prerequisites section (#17892)
for: #17652
2019-11-30 21:21:03 -08:00
Qiming 9270ebfa5a Tweak StatefulSet concept page for YAML rendering (#17891)
for: #17792
2019-11-30 21:17:04 -08:00
Jason Hall 459fe87540 Remove readOnly:false from Downward API volume examples (#17661)
Downward API volumes are not writeable, even if readOnly:true is set, so
including this in the example is potentially confusing for users.
2019-11-30 18:49:03 -08:00
Hongcai Ren d66a1be13f Correct RegisterCloudProvider link (#17873) 2019-11-30 03:45:03 -08:00
Sharjeel Aziz aeb3cce703 Update commands/command output to reflect current versions. (#17877)
* Minor heading update according to the guideline

Fixed title of the document to use title case as described in the community guidelines.

* Capitalization fixes.

* Update commands/command output to reflect the current version
2019-11-30 03:43:03 -08:00
Kohei Yoshida 036d03ce18 Tasks/Configure DNS for a Cluster: add some descriptions about CoreDNS (#17879)
* add some descriptions about CoreDNS

* Update configure-dns-cluster.md
2019-11-30 00:59:03 -08:00
yunxji f11ffddab6 Updata_service.md (#17834)
* Modify document format.

* Update cloud-controller.md

Add content about Tencent cloud providers.

* Update cloud-providers.md

Add content about Tencent cloud providers.

* Update service.md

Added some TKE Service annotations

* Update service.md

Content optimization based on reviewers' recommendations.

* Update service.md

* Update service.md

Optimize the content of Line 902-903.

* Update service.md
2019-11-29 18:45:03 -08:00
makocchi f471f68b99 Add TopologyManager description (#17867) 2019-11-29 06:59:05 -08:00
Tim Bannister 7758da34d2 Reword glossary entry (#17429) 2019-11-29 05:07:03 -08:00
Vageesha17 a02dc2d616 solved for issue #17853 (#17872)
* solved for issue #17853

* updated file as per the suggestion
2019-11-29 04:51:03 -08:00
Vageesha17 5822f8a0ed fixed broken link for issue #17859 (#17871) 2019-11-29 04:49:03 -08:00
Nguyen Quang Huy 1f37d9261f Task tools document in Vietnamese (#17854)
Adding index file
Adding install-minikube document

Signed-off-by: Nguyen Quang Huy <huynguyennovem@gmail.com>
2019-11-29 01:43:04 -08:00
vanou 070ba6c846 Fix misspell of type of Pod condition at init container explanation (id) (#17414)
In explanation of init container, doc says 'Initializing' pod
condition. However according to doc of pod condition[1], it should be
'Initialized'.

This commit fixes this misspell of Indonesian doc.
This misspell is verified by PR #17329 which fixes English doc.

[1]
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-conditions
2019-11-28 17:31:02 -08:00
huccshen dd24ef71ba fix some broken links (#17857) 2019-11-28 16:45:03 -08:00
Marian Steinbach d1363e5827 Update Giant Swarm website URL (#17838) 2019-11-27 21:19:03 -08:00
bogard1203 68e836b267 Fixed the incorrect parameter of specifying the CRI endpoint for kubelet and corrected Default CNs (#17839)
* Fixed the incorrect parameter of specifying the CRI endpoint for kubelet

Corrected the parameter of '--container-runtime-path-endpoint' with '--container-runtime-endpoint'

* Corrected Default CNs

Fixed the incorrect Default CNs for apiserver-etcd-client.crt and apiserver-kubelet-client.crt
2019-11-27 21:17:03 -08:00
huccshen def4eade2f fix some broken links (#17851) 2019-11-27 21:05:03 -08:00
Nguyen Hai Truong ad8134451b Adding vi-container-environment-variables (#17825)
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-11-27 18:13:03 -08:00
Samuel Kihahu b364ad92b3 en-docs: Minikube Installation via Homebrew (#17826)
* en-docs: Add Minikube Installation Via Homebrew

* Update install-minikube.md
2019-11-27 00:11:21 -08:00
Quan Tian 09faf47be7 kubectl config should be linked to its anchor (#17828) 2019-11-26 21:25:21 -08:00
Loc Mai 81b9419d4b Fix typo in CCM's title (#17823)
* init cloud controller doc

* solve 349928135

* update r349928835

* update r349929569

* update r349930047

* update r321969236

* trans to hostname

* update based on reviews from truonghn1992

* fix several typo issues, add tooltips, replace some words back to the original terms

* init taint doc

* fix header Vendor Implementations

* fix directory name

* temporary remove term_id of node and toleration

* solve r350014277

* fix title
2019-11-26 20:03:20 -08:00
Nguyen Hai Truong d2d8e16173 Initial containers document in Vietnamese (#17822)
Adding index

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-11-26 19:47:20 -08:00
Loc Mai 5b25034652 init cloud controller doc (#17785)
* init cloud controller doc

* solve 349928135

* update r349928835

* update r349929569

* update r349930047

* update r321969236

* trans to hostname

* update based on reviews from truonghn1992

* fix several typo issues, add tooltips, replace some words back to the original terms

* init taint doc

* fix header Vendor Implementations

* fix directory name

* temporary remove term_id of node and toleration

* solve r350014277
2019-11-26 18:33:20 -08:00
huccshen 62590d05fc fix broken links : http://kubernetes.io/gettingstarted/ (#17756)
* fix broken links : http://kubernetes.io/gettingstarted/

* use relative paths

Co-Authored-By: Qiming <tengqim@cn.ibm.com>

* use relative paths

Co-Authored-By: Qiming <tengqim@cn.ibm.com>

* use relative paths

Co-Authored-By: Qiming <tengqim@cn.ibm.com>
2019-11-26 17:05:20 -08:00
Ihor Dvoretskyi b4617988ad 2019-08-26-kubernetes-with-microk8s.md added (#16122)
* 2019-09-02-kubernetes-with-microk8s.md added

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* Comments addressed

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* Screenshots updated

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* publication date changed

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* files naming updated to reflect the date

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* Comments addressed

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* Minor fixes

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>

* Publication date updated
2019-11-26 17:03:20 -08:00
zhouya0 9ba54f5da6 fix secret not working (#17810) 2019-11-26 16:45:21 -08:00
Marcelo Juchem ed0483f175 Add Flowmill agent to examples of DaemonSets (#17818)
Adds the Flowmill monitoring agent as an example of DaemonSet, with link to public helm charts that can be used as reference documentation.
2019-11-26 16:43:21 -08:00
krufab 3470c61771 Corrected typo in the text file (#17819) 2019-11-26 16:41:20 -08:00
Kaitlyn Barnard f9a08761ee Updating date for blog post (#17816) 2019-11-26 11:55:28 -08:00
Benjamin Diolez 69c5c7945e Fix homepage titles 🇫🇷 translation (#17811) 2019-11-26 11:53:21 -08:00
RA489 c3536e120d How to upgrade minikube (#17813) 2019-11-26 03:29:10 -08:00
Tomasz Prus 538cf362e2 Add kubernetes-asyncio library (#17812) 2019-11-26 03:27:10 -08:00
Samuel Kihahu a5a39ae8b1 fr-docs: Update kops Installation Steps (#17805) 2019-11-26 01:27:09 -08:00
Tim Bannister 1a45e5cc4d Reword “Extend kubectl with plugins” (#17005)
* Tweak kubectl plugins page

- drop text about kubectl plugin beta status etc
- fix output formatted as shell
- address the reader as “you”
- other tweaks

* Update links & details for Krew

* Update kubectl-plugins.md
2019-11-25 22:23:10 -08:00
j-zimnowoda 8d15eaa3b6 Update debug-application.md (#17066)
A Service has targetPort to indicated Pod's containerPort (service.spec.ports.targetPort)
2019-11-25 21:31:10 -08:00
praveen-kg e26dd31892 incorrect command for sort-by operation on pod (#17032)
* incorrect command for sort-by

kubectl get pods -n test --sort-by=.spec.capacity.storage, is incorrect for pod as pods will not have capacity.storage under .spec, rather it should be for PersistentVolume.

So change the command  

kubectl get pv -n test --sort-by=.spec.capacity.storage

* Update cheatsheet.md
2019-11-25 21:29:10 -08:00
Tim Bannister 6551689040 Clean up configure-persistent-volume-storage task (#16907) 2019-11-25 21:21:10 -08:00
Min Kim 3fa00be466 add blog: java controller framework (#16135) 2019-11-25 21:03:09 -08:00
Kohei Yoshida 1efdef54c9 add EKS cluster upgrading section (#17800) 2019-11-25 20:51:10 -08:00
reung37 55935dd501 Update 2019-04-04-local-persistent-volumes-ga.md (#17753) 2019-11-25 20:49:10 -08:00
reung37 6a579987eb Update etcd.md (#17751) 2019-11-25 20:47:10 -08:00
Tanveer Alam b145af7d48 Reference link added for Flex and CSI volume (#17735)
* Refernce link added for Flex and CSI volume

Added reference link of Flex and CSI volume under `Components of the CCM` section.

* Update content/en/docs/concepts/architecture/cloud-controller.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-11-25 20:45:10 -08:00
Wook-Jin, Lee f92dfa1cb8 Fixed the link (#17731) 2019-11-25 20:43:09 -08:00
Sharjeel Aziz 49ca117430 Minor heading update according to the guideline (#17747)
* Minor heading update according to the guideline

Fixed title of the document to use title case as described in the community guidelines.

* Capitalization fixes.
2019-11-25 20:41:10 -08:00
bpelikan b2a6268c5a Update kubectl get hpa output (#17780) 2019-11-25 20:39:10 -08:00
Paul Anunda dd30366605 Removed duplicate link (#17799)
This change removes a duplicate link to the setup/best-practices/certificates page.
2019-11-25 20:37:10 -08:00
Lv Jiawei 07b622c6bb Add stateful set which hpa has supported (#17806)
As https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ and https://github.com/kubernetes/website/pull/16425 say, the hpa has already supported stateful set.
2019-11-25 20:33:10 -08:00
xieyanker b2c3d2c630 translate_networkpolicy (#17733)
Translate English sentences into Chinese
2019-11-25 07:45:27 -08:00
Samuel Kihahu 7fe525ce45 Update kops Installation Steps (#17726)
* Document downloading the latest or a specific kops version

Add links to Install Homebrew On MacOS, Linux

* Update kops.md
2019-11-25 07:43:06 -08:00
Michele 8fabe471ee rebase (#15349) 2019-11-25 07:41:09 -08:00
Pablo Castellano efab8c6166 Use feature-state template (#17787)
* Use feature-state template

* Update certificate-rotation.md
2019-11-25 21:05:21 +08:00
Pablo Castellano fc3f1420ac Update repo url (#17788)
service-catalog is not part of kubernetes-incubator anymore
2019-11-25 21:04:19 +08:00
Oleg Butuzov ef00b57e7b ja-docs: fixes for broken links. (#17781)
1. Fixed markdown error that endup as 404 error at the URL
    https://kubernetes.io/ja/docs/reference/command-line-tools-reference/feature-gates/
    See - CSI(Container Storage Interface) link.

2. Minikube links at
    - content/ja/docs/tasks/tools/install-minikube.md
    - content/ja/includes/task-tutorial-prereqs.md

3. Link to CRI page at
   content/ja/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md

4. Windows Nodes link at

   https://kubernetes.io/ja/docs/setup/production-environment/windows/user-guide-windows-containers/
2019-11-23 08:39:50 -08:00
June Yi 4a1fc7f34e Fifth Korean l10n work for release-1.16 (#17745)
* Update files outdated Korean docs in dev-1.16-ko.5 (#17537)
* Update Korean glossary (#17619)
* Translate services-networking/endpoint-slices.md in Korean (#17631)

Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
Co-Authored-By: June Yi <gochist@gmail.com>
Co-Authored-By: Wook-Jin, Lee <minjin00@gmail.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
2019-11-22 15:53:16 -08:00
Enrique Medina Montenegro 0e54ed2d37 Spanish Translation (#14150) 2019-11-22 07:57:29 -08:00
tiendc 1127153752 Adding vi document for create-cluster (#17715)
* Adding vi document for create-cluster

Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>

* Update cluster-intro.html

* Update cluster-intro.html

* Update cluster-intro.html
2019-11-21 23:39:28 -08:00
chentanjun 30af2b150e fix 404 urls in ko due to https://github.com/kubernetes/website/pull/17668/ (#17709) 2019-11-21 18:11:29 -08:00
keke 109b0f5221 Fix typo annotatino to annotation (#17664) 2019-11-21 17:03:29 -08:00
nonylene bd50474a84 Fix invalid command (kubectl rolling-update) (#17607)
`kubectl rolling-update` is the right command.

Doc: https://kubernetes.io/docs/tasks/run-application/rolling-update-replication-controller/
2019-11-21 13:43:29 -08:00
Chris d64b052a54 Add caution to behavior of --from-env-file (#17585)
* Add caution to behavior of --from-env-file

* Reword warning to fix grammar
2019-11-21 13:41:29 -08:00
Simon Woo 085ef61502 Correct name of link to PersistentVolume (#17589) 2019-11-21 13:39:29 -08:00
Jim Angel c498580523 adding in search link (#17640) 2019-11-21 13:37:29 -08:00
codyc 8d9aeb2ba4 updated to include new link (#17727)
updated to reflect correct link
2019-11-21 13:33:29 -08:00
Qiming 0ea7ed2086 Remove Brad and Luc from Chinese owners (#17713)
My guess is that we added some names at the very begining of Chinese
localization to seed the repo. However, getting PR reviews assigned to
these gentleman could be confusing or even annoying before they have
secured a Chinese certificate.
2019-11-21 12:23:29 -08:00
Tanveer Alam 6ee68467a7 Added Open Service Broker reference link (#17721)
`https://openservicebrokerapi.org/` contains information such as `what are service brokers?`, how they work, building services for Kubernetes using `Open Service Broker API` etc.
2019-11-21 12:21:29 -08:00
Pablo Castellano b2a9043df6 Fix typos in Limit Ranges (#17665) 2019-11-21 04:15:28 -08:00
Vlad Sirenko 19e3a42b93 Fix typo (#17662) 2019-11-21 04:13:29 -08:00
chentanjun cfd7793924 fix 404 urls in content/en/blog/ (#17682) 2019-11-21 04:11:29 -08:00
RA489 dc5c882570 Issue with k8s.io/docs/setup/learning-environment/minikube/ (#17689) 2019-11-21 04:07:28 -08:00
Alena Varkockova 15b4194727 Fix typo in the word annotation (#17716) 2019-11-21 04:05:28 -08:00
MinJae Kwon 7cd58d2575 Fix a typo (#17673) 2019-11-21 03:49:28 -08:00
Luzhenxing fb36e557c9 fix 17690 (#17704) 2019-11-21 02:15:28 -08:00
tde908 3398b6f69d chore(kubectl): Formatting markdown (#17697)
Amending the formatting of the MD as ```shell was showing up in plain text. Zsh options: "https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion"
2019-11-21 02:13:28 -08:00
Tanveer Alam 9f8d00f37e Removed Object Metadata from Concepts Overview. (#17691)
`Object Metadata` section is misleading, as the Concept's overview is covering what master and non-master nodes are and list of objects. But there is no discussion on `Object Metadata` till the end and all of sudden there is Object Metadata section with no background introduction or definition, and just a reference to `Annotations` which is confusing if you read the content from the beginning. So it would be better to remove this as it is covered later here `https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/`.
2019-11-21 02:11:28 -08:00
Pablo Castellano ace8401e2d Fix typos in Kube Scheduler (#17667) 2019-11-21 02:09:28 -08:00
Samuel Kihahu 9afc68d402 Update kops Linux Setup Step (#17696)
Moving the downloaded kops binary in Linux to the path /usr/local/bin/kops requires privileged permissions.
2019-11-21 02:07:28 -08:00
Pablo Castellano 3690a264c7 Fix typo in DNS Autoscaling (#17700) 2019-11-21 02:05:28 -08:00
chentanjun ad5e500b38 fix broken urls in zh/ due to https://github.com/kubernetes/website/pull/17668 (#17708) 2019-11-21 00:15:28 -08:00
chentanjun f77f57925e fix-up 404 urls (#17668) 2019-11-20 18:11:28 -08:00
inductor 4532bd2bdb First Japanese l10n work for release-1.15. (#17693)
* traslate /docs/concepts/architecture/_index.md into Japanese (#15456)

* tranaslated (#15458)

* translate /ja/docs/reference/_index.md (#15624)

* translate /ja/docs/reference/_index.md

* Update content/ja/docs/reference/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* patch reviews

* Follow the dir structure of en in setup (#15590)

* follow the dir structure of en in setup

* delete unrelated files

* wip removing ja

* removeg ja

* remove ja

* Update content/ja/docs/setup/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* review

* numbered list

* Update content/ja/docs/setup/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/setup/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Translate /docs/setup/turnkey/aws.md in Japanese (#15640)

* Translate content/ja/docs/setup/turnkey/aws.md

partially

* Update content/ja/docs/setup/turnkey/aws.md

... Kubernetes cluster on AWS: AWS上でKubernetesクラスターを...
https://github.com/kubernetes/website/pull/15640/files#r310338415

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/setup/turnkey/aws.md (Kubernetes Operations)

- replace English commas with Japanese one (、)
- Management: 管理

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/setup/turnkey/aws.md (kube-aws)

- replace English commas
- insert a Japanese comma

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/setup/turnkey/aws.md (kubectl)

- 断定でなく選択を与えるニュアンス

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Translate content/ja/docs/setup/turnkey/aws.md

completely

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix translation

https://github.com/kubernetes/website/pull/15640#discussion_r310418805
自身がsupportするのでなく、Kubernetes Operationsがsupportしている、というニュアンス

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix mistranslation

https://github.com/kubernetes/website/pull/15640#discussion_r310419122
ここでのwithはusingに近い意味合いで

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix translation

https://github.com/kubernetes/website/pull/15640#discussion_r310568505
ここでのthroughは通過や媒介という意味合いよりも、手段を表すと捉える

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Update content/ja/docs/setup/turnkey/aws.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/setup/production-environment/turnkey/aws.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Translate docs/tutorials/stateless-application/expose-external-ip-address.md in Japanese (#15672)

* Copy from content/ja/docs/tutorials/stateless-application/

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* update link to Japanese document

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Translate expose-external-ip-address in Japanese

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

やや不自然だった

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

s/ロードバランサ/ロードバランサー/

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

s/サーバ/サーバー/

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Revert "update link to Japanese document"

This reverts commit 9237f63402b0e642600d1ea24c6b410f877c165e.
https://github.com/kubernetes/website/pull/15672#discussion_r311327200

* remove a new line

段落としては同じ

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

https://github.com/kubernetes/website/pull/15672#discussion_r312317653

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Translate concepts/architecture/nodes.md into Japanese (#15625)

* Translate concepts/architecture/nodes.md into Japanese

* update translation

* fix translation

* eviction

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: makocchi <makocchi@gmail.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: makocchi <makocchi@gmail.com>

* plural

* review

* node

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* healthy

* review

* namespace

* Translate tasks/run-application/force-delete-stateful-set-pod/ in Japanese (#15835)

* ja-trans: tasks/run-application/force-delete-stateful-set-pod/

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

* Translate concepts/architecture/master-node-communication.md into Japanese (#15638)

* translate master node communication

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* deprecated

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Translate /docs/tasks/tools/install-kubectl.md in Japanese (#15678)

* Copy from content/en/docs/tasks/tools/install-kubectl.md

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix link to install-kubectl

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Translate Headings and Subheadings

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* translate text of install-kubectl in Japanese

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Update content/ja/docs/tasks/tools/install-kubectl.md

s/ユーザ/ユーザー/

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/tools/install-kubectl.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update install-kubectl.md

s/する:/してください:/g

* Translate /docs/tutorials/configuration/configure-redis-using-configmap.md in Japanese  (#15639)

* translate redis example

* add index

* Update content/ja/docs/tutorials/configuration/configure-redis-using-configmap.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/configuration/configure-redis-using-configmap.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/configuration/configure-redis-using-configmap.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* review

* Translate docs/concepts/configuration/overview.md in Japanese  (#15627)

* Translate docs/concepts/configuration/overview.md in Japanese

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Fix terminology in Japanese translation (#15889)

* cluster

* cluster

* node

* cluster

* Update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* sitemap and search (#15927)

* Translate tasks/debug-application-cluster/debug-pod-replication-contr… (#15883)

* Translate tasks/debug-application-cluster/debug-pod-replication-controller/ in Japanese

* Update content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* fix missing parenthesis (#16044)

```
Error: Error building site: "/src/content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md:106:10": unrecognized character in shortcode action: U+003E '>'. Note: Parameters with non-alphanumeric args must be quoted
```

* Translate tasks/configure-pod-container/configure-volume-storage/ in Japanese (#16058)

* Translate tasks/configure-pod-container/configure-volume-storage/ in Japanese

* Update content/ja/docs/tasks/configure-pod-container/configure-volume-storage.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/configure-pod-container/configure-volume-storage.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Translate text of docs/setup/release/version-skew-policy.md in Japanese (#15903)

* translate content/ja/docs/setup/release/version-skew-policy.md in Japanese

* translate "version skew"

https://github.com/kubernetes/website/pull/15903#issuecomment-524518826

バージョン間の差異 となる
タイトルは原文どおりに用語として残し、初回の文でskew=差異であることを明示する
以降はskewを翻訳する

* fix translation

- 格助詞漏れ
- more than 1...は1を含まないそれ以上の値であり、実質「2以上」となるので、そのように訳したほうが自然

* delete unnecessary sentences

* update translation

cf. 422f5b0e6a0c52f844cfae66cde01f47fca4cf4e

* update translation

componentsが当該バージョンをサポートするのでなく、kube-apiserverのバージョンの結果ほかのcomponentsが当該バージョンをサポート**される**イメージ

* Translate concepts/architecture/cloud-controller/ into Japanese (#16099)

* Translate concepts/architecture/cloud-controller/ into Japanese

* Revise sentences based on suggestion by reviewers

* Revise a sentence based on suggestion by a reviewer

* Fix wording to distinguish Kubernetes related resources from others

* fix a typo (#16121)

* fix some wording on home (#16127)

* Translate contribute / _index.md to Japanese (#16050)

* translate contribute index into Japanese

* modify some terms

* modify according to style guide

* use same terminology about contribute

* Update content/ja/docs/contribute/_index.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Translate concepts/overview/components and related glossaries in Japanase (#16034)

* Translate concepts/overview/components and related glossaries in Japanese

* Revise sentences based on suggestion by reviewers

* Translate tasks/configure-pod-container/assign-memory-resource/ in Japanese (#16055)

* copy from content/en/docs/tasks/configure-pod-container/assign-memory-resource to ja directory

* translate tasks/configure-pod-container/assign-memory-resource/ in Japanese

* Update content/ja/docs/tasks/configure-pod-container/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/configure-pod-container/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* fix translation

%s/メモリ/メモリー/g

* Translate tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ in Japanese (#16183)

* Translate concepts/configuration/assign-pod-node/ in Japanese (#16221)

* issue 15552

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* modification after a review

* Translate docs/tasks/administer-cluster/developing-cloud-controller-manager in ja (#16088)

* Translate docs/tasks/administer-cluster/developing-cloud-controller-manager/ in Japanese

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Remove reviewers section

* Modified wording to unified

* Remove unnecessary brackets

* Translate concepts/overview/working-with-objects/object-management/ into Japanese (#16400)

* Translate concepts/overview/working-with-objects/object-management/ into Japanese

* Refine some words based on review comments

* Add a word to refine a sentence based on a review comment

* Translate content/ja/docs/concepts/cluster-administration/controller-… (#16351)

* Translate content/ja/docs/concepts/cluster-administration/controller-metrics in ja

* Improved to format a text

* Fix inconsistent spellings

* Update content/ja/docs/concepts/cluster-administration/controller-metrics.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/cluster-administration/controller-metrics.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Translate concepts/extend-kubernetes/extend-cluster/ and related glossaries into Japanese (#16636)

* Translate concepts/extend-kubernetes/extend-cluster/ and related glossaries into Japanese

* Apply suggestions from code review by inductor

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update a translation for extension point

* Apply suggestions from code review by sftim

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Apply suggestions from code review by sftim

* Fix the translation for document

* Apply a suggestion from code review by nasa9084

* Apply suggestions from code review by inductor and nasa9084

* fix: s/kubernetes/Kubernetes/ (#16057)

* Translate reference/command-line-tools-reference/feature-gates in Japanese (#16554)

* Translate docs/reference/command-line-tools-reference/feature-gates in ja

* Fix inconsistent spellings

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* ポッド -> Pod

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* ポッドreadinessゲート -> Pod readiness gate

* ポッド -> pod

* Pods -> Pod

* Fix typo: Kunbernetes -> Kubernetes

* 機能ゲート -> フィーチャーゲート

* リポジトリ -> リポジトリー

* キー=値 -> key=value

* Translate concepts/storage/volume-pvc-datasource in Japanese (#16775)

* Translate concepts/storage/volume-pvc-datasource in Japanese

* Remove original English contents(forgot to remove)

* Container Storage Interface -> コンテナストレージインターフェイス

* フューチャーゲート -> フィーチャーゲート

* Improved a translate to more natural expression

* Update content/ja/docs/reference/glossary/csi.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Improved a translate to more natural expression

* Remove an unnecessary line break

* Improved some translate words to natural sentence

* Improved translate

* Fix translate

* Translate docs/reference/glossary/selector.md in Japanese (#17375)

* Translate docs/reference/glossary/selector.md in Japanese

* Translate title into Japanese

Co-Authored-By: bells17 <bells171@gmail.com>

* Translate tasks/configure-pod-container/share-process-namespace/ into Japanese (#16220)

* Translate tasks/configure-pod-container/share-process-namespace/ into Japanese

* reflect review

* Translate tasks/access-application-cluster/connecting-frontend-backend/ into Japanese (#16270)

* Translate tasks/access-application-cluster/connecting-frontend-backend/ into Japanese

* reflect review

* translate tooltip text

Co-Authored-By: bells17 <bells171@gmail.com>

* Translate concepts/extend-kubernetes/operator/ into Japanese (#16455)

* Translate concepts/extend-kubernetes/operator/ into Japanese

* Update the word operator into Japanese

* Apply suggestions by inductor and oke-py from code review

Co-Authored-By: inductor <kohei.ota@zozo.com>
Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Apply suggestions by inductor from code review

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Refine sentences under bullet points

* Refine sentences in response to the review by makocchi-git

* Translate concepts/extend-kubernetes/api-extension/apiserver-aggregation/ into Japanese (#16662)

* Translate concepts/extend-kubernetes/api-extension/apiserver-aggregation/ into Japanese

* Apply suggestions from code review by inductor

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Apply suggestions from review by MasayaAoyama

* Apply a suggestion from review by MasayaAoyama

* assign inductor as sig-docs-ja approver (#17412) (#17517)

* traslate /docs/concepts/architecture/_index.md into Japanese (#15456)

* tranaslated (#15458)

* translate /ja/docs/reference/_index.md (#15624)

* translate /ja/docs/reference/_index.md

* Update content/ja/docs/reference/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* patch reviews

* Follow the dir structure of en in setup (#15590)

* follow the dir structure of en in setup

* delete unrelated files

* wip removing ja

* removeg ja

* remove ja

* Update content/ja/docs/setup/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* review

* numbered list

* Update content/ja/docs/setup/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/setup/_index.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Translate /docs/setup/turnkey/aws.md in Japanese (#15640)

* Translate content/ja/docs/setup/turnkey/aws.md

partially

* Update content/ja/docs/setup/turnkey/aws.md

... Kubernetes cluster on AWS: AWS上でKubernetesクラスターを...
https://github.com/kubernetes/website/pull/15640/files#r310338415

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/setup/turnkey/aws.md (Kubernetes Operations)

- replace English commas with Japanese one (、)
- Management: 管理

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/setup/turnkey/aws.md (kube-aws)

- replace English commas
- insert a Japanese comma

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/setup/turnkey/aws.md (kubectl)

- 断定でなく選択を与えるニュアンス

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Translate content/ja/docs/setup/turnkey/aws.md

completely

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix translation

https://github.com/kubernetes/website/pull/15640#discussion_r310418805
自身がsupportするのでなく、Kubernetes Operationsがsupportしている、というニュアンス

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix mistranslation

https://github.com/kubernetes/website/pull/15640#discussion_r310419122
ここでのwithはusingに近い意味合いで

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix translation

https://github.com/kubernetes/website/pull/15640#discussion_r310568505
ここでのthroughは通過や媒介という意味合いよりも、手段を表すと捉える

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Update content/ja/docs/setup/turnkey/aws.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/setup/production-environment/turnkey/aws.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Translate docs/tutorials/stateless-application/expose-external-ip-address.md in Japanese (#15672)

* Copy from content/ja/docs/tutorials/stateless-application/

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* update link to Japanese document

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Translate expose-external-ip-address in Japanese

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

やや不自然だった

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

s/ロードバランサ/ロードバランサー/

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

s/サーバ/サーバー/

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Revert "update link to Japanese document"

This reverts commit 9237f63402b0e642600d1ea24c6b410f877c165e.
https://github.com/kubernetes/website/pull/15672#discussion_r311327200

* remove a new line

段落としては同じ

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

https://github.com/kubernetes/website/pull/15672#discussion_r312317653

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/stateless-application/expose-external-ip-address.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Translate concepts/architecture/nodes.md into Japanese (#15625)

* Translate concepts/architecture/nodes.md into Japanese

* update translation

* fix translation

* eviction

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: makocchi <makocchi@gmail.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: makocchi <makocchi@gmail.com>

* plural

* review

* node

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/nodes.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* healthy

* review

* namespace

* Translate tasks/run-application/force-delete-stateful-set-pod/ in Japanese (#15835)

* ja-trans: tasks/run-application/force-delete-stateful-set-pod/

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

* Update content/ja/docs/tasks/run-application/force-delete-stateful-set-pod.md

* Translate concepts/architecture/master-node-communication.md into Japanese (#15638)

* translate master node communication

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* deprecated

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Update content/ja/docs/concepts/architecture/master-node-communication.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Translate /docs/tasks/tools/install-kubectl.md in Japanese (#15678)

* Copy from content/en/docs/tasks/tools/install-kubectl.md

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* fix link to install-kubectl

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Translate Headings and Subheadings

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* translate text of install-kubectl in Japanese

Signed-off-by: Takuma Hashimoto <takumaxd+github@gmail.com>

* Update content/ja/docs/tasks/tools/install-kubectl.md

s/ユーザ/ユーザー/

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/tools/install-kubectl.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update install-kubectl.md

s/する:/してください:/g

* Translate /docs/tutorials/configuration/configure-redis-using-configmap.md in Japanese  (#15639)

* translate redis example

* add index

* Update content/ja/docs/tutorials/configuration/configure-redis-using-configmap.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/configuration/configure-redis-using-configmap.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tutorials/configuration/configure-redis-using-configmap.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* review

* Translate docs/concepts/configuration/overview.md in Japanese  (#15627)

* Translate docs/concepts/configuration/overview.md in Japanese

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/overview.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Fix terminology in Japanese translation (#15889)

* cluster

* cluster

* node

* cluster

* Update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* sitemap and search (#15927)

* Translate tasks/debug-application-cluster/debug-pod-replication-contr… (#15883)

* Translate tasks/debug-application-cluster/debug-pod-replication-controller/ in Japanese

* Update content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* fix missing parenthesis (#16044)

```
Error: Error building site: "/src/content/ja/docs/tasks/debug-application-cluster/debug-pod-replication-controller.md:106:10": unrecognized character in shortcode action: U+003E '>'. Note: Parameters with non-alphanumeric args must be quoted
```

* Translate tasks/configure-pod-container/configure-volume-storage/ in Japanese (#16058)

* Translate tasks/configure-pod-container/configure-volume-storage/ in Japanese

* Update content/ja/docs/tasks/configure-pod-container/configure-volume-storage.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/configure-pod-container/configure-volume-storage.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Translate text of docs/setup/release/version-skew-policy.md in Japanese (#15903)

* translate content/ja/docs/setup/release/version-skew-policy.md in Japanese

* translate "version skew"

https://github.com/kubernetes/website/pull/15903#issuecomment-524518826

バージョン間の差異 となる
タイトルは原文どおりに用語として残し、初回の文でskew=差異であることを明示する
以降はskewを翻訳する

* fix translation

- 格助詞漏れ
- more than 1...は1を含まないそれ以上の値であり、実質「2以上」となるので、そのように訳したほうが自然

* delete unnecessary sentences

* update translation

cf. 422f5b0e6a0c52f844cfae66cde01f47fca4cf4e

* update translation

componentsが当該バージョンをサポートするのでなく、kube-apiserverのバージョンの結果ほかのcomponentsが当該バージョンをサポート**される**イメージ

* Translate concepts/architecture/cloud-controller/ into Japanese (#16099)

* Translate concepts/architecture/cloud-controller/ into Japanese

* Revise sentences based on suggestion by reviewers

* Revise a sentence based on suggestion by a reviewer

* Fix wording to distinguish Kubernetes related resources from others

* fix a typo (#16121)

* fix some wording on home (#16127)

* Translate contribute / _index.md to Japanese (#16050)

* translate contribute index into Japanese

* modify some terms

* modify according to style guide

* use same terminology about contribute

* Update content/ja/docs/contribute/_index.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Translate concepts/overview/components and related glossaries in Japanase (#16034)

* Translate concepts/overview/components and related glossaries in Japanese

* Revise sentences based on suggestion by reviewers

* Translate tasks/configure-pod-container/assign-memory-resource/ in Japanese (#16055)

* copy from content/en/docs/tasks/configure-pod-container/assign-memory-resource to ja directory

* translate tasks/configure-pod-container/assign-memory-resource/ in Japanese

* Update content/ja/docs/tasks/configure-pod-container/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/configure-pod-container/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* fix translation

%s/メモリ/メモリー/g

* Translate tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ in Japanese (#16183)

* Translate concepts/configuration/assign-pod-node/ in Japanese (#16221)

* issue 15552

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/configuration/assign-pod-node.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* modification after a review

* Translate docs/tasks/administer-cluster/developing-cloud-controller-manager in ja (#16088)

* Translate docs/tasks/administer-cluster/developing-cloud-controller-manager/ in Japanese

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tasks/administer-cluster/developing-cloud-controller-manager.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Remove reviewers section

* Modified wording to unified

* Remove unnecessary brackets

* Translate concepts/overview/working-with-objects/object-management/ into Japanese (#16400)

* Translate concepts/overview/working-with-objects/object-management/ into Japanese

* Refine some words based on review comments

* Add a word to refine a sentence based on a review comment

* Translate content/ja/docs/concepts/cluster-administration/controller-… (#16351)

* Translate content/ja/docs/concepts/cluster-administration/controller-metrics in ja

* Improved to format a text

* Fix inconsistent spellings

* Update content/ja/docs/concepts/cluster-administration/controller-metrics.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/concepts/cluster-administration/controller-metrics.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Translate concepts/extend-kubernetes/extend-cluster/ and related glossaries into Japanese (#16636)

* Translate concepts/extend-kubernetes/extend-cluster/ and related glossaries into Japanese

* Apply suggestions from code review by inductor

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update a translation for extension point

* Apply suggestions from code review by sftim

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Apply suggestions from code review by sftim

* Fix the translation for document

* Apply a suggestion from code review by nasa9084

* Apply suggestions from code review by inductor and nasa9084

* fix: s/kubernetes/Kubernetes/ (#16057)

* Translate reference/command-line-tools-reference/feature-gates in Japanese (#16554)

* Translate docs/reference/command-line-tools-reference/feature-gates in ja

* Fix inconsistent spellings

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* ポッド -> Pod

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/reference/command-line-tools-reference/feature-gates.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* ポッドreadinessゲート -> Pod readiness gate

* ポッド -> pod

* Pods -> Pod

* Fix typo: Kunbernetes -> Kubernetes

* 機能ゲート -> フィーチャーゲート

* リポジトリ -> リポジトリー

* キー=値 -> key=value

* Translate concepts/storage/volume-pvc-datasource in Japanese (#16775)

* Translate concepts/storage/volume-pvc-datasource in Japanese

* Remove original English contents(forgot to remove)

* Container Storage Interface -> コンテナストレージインターフェイス

* フューチャーゲート -> フィーチャーゲート

* Improved a translate to more natural expression

* Update content/ja/docs/reference/glossary/csi.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/storage-class.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Improved a translate to more natural expression

* Remove an unnecessary line break

* Improved some translate words to natural sentence

* Improved translate

* Fix translate

* Translate docs/reference/glossary/selector.md in Japanese (#17375)

* Translate docs/reference/glossary/selector.md in Japanese

* Translate title into Japanese

Co-Authored-By: bells17 <bells171@gmail.com>

* Translate tasks/configure-pod-container/share-process-namespace/ into Japanese (#16220)

* Translate tasks/configure-pod-container/share-process-namespace/ into Japanese

* reflect review

* Translate tasks/access-application-cluster/connecting-frontend-backend/ into Japanese (#16270)

* Translate tasks/access-application-cluster/connecting-frontend-backend/ into Japanese

* reflect review

* translate tooltip text

Co-Authored-By: bells17 <bells171@gmail.com>

* Translate concepts/extend-kubernetes/operator/ into Japanese (#16455)

* Translate concepts/extend-kubernetes/operator/ into Japanese

* Update the word operator into Japanese

* Apply suggestions by inductor and oke-py from code review

Co-Authored-By: inductor <kohei.ota@zozo.com>
Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Apply suggestions by inductor from code review

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Refine sentences under bullet points

* Refine sentences in response to the review by makocchi-git

* Translate concepts/extend-kubernetes/api-extension/apiserver-aggregation/ into Japanese (#16662)

* Translate concepts/extend-kubernetes/api-extension/apiserver-aggregation/ into Japanese

* Apply suggestions from code review by inductor

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Apply suggestions from review by MasayaAoyama

* Apply a suggestion from review by MasayaAoyama

* ja-trans: content/ja/case-studies/sos (#17338)

* Add case-studies for SOS International(JP)

* Add logo file

* fixup! Add case-studies for SOS International(JP)

* Update content/ja/case-studies/sos/index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/case-studies/sos/index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/case-studies/sos/index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/case-studies/sos/index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* ja-trans:Translate concepts/services-networking/service/ into Japanese (#14917) (#16319)

* ja-trans:Translate concepts/services-networking/service/ into Japanese (#14917)

* ja-trans: Improve Japanese translation in concepts/services-networking/service/ (#14917)

* ja-trans: Improve Japanese translation in concepts/services-networking/service/ (#14917)

* ja-trans: Improve Japanese translation in concepts/services-networking/_index.md (#14917)

* ja-trans: Improve Japanese translation in reference/glossary/namespace.md (#14917)

* ja-trans: Improve Japanese translation in concepts/services-networking/service/ (#14917)

* ja-trans: Improve Japanese translation in concepts/services-networking/service/ (#14917)

* ja-trans: content/ja/case-studies/nordstrom (#16953)

* Add case-studies for Nordstrom(JP)

* fixup! Add case-studies for Nordstrom(JP)

* Update content/ja/case-studies/nordstrom/index.html

line 25
eコマースサイト->ECサイト
技術運用->技術的な運用
探して->模索して

Co-Authored-By: inductor <kohei.ota@zozo.com>

* mod some sentences

* fixup! mod some sentences

* Update content/ja/case-studies/nordstrom/index.html

Line98 
・クラスター ->クラスタ
・表現を修正

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/case-studies/nordstrom/index.html

向上->改善

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/case-studies/nordstrom/index.html

クラスタ -> クラスター

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* fixup! Update content/ja/case-studies/nordstrom/index.html

* Translate docs/reference/glossary/node.md into Japanese (#17680)

* Translate docs/reference/glossary/control-plane.md into Japanese (#17679)

* Translate docs/reference/glossary/control-plane.md into Japanese

* Update content/ja/docs/reference/glossary/control-plane.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/reference/glossary/control-plane.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* ja-trans: Translate concepts/scheduling/kube-scheduler/ in Japanese #17118 (#17586)

* ja-trans:Translate concepts/scheduling/kube-scheduler/ into Japanese (#17118)

* ja-trans: Improve Japanese translation in concepts/scheduling/kube-scheduler/  (#17118)

* ja-trans: Improve Japanese translation in concepts/scheduling/kube-scheduler/  (#17118)
2019-11-20 14:25:19 -08:00
inductor 8c88039129 update config for Japanese following the latest (#17643) 2019-11-20 14:11:20 -08:00
Nguyen Hai Truong 9a562ec780 Adding docs/home for Vietnamese localization (#17647)
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-11-20 01:37:20 -08:00
Oleg Butuzov fb96c07fc4 This fix solves 2 404 deadlinks at next pages (#17685)
* see link "tahap" @
  https://kubernetes.io/id/docs/concepts/containers/runtime-class/

* see link "VolumeSnapshotClass" @
  https://kubernetes.io/id/docs/concepts/storage/volume-snapshots/
2019-11-20 01:31:20 -08:00
tiendc 6697f5d5d8 Adding vi-document for create-cluster (#17684)
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2019-11-20 01:27:19 -08:00
Oleg Butuzov 10abd2bcf5 lang-fr: Deadlink (due space in it) (#17683)
This fix solves 404 link that appears at "ingress" page in the
franch documentation (see link with "gestion des ressources" text).

https://kubernetes.io/fr/docs/concepts/services-networking/ingress/
2019-11-20 01:19:20 -08:00
Oleg Butuzov b33c77f12d lang-id: Broken Link (#17681)
This fix solve 404 page at next URLs
(See link with text "otorisasi Node")

https://kubernetes.io/id/docs/concepts/architecture/
https://kubernetes.io/id/docs/concepts/architecture/node/
2019-11-20 00:59:19 -08:00
Irvi Aini ea54939939 Make konfigurasi "konfigurasi dan Penerapan Konsep" is uppercased in id localization. (#17641) 2019-11-19 17:57:19 -08:00
Nguyen Hai Truong d30a1f61e5 Merge pull request #17653 from huynguyennovem/add_owner_alias
Add new owner and reviewer for Vietnamese content
2019-11-20 08:56:18 +07:00
Gireesh Puthumana 55d80faab9 Issue-17562 default DNS cluster addon service's name fix (#17563)
* Issue-17562 default DNS cluster addon service's name fix

* Clarified the cluster addon is CoreDNS with application name KubeDNS and corrected the links to enable CoreDNS instead of kube-dns. Also reverted the changes made in ID & ZH languages. Need help there

* Update content/en/docs/concepts/services-networking/connect-applications-service.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-11-19 16:43:19 -08:00
chentanjun df3da58819 fix 404 url (#17626) 2019-11-19 16:11:19 -08:00
Tuna 03de9d387c Merge pull request #17629 from truongnh1992/vi-kubectl-cheatsheet
Adding docs in Vietnamese
2019-11-19 15:56:41 +07:00
Nguyen Hai Truong 83b3de7b0b Adding docs in Vietnamese
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-11-19 02:41:51 -08:00
Huy Nguyen 412c6ab3a6 Add new owner
Add huynguyennovem as an owner and reviewer for Vietnamese content
2019-11-19 15:20:45 +07:00
Luzhenxing 87c5bd56b1 fix error url (#17651) 2019-11-19 00:15:41 -08:00
Gonzalo de la Peña dabb062a78 Update Owners_Aliases (#17515)
Struggling to find the time for a while. Will come back when agenda frees up a little, but feel free to remove entirely from the list if you need/want to.
2019-11-18 13:19:41 -08:00
chentanjun 1f3336760b fix 404 url in fr/ (#17627) 2019-11-18 12:43:42 -08:00
Pablo Castellano f323e15018 Update k8s versions (#17638)
Related to project quotas
2019-11-18 12:39:41 -08:00
Manish Bansal 487fd92117 Documentation corrected (#15944)
* Documentation corrected

The description for the `command` section was wrong. Same is corrected.

* Update content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>
2019-11-18 12:11:42 -08:00
iaoiui fc96d09d8f modify an attribute of figure (#17618) 2019-11-18 09:21:41 -08:00
Tariq Ibrahim 1ef778e98d [docs/tutorials]: update kube-state-metrics install details (#17570) 2019-11-18 06:55:41 -08:00
sivanzcw ce299d5729 change the expired link about sig-governance, es language (#17606) 2019-11-18 06:19:42 -08:00
Carlos Almeida 5a562997a8 Add content/es/docs/concepts/workloads/pods/podpreset.md (#17265)
* added podpreset.md

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Rael Garcia <rael@rael.io>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

* Update content/es/docs/concepts/workloads/pods/podpreset.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>
2019-11-18 06:15:41 -08:00
Sascha Grunert 31970ef6f9 Fix invalid CRI-O glossary links (#17532)
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-17 17:59:41 -08:00
yacinelazaar a6a505fb73 Remove instructions to copy Etcd CA key in HA (#17611)
* Remove instructions to copy Etcd CA key in HA

No need to copy etcd CA key when manually copying certs from first master node to nodes joining the control plane.

* ca.key still needed for stacked ETCD

Added note to quote/unquote the copying instructions depending on Etcd configuration
2019-11-17 17:53:41 -08:00
Mike Dame 6ec1a38ed0 Fix typo CRD field (#17610) 2019-11-17 17:51:41 -08:00
Oleg Butuzov 834d9e9f03 task/hpa example enhancement (#17604)
Using removable Pod instead of Deployment in HPA example.
2019-11-17 17:49:41 -08:00
Alejandro Huertas Herrero 8a42721eae Add OpenNebula documentation link (#17580) 2019-11-17 17:47:42 -08:00
Luzhenxing 86d3882330 use a feature-state shortcode (#17602) 2019-11-17 17:45:42 -08:00
Gireesh Puthumana f786b9cb7c fix for https://github.com/kubernetes/website/issues/17597 (#17599) 2019-11-17 17:43:41 -08:00
Tanveer Alam 3c17c3fefd Added design doc reference link of PLEG. (#17596)
Added reference link for PLEG(`https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/pod-lifecycle-event-generator.md`), which could be helpful for someone who is interested in knowing more about PLEG.
2019-11-17 17:41:41 -08:00
Tim Bannister 6d845b5f0c Clean up sample output for kubeadm upgrade (#17592) 2019-11-17 17:39:41 -08:00
Luzhenxing c346789c36 Use tabs for install section of Kompose (#17600) 2019-11-17 17:37:42 -08:00
chentanjun 9335df5d49 fix-up the broken link (#17601) 2019-11-17 17:35:42 -08:00
Ismail Alidzhikov d83e538650 Update k/dashboard to v2.0.0-beta6 (#17608)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-11-17 17:33:41 -08:00
Dr Nic Williams 41d5f445b2 jsonpath example of child with dot in name (#17625)
Promoting the solution shown in https://github.com/kubernetes/kubernetes/issues/23386#issuecomment-305348170
to formal documentation.
2019-11-17 17:27:41 -08:00
Chris Abraham 7bf90015f0 swapped in svgs for the remaining pngs on the case studies page (#17615) 2019-11-17 12:41:41 -08:00
sivanzcw 8d14c1572d change the expired link about sig-governance (#17605) 2019-11-16 21:35:41 -08:00
Nikita Potapenko 9d0cc29bf4 Init Russian localization (#16404)
* initial

* aisonaku owner

* initial. copy minimal en content to ru

* i18n strings update

* main page, one section

* draft main page, setup, minicube

* main page

* pick up solution

* Init russian translate

* Translated hello-minikube.md file

* tutorials started

* russ localization

* update config.toml and add README-ru.md

* update README.md for the reference to the Russian languge

* Update README-ru.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update README-ru.md

* Update README-ru.md

* concepts overview started

* Update owners aliases

* Remove duplicate section

* Cleanup

Remove untraslated files

* Add examples

* Fix typo

* Apply suggestions from code review

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* partly fixed for comments

* Remove partially translated files

* Translate remaining strings

* Translate base concepts
2019-11-14 14:15:14 -08:00
yunxji b2c8c9c1c5 Add content about Tencent cloud providers. (#17572)
* Modify document format.

* Update cloud-controller.md

Add content about Tencent cloud providers.

* Update cloud-providers.md

Add content about Tencent cloud providers.
2019-11-14 04:49:34 -08:00
Rémy Léone 7b3f45f56a Translate a contribute to French (#13398)
* Translate  a contribute to French

* Corrections
2019-11-14 01:27:35 -08:00
nralpaca 354935a07d Update images.md (#17567)
Docer -> Docker

Fixed Typo.
2019-11-13 20:09:35 -08:00
Oleg Butuzov 453437bd3a PVCProtection related conent cleanup (#17558)
After PVCProtection was deprecated in kubernetes/website@be48fb38e9 was
removed task used to describe concept of it. Link wasn't removed
everywhere (this PR removes it) and was living in site documentation
since then.

In Addition from tasks.yaml removed link pvc-protection articles
(also not exists).
2019-11-13 17:09:36 -08:00
Oleg Butuzov 1f60267d15 Release Notes (correction) (#17559)
The link to the CRD page ( check link in CustomResourceDefaulting
description of Beta section) corrected.
2019-11-13 16:27:36 -08:00
Oliver Burré f74e1d7a92 Updating the latest svcat versions in repo (#17564)
* Updating the latest svcat versions in repo

* using helm 3.0.0
2019-11-13 12:21:25 -08:00
Lucas CHERIFI 0ad8dbb133 No need cask (#17536)
Brew is able to install minikube without using cask.
2019-11-13 05:21:12 -08:00
Supriya Sirbi ab1a66f158 #13332 No diagram on /concepts/overview/components/ (#17157)
* #13332 No diagram on /concepts/overview/components/

* Added Components of Kubernetes png file

* Added svg file
2019-11-13 02:45:12 -08:00
SataQiu c1c108f044 kubeadm: clarify the usage of kubeadm commands in our external etcd guide (#17541) 2019-11-13 00:43:11 -08:00
Oleg Butuzov 75c0e190c4 Link to the "Pod Overhead" configuration page fixed. (#17544)
Issue available at https://kubernetes.io/ko/docs/concepts/containers/runtime-class/
and introduced by original English documentation (see kubernetes/website#17543)
2019-11-12 21:00:11 -08:00
Masa Taniguchi 504951ef77 ja-trans: content/ja/case-studies/appdirect (#16639) 2019-11-12 19:22:11 -08:00
Oleg Butuzov 16a0204771 Link to PodOverhead conficuration page fix. (#17543)
Issue page https://kubernetes.io/docs/concepts/containers/runtime-class/
2019-11-12 17:44:11 -08:00
Luzhenxing cb5153f1df remove OutOfDisk from node condition (#16879) 2019-11-12 17:22:11 -08:00
diguage 49599227f2 update doc for client-go (#16937) 2019-11-12 17:20:11 -08:00
Marc Bihlmaier 16316ee1ca Update kubeadm-upgrade.md (#17310)
[BUGFIX] add fix missing command
2019-11-12 17:12:11 -08:00
Oleg Butuzov 04a42af748 Returning Cert Manager mention. (#17551)
Affected URL
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/

Cert Manager mention was removed in kubernetes/website@8781518d as part of
the merge conflict resolving.

* Links to cert manager placed back (so we wouldn't see again
  `[cert-manager][cert-manager]` in article text).
* In addition link to cert manager documentation is updated to official
  website (its still readthedocs but, its official by stand of team behind
  of the cert-manager)
2019-11-12 17:08:11 -08:00
Mitesh Jain f222648ebf Remove reference of unsupported k8s versions for CPUManager. (#17330)
* Remove reference of unsupported k8s versions for CPUManager.

* Update note for none-policy and add links.

* Remove redundant note for alpha version.
2019-11-12 01:04:07 -08:00
Mitesh Jain f54a7ad16f Fix #17250 - Add details for TaintNodesByCondition. (#17313)
* Add details for TaintNodesByCondition.

* Add glossary tip for taints and improve wording for TaintNodesByCondition.
2019-11-12 01:02:10 -08:00
Luzhenxing 18a606211a change version to param (#17540) 2019-11-11 18:32:06 -08:00
Sascha Grunert 7f9f9d9fbe Update AppArmor requirement section (#17531)
Mainly all runtimes support AppArmor from now on, so we should update
the documentation accordingly.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-11 18:30:07 -08:00
Oleg Butuzov a3f671a816 fix - broken link (#17529)
Fix for brokenlink at kubeadm upgrade page
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/

(see link "certificate management documentation" )
2019-11-11 18:28:06 -08:00
vasu1124 d8c8d74f79 Updated Gardener line (#17525)
* Updated Gardener line

* Update Gardener line in solutions table
2019-11-11 18:26:07 -08:00
CRC 66243a6dc2 Update label selectors caution about OR operator (#17477) 2019-11-11 18:24:06 -08:00
Tim Bannister aa6131020c Take kube-proxy features for granted (#17483)
All supported Kubernetes versions offer all kube-proxy features
previously listed.
2019-11-11 18:22:07 -08:00
Tim Bannister 77b22e7fcd Tidy “clean up local state” for Minikube install (#17506) 2019-11-11 18:20:06 -08:00
Luzhenxing eb6a2bb7b2 remove feature gate (#17502) 2019-11-11 18:18:06 -08:00
tom1299 6008b3d3fc Fix deprecation warning on example execution (#17522)
Fix for the deprecation warning when executing the command:
```bash
$ kubectl run hello --schedule="*/1 * * * *" --restart=OnFailure --image=busybox -- /bin/sh -c "date; echo Hello from the Kubernetes cluster"
kubectl run --generator=cronjob/v1beta1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.
```
2019-11-11 18:16:08 -08:00
Oleg Butuzov 66dde86d0a fix - broken link (#17530)
Fix for broken link at admission-conrollers page.

https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#runtimeclass
2019-11-11 18:14:06 -08:00
Tim Bannister 939f3ebd7e Expand feature gates page (#17535)
* Tidy feature gate metadata

* Tweak feature gate headings

Use sentence case where appropriate

* Add feature gate explanation for GA

* Add what's next section to feature gate page

* Signpost readers to explanation of feature gate stages
2019-11-11 18:08:06 -08:00
Jin Hase 69964e8529 Modify terminated-pod-gc-threshold explanation in Japanese (#15272) (#17422)
* Modify terminated-pod-gc-threshold explanation in Japanese (#15272)

* Correct the word "controller" to the correct notation in Japanese

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Remove unnecessary space
2019-11-10 04:47:39 -08:00
umemotoryo 306d3f0ca2 Fix font style *フィルター* to _フィルター_ (#17513) 2019-11-10 04:05:39 -08:00
Tanveer Alam e023268064 Typo, should be extension's instead of extensions (#17373)
* Typo, should be extension's instead of extensions

In `Extension Patterns` section,  `extensions points` should be `extension's points` as it's trying to say `points` belonging to a particular  `extension`.

* Update content/en/docs/concepts/extend-kubernetes/extend-cluster.md

Changed as per tengqm suggestion.

Co-Authored-By: Qiming <tengqim@cn.ibm.com>
2019-11-08 16:25:59 -08:00
Oleg Butuzov 2f72bb5089 Broken Link fix (#17484)
Fixed link to PodDisruptionBudget task.
2019-11-08 09:30:52 -08:00
Luis Cacho 580b1d66fb Add content/es/docs/reference/glossary/label.md (#17218)
* Add content/es/docs/reference/glossary/label.md

* Update content/es/docs/reference/glossary/label.md

Co-Authored-By: Rael Garcia <rael@rael.io>

* Update content/es/docs/reference/glossary/label.md

Co-Authored-By: Rael Garcia <rael@rael.io>

* Update content/es/docs/reference/glossary/label.md

Co-Authored-By: Rael Garcia <rael@rael.io>

* Update content/es/docs/reference/glossary/label.md

Co-Authored-By: Rael Garcia <rael@rael.io>

* Fixing netifly building error

Fixing the section short_description adding a tab on the text
2019-11-08 09:10:52 -08:00
bscheller-iso cef03f4031 Update _index.md (#17126)
rework of the german translation based on the english version
2019-11-08 08:44:15 -08:00
Seokho Son 3c3831592e Forth Korean l10n work for release-1.16 (#17481)
* Translate workloads/controllers/ttlafterfinished.md in Korean. (#17241)
* Update Korean l10n guide (#17402)
* Translate tasks/manage-kubernetes-objects/kustomization in Korean (#17225)
* Update file outdated korean docs in dev-1.16-ko.4 (#17235)
* Translate concepts/workloads/pods/ephemeral-containers.md in Korean. (#16630)

Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
Co-Authored-By: Cheolgu Kim <lapee79@gmail.com>
Co-Authored-By: June Yi <gochist@gmail.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
2019-11-07 23:22:44 -08:00
Naoki Oketani ab5ef4d4ec fixed a typo (#17473) 2019-11-07 19:26:18 -08:00
Nate Reid 80f78a0d92 Remove 'experimental' from high-availability, and '.' from etcd bullet (#17254)
* Remove 'experimental' from high-availability, and '.' from etcd bullet

s/controller-managing/controller-manager
s/Apiserver/API server
s/Assuming/Assumes

* Update content/en/docs/tasks/debug-application-cluster/debug-cluster.md

Co-Authored-By: Stephen Augustus <justaugustus@users.noreply.github.com>

* Update content/en/docs/tasks/debug-application-cluster/debug-cluster.md

Co-Authored-By: Stephen Augustus <justaugustus@users.noreply.github.com>

* Update content/en/docs/tasks/debug-application-cluster/debug-cluster.md

Co-Authored-By: Stephen Augustus <justaugustus@users.noreply.github.com>
2019-11-07 19:16:21 -08:00
Alex Contini 76787f76e4 Add new case study stylesheet (#17334)
* Add new case study stylesheet

We will be adding a bunch of new case studies with an updated design (a lot of it is just simplified). I created this new file, and for the new case studies we will add
this updated code at the top from now on:

---
case_study_styles: true
cid: caseStudies
css: /css/new_case_studies.css
---

So just replacing the old css file with this one. Let me know if that is not going to work the way I think it will, thank you!

* update name

* update file name
2019-11-07 13:19:43 -08:00
Luzhenxing 85f8246dca change the link of restart-policy (#17472) 2019-11-07 03:12:43 -08:00
Aditya Bhatia 488fbcb83b add link to running a replicated stateful application (#17430) 2019-11-07 01:24:43 -08:00
Mitesh Jain ff22d19e59 Fix indentation / markdown formatting for list numbering. (#17465) 2019-11-07 01:22:42 -08:00
aelejota 244f802a33 Update deployment.md (#17328)
* Update deployment.md

Modified kubectl get deployment command outputs to adapt them to the new output format introduced in v1.11

* Update deployment.md

Fix a typo
2019-11-06 17:56:44 -08:00
CRC c247cda3e2 Clarify init container use case for security (#17404) 2019-11-06 17:42:42 -08:00
nasa9084 6a3617ee97 assign inductor as sig-docs-ja approver (#17412) 2019-11-06 15:07:48 -08:00
Karen Bradshaw 1010a4a68e test redirect of api ref index page (#17307)
* test redirect of api ref index page

* testing indexing
2019-11-06 12:45:49 -08:00
Lubomir I. Ivanov a51d714826 kubeadm: add note about 'upgrade apply/plan --config' (#16703) 2019-11-06 12:11:52 -08:00
Joseph Moukarzel 0e6b7f1e89 update phase command to upload certs after expiration (#17456) 2019-11-06 11:09:52 -08:00
bells17 5306b4e784 Remove a space previous a tooltip text (#17194)
* Remove a space previous a tooltip text

* Improve format
2019-11-06 07:53:52 -08:00
vanou fabfd3f886 Fix trivial typo in IPVS proxy mode explanation (#17446)
This commit fixes trivial typo in explanation of IPVS proxy mode.
2019-11-05 22:25:50 -08:00
Luzhenxing 3c26a162fb fix issue 17420 (#17439) 2019-11-05 22:23:50 -08:00
Luzhenxing 526ebcb80a rcs can not be a shortcut in kubectl command (#17443) 2019-11-05 22:21:50 -08:00
aimeeu 8f179a4d58 Grokkin' the Docs: Experiences of a New Contributor blog post (#17314)
* New contributor blog post

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>

* New Contributor blog post

Incorporated review feedback

* New Contributor blog post

Changed publication date to 11/6.
Fixed numbering in Citations section.

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>

* New Contributor blog post

Fixed issue with header 9 diplay

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>

* Update and rename grokkin-the-docs.md to 2019-11-05-grokkin-the-docs.md
2019-11-05 12:30:39 -08:00
Luzhenxing ec7c72f4fb remove duplicate yaml (#17431) 2019-11-05 10:50:40 -08:00
vanou 694883fbce Fix misspell of type of Pod condition at init container explanation (fr) (#17413)
In explanation of init container, doc says 'Initializing' pod
condition. However according to doc of pod condition[1], it should be
'Initialized'.

This commit fixes this misspell of French doc.
This misspell is verified by PR #17329 which fixes English doc.

[1]
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-conditions
2019-11-05 01:28:38 -08:00
Luzhenxing 5522e5ddf9 add the same namespace (#17394) 2019-11-04 22:24:38 -08:00
Luzhenxing e48b8693ae fix error link of kubeadm init args (#17318) 2019-11-04 21:12:38 -08:00
CRC a7a4f9d4cb Improve readability in persistent volume introduction (#17176)
* Fix typo in persistent volume intro

* Adjust wording of compute jargon
2019-11-04 21:00:38 -08:00
Jin Hase 6b261c7611 modify terminated-pod-gc-threshold explanation (#15272) (#17183)
* modify terminated-pod-gc-threshold explanation (#15272)

* modify terminated-pod-gc-threshold explanation (#15272)
2019-11-04 20:52:38 -08:00
Mitesh Jain 733f376823 Remove references to federation pages which have been deleted. (#17309) 2019-11-04 20:44:38 -08:00
Luzhenxing 09d2b5848c add resource to be the same as kubectl api-resources (#17367) 2019-11-04 19:50:39 -08:00
vanou ec7efbc544 Fix misspell of type of Pod condition at init container explanation (zh) (#17416)
In explanation of init container, doc says 'Initializing' pod
condition. However according to doc of pod condition[1], it should be
'Initialized'.

This commit fixes this misspell of Chinese doc.
This misspell is verified by PR #17329 which fixes English doc.

[1]
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-conditions
2019-11-04 18:24:38 -08:00
vanou 31ff8d011b Fix misspell of type of Pod condition at init container explanation (ko) (#17415)
In explanation of init container, doc says 'Initializing' pod
condition. However according to doc of pod condition[1], it should be
'Initialized'.

This commit fixes this misspell of Korean doc.
This misspell is verified by PR #17329 which fixes English doc.

[1]
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-conditions
2019-11-04 17:50:39 -08:00
anorek 298668da74 fix issue 17365 (#17398)
add missing "。" by the end of 参考 card.
2019-11-04 17:06:38 -08:00
Sam Darwin 445020674e Update network-policies.md (#17335)
* Update network-policies.md

Add explanation of policy evaluation order from https://github.com/kubernetes/kubernetes/issues/75435

* edit text in network-policies.md
2019-11-04 15:12:10 -08:00
Marc Bihlmaier 24edeac0b4 Update kubeadm-upgrade.md (#17407)
Sometimes, pods like `coredns` only run on the master nodes. If there is a problem with upgrading the master node (e.g. if it is interrupted) those pods will not keep running - and other pods will have problems with connections. 

Draining the master node will switch those pods to other nodes before the upgrade-process.
2019-11-04 14:12:12 -08:00
diguage 9d21f9c105 upgrade ubuntu docker image 14.04 → 18.04 (#16926) 2019-11-04 13:28:11 -08:00
sulaimantok 4363291c94 Change Word anda to kamu indonesia language (#17356)
* First

* Overview Configuration
2019-11-04 06:21:40 -08:00
wahyuni-pj 6976cc6f20 fixing the correct word (#17357) 2019-11-03 18:29:40 -08:00
Qiming 9bf026e951 Clean zh/docs directory for dangling YAML files (#17341)
There are many YAML manifests sneaking into the `zh/docs/` directory.
These files should go to the `zh/examples` directory instead. Having
these "garbage" files (not referenced anywhere) is creating confusion
for the release meister when merging branches. For example, some YAML
files found in the 'master' branch are no longer there in the
release-1.16 branch. It is tedious, if possible at all, to solve all
this kind of conflicts during a rebase.

The PR cleanses the zh/docs directory for all dangling YAML files.
2019-11-04 08:24:48 +08:00
frogred8 8c5faa68b7 ko: Fix awkward sentences (#17237) 2019-11-03 16:07:40 -08:00
Chihoon-Sung 22ad2c6f5c Update README-ko.md (#17366)
Grammar errors and spelling corrections
2019-11-03 05:23:39 -08:00
Andreu Gallofré 4d20f208ae Add spanish version of SIG glossary page (#17147)
Update content/es/docs/reference/glossary/sig.md

Co-Authored-By: Rael Garcia <rael@rael.io>

Update content/es/docs/reference/glossary/sig.md

Co-Authored-By: Rael Garcia <rael@rael.io>

Update content/es/docs/reference/glossary/sig.md

Co-Authored-By: Rael Garcia <rael@rael.io>

Update content/es/docs/reference/glossary/sig.md

Co-Authored-By: Rael Garcia <rael@rael.io>

Update content/es/docs/reference/glossary/sig.md

Co-Authored-By: Rael Garcia <rael@rael.io>

Solve YAML identation errors
2019-11-02 00:53:39 -07:00
Rong Gao 851cd9e774 change the daemonset specific exception (#17242) 2019-11-01 23:21:40 -07:00
Luzhenxing 3aab039ac4 change kubectl get deployment output (#17351) 2019-11-01 21:31:40 -07:00
Tanveer Alam 4c48c963a0 Broken link in Extending your kubernetes Cluster (#17349)
Under `Extension Patterns` sections the link for `Flex Volume Plugins` is broken as the `flexvolume.md` file has been moved to new folder `/devel/sig-storage`. Reference commit `https://github.com/kubernetes/community/commit/ab55d850b8342abe1b87eb1c8bf397c4d05daff4`
2019-11-01 19:37:40 -07:00
Luzhenxing e999c0398d change minikube install cmd on macOS (#17296) 2019-11-01 08:09:25 -07:00
vanou 14f0fdaebe Fix misspell of type of Pod condition at init container explanation (#17329)
In explanation of init container, doc says 'Initializing' pod
condition. However according to doc of pod condition[1], it may be
'Initialized'.

This commit fixes this misspell.

[1]
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-conditions
2019-11-01 08:07:24 -07:00
Mitesh Jain 0019c593dc Remove requirement for unsupported k8s version for NodeRestriction. (#17331) 2019-10-31 18:04:54 -07:00
Tunde Olu-Isa f7428bd0b0 Fix typo in kubeadm implementation-details (#17332)
changed Kublet to Kubelet
2019-10-31 13:24:38 -07:00
Chris Abraham af8a8e7728 Swaps svgs for the pngs on the homepage (#17325) 2019-10-31 02:01:37 -07:00
Yuk, Yongsu 1e4eb26721 Edit link in document for issue #16908 (#16909)
* Edit link in document.

* Update nodes.md
2019-10-30 19:53:37 -07:00
Mitesh Jain b44116f769 Add link to styles.css stylesheet in index.html under kubernetes-basics. (#17051) 2019-10-30 08:22:52 -07:00
Giri Kuncoro c324bfdea2 Add Indonesian translation for object-management page (#16854) 2019-10-30 00:46:52 -07:00
Luzhenxing c3444e39a7 fix error link (#17253) 2019-10-29 18:28:52 -07:00
bladepoint f65a6fe7a8 Update horizontal-pod-autoscale-walkthrough.md (#17206) 2019-10-29 18:26:53 -07:00
Dr Nic Williams cdc590065c base64 --decode works across Linux and MacOS (#17240)
Signed-off-by: Dr Nic Williams <drnicwilliams@gmail.com>
2019-10-29 18:24:53 -07:00
Luzhenxing 20694c79a9 change the contianer runtime link to the correct id (#17245) 2019-10-29 18:22:52 -07:00
Luzhenxing 4b428176e4 fix param error (#17249) 2019-10-29 18:20:52 -07:00
Jim Angel 647b4cd39d fixed yaml block so it renders (#17259) 2019-10-29 14:26:53 -07:00
Luzhenxing de84e18d3c fix err url of minikube (#17273) 2019-10-29 14:18:52 -07:00
Luzhenxing 8db2d7bdd2 fix issue 17274 (#17277) 2019-10-29 14:14:53 -07:00
gocho1 23840660cc replace with dashes all points present in url fields to fix links (#17286) 2019-10-29 09:52:42 -07:00
babang d527b60de5 translate poseidon firmament alternate scheduler (#17043) 2019-10-29 05:28:42 -07:00
aimeeu ae34e1a7e2 2019 Kubernetes Documentation Survey results (#16462)
* 2019 Kubernetes Documentation Survey results

Incoporate reviewer feedback
Text and image
Add github location

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>

* Update and rename 2019-sig-docs-survey.md to 2019-10-29-2019-sig-docs-survey.md
2019-10-29 04:54:42 -07:00
Alexey Pyltsyn f120439575 Improve Concepts section (#17013)
Signed-off-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-10-27 18:49:25 -07:00
Mitesh Jain 7fa51c98d9 Update k8s version info for etcd encryption feature in securing-a-cluster. (#17027) 2019-10-27 18:45:25 -07:00
jakowicz b2f7b2fc7c Update network-plugins.md (#17109)
* Update network-plugins.md

* Update network-plugins.md
2019-10-27 18:39:25 -07:00
Will McGregor fbca7bbfad Remove duplicate reference to awsElasticBlockStore (#17135) 2019-10-27 18:37:24 -07:00
vanou 4fe0eaae1f Fixes commands not working without sudo (#17139)
In doc of kubeadm installation, there are commands which wont work
without sudo regarding to Ubuntu/Debian instruction. However, other
docs related to kubeadm under
content/en/docs/setup/production-environment have commands with sudo.

This commit fixes this inconsistency.
2019-10-27 18:23:25 -07:00
Christopher "Chief" Najewicz 18e3f8dadd Update cluster-management.md (#17150)
* Update cluster-management.md

Fix link to version-skew upgrade doc

* Update cluster-management.md

fix pathing
2019-10-27 18:19:25 -07:00
Alberto Roura 8d115c59a3 Update alibaba-cloud.md (#17156)
Alibaba Cloud supports serverless kubernetes, a Kubernetes-In-Kubernetes based solution.
2019-10-27 18:17:25 -07:00
Jordan Liggitt aad4f0bd13 Fix webhook admission example (#17179) 2019-10-27 18:15:25 -07:00
Nate Reid 4b33e8a612 Update declare-network-policy.md (#17234) 2019-10-27 17:59:24 -07:00
Zach Corleissen 41ea6d49fb Update master to Hugo version 0.57.2 (#16814)
Update Makefile for 0.57.2
2019-10-27 12:21:24 -07:00
aimeeu 99895de868 Update work from a local clone section (#16748)
Add content based on Slack thread
https://kubernetes.slack.com/archives/C1TU9EB9S/p1570736679005700

Change -f to --force-with-lease
Simplified wording

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-10-27 10:11:24 -07:00
Gede Wahyu Adi Pramana 7c87be58f0 Translating Organize Cluster Access to ID Localization (#17035)
* Translating "Organizing Cluster Access Using kubeconfig Files" to ID Localization

* Apply suggestions from code review

Co-Authored-By: Giri Kuncoro <girikuncoro@users.noreply.github.com>
2019-10-27 06:11:24 -07:00
Chaitanya 6a4238aa71 Accessibility updates - main landmark roles (#17106)
* Removed multiple main tags from home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Removed multiple occurances of main in case-studies page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Replaced css for main tag with .main-section class

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Added main landmark role for all the pages

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Force checks.

request-checks: true
2019-10-27 04:43:24 -07:00
Andrew Sy Kim f53c6e1c20 redirect to vSphere cloud provider docs in cloud providers page (#16778)
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-10-27 04:31:24 -07:00
Dirc 998fb53f74 fix typo (#17188) 2019-10-26 08:17:23 -07:00
Karen Bradshaw c26ea07706 Fix styling of tutorial pages (#17177)
* [WIP] Fix styling of tutorial pages

* additional cleanup of styles.css
2019-10-26 07:31:23 -07:00
Caeson fbc2e4919f Update service.md (#17136)
1. add a white space in line 367 between "###" and "版本兼容性".
2019-10-26 00:45:23 -07:00
nasa9084 4bcc17d1a6 add oke-py as sig-docs-ja reviewer (#17182) 2019-10-25 13:42:39 -07:00
June Yi ff5d03a93b Third Korean l10n work for release-1.16 (#17168)
Update file outdated korean docs in dev-1.16-ko.3. (#16876)
Translate concepts/architecture/controller.md in Korean (#16889)
Change the full link in the document to an inline link. (#17059)
Add English-Korean translation glossary (#16664)

Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
Co-Authored-By: June Yi <june.yi@samsung.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
2019-10-25 00:27:39 -07:00
Ismail Alidzhikov f351718930 ja: Replace deprecated kubectl run (#16970)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-24 19:17:38 -07:00
Chris McInerney 869f384784 Adding D2iQ to Solution Providers (#17171)
Add D2iQ to the Production environment Solution Providers including links.
2019-10-24 12:39:39 -07:00
Karen Bradshaw 23e86430be remove SEE ALSO section from command include files (#17123)
- For further information, see issue #16998.
- Regenerated files using,
  kubernetes/website/update-imported-docs/update-imported-docs
2019-10-24 06:18:19 -07:00
nasa9084 0eac4681c4 remove zacharyzarah from sig-docs-ja-owners (#17158) 2019-10-23 23:27:07 -07:00
vanou b7425c994c Fix inconsistency of note on command example (#17154)
In doc on Declarative Management of K8s object, there is explanation
of 'Default field values of K8s object set by K8s apiserver'.
In this explanation, there is examples of resource of K8s object.

And in this example, there is notes on what field value is set by
apiserver by default. But there is lack of a word in one of these
notes. This commit fixes it.
2019-10-23 20:11:07 -07:00
Jennifer Buckley ed76430eb0 Mark ServerSideApply as beta in 1.16 (#17152) 2019-10-23 17:53:05 -07:00
shub-asa1 ef602a8bc5 adding details for all official client libraries . Fix for issue #16906 (#16940)
* adding details for all official client libraries .

there are six official client libraries for kubernetes. Added details and example for each language .Fix for issue #16906

* few typos and syntax mistakes resolved

* Update access-cluster-api.md

* removing extra code from haskell client
2019-10-23 09:04:15 -07:00
Chris Abraham 6e2683269a Use SVGs instead of PNGs in the case studies page (#17095)
* favor svg over png for logos on case studies page

* added svgs for all case studies

* favor svg over png for logos on case studies page

* added svgs for all case studies

* duplicating the jd logo so both are svg

* switch to svgs in the case studies block on the homepage
2019-10-23 09:02:15 -07:00
Dan Winship 5ab1671aa3 Add documentation about kernel module autoloading security (#15451) 2019-10-23 09:00:19 -07:00
Ahmet Alp Balkan 31bd87aea6 Document: how to install/distribute plugins with Krew (#16322)
* Document: how to install/distribute plugins with Krew

Context: Krew (https://sigs.k8s.io/krew) is a Kubernetes SIG CLI sub-project
that's been available for over a year. It is considered to be the de-facto tool
to discover and install kubectl plugins.

This patch details:
- how to use Krew to discover/install plugins
- how to distribute a kubectl plugin (with traditional package managers or
  using Krew).

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

* Address PR comments

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-10-23 08:58:15 -07:00
Fabrizio Pandini f88c8e3191 Improve PKI certificates and requirements page (#16399)
* improve-pki-page

* address comments
2019-10-23 08:56:14 -07:00
Ed Randall f67eae9a8d In-pod API access without official lib (#16884)
* Short example of internal API usage without official libs

* Bump subheading sizes by 1; Incorporated review comments;
2019-10-23 08:54:17 -07:00
Karen Bradshaw f21035fcf1 clarify feature gate table titles (#17031)
Add further details about the difference between the
two feature gate tables. The additional information and
table titles should help authors when creating or
updating the table entries.
2019-10-23 08:52:18 -07:00
Donald Little d91ed6bfa2 update order of kubeadm init phase command docs (#16922)
Rearrange the order of the kubeadm init phase subcommand documentation
to match that in which the commands are executed in kubeadm init. This
change doesn't introduce any changes to actual content of the
documentation and only modifies the order in which it is presented.
2019-10-23 08:50:14 -07:00
Karen Bradshaw f29d3153eb rename reference/kubernetes-api/index (#16947)
- renamed docs/reference/kubernetes-api/index.md
- added weight to files in docs/reference/kubernetes-api
- attempt to clean up labels-annotations-taints.md
- updated _redirects file
2019-10-23 08:48:16 -07:00
oneoneonepig 452d5822d2 Update deployment.md (#17023) 2019-10-23 08:46:17 -07:00
Rajesh Deshpande fe74e3f318 Adding references to page for better understanding (#16995)
Adding all required reference links to the page for better navigations to understand related concepts.
2019-10-23 08:44:16 -07:00
Ashish 3c88fb1c14 Add “API group” to glossary #15906 (#16192)
Created API Group glossary term
Linked glossary term to applicable pages
2019-10-23 08:42:17 -07:00
Rajesh Deshpande 8d51203aef Adding whats next section to configure service account (#16994)
Adding What's next section to the 'configuring service account' page which was missing earlier. Also, moved informative statement about document to 'Note' section
2019-10-23 08:40:15 -07:00
Rajesh Deshpande b0df02500f Modifying adding label to node steps (#16993)
* Modifying adding label to node steps 

Existing steps does not show what labels the node has before adding a new label. So I have changed the command to list out node along with their labels before adding any new label. This will help first-time readers to understand existing labels and then how we can add a new label and display it.

* Update content/en/docs/tasks/configure-pod-container/assign-pods-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-10-23 08:38:17 -07:00
Ismail Alidzhikov 18ee7f8d94 en: Remove deprecated --include-uninitialized flag (#16974)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-23 08:36:19 -07:00
James Peach 527f07415c en: fix Contour ingress controller link (#16989)
Contour is now maintained by VMware and has a project site.

Signed-off-by: James Peach <jpeach@apache.org>
2019-10-23 08:34:15 -07:00
Ismail Alidzhikov 7a31f11608 Update link (#16966)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-23 08:32:15 -07:00
Luzhenxing 14f9b40f66 modify example error about hpa of autoscaling/v2beta2 HorizontalPodAutoscaler (#16950) 2019-10-23 08:30:18 -07:00
shub-asa1 1ef74de2ab syntax error in a command fix (#16980)
fix for issue #16972
2019-10-23 08:28:16 -07:00
Zach Corleissen b894856e8e Update how to run Hugo locally (#16982) 2019-10-23 08:26:19 -07:00
Kevin Kelani 228ac01c84 Fixes path in first ingress resource yaml (#17017)
When the second path is attached to `example-ingress` for `/v2` it doesn't work because the first path captures all paths. Solution is the make the `/` capture everything except `/v2` (also captures `/v2/<anything else>`)
2019-10-23 08:24:19 -07:00
Himanshu Pandey d600ed6f0c Added source location for kube-up.sh (#17016) 2019-10-23 08:22:16 -07:00
Luzhenxing 6c791bc264 modify error id (#17019) 2019-10-23 08:20:15 -07:00
Mitesh Jain 9b33cfd360 Remove k8s version references for MetricsServer in resource-metrics-pipeline. (#17028) 2019-10-23 08:18:16 -07:00
Joao Morais ff1f0c7398 Add HAProxy Ingress controller (#17130)
Add HAProxy Ingress to the list of ingress controller implementations
2019-10-23 08:14:15 -07:00
Mike Parker e3aeebed31 Update install-kubectl.md (#17110)
Docker for Windows is now called Docker Desktop for windows
2019-10-23 08:12:17 -07:00
Alexander Zhukov cd1b7d6f45 Use the tidle shortcut in the --cache-dir default (#17115) 2019-10-23 06:28:15 -07:00
Yuk, Yongsu d437e8c6bc en: Change the full link in the document to an inline link. (#17057)
* Change the full link in the document to an inline link.

grep -r "https \: \ / \ / kubernetes \ .io" content/en/docs
Changed to inline link except the following list.
- URLs are mentioned directly in the body
- release note
- url to blog
- url to community
- Url to be redirected

* Apply suggestions from code review

Co-Authored-By: June Yi <june.yi@samsung.com>
2019-10-23 06:20:14 -07:00
Armando Migliaccio 77d831c7ea Replace Digital Ocean with DigitalOcean (#17033)
The former is the official spelling, but both spellings have been
used throughout the docs. This commit replaces the occurrences of
the unofficial spelling with the official one.
2019-10-22 14:34:13 -07:00
aimeeu 04127a3acb Update script for Python3, PyYAML 5.1.2 (#17127)
-Update to use argparse.ArgumentParser() for command line args
-Use tempfile library to create tmp work directory

-Remove shutil.rmtree because it was throwing permission errors and
not deleting the directory. Also no longer needed after switching
to tempfile.

-Enchance error handling
-Add check for Go installation
-Enhance check for PyYAML installation
-Change deprecated PyYAML load function to full_load
-Add comments at top of file
-Modify to comply with PEP8
-Update kubernetes-components.md with software versions to match script

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-10-22 14:04:18 -07:00
RafaelMassoniSS 07431dd930 Add content/pt/docs/concepts/overview/working-with-objects/names.md (#17030) 2019-10-22 05:31:24 -07:00
Nguyen Hai Truong bf6414bff9 Init Vietnamese localization (#16965)
Init of the Vietnamese translation of the Kubernetes documentation / Website

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-10-21 23:39:22 -07:00
Misty Linville 38b9fd31a7 Remove mistyhacks@ from OWNERS_ALIASES (#16694)
New role in day job means my ability to participate will be limited.
2019-10-21 23:37:22 -07:00
Mitesh Jain bc2323cece Update broken links for API resources in federation.md (#17082) 2019-10-21 07:09:38 -07:00
Rémy Léone a3ac7ded92 Translate the localization page to French (#13431) 2019-10-21 02:43:37 -07:00
Mitesh Jain 4bc6196ac0 Update patch release manager to patch release team in JA version skey policy. (#17045) 2019-10-20 19:41:36 -07:00
Mitesh Jain cc090957a7 Update patch release manager to patch release team in version skew po… (#17008)
* Update patch release manager to patch release team in skew support policy.

* Adding link for additional patch-release information to version skew policy.
2019-10-20 06:09:36 -07:00
Ismail Alidzhikov 4e555c736f zh: Dated "Planned Improvements" section in Managing Compute Resources for Containers (#16968)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-19 23:31:38 -07:00
Ismail Alidzhikov 566aa18902 de: Removed uninitialized flag reference from kubectl cheetsheet (#16973)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-19 04:59:37 -07:00
Gede Wahyu Adi Pramana 14d0710b2e Translating Pod to ID Localization (#16979) 2019-10-19 04:13:37 -07:00
Ismail Alidzhikov 5d716ae6d9 ja: Fix fluentd image (#16963)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-18 01:33:58 -07:00
Ismail Alidzhikov 87e4846144 de: Replace deprecated kubectl run (#16971)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-18 00:35:58 -07:00
Nikolai Guyot 2f44e578aa Fix link to Kubernetes Object Management page (#16941) 2019-10-17 20:27:58 -07:00
James Peach 607874653a id: fix Contour ingress controller link (#16990)
Contour is now maintained by VMware and has a project site.

Signed-off-by: James Peach <jpeach@apache.org>
2019-10-17 20:15:57 -07:00
Yudi A Phanama 320acb7d89 Translate Pod Security Policy doc to Indonesian (#16699)
* Translate Pod Security Policy doc to Indonesian

* Apply reviews to Pod Security Policy translation
2019-10-17 20:13:57 -07:00
bnjf abb432a9d8 Update nodelocaldns.md (#16440)
DNSCahe -> DNSCache
2019-10-17 19:59:57 -07:00
Joshua Bezaleel Abednego 643c14ae7d Add translation for ReplicaSet in ID localization (#16722)
* Add translation for ReplicaSet in ID localization

* Add controllers/frontend.yaml, controllers/hpa-rs.yaml and pods/pod-rs.yaml to example folder
2019-10-17 19:49:58 -07:00
James Peach 78e40f5dd4 zh: fix Contour ingress controller link (#16991)
Contour is now maintained by VMware and has a project site.

Signed-off-by: James Peach <jpeach@apache.org>
2019-10-17 19:41:57 -07:00
Mitesh Jain e3aec37252 Change federation documentation link to v2 in ingress. (#17011) 2019-10-17 11:47:59 -07:00
Ismail Alidzhikov b6b6011931 ko: Fix fluentd image (#16962)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-16 20:58:39 -07:00
Luzhenxing 4abbbdd41b modify error spelling of kubectl (#16957) 2019-10-16 17:56:39 -07:00
aimeeu 3fdd28a96c Update UAA, Dex links in setup instructions for specific systems (#16945)
Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-10-16 16:46:39 -07:00
Ismail Alidzhikov 03cbde63e8 en: Fix fluentd image (#16959)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-16 16:24:39 -07:00
Ismail Alidzhikov b3739ecf7a zh: Fix fluentd image (#16961)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-16 11:51:30 -07:00
ipnextgen 8236e41ae5 Missing "des" just after "du cluster à" (#16978) 2019-10-16 09:05:41 -07:00
chenrui 3076ac13af Update PR template's base branch for zh-trans (#16952)
* Update PR template's base branch for zh-trans

* Add #kubernetes-docs-zh slack channel reference
2019-10-16 05:51:40 -07:00
Zach Corleissen 1fd11cde54 Remove stewart-yu as an approver/reviewer (#16750)
Set stewart-yu to emeritus approver

Newline comment
2019-10-15 13:40:09 -07:00
Bruno Padilha a8f9175940 Update portuguese documentation (#16710)
* Update portuguese documentation

* Fix portuguese README
2019-10-15 10:57:41 -07:00
Yixiang Wang 8d33985d8c Add Chinese translation for Endpoints Slices. (#16929)
Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn>

Add Chinese translation for Endpoints Slices.

Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn>

Add Chinese translation for Endpoints Slices.

Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn>
2019-10-15 02:55:53 -07:00
Yushiro FURUKAWA b05129acc3 Remove trailing spaces from zh documents(#16742) (#16794) 2019-10-15 02:23:51 -07:00
Yixiang Wang 0268ed0c18 Fix reference link. (#16888)
Signed-off-by: Yixiang2019 <wang.yixiang@zte.com.cn>
2019-10-14 21:37:52 -07:00
ZhongliangXiong b1342991d7 zh-trans:/zh/docs/concepts/overview/working-with-objects/object-manag… (#16912)
* zh-trans:/zh/docs/concepts/overview/working-with-objects/object-management.md

* Update content/zh/docs/concepts/overview/working-with-objects/object-management.md

Co-Authored-By: LiuDui <1693291525@qq.com>

* Update content/zh/docs/concepts/overview/working-with-objects/object-management.md

Co-Authored-By: LiuDui <1693291525@qq.com>
2019-10-14 19:53:51 -07:00
aimeeu b1bd43f9d7 Update how to use the update-imported-docs tool (#16777)
Update kubernetes-components.md with software versions.
Move content from README to kubernetes-components to avoid duplication.
Be listed in the `kubernetes/website/data/reference.yml` file

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-10-14 16:19:52 -07:00
Deep Debroy 18a466afd0 Update GMSA docs for beta in v1.16 (#16579)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-10-14 16:15:51 -07:00
aimeeu cf390493af Add best practices to Review docs pull requests (#16770)
Simply and reduce language in bullet points

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-10-14 16:13:50 -07:00
diguage 03456f1a72 update client-go to the latest version to keep in sync with client-go example (#16536) 2019-10-14 16:11:51 -07:00
Tim Bannister 900ea77f57 Reword glossary entry for ReplicaSet (#16886)
Explain what a ReplicaSet is, rather than what a ReplicationController
isn't.
2019-10-14 16:07:51 -07:00
Tim Bannister 6a954bb700 Replace sample IP address with documentation use address (#16867)
108.59.85.141 is a genuine IPv4 address; at the time of writing it's
assigned to Google LLC / Google Cloud Platform. Use a documentation IPv4
address instead.
2019-10-14 16:05:51 -07:00
Fawaz Mohammed 408224c6da Adding Hugepage as resource type (#16736)
* Adding Hugepage as resource type

* Adding Hugepage as resource type

Adding resource type hugepages- as a valid resource can be requested. Hugepage is GA as of version 1.16. more info can be found https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/

* Adding Hugepage as resource type

Adding resource type hugepages- as a valid resource can be requested. Hugepage is GA as of version 1.16. more info can be found https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/
2019-10-14 16:03:50 -07:00
David Eads 7d7e67d29f add information about finalizers (#16644) 2019-10-14 16:01:51 -07:00
Savitha Raghunathan 44565ca8cb Adding review changes from PR 15604 (#16237)
* adding review changes from PR 15604

* adding review changes

* adding review changes
2019-10-14 15:57:51 -07:00
Tim Bannister 1ab35587c9 Reword Notes & UIDs concept (#16202)
- Note that Kubernetes UIDs are UUIDs
- Don't mention container name in Name concept (it could mislead
  readers)
2019-10-14 15:55:50 -07:00
Ashish 1393c49bd5 Missing "Manifest" from glossary k8s.io/docs/reference/glossary/ #13546 (#16193)
Added manifest glossary term.
2019-10-14 15:51:51 -07:00
Yuk, Yongsu 406828e71f Edit link in document. (#16878) 2019-10-14 15:47:51 -07:00
Tanveer Alam 45c0769b54 Pods count should be part of object-count's spec. (#16859)
Pods count was added in compute-resources spec which should be in objects-count spec as we're passing count of pods in the definition.
2019-10-14 15:45:50 -07:00
shub-asa1 a6c0b0c698 fix for issue #16629 (#16853)
* fix for issue #16629

this is a fix for issue #16629 .

* Update content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-10-14 15:43:51 -07:00
shub-asa1 54d222f75c fix for issue #16851 (#16852)
updated the link
2019-10-14 15:41:50 -07:00
diguage 0acdd83541 fix url (#16846) 2019-10-14 15:39:51 -07:00
diguage 42247fdae1 modify the file name to increase the contrast (#16845) 2019-10-14 15:37:51 -07:00
vishakha 065efcb313 Completeing AzureDisk storage class parameters (#16841) 2019-10-14 15:35:51 -07:00
Ahmad Bani jamali 57047b2c2c a small fix in the delete all pods (#16824)
There was a typo in kubectl -n my-ns delete pod,svc --all
2019-10-14 15:33:51 -07:00
Mitesh Jain 8a1a9e9169 Update link for patch release manager in in skew support policy. (#16808) 2019-10-14 15:31:51 -07:00
Min Kim 81a2d02cef clarify that v1beta1 CRDs will have to opt-in pruning feature (#16807) 2019-10-14 15:29:51 -07:00
Daniel Laing a2edf8f934 Minor text edit (#16760)
Clarified the description of `kubectl edit`.
2019-10-14 15:27:51 -07:00
Zach Corleissen b83361d4c0 Remove stale OWNERS files in k/website (#16745) 2019-10-14 15:25:52 -07:00
Taylor Dolezal 43f4f546f1 Update Endpoint Slice text with feedback from SIG (#16670) 2019-10-14 15:23:51 -07:00
Suraj Banakar 7d7ec43842 Add info about logging into shell before removing /mnt/data (#16723)
* Add info about logging into shell before removing /mnt/data

details
----------
- rm -rf should be run after logging into the node shell

* Re-use text from start of the task with small tweaks
2019-10-14 15:21:51 -07:00
CRC b898211c22 Fix broken links in container pattern blog (#16040) 2019-10-14 15:09:50 -07:00
Peter Mikitsh 3964d24053 fix(cheatsheet): update context cmd description (#15935)
* fix(cheatsheet): update context cmd description

* chore: remove newline
2019-10-14 14:55:51 -07:00
simplytunde 0c540ca8e7 added daminisatya as en owner (#16804) 2019-10-14 10:44:05 -07:00
Yushiro FURUKAWA 55e09389b4 Remove trailing spaces from 'no' documents(#16742) (#16792) 2019-10-14 00:48:36 -07:00
vishakha 3ecd4bb8d4 Fixing links in markdown for logs and metrics (#16843) 2019-10-13 23:22:36 -07:00
diguage ae06e93e22 fix url to ReplicationController (#16847) 2019-10-13 01:58:36 -07:00
June Yi d50f2cdcc9 Second Korean l10n work for release-1.16 (#16784)
* Update file outdated korean docs in dev-1.16-ko.2. (#16614)
* Translate docs/templates/feature-state-*.txt in Korean (#16613)
* Translate pod-topology-spread-constraints in Korean (#16654)

Co-Authored-By: Seokho Son <shsongist@gmail.com>
Co-Authored-By: June Yi <june.yi@samsung.com>
2019-10-13 01:48:35 -07:00
Lubomir I. Ivanov 742880937b kubeadm: include a couple of workarounds in kubeadm-certs.md (#16726)
* kubeadm: include a couple of workarounds in kubeadm-certs.md

- add warning about --certificate-renewal=false bug.
- add warning about disable kubelet cert rotation on "init" nodes.

* Update content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-certs.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-10-12 02:26:38 -07:00
PingWang 36f4d27136 zh-trans:/docs/concepts/overview/working-with-objects/names.md (#16812)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update /docs/concepts/overview/working-with-objects/names.md

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update some description

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update type

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

add name and uid in /docs/reference/glossary/

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-10-12 02:24:38 -07:00
Marcus Franke 981eee1365 [fix] Fix typo (#16136)
Fix a minor spelling error "disem" -> "diesem"
2019-10-12 00:50:38 -07:00
Rajesh Deshpande abc1aef445 Fixing port related description (#16819)
* Fixing port related description

This tutorial has a step to use randomly generated port number but it was not mentioned that it can be different when the user tries this example. so to remove ambiguity, I have added a proper description. Please have a look at #16810

* Incorporating review comments

Incorporating review comments
2019-10-11 22:20:38 -07:00
PingWang 74397dd65f Add the -n for pod in kubectl command (#16798)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

Add instructions in kubectl command

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-10-11 18:28:39 -07:00
Roy Hvaara b9331f31e7 Fix wording (#16835) 2019-10-11 15:40:40 -07:00
Roy Hvaara 7439304a9f Fix spelling mistake (#16834) 2019-10-11 15:36:39 -07:00
Bynov 38bd4aab72 Fixed invalid bash keyword (#16831) 2019-10-11 15:28:38 -07:00
Abhishek Mane a909352ac6 feature added for issue #16771 (#16802)
* feature added for issue #16771

* Update intermediate.md
2019-10-11 15:10:04 -07:00
Jian Zeng 4368f099a7 Add empty lines & remove trailing space (#16796)
Let lists be rendered correctly
2019-10-11 15:04:05 -07:00
Karen Bradshaw 04476d0c3d fix spelling in contribute/start (#16767) 2019-10-11 14:54:04 -07:00
Dax McDonald bbe6cc3dea Update windows containers deployment (#16749)
There are two fixes in this change. First, the yaml is left justified in order to ease copying. Secondly, the selector field is added to the deployment.
2019-10-11 14:50:04 -07:00
Bob Killen 75bea0af64 Add CJ Cullen to blog post (#16815) 2019-10-11 12:56:04 -07:00
Rael Garcia c463c75ac9 Typo in San Diego city name (#16822) 2019-10-11 07:21:42 -07:00
__Attsun__ c12124394f Fix typo (「でき前に」=>「でき"る”前に」) (#16821) 2019-10-11 01:11:38 -07:00
Qiming a5b7d7a485 Adjust string translation for Chinese localization (#14173)
* Adjust string translation for Chinese localization

This PR also reorders the entries in the strings table.

* Update zh.toml
2019-10-10 20:51:39 -07:00
makocchi 5741adde1a Add RuntimeClass description (#16692) 2019-10-10 20:49:37 -07:00
PingWang 26458e416b Correct the aws's URL (#16733)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-10-10 19:35:37 -07:00
Paris 28ba3d6219 summit schedule (#16744) 2019-10-10 13:15:19 -07:00
babang 90f71be002 Fix typo and wordings for PR #16421 (#16761) 2019-10-10 07:45:46 -07:00
Yushiro FURUKAWA 2a120450eb Remove trailing spaces from FR documents(#16742) (#16788) 2019-10-10 02:02:53 -07:00
Philippe MARTIN 3b10c76ca7 Translate updates (#16568)
* Translate updates

* fixes
2019-10-10 02:00:53 -07:00
Manish Bansal d468afa016 Improved static pod task documentation (#16709)
Improved indentation

Apply suggestions from code review

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>

Removing bullets points

Same have been added inline as per suggestions

Removed trailing space
2019-10-10 01:24:54 -07:00
Yushiro FURUKAWA af66c0a274 Remove trailing spaces from ES documents(#16742) (#16785) 2019-10-09 23:52:52 -07:00
Yushiro FURUKAWA 520caa1264 Remove trailing spaces from ID documents(#16742) (#16789) 2019-10-09 21:48:52 -07:00
Yushiro FURUKAWA 99619d3414 Remove trailing spaces from DE documents(#16742) (#16786) 2019-10-09 21:32:52 -07:00
Duffie Cooley 331cc6fee0 Minor doc fix for syntax and typo (#16666)
* Minor doc fix for syntax and typo

Signed-off-by: Duffie Cooley <cooleyd@vmware.com>

* Feedback from sftim
2019-10-09 16:44:51 -07:00
Tim Bannister 6a4c73b112 Rename architecture section (#16286)
* Rename architecture section

"Kubernetes" goes without saying. This section is mainly talking about
cluster architecture, so make the title match that.

* Introduce “cluster” before Cluster Architecture section

Make sure the reader can learn what a cluster is before they read about
elements of cluster architecture.
2019-10-09 14:07:50 -07:00
Tim Bannister 06001c9f3d Add glossary entry for proxy (#16293) 2019-10-09 13:33:50 -07:00
Tim Bannister ae44abdd26 Tweak glossary entry for kube-apiserver (#16294)
* Retitle glossary entry for kube-apiserver

* Reword kube-apiserver glossary entry
2019-10-09 13:27:50 -07:00
diguage 2086e135f6 replace depercated commands with new commands (#16610) 2019-10-09 13:25:49 -07:00
Yushiro FURUKAWA e177e4e782 Add explanation for "CN" (#16714)
* Add explanation for "CN" (#16456)

* Grammar nit
2019-10-09 13:21:50 -07:00
ReSearchITEng 99fccb9bbe completion for an alias also (#16701)
* completion for an alias also

how to do bash completion for an alias also (e.g. when there is an alias k=kubectl)

* rephrasing
2019-10-09 13:19:50 -07:00
diguage 8a3036f519 fix ordered list (#16768) 2019-10-09 13:11:49 -07:00
Mike Danese 3cf419aac7 remove myself from some reviewers lists (#16753)
I haven't worked on this stuff for a while, and in an effort to be more
responsive to reviews, I'd like to cut the files I review in ~half.
2019-10-09 13:09:50 -07:00
PingWang d99bfecfa9 Correct the #sig-docs URL (#16763)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-10-09 06:09:51 -07:00
relyt0925 7927610e05 remove section saying static pods can't have health checks (#15956)
* remove section saying static pods can't have health checks

* fix nits
2019-10-09 06:03:51 -07:00
Yushiro FURUKAWA 37efc6092a Remove Stackpoint.io page (#15262) (#16739)
Since Stackpoint.io has been retired and nobody can refer, This commit
removes that page.
2019-10-09 01:23:49 -07:00
Jimmy Jones f835552f96 ExternalName warning about HTTP/TLS (#16704)
Suggested wording from sftim
2019-10-09 01:07:51 -07:00
Melony QIN 9cc26cfe15 update set image command in a simpler way (#15817)
* update set image command in a simpler way

update set image command in a simpler way

* fix indentation

* Update deployment.md
2019-10-08 22:01:49 -07:00
Sarah Brofeldt 97480b2fce PDBs are updateable since 1.15 (#16738) 2019-10-08 18:05:52 -07:00
Ashish Billore 591d23be86 Minor updates (#16737)
Minor updates to the description.
2019-10-08 18:01:51 -07:00
Xin Jin cd1d62ab0f Update kubernetes-objects.md (#16747)
Make `spec` one of the required items.
2019-10-08 17:57:51 -07:00
Jorge I. Gasca cfd0a2d709 Add annotation aws-load-balancer-security-groups (#16702) 2019-10-08 17:49:51 -07:00
Sascha Grunert b55f80f67f Update CRI-O version to 1.15 (#16720) 2019-10-08 17:01:52 -07:00
Lubomir I. Ivanov d5060a9173 kubeadm: update notes for joining with discovery file (#16557) 2019-10-08 16:33:52 -07:00
sudeepbatra 2f6c52dd47 Update access-cluster-api.md (#16461)
Cluster-API is different project, hence the correct text here should be Kubernetes API
2019-10-08 16:31:52 -07:00
houjun 633bda12a8 VolumeSubpathEnvExpansion feature gate is enabled by default from v1.15 (#16307)
* VolumeSubpathEnvExpansion feature gate is enabled by default from v1.15

* Feedback from sftim
2019-10-08 15:59:51 -07:00
Hardy e5863effe6 Add a example for union operator in the shell env (#16282)
In the current example, single quotes are used, but the union operator can  be confusing.
Incorrect:
`kubectl get pod -o=jsonpath='{.items[*]['metadata.name','spec.nodeName']}'`  
Correct:
`kubectl get pods -o=jsonpath="{.items[*]['metadata.name', 'status.capacity']}"`
2019-10-08 15:55:51 -07:00
mohamed chiheb ben jemaa 849dc428db Issue with k8s.io/docs/tasks/configure-pod-container/static-pod/ (#16189)
* delete depracted  option --pod-manifest-path

* change configuration file to manifests

* update to suggested wording
2019-10-08 15:51:51 -07:00
Yukun Sun 4c56c9e151 Update description about node Lease feature. (#16112) 2019-10-08 15:37:51 -07:00
Bob Furu d6cd338e74 Capitalize Pod, style guide edits (#16746)
Capitalize instances of Pod and other minor edits (for example, change instances of "we") to conform with https://kubernetes.io/docs/contribute/style/style-guide and for improved readability.
2019-10-08 14:51:51 -07:00
Abhik Chakraborty 369a85ee2f Removing Loadbalancer IP from the sample service file (#14642)
* Update service.md

* Update service.md
2019-10-08 14:47:52 -07:00
avigailof b7de561de3 Update Platform9 service offering links (#15895)
* Update Platform9 service offering links

* Use checkmarks for Custom categories
2019-10-08 14:41:51 -07:00
Jesse Glick 64f0075ed7 Clarifying that you cannot mix Windows and Linux containers in a single pod. (#15946) 2019-10-08 05:45:12 -07:00
Song Shukun 4e1ebaa7c8 Rephrase sentence in k8s.io/docs/reference/kubectl/conventions/ (#16732) 2019-10-07 20:45:11 -07:00
houjun 170161b10e Fix the status of feature podResource (#16560) 2019-10-07 20:43:10 -07:00
PingWang 46f596fd5b Fix typos (#16731)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

Fix typos in limit-range.md

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-10-07 20:25:11 -07:00
Tim Bannister 4b64338f15 Fix typo (#16728) 2019-10-07 20:23:11 -07:00
Philippe MARTIN 7b7082c0c4 Update container images translation (#16594) 2019-10-07 14:15:11 -07:00
Philippe MARTIN 69adf15e49 Update kubectl conventions translation (#16593)
* Update kubectl conventions translation

* fix
2019-10-07 14:13:10 -07:00
Max a1d84578fd German I18n Cloud Controller (#15727)
* i18n cloud controller

* check i18n

* fixed missing translation

* translated Developing
2019-10-07 12:17:10 -07:00
Alexander Sowitzki 359a30185f Add KubeOne and extend Kubermatic entries in production environment tools (#16620)
Signed-off-by: Alexander Sowitzki <dev@eqrx.net>
2019-10-07 08:35:12 -07:00
Qiming 4a903b6fdd Update CRD related feature gates (#16712)
According to the [upstream
code](https://github.com/kubernetes/kubernetes/blob/release-1.16/pkg/features/kube_features.go#L602-L606),
Most CRD related features have gone GA. This PR updates the feature
gate doc.
2019-10-07 06:09:08 -07:00
Jan 8c336d9e5f Fixed typo in German text (#16696)
Changed "sie" and "ihre" to "Sie" and "Ihre"
2019-10-07 01:09:09 -07:00
Manish Bansal 05231ff19d Documentation update (#16693)
* Documentation update

Fixed link and its description

* Corrected

* Incorporated review comment

* Incorporated review comment
2019-10-07 00:31:09 -07:00
Tony Compton fa6bb7f04f Added missing HPAScaleToZero feature gate (#16592)
I discovered this feature gate when trying to configure scale-to-zero but found that it wasn't included in the documentation.
2019-10-06 19:25:07 -07:00
Dimitri Mitropoulos 11f60c5c15 fix: incorrect path (#16609) 2019-10-06 19:09:08 -07:00
Oleg Butuzov 76015448e8 Blog related fixes (#16640)
* Fixes for broken links

+ these fixes mostly covers forgotten scheme (like https: or mailto:)
+ fix for markdown parsing, which trigger to generate broken html (see 2019-03-20 post)

* Added new lines so list wouldn't looks like a mess
2019-10-06 19:01:09 -07:00
Daan Seynaeve e6a6e422bd fix bug in work-queue implementation for 'Fine Parallel Processing Using a Work Queue' (#16625) 2019-10-06 18:59:08 -07:00
Grant Griffiths 232d99ef14 Update ExpandCSIVolumes feature gate docs for 1.16 (#16682)
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-10-06 04:39:09 -07:00
Marcin Niemira 16b067cba5 fix alignment in examples emptydir-pod.yaml (#16673) 2019-10-06 04:37:09 -07:00
Ismail Alidzhikov 5af784afc0 Remove kubectl stop (#16677)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-06 04:35:09 -07:00
Rob Scott dc355a0fad Adding clarification that Endpoints are still required when EndpointSlices are enabled (#16684) 2019-10-06 04:33:09 -07:00
James Peach cbef9c2bc3 Replace CRI-O incubator links. (#16698)
Update CRI-O links from Kubernetes incubator to the official CRI-O
homepage. Most links were already updated, but there were a few
stragglers in minikube documentation and old blog posts.
2019-10-06 03:29:10 -07:00
Ismail Alidzhikov bb69306aa1 zh: Remove kubectl stop (#16688)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-06 03:27:09 -07:00
Yudi A Phanama 182320f2b8 Translate Volume page to Indonesian (#16154)
* Translate Volume page to Indonesian

* Add reviewed doc to translated Indonesian Volume page
2019-10-06 03:17:09 -07:00
Chaitanya 920d14f4fc Accessibility Updates (#16633)
* Fixed accessibility issues in home page

Signed-off-by: ChaitanyaKaranam <karanam.krishna.25@gmail.com>

* Fixed accessibility issues for docs/home page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Fixed accessibility issues for /partners page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Fixed accessibility issues for /community page

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Update layouts/partials/header.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update layouts/partials/footer-scripts.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update layouts/index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/partners/_index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/community/_index.html

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Added missing quotes

* Added landmark roles for search bar and footer

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Changed images alt text

Changed alt text from 'kubernetes community' to 'Kubernetes Conference Gallery'

* Removed verb from iframe title

Signed-off-by: chaitanyakaranam <chaitanya.karanam@yahoo.com>

* Change alt text for GitHub image

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Few alt text changes

* Modified alt text
2019-10-05 22:23:09 -07:00
Andrew Sy Kim 4c10506de8 add k-vswitch to networking plugin docs (#16695)
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-10-05 20:55:10 -07:00
Steven Correa a3371164ab Formatting fixes (#16626) 2019-10-05 17:49:10 -07:00
Ismail Alidzhikov c51b1d65b7 fr: Remove kubectl stop (#16687)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-04 07:00:06 -07:00
Bob Killen c156ef8c3d Fix steering backlog link. (#16683) 2019-10-03 17:27:56 -07:00
mohamed chiheb ben jemaa f950461025 change apiVersion of deployment object (#16676) 2019-10-03 17:03:55 -07:00
Gonzalo de la Fuente 3b2a401bc5 Fix typo (#16349)
* Fix typo

* Fix typo

Co-Authored-By: Rael Garcia <rael@rael.io>
2019-10-03 15:31:57 -07:00
simplytunde 4ed236e9c0 updated pull request template (#16572)
* updated pull request template

* updated to 1.17
2019-10-03 13:29:55 -07:00
Enrique Medina Montenegro c1541a6f12 Spanish Translation (#14852) 2019-10-03 13:09:56 -07:00
Bob Killen 546b719b30 Add 2019 Steering Committee Election Results blog post. (#16679) 2019-10-03 10:16:10 -07:00
Mark McLoughlin 34f1a7779c Trivial fixes to topology manager docs (#16663)
* Add missing newline to topology manager docs

* Fix typo

Pointed out by Karen Bradshaw
2019-10-03 09:50:12 -07:00
Giri Kuncoro 4fbb809be7 Add Indonesian translation for volume snapshots (#16661) 2019-10-03 08:18:12 -07:00
Nate Taber 1e40a4417a Added AWS ALB Ingress Controller (#16301)
Added description and links for AWS ALB Ingress Controller
2019-10-03 01:52:09 -07:00
Roy Hvaara bd7dae1c87 Use HTTPS for links (#16668) 2019-10-02 23:14:08 -07:00
Roy Hvaara b1cc4d982b Fix broken link to Documentation style overview from Contribute page (#16667) 2019-10-02 13:58:08 -07:00
Jim Angel 0044acb69a reflecting k8s-sig migration (#16632) 2019-10-02 11:46:07 -07:00
Tim Bannister 9a7b191bcc Add concept page about Controllers (#15733)
* Add controller concept

* Fix controller glossary entries

* Link from Understanding Kubernetes Objects to Controllers
2019-10-02 10:06:08 -07:00
J M bf83aaf699 Fix typo in glossary with CRI (#16612)
Resolves issue: https://github.com/kubernetes/website/issues/16588
2019-10-01 10:49:35 -07:00
Dimitri Mitropoulos f331866db0 fix: removes dead link (#16599)
the link in question to here no longer contains a caveat for kubernetes 1.7.0 to 1.7.3
2019-10-01 10:47:34 -07:00
Dimitri Mitropoulos 1d52c31c86 typos: missing indefinite article and tense (#16598) 2019-10-01 10:45:34 -07:00
Dimitri Mitropoulos cdf91a970d fix: typo: extra whitespace indentation (#16611)
not matching the indentation level of all other mapping nodes
2019-10-01 10:41:39 -07:00
CloudYuga Technologies 7124c8dde4 Update overview.md (#16617) 2019-10-01 10:37:34 -07:00
Tim Bannister c7e90a82cd Formatting tweak (#16638)
Avoid marking process output as shell script
2019-10-01 10:33:35 -07:00
Oleg Butuzov 2d8a1f91f7 Fx adds forgotten slash at the the beginning of /ko url. (#16643)
* Fx adds forgotten slash at the the beginning of `/ko` url.

[page with issue](https://kubernetes.io/ko/docs/concepts/workloads/controllers/replicaset/)

* part of the url converted to lowercase
2019-10-01 08:17:35 -07:00
Oleg Butuzov 2a94c25330 Fixed link in /id/ localization to extending api page (#16642)
[Page with issues](https://kubernetes.io/id/docs/reference/glossary/?fundamental=true&workload=true&extension=true&networking=true&operation=true&security=true&storage=true&tool=true&user-type=true&core-object=true&community=true&architecture=true#term-platform-developer) -> click links in "platform developer"
2019-10-01 04:23:32 -07:00
Oleg Butuzov 49fc16e58f Broken links to english documentation that contain /en/ (#16641) 2019-10-01 04:07:32 -07:00
Tim Bannister a76055d0c1 Add glossary entry for disruption (#16292) 2019-09-30 14:49:32 -07:00
Gregor Krmelj c774c23893 Remove bold font-weight property from code snippets (#15067)
In Google Chrome this property is not taken into account, while in
Mozilla Firefox and Safari it is. The property makes the code
snippets difficult to read.
2019-09-30 14:03:31 -07:00
mohamed chiheb ben jemaa 9a37e53756 generate new api-docs (#16569) 2019-09-30 13:15:31 -07:00
aimeeu bd7308274e Update reference-docs repo (#16622)
reference-docs moved from kubernetes-incubator to kubernetes-sigs

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-30 12:42:46 -07:00
Naoki Oketani d223df1f69 added missing backquote (#16596) 2019-09-30 11:17:38 -07:00
Irvi Aini 2ec966509e Add translations for StorageClass in ID localization. (#15999)
* Add translations for StorageClass in ID localization.
Apply suggestions from code review
Fix missing translations.

* Fix broken formatting.
2019-09-30 08:05:40 -07:00
Johannes Scheuermann d0abaa9f0d Fix typo in de autoscaling (#16621) 2019-09-30 07:49:38 -07:00
babang db64ecd7fc Translate Extend Cluster to Indonesian (#16421)
* extend cluster translation

* translate

* translate

* translate

* translate

* translate

* translate

* translate

* replace Anda with kamu

* fix comment

* fix comment

* Update content/id/docs/concepts/extend-kubernetes/extend-cluster.md

Co-Authored-By: Yudi A Phanama <11147376+phanama@users.noreply.github.com>

* fix comment

* fix comment

* update translation

* fix comment

* fix comment

* fix comment

* fix comment

* fix comment

* fix comment

* fix comment
2019-09-29 04:15:38 -07:00
Afrizal Fikri 5d69b592b4 Adding Bahasa Indonesia translation for Managing Resources page (#16433)
* Initiate

* Continue translation raw

* Change some into english

* Change few typographies

* trigger build

* Apply suggestions from code review

Co-Authored-By: Irvi Aini <7439590+irvifa@users.noreply.github.com>
2019-09-29 03:59:37 -07:00
Irvi Aini a09479928a Adding entries to Pod /etc/hosts with HostAliases for ID localization. (#16009)
* Adding entries to Pod /etc/hosts with HostAliases for ID localization.

* Fix language consistency based on input.

* Fix broken build.
2019-09-29 03:39:37 -07:00
Ryan Zidago 38cac04b06 docs-fr | reference | glossary | extensions.md (#16431) 2019-09-29 03:31:37 -07:00
icheikhrouhou 3479b55dbc extended resources fr (#16357) 2019-09-29 03:23:37 -07:00
Ryan Zidago 9cd3dee153 docs-fr | reference | glossary | dynamic-volume-provisioning.md (#16142) 2019-09-29 03:17:37 -07:00
June Yi a36f83ed17 First Korean l10n work for release-1.16 (#16551)
* Modify #16415, #16417 korean docs. (#16467)
* Modify #16364 and links in korean docs. (#16508)
* Translate concepts/workloads/controllers/statefulset.md in Korean (#16443)
* Update outdated content in dev-1.16-ko.1 (#16502)
* Translate concepts/workloads/controllers/daemonset.md in Korean (#16477)
* Translate concepts/services-networking/dns-pod-service in Korean (#16299)

Co-Authored-By: June Yi <june.yi@samsung.com>
Co-Authored-By: Yoon <learder@gmail.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
Co-Authored-By: SoHye Choi <wergreat10@naver.com>
Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
2019-09-29 02:05:37 -07:00
Rémy Léone 9b5a1768bd Update README.md (#16552) 2019-09-28 12:37:38 -07:00
lys0716 31ab573a3b Fix the spec in kubernetes-using-python example (#16499)
Fix the spec in kubernetes-using-python example

Signed-off-by: Yishuang Lu <luystu@gmail.com>
2019-09-27 14:34:43 -07:00
Tomasz Jakubik 09ca7dd95e Fix link to script generating audit policy (#16570)
Script that generates audit policy file can change, so it's better to point user to file instead of specific line
2019-09-27 14:32:42 -07:00
David Benque b2ad42d1a4 Fix link to scale subresource (#16566)
add missing leading /
2019-09-27 14:30:43 -07:00
Pengcheng Chen 657c976468 Fix indent issue in cheatsheet.md (#16574) 2019-09-27 14:22:43 -07:00
manyatripathi 19ff9cf17d Update topology-manager.md (#16580) 2019-09-27 14:20:43 -07:00
Trey Tacon 9c39aff3e7 Correct minor typo Cronjob -> CronJob. (#16591) 2019-09-27 14:18:42 -07:00
Melony QIN 62b279afbb add kubectl run deploy pod into specific namespace (#15825)
* add kubectl run deploy pod into specific namespace

* add my namespace
2019-09-27 14:04:42 -07:00
Mesaque Silva 0d32568251 wrong path of kube-scheduler (#16051)
updating line 51 to correct the path for kube-scheduler
2019-09-27 13:53:36 -07:00
Tim Bannister 79ef4a50a9 Use more glossary shortcodes (#16086) 2019-09-27 13:43:36 -07:00
bells17 ef44fdc062 Fix Cloud Provider repository links: CloudStack & OpenStack (#16129) 2019-09-27 13:41:36 -07:00
Benjamin Fuller 8c0be10bfd Update docs to include example of tolerations in a pod (#16157)
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-27 13:33:35 -07:00
Ismail Alidzhikov 5f9fe16f28 Align cheatsheet comments (#16178)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-09-27 13:29:36 -07:00
Syed Awais Ali 61fd2ab61e update install command for Mac OS (#16177)
when copying/pasting the command to install the Kubernetes on Mac OS using zsh, the command results in the following error,
`The specified key does not exist.`. This is usually because of the `\` that zsh automatically inserts into the command. The best practice is to use double-quotes and this is also the standard method according to https://google.github.io/styleguide/shell.xml?showone=Quoting#Quoting
2019-09-27 13:27:36 -07:00
Artem V. Navrotskiy 168b7131f2 Update install-minikube.md (#16180) 2019-09-27 13:23:36 -07:00
Deepika Pandhi 7bb1acf3dd removed longer version to fetch labels for pods #14778 (#16268)
* updated OR comments

* removed older long version to fetch labels for pods to use only kubectl get pods --show-labels
2019-09-27 13:03:37 -07:00
mohamed chiheb ben jemaa 2975fd3137 delete outdated section (#16332) 2019-09-27 12:11:37 -07:00
Toni Tauro 764a485885 add /etc/sysconfig/kubelet info for CentOS/RHEL/Fedora Distributions (#16347) 2019-09-27 12:09:36 -07:00
Himanshu Pandey 9680192797 Added installation option for kubectl (#16380) 2019-09-27 12:05:37 -07:00
David Zisky a42d7b9b8b Added logo change for blog site (#16514)
* Added logo change for blog site

Currently on blog site logo is not being changed when a page is scrolled down and therefore disappears. This fixes it

* Update _base.sass

changed email for CLA
2019-09-27 11:43:36 -07:00
Robert Bailey c40ea2b050 Remove myself from OWNERS (#16528) 2019-09-27 11:39:36 -07:00
Rémy Léone f22b58af25 Translate CCM concepts to French (#14962) 2019-09-27 06:37:35 -07:00
成臣 Chengchen 324f05b68f Merge release1.14 into master (#16584)
* initial commit

* promote AWS-NLB Support from alpha to beta (#14451) (#16459) (#16484)

* 1. Sync release-1.15 into master
2. Sync with en version

* 1. Add the lost yaml file.

* Update he cluster administration folder of concepts
1. Sync with 1.14 branch
2. Sync with en version

* Add yaml files which are used

* 1. Sync the configuration folder from 1.14 version
2. Sync the configuration folder files with en version
3. Changed some files structure for easily review
4. Add glossary folder for fixup build error

* 1. Sync the storage folder from 1.14 version
2. Sync the storage folder files with 1.16 version en document
3. Changed some files structure for easily review

* 1. Sync the service-networking folder from 1.14 version
2. Sync the service-networking folder files with 1.16 version en document
3. Changed some files structure for easily review
4. Add the necessary documents
5. Add the runtime-class file
2019-09-27 03:27:36 -07:00
Philippe MARTIN 1e3596f7bc Update translation (#16585) 2019-09-27 03:11:36 -07:00
Ryan Zidago 9a2d3f46ba docs-fr | reference | glossary | init-container.md (#16493) 2019-09-27 03:03:36 -07:00
Rafael Fernández López 1524d24915 Fix flannel revision for 1.16+ (#16575)
This version of flannel manifests include `cniVersion` that is
required for it to work properly with Kubernetes 1.16+.
2019-09-26 13:00:35 -07:00
Lee Verberne fbc03c8ec6 Fix incorrect advice about creating a secret (#16004)
* Fix incorrect advice about creating a secret

The existing command does not use code style as required by the style
guide and it is incorrect as rendered. Also, there's an easier way to do
this.

* Add reviewer suggested improvement for secret escaping

Adding sftim's suggestion phrasing explanation of escaping shell special characters.

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Make secret escaping instructions consistent
2019-09-26 09:41:09 -07:00
Tim Bannister 6e07eee895 Revise DNS Horizontal Autoscaling task (#16069) 2019-09-26 07:47:10 -07:00
成臣 Chengchen 9b2cb7a276 Merge release1.14 into master (#16549)
* initial commit

* promote AWS-NLB Support from alpha to beta (#14451) (#16459) (#16484)

* 1. Sync release-1.15 into master
2. Sync with en version

* 1. Add the lost yaml file.

* Update he cluster administration folder of concepts
1. Sync with 1.14 branch
2. Sync with en version

* Add yaml files which are used

* 1. Sync the configuration folder from 1.14 version
2. Sync the configuration folder files with en version
3. Changed some files structure for easily review
4. Add glossary folder for fixup build error

* 1. Sync the storage folder from 1.14 version
2. Sync the storage folder files with 1.16 version en document
3. Changed some files structure for easily review
2019-09-26 06:45:09 -07:00
atoato88 7b96722a86 Update typo in "New issue" page on k/website issue (#16564)
There is a "Kubernetes Dashboard project" in "about" at ".github/ISSUE_TEMPLATE/support.md"
This commit changes "Kubernetes Dashboard project" with "Kubernetes Website project".
2019-09-26 06:33:09 -07:00
Philippe MARTIN b3b736df4e docs-fr | concepts | workloads | pods | pod-lifecycle.md (#15213)
* docs-fr | concepts | workloads | pods | pod-lifecycle.md

* Translation

* Fix typos
2019-09-26 02:29:07 -07:00
Sascha Grunert d4d55a7039 Add introduction of Alpha feature EvenPodsSpread (#16446)
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-09-25 19:35:06 -07:00
wgj e449999373 Updates url for creating a sample user (#16412) 2019-09-25 19:33:08 -07:00
Saed Alavinia 04bbe060ec Update taint-and-toleration.md (#16558)
Removing the confusing "any"
2019-09-25 19:31:06 -07:00
Andrej Marolt 313379c109 Change formatting of example-ingress.yaml (#16545) 2019-09-25 19:29:07 -07:00
Mans Matulewicz 84a1651d19 copy paste fix (#16548) 2019-09-25 19:27:07 -07:00
Pengcheng Chen 54af88fad2 Update the kubectl config command in cheatsheet.md (#16556)
`kubectl config view -o jsonpath='{.users[].name}' ` in the doc doesn't get the list of users as described in the comment actually.
To get the list of users, the json path should be `'{.users[].name}' `
2019-09-25 19:25:06 -07:00
diguage 3a2a59c3e3 clean up the environment (#16430) 2019-09-25 15:15:05 -07:00
Raghuram Devarakonda b948ea293d Explicitly mention alpha status of snapshot APIs. (#16525)
Also added a section about creating volumes from snapshots.
2019-09-25 11:07:41 -07:00
diguage 66cadd66b5 fix markdown syntax (#16452) 2019-09-25 10:46:02 -07:00
Michal Srb 351a306344 Validate namespace preference in current context with --minify option (#16448)
Signed-off-by: Michal Srb <michal@redhat.com>
2019-09-25 10:44:02 -07:00
aimeeu e2da611c77 Enhance Triage and categorize issues section (#16295)
Enhance to emphasize that triagers should add a priority to each
issue.
Add Learn about Prow section

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-25 08:54:01 -07:00
aimeeu d80ab90cdb Add references to Content guide alongside Style guide (#16101)
Add references to the Content guide where the Style guide was
mentioned.
Update the Contribute page (_index.md)
Make Style and Content linkable everywhere
Changed bullet list to numbered list in Content Guide to make referring
to sections easier.
Reverted change to bullet list - beyond scope of this PR

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-25 08:52:01 -07:00
成臣 Chengchen 648baf13ad Merge release1.14 into master (#16543)
* initial commit

* promote AWS-NLB Support from alpha to beta (#14451) (#16459) (#16484)

* 1. Sync release-1.15 into master
2. Sync with en version

* 1. Add the lost yaml file.

* Update he cluster administration folder of concepts
1. Sync with 1.14 branch
2. Sync with en version

* Add yaml files which are used

* 1. Sync the configuration folder from 1.14 version
2. Sync the configuration folder files with en version
3. Changed some files structure for easily review
4. Add glossary folder for fixup build error
2019-09-25 03:02:00 -07:00
mohamed chiheb ben jemaa 94efd836f8 repalce depracted run command by create (#16533) 2019-09-25 01:41:59 -07:00
savitharaghunathan c751f5cfcf replacing html table with markdown (#16540) 2019-09-24 17:59:58 -07:00
Fabrizio Pandini 450803fb92 add-kubeadm-upgrade-redirects (#16519) 2019-09-24 14:33:58 -07:00
Paris 23aa54302f san diego contributor summit blog (#16520) 2019-09-24 12:55:29 -07:00
Raghuram Devarakonda dc9f71bead Volume cloning doc should mention "bound" PVCs. (#16521) 2019-09-24 10:57:29 -07:00
widearea101 4d029700cf Update deployment.md (#16513) 2019-09-24 09:55:29 -07:00
Nikhita Raghunath d96cb03a79 Add known issue about informer-gen in release notes (#16523)
Issue: https://github.com/kubernetes/kubernetes/issues/82860
Fix in: https://github.com/kubernetes/kubernetes/pull/82410
2019-09-24 09:43:30 -07:00
Marian Steinbach cf1a4adc31 Fix type in URI (#16522) 2019-09-24 09:41:27 -07:00
Qiming 82d8113545 Fix site build (#16531)
The `*.profile` file referenced do not need to be provided in a separate
file. Making them separate files is preventing hugo from correctly
building the site.
2019-09-24 09:35:30 -07:00
conwaychriscosmo d7b4c74d0f updating full link to be more descriptive (#16526) 2019-09-24 09:33:27 -07:00
diguage 4b7a430999 fix upgrade url (#16517) 2019-09-24 05:37:27 -07:00
成臣 Chengchen 4aed0f11ae Merge release1.15 into master (#16535)
* initial commit

* promote AWS-NLB Support from alpha to beta (#14451) (#16459) (#16484)

* 1. Sync release-1.15 into master
2. Sync with en version

* 1. Add the lost yaml file.

* Update he cluster administration folder of concepts
1. Sync with 1.14 branch
2. Sync with en version

* Add yaml files which are used
2019-09-24 05:29:27 -07:00
Karen Bradshaw 444ef3486e add processing of kubectl cmd links (#16529)
- add processing of kubectl links in update-imported-docs.
- update component reference generation guide.
- For more information, see issue #16454.
2019-09-24 00:59:25 -07:00
diguage 5807a91689 keep content and file name to be consistent (#16532) 2019-09-24 00:49:26 -07:00
bells17 18ef591c79 Translate docs/tasks/administer-cluster/running-cloud-controller/ in … (#16284)
* Translate docs/tasks/administer-cluster/running-cloud-controller/ in Japanese

* Update content/ja/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Changed: リーダーエレクション -> リーダー選出

* Update content/ja/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>

* Update content/ja/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Naoki Oketani <okepy.naoki@gmail.com>
2019-09-24 00:25:27 -07:00
成臣 Chengchen b23e9ab024 Merge release1.15 into master (#16512)
* initial commit

* promote AWS-NLB Support from alpha to beta (#14451) (#16459) (#16484)

* 1. Sync release-1.15 into master
2. Sync with en version

* 1. Add the lost yaml file.
2019-09-23 23:55:27 -07:00
mohamed chiheb ben jemaa 513199d5af fix hyperlink on blogpost (#16424) 2019-09-23 00:21:23 -07:00
Ed Randall 94bb13a1a2 Added missing in-pod Python client info (#16453) (#16460)
Issue #16453: Added missing in-pod Python client information;
Fixed broken link to external Python client example
2019-09-22 20:35:22 -07:00
Josh Woodcock ff1a982e6b Add basepath to ingress (#16458)
Without this change `curl hello-world.info` will return a 404
2019-09-22 20:33:22 -07:00
Eric Briand 99c450f59c Change title to add Startup probe (#16475)
* Change title to add Startup probe

* renamed task file to reflect title change

* changed intro sentence to add startup probe
2019-09-22 20:27:22 -07:00
Tim Schaller bb21787b7d Removing broken link (#16470)
The wiki page referenced has been removed. Removing the like here will stop some beginner confusion (take it from me I am a beginner).
2019-09-22 20:25:22 -07:00
Deepika Pandhi 3eb7612e88 Removed uninitialized flag reference from kubectl cheetsheet (#16485) 2019-09-22 20:21:22 -07:00
John Howard e14782f703 Fix ApiVersion on EndpointSlice example (#16486) 2019-09-22 20:19:22 -07:00
bjpaul 702d05e9fe resolving merge conflict (#16497) 2019-09-21 17:19:23 -07:00
Seth edc837bc3c blog post typo (#16465) 2019-09-20 11:31:25 -07:00
M00nF1sh 20a4616283 promote AWS-NLB Support from alpha to beta (#14451) (#16459) 2019-09-20 11:29:27 -07:00
Alena Varkockova 3534a19a55 Fix links for kubectl commands (#16450)
* Fix links for kubectl commands

* Fix remaining links
2019-09-20 11:27:26 -07:00
Tim Bannister 1041ae389f Fix typo (#16447) 2019-09-20 11:25:26 -07:00
Song Shukun 7185f00801 Update url for flannel (#16442) 2019-09-20 11:23:26 -07:00
mohamed chiheb ben jemaa d7dd8ef929 add statefulset to the list of object types hpa supports (#16425) 2019-09-20 11:21:25 -07:00
Duffie Cooley ef87d9c2f6 Update Kubernetes 1.16 Release Blog (#16435) (#16444)
Signed-off-by: Duffie Cooley <cooleyd@vmware.com>
2019-09-19 12:07:01 -07:00
成臣 Chengchen f6a867d96e Fixup reference folder lost _index file problem. (#16407)
But some files are so old that need be deleted.
Be confirming with chinese work team.
2019-09-19 06:07:01 -07:00
simplytunde 9da5cd4c86 add 1.16 release notes (#16436)
* added 1.16 release notes

* added header
2019-09-18 16:59:00 -07:00
Taylor Dolezal 5dc2b2a3f2 Add Kubernetes 1.16 Release Blog (#16435) 2019-09-18 16:43:00 -07:00
simplytunde edd2dd0dc2 Merge pull request #15337 from kubernetes/dev-1.16
Official 1.16 Release Docs
2019-09-18 18:07:41 -05:00
simplytunde b2bc619206 Merge pull request #16419 from simplytunde/merged-master-dev-1.16
Merged master into dev 1.16 before release
2019-09-18 08:06:52 -05:00
simplytunde e95ffa68fd Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-17 22:15:57 -05:00
Jordan Liggitt 67c20b3d37 Clarify deprecated API versions and releases (#16403) 2019-09-17 09:30:24 -07:00
Karen Bradshaw 234ff08588 update generated comp. files, 1.16 (#16339)
* update generated comp. files, 1.16

* update flags

* Update kubelet.md

* table updates
2019-09-17 09:16:25 -07:00
Qiming faae88f478 Tune feature-gates table (#16389)
This PR separates the graduated/deprecated feature gates into a separate
table. When updating the table contents by browsing the source code, we
also found some missing items which are added in this PR as well.
2019-09-17 05:30:23 -07:00
Geunho Kim 48d73a6443 Fix links to locate Korean docs (#16277)
* Fix links to locate Korean docs

* Fix typo
2019-09-16 18:36:23 -07:00
David Eads 6bbcfdaf4b add latency requirements to aggregated apiserver discovery (#16372)
* add latency requirements to aggregated apiserver discovery

* update feature gates with EnableAggregatedDiscoveryTimeout
2019-09-16 07:34:39 -07:00
Mark Janssen 9cdaf4ead1 Add instructions for switching to iptables-legacy (#16271) 2019-09-16 04:40:38 -07:00
Julie K e3a04f3029 docs-fr | docs | reference | glossary | container-lifecycle-hooks (#16148) 2019-09-16 01:50:38 -07:00
Julie K b1b1d11f9d docs-fr | reference | glossary | customresourcedefinition (#16052)
* docs-fr | reference | glossary | customresourcedefinition

* docs-fr | reference | glossary | customresourcedefinition [update]
2019-09-16 01:48:37 -07:00
icheikhrouhou 4395684e07 docs | tasks | configure-pod-container | assign cpu (#15065)
* tasks cpu resource

* paraphrasing
2019-09-16 01:46:37 -07:00
icheikhrouhou 17e360c389 translate tasks pod storage (#16358) 2019-09-16 00:58:37 -07:00
simplytunde 119c475bf7 Updated 1.16 config.toml (#16317) 2019-09-15 11:58:36 -07:00
simplytunde 678fe3bdf7 generated kubectl ref doc for 1.16 (#16331) 2019-09-15 11:22:38 -07:00
simplytunde 13a77dcbc4 generated api reference doc for 1.16 (#16330) 2019-09-15 11:20:38 -07:00
Jingyi Hu a7d6c57fee Update announcing-etcd-3.4.md (#16205)
Remove mentioning of using concurrent read in compaction. The original PR https://github.com/etcd-io/etcd/pull/11021 was superseded by https://github.com/etcd-io/etcd/pull/11034, which no long uses concurrent read in compaction.
2019-09-13 12:58:28 -07:00
Cheng Pan c999393bf8 Update window storage driver list with EBS (#16300) 2019-09-12 23:20:33 -07:00
k1eran de90bd100c Update kubeadm-init-phase.md (#16335)
typo
2019-09-12 10:16:28 -07:00
mohamed chiheb ben jemaa e54743410d ssue with k8s.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ (#16285)
* change livenessprobe restart concept to container

* Update content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-12 10:14:29 -07:00
widearea101 2df5c5c68b Update deployment.md (#16280) 2019-09-12 10:10:28 -07:00
houjun d8adaa4d35 Fix error links (#16278) 2019-09-12 10:08:28 -07:00
Josh Gavant dc87550f49 correct link to storage provisioner lib repo (#16269) 2019-09-12 10:06:29 -07:00
houjun 9baad86759 Add StorageObjectInUseProtection to the default enabled admission plugins (#16261) 2019-09-12 10:04:28 -07:00
Adam Wolfe Gordon 2ded739ec1 Update DaemonSet deletion documentation (#16235)
* Update DaemonSet deletion documentation

The "Updating a DaemonSet" section referred to pre-1.6 behavior, where
rolling updates of DaemonSets were not supported and thus orphaned pods
from deleted DaemonSets would not be replaced by a new DaemonSet.

Describe the new behavior, where orphaned pods can be adopted by a new
DaemonSet and may be replaced depending on the update strategy in use.

* Tweak language around Pod replacement after DaemonSet deletion

* Update note about DaemonSet rolling updates

No need to call out the version in which rolling updates for DaemonSets
were introduced given how long they've been supported.
2019-09-12 10:02:28 -07:00
Maru Newby f7a969fd7b Fix title of audit task (#16230)
* Fix title of audit task

The content the title refers to indicates an intent of describing how
to configure auditing for multiple apiservers rather than multiple
clusters.

* Update content/en/docs/tasks/debug-application-cluster/audit.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-12 10:00:30 -07:00
Gyuho Lee 90899f2bca content/en/docs: highlight known etcd client issue (#16156)
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-12 09:58:29 -07:00
Omer Levi Hevroni 9e9eb252ac Fixed CRD schema - missing root type (#15725) 2019-09-12 09:46:27 -07:00
Praveen Sastry b2d803d71e Rename Flexvolume to FlexVolume in docs (#16333) 2019-09-12 09:42:27 -07:00
joshmsamuels 809a957294 Updated docs to document the api change which prevents managed fields during a server-side apply (#16320) 2019-09-12 09:22:28 -07:00
simplytunde 0c960735a3 updated api reference and index (#16329) 2019-09-12 09:16:28 -07:00
Kubernetes Prow Robot 72068890d3 Merge pull request #16225 from simplytunde/merged-master-dev-1.16
Merged master into dev-1.16
2019-09-12 08:58:27 -07:00
Tunde Oladipupo 7728c1476a Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-12 01:45:58 -06:00
savitharaghunathan 8f2d392fb5 Updating style.md and write-new-topic.md with markdowns (#16190) 2019-09-11 18:08:38 -07:00
marchellametta 511e7ab541 Translate Assign Pod Node to Bahasa Indonesia (#16168)
* ID translation for assign-pod-node

* fix typo

* add pods/pod-nginx.yaml example file

* add pods/pod-with-node-affinity.yaml example file

* add pods/pod-with-pod-affinity.yaml example file

* Apply suggestions from code review

Co-Authored-By: Irvi Aini <7439590+irvifa@users.noreply.github.com>

* tidy up words following code review suggestion
2019-09-11 05:45:23 -07:00
Antoine Pelisse da51842bbb Fix list in SSA docs (#16272)
* Fix list

* Translate french word to english
2019-09-11 03:35:25 -07:00
marocchino 2e59e20850 Fix typo (#16298) 2019-09-11 01:41:24 -07:00
Qiming bb03bc04d1 Revert "Update abac.md (#13067)" (#16302)
This reverts commit 0ceb362beb.
2019-09-11 13:56:45 +08:00
Andrew Hlynskyi 6533b7f028 Fixes bootstrap js ref to 4.3.1 for API v1.15 (#16263)
A fix for the v1.15 API version was missed in the #14775 PR
because the dev-1.15 branch was forked from the master branch
before the fix and has been merged back to the master after it.
2019-09-10 12:46:55 -07:00
June Yi b76689388b Add a helper script for localization (#15789)
* Add a helper script for localization

The script generates a report of outdated contents in
`content/<l10n-lang>` directory by comparing two l10n
team milestone branches.

* Add description for scripts/diff_l10n_branches.py
2019-09-09 22:22:53 -07:00
Naoki Oketani 9535c7eb3b Update links to /ja/docs/ in /ja/docs/tasks/ if ja page exists (#16255) 2019-09-09 22:02:54 -07:00
aimeeu d549942636 Add announcement shortcode and partial (#16210)
Add shortcode, partial, and css so we can display an accouncement
site-wide.
Create a shortcode for use in content/en/ _index.html so
announcement is displayed on website landing page.
Create a partial for use in layouts/docs/baseof.html so
announcement is displaye on every page in '<url>/docs/home'
directory.
Add two values to config.toml: announcement (boolean) for toggling
display of announcement; announcement_message, which is the actual
message.

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-09-09 14:22:55 -07:00
Rob Scott 28a61b15f4 Removing some tiny redundant parts of the EndpointSlice documentation (#16267) 2019-09-09 11:38:54 -07:00
Tim Bannister 876802d59a Drop old information about StatefulSet stability (#16060)
(at time of commit, v1.11 was the oldest version supported)
2019-09-09 10:44:53 -07:00
Rob Scott 0f59654cbd Adding initial EndpointSlice documentation (#16018) 2019-09-09 10:21:18 -07:00
Haowei Cai (Roy) a7e11c24ae add admission webhook best practices and warnings (#15876) 2019-09-09 10:19:20 -07:00
Antoine Pelisse ae73bf69b9 ServerSide Apply Documentation (#15948)
* Server-side Apply is now beta

* Refactored sections, same content

* Clarify some of the documentation
2019-09-09 08:37:20 -07:00
Lachlan Evenson 610f706675 IPv4/IPv6 dual stack docs (#16010)
* initial commit for IPv4/IPv6 dual stack docs

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Remove warning, Add What's next section

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add Service section
Add Provising a dual stack Kubernetes cluster section
Add Ecosystem tooling section
Update prerequisites
Update flags
Update supported features
Move validation to task
Add Service validation

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Remove ecosystem tooling
Remove provisioning tools
Add backtics to ipFamily values
Update loadbalancer section

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Fix feature gate link typo

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update to dual-stack
Add default use-case to Service validation
Add note to default Service behaviour
Add default Service example
Update egress routing description

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update api-server to the API server
Fix small typo based on feedback

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add for_k8s_version feature state

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update service IP address verbiage to be more concise

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Move to tasks/network

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Move dual-stack under services-networking

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Remove dual-stack from glossary
Add codenew blocks
Split command from output
Renamed pod name
Created subheading to validate node and pod addressing

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Verbiage update based on review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-09 08:27:19 -07:00
Patrick Ohly 5b2906cfd9 storage: CSI inline volumes in beta (#15705)
* storage: CSI inline volumes in beta

* storage: remove historic information for CSI inline volumes

As pointed out during review, this information is better captured in
the feature gates reference page.
2019-09-09 07:55:20 -07:00
simplytunde 68aad9888a Merge branch 'merged-master-dev-1.16' of github.com:simplytunde/website into merged-master-dev-1.16 2019-09-09 07:48:14 -05:00
simplytunde 038d8f6fed Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-09 07:48:07 -05:00
simplytunde 1387d8501e Merge branch 'dev-1.16' into merged-master-dev-1.16 2019-09-09 07:43:45 -05:00
Louise Daly f83de3f601 Added documentation to support Topology Manager feature in Kubelet. (#15716)
* Added documentation to support Topology Manager feature in Kubelet.

	* Added new document outlining feature
	* Updated feature-gates.md to include feature gate for feature
	* Update kubelet.md to include kubelet flags for feature
	* Added Topology Manager reference to relevant pages

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update Topology Manager Policies section
2019-09-09 05:39:18 -07:00
Vedran Lerenc 7382e352df Update Gardener info (#16031)
- Gardener is a fully managed service, including day-1 and day-2 operations
- Gardener supports OpenStack (and Packet Cloud), which is often the foundation for on-premise installations

See e.g. adopters like https://bnerd.com which are offering a Gardener-based fully managed Kubernetes service in their own OpenStack DCs. More information at https://github.com/gardener/gardener/blob/master/ADOPTERS.md.
2019-09-09 01:31:20 -07:00
icheikhrouhou aed1e52a79 docs | tasks | configure-pod-container | Quality of Service (#15193)
* quality of service

* fix docs /fr
2019-09-09 01:27:18 -07:00
Jeff Wenzbauer ce3e326e14 Fixed typo (#16248) 2019-09-08 21:53:17 -07:00
Joe Betz d29e8ebcf4 Add comprehensive CRD versioning flow to documentation (#16026)
* Add comprehensive CRD versioning flow to documentation

* Break down CRD versioning upgrade processes into steps, apply review feedback

* Reference doc section about custom resource storage migration in workflow documentation

* Add step to find any clients still on old version during CRD version migration

* Fix indentation in list in conversion end-to-end flow doc

* Fix spacing before lists in docs about conversion webhooks

* Fix two typos
2019-09-08 21:09:17 -07:00
Lee Verberne bc113745fa Document ephemeral containers feature for 1.16 (#15994)
Also, I've snuck in a trivial update for the ShareProcessNamespace
feature gate, adding an "Until" version which had been omitted.

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-08 18:53:16 -07:00
Eric Ernst b6aa6b07fa pod-overhead: add documentation (#15970)
Create a concepts page, link to it from scheduler concept page,
update feature gates reference and describe briefly in the
runtime-class page.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-09-08 18:01:18 -07:00
Haowei Cai (Roy) 7559533774 add monitoring webhook documentation (#16238) 2019-09-08 06:25:17 -07:00
David Schott b99438cd28 kubeadm deployment instructions for Windows (#15750)
* added step on pulling down sig-windows-tools to windows guide.

* First draft of KubeCluster.ps1 Windows setup instructions

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/setup/production-environment/windows/user-guide-windows-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* added pre-reqs for overlay and moved troubleshooting section

* cosmetic changes and updated kubecluster.ps1 .gifs

* updated deployment steps and networking fix-ups in the Windows user guide
2019-09-08 06:11:17 -07:00
Deep Debroy 7c513d3c95 Update Persisent Volumes doc for Windows (#16017)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-09-07 15:51:17 -07:00
Wei Huang 015fe705f0 Documenting how to use EvenPodsSpread feature (#15514)
* Documenting how to use EvenPodsSpread feature

* address comments

* address comments

* address sftim's comments

* move to folder workloads/pods

* address comments

* move yamls to examples folder and reference back in the document

* Link from scheduling to topology spread constraints
2019-09-07 10:47:18 -07:00
Kazuma Okada f12b8bc791 Update links (#16232)
Add `/ja` if pages exist
2019-09-06 21:17:18 -07:00
Deep Debroy 38eb2f7c38 Update GMSA credspec specification to refer to pod spec fields instead of annotations (#15706)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-09-06 18:21:20 -07:00
sudeshsh 392bfd2a82 Details for resource bin packing (#15990) 2019-09-06 16:27:20 -07:00
Lubomir I. Ivanov bd9a46b1b9 kubeadm: update reference documentation for 1.16 (#16014) 2019-09-06 15:35:19 -07:00
John Griffith 420afb2d9f Update cloning docs to reflect beta for 1.16 (#16013)
Updates the feature status for VolumePVCDataSource to 1.16/beta in the
docs.
2019-09-06 15:15:20 -07:00
Matthias Bertschy 762bd879ac Add docs related to KEP #950 (startupProbe) (#15714) 2019-09-06 13:37:20 -07:00
Lubomir I. Ivanov 520381ff66 kubeadm: update the upgrade documentation for 1.16 (#16015)
Move to a single document for upgrades!
2019-09-06 11:02:15 -07:00
Jordan Liggitt b342fbc091 admission webhooks v1 docs (#15985) 2019-09-06 09:28:58 -07:00
Dr. Stefan Schimanski 99482ef7c4 CRDs: promote to v1 (#15982) 2019-09-06 07:33:00 -07:00
Seokho Son c5261d3d6b Fifth Korean l10n work for release-1.15 (#16231)
* Translate `concepts/scheduling/_index.md` to Korean (#16072)
* Translate concepts/workloads/controllers/replicaset.md in Korean (#16070)
* Update outdated content in dev-1.15-ko.5 (#16162)
* Translate using-api/client-libraries into korean (#16182)
* ko: translate concepts/cluster-administration/proxies (#16030)
* Translate concepts/workloads/controllers/deployment.md in Korean (#16113)

Co-Authored-By: Seokho Son <shsongist@gmail.com>
Co-Authored-By: Eden <longlg88@naver.com>
Co-Authored-By: Yoon <learder@gmail.com>
Co-Authored-By: Sunghoon Kang <me@devholic.io>
Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
Co-Authored-By: June Yi <gochist@gmail.com>
2019-09-05 19:58:57 -07:00
Hemant Kumar 868c15c091 add docs for csi expansion going beta (#16043) 2019-09-05 09:49:09 -07:00
Zihong Zheng 90e86600df Update service load balancer finalizer doc for beta (#16020) 2019-09-05 09:47:09 -07:00
Lubomir I. Ivanov 06fc088703 kubeadm: update setup docs for 1.16 (#16016)
- minor fix for control-plane-flags
- cleanup tables from "kubeadm maturity" in create-cluster
- update install guide for container linux guide in install-kubeadm
- minor fixes in self-hosting
2019-09-05 09:29:09 -07:00
Jordan Liggitt 19a4832dff Add examples for webhook client auth (#16204) 2019-09-05 09:13:08 -07:00
Tim Allclair (St. Clair) 21ee964e3e Add RuntimeClass scheduling docs (#15989) 2019-09-05 07:57:09 -07:00
RA489 772ecf9fe4 remove extra space character between the end of the "Applications" definition and the expanding indicator. (#16226) 2019-09-05 06:13:08 -07:00
simplytunde b440eed496 Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-05 03:12:16 -05:00
Kaitlyn Barnard 9962db5ac3 Swap out link for Kubernetes blog submission form (#16089) 2019-09-04 20:16:51 -07:00
John Reese 1fff9af65d Update FlexVolume casing (#15968) 2019-09-04 20:14:51 -07:00
Jay Pipes 4e38b72ee8 Rework glossary definition of Workloads (#15987)
This patch turns the glossary entry for "workloads" into "workload" in
order to be consistent with other terms in the glossary. In addition,
the definition is modified to match what the overlay tip for the
"Workload" tag at the top of the glossary page says, which is
"Applications running on Kubernetes".

A workload is *not* a core object itself. Rather, it is a general
concept. Various other core objects describe different types of
workloads, and the glossary definition is appropriately modified to make
that clear.

Fixes Issue #14107
2019-09-04 20:12:51 -07:00
inductor 60746a7153 update example nginx to 1.17 (#16045) 2019-09-04 20:10:51 -07:00
Jay Pipes c1cf090946 Correct improper use of "comprised" (#16132)
Corrects an improper use of "is comprised of".

Fixes Issue #16123
2019-09-04 20:08:51 -07:00
Matt Dorn e05483d771 Make CRD w/ webhook conversion strategy example usable (#16105)
- Sample CRD will not work due to apiextensions.k8s.io/v1beta1 setting preserveUnknownFields to true by default. Set to `false`.
- Provide required `type: object` at `openAPIV3Schema` root for both versions to avoid `schema.openAPIV3Schema.type: Required value: must not be empty at the root` error.
2019-09-04 20:06:51 -07:00
Clayton Coleman f8439cbe69 Document node-role replacement labels (#16125)
Provide documentation for the new alpha labels.

https://github.com/kubernetes/enhancements/issues/1143
2019-09-04 20:04:52 -07:00
Sebastian Florek e882afd3d0 Update Dashboard version (#16137)
*IMPORTANT*
It fixes lately discovered XSS vulnerability.
2019-09-04 20:02:51 -07:00
Ismail Alidzhikov fc5b4f434d Add OpenStack vendor implementation link (#16179)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-09-04 20:00:51 -07:00
Draven dd458b4ce9 feat: remove the statement of deprecating node selector (#16217) 2019-09-04 19:56:51 -07:00
Naoki Oketani 8e919aa2c2 correct field name; lower camel case (#16206) 2019-09-04 07:40:59 -07:00
Tim Bannister ebb0549f1c Revert VolumeSnapshot CRD to v1alpha1 (#16207)
This reverts commit 84b66ffe30.
2019-09-03 13:52:58 -07:00
Xing Yang 84b66ffe30 Change to VolumeSnapshot CRD v1beta1 (#15942) 2019-09-03 13:28:58 -07:00
savitharaghunathan dc5179c1c3 Adding allowVolumeEXpansion feature to storage-classes.md file (#15604) 2019-09-03 07:16:29 -07:00
Rémy Léone 10d764adb5 Translate the participating page to French (#13430) 2019-09-03 05:50:28 -07:00
Pierre-Yves Aillet 30959c333e fix typo (#16191) 2019-09-03 01:38:28 -07:00
Carlos Sanchez 4d58e7284a Fix broken link anchor (#16197) 2019-09-03 01:36:29 -07:00
Gede Wahyu Adi Pramana 9e3e30bb79 Translate Pod Lifecycle to Bahasa Indonesia (#16165)
* translation to bahasa indonesia

* Apply suggestions from code review

Co-Authored-By: Irvi Aini <7439590+irvifa@users.noreply.github.com>

* tidy up some words

* Apply suggestions from code review

Co-Authored-By: Irvi Aini <7439590+irvifa@users.noreply.github.com>
2019-09-03 01:02:29 -07:00
Danni Setiawan 6111ca7afa Add translation for Logging in ID localization (#16071)
* Add id translation for logging

* Fix templating issue

* Fix templating issue

* Fix templating issue

* Add files example for SIG ID logging docs

* Fix id-cluster-logging
2019-09-02 19:34:27 -07:00
Takuya Tokuda a005a107ad Second Japanese l10n work for release-1.14 (#16171)
* Translate docs/tasks/tools/install-minikube/ in Japanese (#16025)

* Translated #13379

I signed it

* update docs/tasks/tools/install-minikube

* Update docs/tasks/tools/install-minikube

* Issue #13377 Translate /docs/concepts/workloads/pods/pod-lifecycle/ i… (#15921)

* Issue #13377 Translate /docs/concepts/workloads/pods/pod-lifecycle/ in Japanese

* fix spaces

* fix eol

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/concepts/workloads/pods/pod-lifecycle.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* remove spaces

* fix what's next capture

* fix more spaces

* fix service

* remove space

* fix sentences

* fix sentence

* fix

* fix headings to japanese

* s/Container/コンテナ/
2019-09-01 03:07:42 -07:00
Javi Sabalete fb43f74130 Add content/es/docs/concepts/containers/container-lifecycle-hooks.md (#14588) 2019-08-31 04:23:47 -07:00
Javi Sabalete 348027d1ed Add content/es/docs/reference/glossary/kube-proxy.md (#14557) 2019-08-31 04:03:47 -07:00
David Schneider 6583710fe9 Add link references which were removed with #16011 (#16140)
* Add link references which were removed with #16011

Signed-off-by: David Schneider <schneider@puzzle.ch>

* Move link references into correct capture block
2019-08-30 14:26:04 -07:00
Gyuho Lee 2418bdba0c posts: add "Announcing etcd 3.4" for August 30, 2019 (#16029)
* posts: add "Announcing etcd 3.4" for August 30, 2019

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>

* Update 2019-08-30-announcing-etcd-3.4.md
2019-08-30 10:17:56 -07:00
Tim Bannister 6fbe7d0f3c Fix hyperlink to "kubectl drain" (#16061) 2019-08-30 09:55:54 -07:00
Nacho 63c997c10f Add content/es/docs/reference/glossary/persistent-volume-claim.md (#14370)
* Add content/es/docs/reference/glossary/persistent-volume-claim.md

* Change content as suggested by raelga

* Update content/es/docs/reference/glossary/persistent-volume-claim.md

Co-Authored-By: Gonzalo de la Peña <glo.pena@gmail.com>

* Update persistent-volume-claim.md
2019-08-30 07:59:56 -07:00
aimbot31 e9d35f21b7 docs-fr | community | _index.html (#15978) 2019-08-29 00:31:56 -07:00
Kubernetes Prow Robot a8a811479c Merge pull request #16039 from simplytunde/merged-master-dev-1.16
Merged master into dev-1.16
2019-08-28 01:15:14 -07:00
Takuya Tokuda abde921399 First Japanese l10n work for release-1.14 (#16115)
* Translate concepts/workloads/pods/pod/ in Japanese (#13671)

* [ja] Copy en/docs/concepts/workloads/pods/pod.md into ja/

* [ja] Translate docs/concepts/workloads/pods/pod/

* [ja] Modify translation of docs/concepts/workloads/pods/pod/

Reflect review - add trailing 'ー' to some technical terms

* [ja] Fix translation of 'Persistent Volumes' (#13848)

s/永続化ボリューム/永続ボリューム/g

* Translated cron-jobs.md in Japanese (#13937)

* Translate cron-jobs.md in Japanese (#13392)

* Update cron-jobs.md

* Create automated-tasks-with-cron-jobs.md in Japanese directory

* Fix translation (#13392)

* Translate cron-jobs.md in Japanese (#13392)

* Update cron-jobs.md

* Create automated-tasks-with-cron-jobs.md in Japanese directory

* Revert "Create automated-tasks-with-cron-jobs.md in Japanese directory"

This reverts commit 739b01489634d749279c38b6ed5b90534bf7d29d.

* Revert "Create automated-tasks-with-cron-jobs.md in Japanese directory"

This reverts commit 739b01489634d749279c38b6ed5b90534bf7d29d.

* Fix conflict (#13392)

* Revert "Revert "Create automated-tasks-with-cron-jobs.md in Japanese directory""

This reverts commit c5fc9d93d6d789a13a0a28ec4b85f9e7aeb81e38.

* Revert "Revert "Revert "Create automated-tasks-with-cron-jobs.md in Japanese directory"""

This reverts commit 095e760c6deb620da548d06a851c8f7ade71a15d.

* Fix that as it was pointed out (#13392)

* Delete double same sesntence (#13392)

* copy includes directory (#14020)

* Translate docs/home/_index.md into Japanese (#14068) (#14074)

* Translate concepts/overview/components.md into Japanese (#14067)

* Translate glossaries used in concepts/overview/components.md into Japanese (#14044)

* Translate concepts/overview/components.md into Japanese (#14044)

* Translate tasks/run-application/run-single-instance-stateful-application/ in Japanese (#13668)

* Translate tasks/run-application/run-single-instance-stateful-application/ in Japanese

* Apply suggestions from code review

Co-Authored-By: sotoiwa <sotoiwa@gmail.com>

* Better translation from code review

* Translate tasks/access-application-cluster/service-access-application-cluster/ in Japanese (#13701)

* Update fluentd image (#13661)

Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>

* update zh kubelet-config-file doc (#13495)

* update zh kubelet-config-file doc

* change kubelet config types address

* add space between en words and zh words

* revert en version change

* correct container hyperlinks in init container (#12387)

* correct container hyperlinks in init container

* correct zh trans and update anchor inside page

* Incorrect details about startingDeadlineSeconds.. (#13530)

On this page, the default value of startingDeadlineSeconds is mentioned as 100 seconds which is not true. So removing this statement.

* Fix typos (#13376)

* add Nokia case study (#13676)

* Fix typo in API page (#13687)

Associated with #13686

* fix typo in pod-lifecycle (#13689)

Asscociated with #13688

* issue 13383

* modify the link part

* Revert "modify the link part"

This reverts commit 2ae91dca574b54a14d255320721df4313346de28.

* Revert "Revert "modify the link part""

This reverts commit e5b80b6258ce2210fc9a4b46e08fb8c000fe6330.

* Revert "Revert "Revert "modify the link part"""

This reverts commit 427916e7c6c4d6423222ff76b5fd8c12dc913ce1.

* Revert "Merge remote-tracking branch 'origin/master' into issue_13383"

This reverts commit 98099d805c7377826cb4d84bd0fece0f6362cb40, reversing
changes made to 969e7f3f5cf63622e24137a2e374b0ab9e272514.

* modify the link part

*  Translate /concepts/overview/working-with-objects/kubernetes-objects/ into Japanese (#14025)

* Translate /concepts/overview/working-with-objects/kubernetes-objects/ into Japanese (#13952)

* Apply suggestions to /concepts/overview/working-with-objects/kubernetes-objects/ from code review

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Translate concepts/overview/working-with-objects/names.md into Japanese (#14066)

* Translate content/ja/docs/concepts/overview/working-with-objects/names.md into Japanese

* Translate docs/reference/glossary/name.md into Japanese

* Translate docs/reference/glossary/uid.md into Japanese

* Apply suggestions to concepts/overview/working-with-objects/names.md from review comments

* Translate concepts/overview/kubernetes-api.md into Japanese (#14343)

* Translate concepts/overview/kubernetes-api.md into Japanese

* Update translations for concepts/overview/kubernetes-api.md

* Translate overview/working-with-objects/labels.md in Japanese (#14183) (#14319)

* Translate overview/working-with-objects/labels.md in Japanese (#14183)

* Update translations for concepts/overview/working-with-objects/labels.md.

* Translate concepts/workloads/pods/pod-overview/ in Japanese (#14426) (#14494)

* Translate concepts/workloads/pods/pod-overview/ in Japanese (#14426)

* Update translation for concepts/workloads/pods/pod-overview.md.

* Translate overview/working-with-objects/field-selectors.md in Japanese (#14350) (#14535)

* Translate overview/working-with-objects/field-selectors.md in Japanese (#14350)

* Update translations for concepts/overview/working-with-objects/field-selectors.md.

* Update translation for concepts/overview/working-with-objects/field-selectors.md

* Translate overview/working-with-objects/common-labels/ in Japanese (#14397) (#14403)

* Translate overview/working-with-objects/common-labels/ in Japanese (#14397)

* Update translation for concepts/overview/working-with-objects/common-labels.md

* Translate concepts/storage/volume-snapshot-classes/ in Japanese (#14846) (#14849)

* ja-trans: tasks/run-application/run-stateless-application-deployment/ (#14955)

* ja-trans: tasks/run-application/run-stateless-application-deployment/

* modify "exploring" translation

* ja-trans: concepts/containers/container-environment-variables/ (#14116)

* ja-trans: concepts/containers/container-environment-variables/

* removed redundant expressions

* ja-trans: Translate tasks/debug-application-cluster/get-shell-running… (#14146)

* ja-trans: Translate tasks/debug-application-cluster/get-shell-running-container/ #13381

* Update content/ja/docs/tasks/debug-application-cluster/get-shell-running-container.md

Fix typo

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* ja-trans: concepts/containers/container-lifecycle-hooks/ (#14169)

* ja-trans: tasks/debug-application-cluster/debug-init-containers/ (#14488)

* ja-trans: tasks/debug-application-cluster/debug-init-containers/

* modified traslation of should

* Translate concepts/workloads/controllers/replicaset/ in Japanese (#14634) (#14641)

* Translate concepts/workloads/controllers/replicaset.md in Japanese (#14634)

* Improve japanese translation in concepts/workloads/controllers/replicaset.md (#14634)

* Improve japanese translation in concepts/workloads/controllers/replicaset.md (#14634)

* Translate concepts/overview/working-with-objects/annotations/ in Japanese (#13382) (#14396)

* Translate overview/working-with-objects/annotations.md in Japanese (#13382)

* Delete a empty line in concepts/overview/working-with-objects/annotations.md (#13382)

* Update translation for concepts/overview/working-with-objects/anotations.md

* ja-trans: tasks/run-application/scale-stateful-set/ (#15289)

* [ja] Fix translation of 'Persistent Volumes' (#13848)

s/永続化ボリューム/永続ボリューム/g

* ja-trans: tasks/run-application/scale-stateful-set/

* Update content/ja/docs/tasks/run-application/scale-stateful-set.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/scale-stateful-set.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* added postpositional particle

* ja-trans: tasks/debug-application-cluster/debug-stateful-set/ (#15282)

* [ja] Fix translation of 'Persistent Volumes' (#13848)

s/永続化ボリューム/永続ボリューム/g

* ja-trans: tasks/debug-application-cluster/debug-stateful-set/

* ja-trans: tasks/debug-application-cluster/determine-reason-pod-failure/ (#14939)

* [ja] Fix translation of 'Persistent Volumes' (#13848)

s/永続化ボリューム/永続ボリューム/g

* ja-trans: tasks/debug-application-cluster/determine-reason-pod-failure/

* ja-trans: unify the ending of sentences

* follow the master branch update

* reflect a suggestion and modify translation of container

* ja-trans: tasks/run-application/delete-stateful-set/ (#15293)

* [ja] Fix translation of 'Persistent Volumes' (#13848)

s/永続化ボリューム/永続ボリューム/g

* ja-trans: tasks/run-application/delete-stateful-set/

* Update content/ja/docs/tasks/run-application/delete-stateful-set.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/delete-stateful-set.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/delete-stateful-set.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/delete-stateful-set.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* modified traslation of backing

* ja-trans: tasks/configure-pod-container/attach-handler-lifecycle-event/ (#14328)

* Translate overview/working-with-objects/namespaces.md in Japanese (#14045) (#14161)

* Translate overview/working-with-objects/namespaces.md in Japanese (#14045)

* Update translations for concepts/overview/working-with-objects/namespaces.md

* ja-trans: fix Japanese Translation in concepts/overview/working-with-objects/namespaces.md (#14045)

* ja-trans: includes/default-storage-class-prereqs.md (#15376)

* ja-trans: includes/default-storage-class-prereqs.md

* Update content/ja/includes/default-storage-class-prereqs.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Translate tasks/run-application/run-replicated-stateful-application/ in Japanese (#15368)

* Translate tasks/run-application/run-replicated-stateful-application/ in Japanese

* add a base document in english

* Update content/ja/docs/tasks/run-application/run-replicated-stateful-application.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/run-replicated-stateful-application.md

Co-Authored-By: nasa9084 <nasa9084@users.noreply.github.com>

* Update content/ja/docs/tasks/run-application/run-replicated-stateful-application.md

Co-Authored-By: Kohei Ota <kohei.ota@zozo.com>

* small fixs

「複製」という言葉を使わず「レプリケーション」と「クローン」に使い分けるように変更。
「ステートフルなアプリケーション」を「ステートフルアプリケーション」に変更。

* small fix

* Translate concepts/workloads/pods/init-containers.md in Japanese (#14543) (#14576)

* Translate concepts/workloads/pods/init-containers.md in Japanese (#14543)

* Improve japanese translation in concepts/workloads/pods/init-containers.md (#14543)

* Add new line in ja/concepts/workloads/pods/init-containers.md (#14543)

* Add new line in ja/concepts/workloads/pods/init-containers.md (#14543)

* translate contribute/_index.md to japanese. (#15406)

* translate contribute/_index.md to japanese.

* trim spaces.

* Add missing translation.

* Translate concepts/workloads/controllers/daemonset/ in Japanese #14761 (#14767)

* Translate concepts/workloads/controllers/daemonset/ in Japanese (#14761)

* ja-trans: Improve Japanese translation in concepts/workloads/controllers/daemonset.md (#14767)

* Translate concepts/workloads/controllers/garbage-collection/ in Japanese (#14718)  (#14720)

* Translate concepts/workloads/controllers/garbage-collection/ in Japanese (#14718)

* ja-trans: Improve Japanese translation in concepts/workloads/controllers/garbage-collection.md (#14718)

* Translate concepts/workloads/pods/podpreset/ in Japanese (#14544) (#14581)

* Translate concepts/workloads/pods/podpreset.md in Japanese (#14544)

* Update translation for concepts/workloads/pods/podpreset.md.

* ja-trans: Improve Japanese translation in concepts/workloads/pods/podpreset (#14544)

* ja-trans: Improve Japanese translation in concepts/workloads/pods/podpreset (#14544)

* ja-trans: Delete translated sentence in concepts/workloads/pods/podpreset (#14544)

* ja-trans: Delete duplicated sentence in concepts/workloads/pods/podpreset (#14544)

* Translate concepts/containers/runtime-class/ in Japanese (#14670) (#14673)

* Translate concepts/containers/runtime-class.md in Japanese (#14670)

* ja-trans: Improve Japanese translation in concepts/containers/runtime-class.md (#14670)

* Translate concepts/services-networking/dns-pod-service/ in Japanese #14777 (#14805)

* Translate concepts/services-networking/dns-pod-service/ in Japanese (#14777)

* ja-trans: Improve Japanese translation in concepts/services-networking/dns-pod-service.md (#14777)

* Translate concepts/workloads/controllers/statefulset/ in Japanese #14679 (#14696)

* Translate concepts/workloads/controllers/statefulset.md in Japanese (#14679)

* ja-trans: Improve Japanese translation in concepts/workloads/controllers/statefulset.md (#14679)

* ja-trans: Improve some Japanese translation in concepts/workloads/controllers/statefulset.md (#14679)

* ja-trans: Improve some titles in concepts/workloads/controllers/statefulset.md (#14679)

* ja-trans: Improve some Japanese translations in concepts/workloads/controllers/statefulset.md (#14679)

* Translate concepts/workloads/controllers/ttlafterfinished/ in Japanese #14734 (#14735)

* Translate concepts/workloads/controllers/ttlafterfinished/ in Japanese (#14734)

* ja-trans: Improve Japanese translation in concepts/workloads/controllers/ttlafterfinished.md (#14734)

* ja-trans: Delete some Japanese words in concepts/workloads/controllers/ttlafterfinished.md (#14734)

*  ja-trans: Fix typo in concepts/workloads/controllers/ttlafterfinished.md (#14734)

* Translate concepts/storage/dynamic-provisioning/ in Japanese #14847 (#14916)

* Translate concepts/storage/dynamic-provisioning/ in Japanese (#14847)

* ja-trans: Improve Japanese translation in concepts/storage/dynamic-provisioning.md (#14847)

* ja-trans: Improve some Japanese translation in concepts/storage/dynamic-provisioning.md (#14847)

* ja-trans: Improve some Japanese translations in concepts/storage/dynamic-provisioning.md (#14847)
2019-08-27 23:05:11 -07:00
craftone 6c4a4d8152 Translate concept / _index.md to Japanese (#15934)
* Translate concept / _index.md to Japanese

* Update contecpt/_index.md of Japanese

* Updata concept/_index of ja according to guideline

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/_index.md
2019-08-27 20:29:13 -07:00
Ryan Zidago 62b9c73f1e docs-fr | reference | glossary | cri (#15287) 2019-08-27 21:51:48 +02:00
Ismail Alidzhikov 34c22e6c75 Change Windows line-endings to Unix (#15195)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-08-27 07:34:43 -07:00
Karen Bradshaw 9d4c4bb6f7 fix summary split in static-pod glossary item (#15862)
* fix summary split in static-pod glossary item

* update summary text, remove duplication
2019-08-27 07:32:45 -07:00
Edwin b82b2efdaa Add Zarvis to production environment table (#16024)
Add Zarvis to production environment table
2019-08-27 07:30:45 -07:00
Ismail Alidzhikov 288d24cd36 Add missing feature gate (#16083)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-08-27 07:28:41 -07:00
inductor bd5f789314 update example nginx to 1.17 (#16046) 2019-08-27 00:18:41 -07:00
Irvi Aini 85288b57a1 Add ttlafterfinished for ID localization. (#16008)
* Add ttlafterfinished for ID localization.

* Fix consistency of language usage based on review.
2019-08-26 20:56:39 -07:00
aimeeu c9d9e1be14 Add Content Guide to clarify allowed content (#15892)
Add new section for content guidelines
Add table of examples of what is and is not allowed
Add examples of links to Linux Academy courses based on discussion
during the Aug 20 SIG Docs meeting.
Remove example table and reformat based on feedback
Move content guide to its own page
Update existing pages to mention new Content Guide page

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-08-26 17:56:39 -07:00
houjun d2ced66db2 Fix some error links (#15992) 2019-08-26 17:36:39 -07:00
Benjamin Elder 3bc1f1836a update link to prow post (#16019)
bentheelder.io is a redirect to elder.dev, I'll likely let bentheelder.io expire next go round
2019-08-26 13:40:38 -07:00
Praveen Sastry 751ae6df0c Remove deprecated getting started guides (#16012) 2019-08-26 00:00:20 -07:00
Seokho Son c82a912e29 Fourth Korean l10n work for release-1.15 (#16063)
* ko: update translation in reference/glossary/* (#15776)
* Update outdated files partly in dev-1.15-ko.4 (#15856)
* ko: update translation in tasks/debug-application-cluster/resource-metrics-pipeline (#15798)
* ko: translate setup/production-environment/tools/control-plane-flags (#15820)
* ko: translate user-guide-windows-containers (#15730)
* ko: update translation in reference/glossary/* (#15761)
* ko: Update outdated files partly in dev-1.15-ko.4 (#15790)
* ko: fix corrupt date in glossary/static-pod (#15911)
* ko: translate user-guide-windows-nodes (#15759)
* Translate /docs/concepts/configuration/overview/ in Korean (#15803)
* ko: translate setup/production-environment/tools/ha-topology (#15819)
* ko: translate tasks/administer-cluster/network-policy-provider (#15846)
* Translate tasks/inject-data-application/define-command-argument-container in Korea (#15933)
* ko: translate concepts/configuration/organize-cluster-access-kubeconfig (#15871)
* Translate working-with-objects/common-labels.md in Korean (#15832)
* Translate concepts/workloads/pods/disruptions.md in Korean (#15926)
* Translate tasks/access-application-cluster/web-ui/dashboard in Korean (#15852)
* Translate concepts/overview/working-with-objects/labels.md in Korean (#15831)
* ko: translate guestbook-logs-metrics-with-elk (#15894)
* ko: translate tasks/administer-cluster/highly-available-master (#15928)

Co-Authored-By: Yoon <learder@gmail.com>
Co-Authored-By: Eden <longlg88@naver.com>
Co-Authored-By: Yuk, Yongsu <ysyukr@gmail.com>
Co-Authored-By: June Yi <june.yi@samsung.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
Co-Authored-By: Lawrence Kay <lkay9495@hotmail.com>
Co-Authored-By: alice_k106 <alice_k106@naver.com>
Co-Authored-By: Cheolgu Kim <lapee79@gmail.com>
2019-08-25 04:10:21 -07:00
Masa Taniguchi 270aaf1f16 ja-trans: content/ja/case-studies/chinaunicom (#15221) 2019-08-23 21:42:25 -07:00
Qiming 846a4e0952 [ZH] Synchronize homepage for Chinese translation (#15993) 2019-08-23 21:30:25 -07:00
simplytunde 6c66ccd456 Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-08-23 12:43:41 -05:00
mohamed chiheb ben jemaa 92e439e124 split falco section to a new page (#16011) 2019-08-23 06:13:18 -07:00
Piyush Kumar f600acf2b6 Starting from nginx ingress controller Version 0.22.0 onwards, it uses placeholders /$1 or /$2 soon for rewrite-target annotation (#15504)
In nginx ingress controller Version 0.22.0 and beyond, any substrings within the request URI that need to be passed to the rewritten path must explicitly be defined in a capture group. Please refer doc here : 
* `https://kubernetes.github.io/ingress-nginx/examples/rewrite/#rewrite-target`
* `https://stackoverflow.com/a/55193468/5527839 `

Currently, what was mentioned in the docs, didnt work for me. I was using minikube version `1.2.0` which uses ingress above v0.21.0. After reading the docs provided in above two links, was able to figure out where it was lacking. Have mentioned the changes in the proposed file change.
2019-08-22 08:42:32 -07:00
_ ef918bc5e8 fix typo (#15996) 2019-08-22 00:08:32 -07:00
mohamed chiheb ben jemaa 63eb064d96 update sweetAlert and fix scrolling after copy (#15542) 2019-08-21 17:20:32 -07:00
Zach Corleissen b7c886938e Update chair and approver info (#15988)
Remove shavidissa from approvers

Add emeritus approvers
2019-08-21 15:52:31 -07:00
Leo Di Donato 570ba84ac7 Fix links into Audit with Falco section (#15958)
* Fix links into Audit with Falco section

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>

* Fix typo in audit docs

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-08-21 09:08:00 -07:00
Julie K 4db47aea47 docs-fr | docs | reference | glossary | admission-controller.md (#15940)
* docs-fr | docs | reference | glossary | admission-controller.md

* updated translation : mutant admission controller
2019-08-21 06:29:19 -07:00
icheikhrouhou cd9fab1774 docs | tasks | configure-pod-container | assign pods to nodes (#15096)
* assign pods to nodes

* fix translation in assign pods nodes
2019-08-21 02:37:18 -07:00
oneoneonepig d66304c4b1 API Version Incorrect (#15734) 2019-08-20 19:53:20 -07:00
Stephan d61d3bee53 Update required quobyte secret structure (#14876) 2019-08-20 19:45:17 -07:00
Yoon 71b5465ae3 Refactor user-guide-windows-nodes (#15857) 2019-08-20 19:43:18 -07:00
Anders Eknert db29a0f91e Clarify "no opinion" vs. immediate, short-circuiting deny response. (#15849) 2019-08-20 19:41:16 -07:00
sNathan13 8c4a2bf73c Adding PR review request etiquette (#15972) 2019-08-20 19:27:17 -07:00
aimeeu 7494d882ca Remove references to rkt (#15967)
rkt has been archived and is no longer supported as a container
runtime by Minikube.

Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2019-08-20 14:21:16 -07:00
Kevin Wiesmüller 6e2a3cc5e9 add documentation on how to strip managedFields (#15700) 2019-08-20 14:19:16 -07:00
Thibaut Tauveron 847aee2968 docs-fr | concepts | workloads | pods | init-containers.md (#15915) 2019-08-20 14:17:18 -07:00
Wojciech Tyczynski 0125d9477c WatchBookmarks feature is beta in 1.16 (#15530) 2019-08-20 14:15:16 -07:00
Rémy Léone 63b2dbc77b Translate to French Developing Cloud Controller Mananger (#14961) 2019-08-20 10:18:57 -07:00
Anthony Dahanne 09eb5a75eb initial french translation (#14863) 2019-08-20 05:29:33 -07:00
Julie K 3f82ddf4d6 Toleration (#15163)
* translated term: toleration

* update translation: toleration

* Update translation: toleration

translated terme "taint" as "marquage" in French and "schedule" as "ordonnancer" in French

* Update translation: toleration

typo fixup
2019-08-20 04:09:32 -07:00
Thibaut Tauveron d6cb8259a2 docs-fr | concepts | overview | components.md (#15939)
* docs-fr | concepts | overview | components.md

* Update content/fr/docs/concepts/overview/components.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/overview/components.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Fix translation
2019-08-20 03:05:32 -07:00
Rémy Léone b9b95165ec Translate CCM page in French (#14960)
* Translate CCM page in French

* Update content/fr/docs/tasks/administer-cluster/running-cloud-controller.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-08-20 03:03:35 -07:00
Leo Di Donato 21e9164485 Explain auditing with Falco (#14332)
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Co-Authored-By: Radhika Puthiyetath <radhika.dwaraka@gmail.com>
2019-08-20 02:13:32 -07:00
aimeeu 361cf02a17 Add link to HorzPodAuto; add that there are other full pipelines (#15863)
Add link to Horizontal Pod Autoscaler; add that there are other
full metrics pipelines but those outside of CNCF are beyond the
scope of the k8s docs
2019-08-20 01:23:33 -07:00
Zach Corleissen d10ac36f2f Remove inactive approver (#15954) 2019-08-19 15:37:31 -07:00
Oriol Soriano f4dd1ac666 Add spanish translation of glossary/replica-set (#14362) 2019-08-19 11:27:30 -07:00
Jim Angel 7c524e28dd add 1.16 docs release lead as an approver (#15949) 2019-08-19 10:57:32 -07:00
Julie K e238414f44 docs-fr | docs | reference | glossary | cgroup (#15941) 2019-08-19 09:07:30 -07:00
Julie K 253ada3d6b docs-fr | docs | reference | glossary | cncf (#15943) 2019-08-19 08:49:32 -07:00
Justin Biggs fedc79ae98 '#15924 removed extra parenthesis' (#15929) 2019-08-19 06:43:30 -07:00
Claudiu Belu 98533bdfb9 Windows: Adds RunAsUserName related documentation (#15378)
Recently, the RunAsUserName feature has been added, allowing users to
run Windows containers with custom usernames, different from the image
default usernames.

Adds documentation regarding its prerequisites, feature gate, usage,
restrictions, and samples.
2019-08-19 06:37:30 -07:00
praveen-kg cd62dbf71f Update update-api-object-kubectl-patch.md (#15923) 2019-08-19 03:01:30 -07:00
Diego W. Antunes 6bab81258c Added new owner for pt-BR (#15878) 2019-08-19 00:42:07 -07:00
Felipe c7e4576e18 Adding certificates.md in PT (#15655) 2019-08-19 07:39:25 +01:00
Giri Kuncoro b999f0d3e8 Add Indonesian translation for volume-snapshot-classes (#15724)
* Add Indonesian translation for volume-snapshot-classes

* Fix page styling consistency and wordings
2019-08-18 23:00:06 -07:00
Thibaut Tauveron bfe83d284c fix unexpected line breaks for localized glossary tooltips #15390 (#15920) 2019-08-18 17:58:04 -07:00
Naoki Oketani 06ddf5210c fixed a typo (#15918) 2019-08-18 17:56:03 -07:00
Quan Tian 2382c9ea4e Enable interpretation of backslash escapes in example (#15884)
Interpretation of backslash escapes should be enabled when echoing
newlines to a script, otherwise the example plugin is not runable.
2019-08-18 17:54:03 -07:00
Marek Counts 128e9c26b0 updated kubeadm reset docs (#15881) 2019-08-18 17:52:04 -07:00
Angel 58796bcff6 Reworked a sentence for clarity and tone. (#15887) 2019-08-18 17:52:04 -07:00
Jakub Warczarek d08611b759 JSON to YAML for external LoadBalancer (#15891)
* Yaml instead of json for LoadBalancer

* Fixes from style guide

* Improve style

* Remove obsolete fragments
2019-08-18 17:50:03 -07:00
Burke Azbill 535e711f0e fix broken link (#15897)
Link for Configure a Pod to Use a ConfigMap is missing "map" from the link url.
2019-08-18 17:48:03 -07:00
boxboatjeremy eba32c37e3 Fix "onwrds" to "onwards" (#15898) 2019-08-18 17:46:03 -07:00
Naoki Oketani 1d11d14f22 trim redundant leading spaces (#15904) 2019-08-18 06:46:04 -07:00
Kane York e3c12ea5dc Update broken KEP links (#15806) 2019-08-16 12:32:09 -07:00
Ryan Zidago 9916555d76 docs-fr | reference | glossary | cri-o.md (#15277)
* docs-fr | reference | glossary | cri-o.md

* added missing word in short description
2019-08-16 07:38:34 -07:00
Ryan Zidago 0b302456e7 docs-fr | docs | reference | glossary | approver.md (#15092)
* docs-fr | docs | reference | glossary | approver.md

* added missing translation
2019-08-16 07:36:31 -07:00
Ryan Zidago ff2e762302 docs-fr | docs | reference | glossary | code-contributor.md (#15210)
* docs-fr | docs | reference | glossary | code-contributor.md

* updated title
2019-08-16 07:34:31 -07:00
yofri 0e319bad69 Adding Bahasa Indonesia translation for certificates page (#15769)
* Add Bahasa Indonesia translation for certificates page

* Untranslated title

* Updating translation
2019-08-16 02:26:33 -07:00
Soto Sugita d0118a452b Fix incorrect command line (#15882) 2019-08-15 23:44:33 -07:00
Arnaud M 9bc1316049 Fix default value of the annotation. (#15851) 2019-08-15 23:42:34 -07:00
Melony QIN 7796f3cea6 add rollout history and back to specific revision (#15818)
add rollout history and back to specific revision
2019-08-15 20:36:32 -07:00
Max Kaminskiy 7fc8050389 Note to limit changes in PR to one language (#15773)
* Updated Start Contributing docs asking to limit changes to one
language in each PR.

* Moved note about one language per PR to end of step 5.
2019-08-15 20:30:33 -07:00
mohamed chiheb ben jemaa 73ef2c557b adjust and center Blog links (#15541) 2019-08-15 20:28:33 -07:00
Javi Sabalete 559e25d941 Add content/es/docs/reference/glossary/kubelet.md (#14556) 2019-08-15 14:00:34 -07:00
Julie K 5153d6e4f0 translated term: pod (#15162)
* translated term: pod

* [update] translation: pod, completed link address

* [update] translation: pod

Deployment instead of déploiment
2019-08-15 08:18:35 -07:00
mohamed chiheb ben jemaa b9cf29b7b3 Issue with k8s.io/docs/setup/production-environment/container-runtimes/ (#15476)
* update containerd prerequisites:

* change shell
2019-08-15 00:54:33 -07:00
Vincent Gramer 4821582b89 azure-file storage class: add missing parameter for multi tenancy #14762 (#14763)
* initial commit

* azure-file storage class: add missing parameter for multi tenancy #14762

* Update storage-classes.md
2019-08-14 22:48:36 -07:00
Damián Pumar ec9092d4ed Glossary applications page translated (#15694)
Update content/es/docs/reference/glossary/applications.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/reference/glossary/applications.md
2019-08-14 15:12:33 -07:00
Thibaut Tauveron 24eee4265e docs-fr | concepts | storage | volumes.md (#15826) 2019-08-14 08:00:27 -07:00
Ryan Zidago 7011e3acea translated glossary/applications.md from en to fr (#15070) 2019-08-14 02:22:26 -07:00
Ryan Zidago b0638cd82f docs-fr | docs | reference | glossary | configmap.md (#15223) 2019-08-14 02:08:24 -07:00
Ryan Zidago 1bcc5b659d docs-fr | reference | glossary | csi.md (#15322)
* docs-fr | reference | glossary | csi.md

* Update content/fr/docs/reference/glossary/csi.md
2019-08-14 02:06:27 -07:00
Ryan Zidago d09ab8c562 docs-fr | reference | glossary | controller.md (#15269)
* docs-fr | reference | glossary | controller.md

* fixed typo
2019-08-14 02:00:26 -07:00
Ryan Zidago 5cd1b3b737 docs-fr | reference | glossary | control-plane.md (#15266) 2019-08-14 01:58:25 -07:00
Ryan Zidago 93eb490719 docs-fr | reference | glossary | container-env-variables.md (#15243)
* docs-fr | reference | glossary | container-env-variables.md

* fixed typo in title
2019-08-14 01:52:26 -07:00
Dr. Stefan Schimanski d1ce52703e blog-structual-schema: fix oneOf in example spec (#15816) 2019-08-13 21:48:24 -07:00
Jane Xie ac7cd02a6f translate supported-doc-versions (#15838)
* translate supported-doc-versions

* fix problems
2019-08-13 20:16:23 -07:00
Roy Lenferink 099ed49cea Added mattiaperi as Italian reviewer/approver & sorted Italian teams (#15850) 2019-08-13 14:54:24 -07:00
Oz N Tiram 4d14e98b08 Fix syntax broken highlighting (#15830)
Hugo's highlighter does not understand a variable name with angle
brackets, and breaks the coloring.
2019-08-13 13:53:41 -07:00
Kubernetes Prow Robot 59757291e1 Merge pull request #15823 from simplytunde/dev-1.16-merge-master
merge master into dev-1.16
2019-08-13 10:11:42 -07:00
Jared a02fea5330 Update link 2019-08-13 09:20:16 -07:00
Jared efed54c79a Fixed broken link 2019-08-13 09:18:43 -07:00
ponypaver 38312e0cc3 Update service.md (#15738)
adjust grammer
2019-08-13 08:51:42 -07:00
Bill Mulligan cc5060da22 spelling and grammar corrections (#15837) 2019-08-13 06:45:42 -07:00
David Ricordel 11f8368834 Change the translationfor logging to journalistion des ´vènements (#15330) 2019-08-13 01:59:41 -07:00
Alvaro Aleman 3bea36ba16 Api deprecation blogpost: Include minimum kube version for ingress from networking apigroup (#15740) 2019-08-12 11:15:13 -07:00
Iva Koevska 2d63ee56d8 Applied title case to page title (#15824)
Page titles throughout the doc set typically use title case. This one uses sentence case. I've added capitalization to match the common style.
2019-08-12 07:37:13 -07:00
simplytunde 5e8cf9b8a5 Merge remote-tracking branch 'upstream/master' into HEAD 2019-08-12 08:05:36 -05:00
Xiang Dai 4aa7723027 Update disruptions.md (#15811)
The number of StatefulSet always start from 0, change to make docs exact.

Signed-off-by: Xiang Dai <764524258@qq.com>
2019-08-12 05:19:12 -07:00
Max 16ae99f229 German translation for proxies and controller metrics (#15746)
* i18n cloud controller

* add controller metrics

* 2nd check on controller metrics

* add proxies

* check proxies

* add controller metrics

* 2nd check on controller metrics

* add proxies

* check proxies

* Revert "Merge branch 'i18n-003' of github.com:mkorbi/website into i18n-003"

This reverts commit 76bf403bd12bdff8f9a02f19cb125fcce333b4f8.
2019-08-12 01:11:13 -07:00
Kohei Ota aea0fefe96 remove study (#15805) 2019-08-11 17:59:10 -07:00
Joe c5add88844 Update overview toc in chinese. (#15737) 2019-08-11 17:57:10 -07:00
Zane Bitter 8344dda2f6 Use literals in jsonpath examples (#15775)
It's very difficult to figure out e.g. the correct quotes to use from
regular text that is subject to being converted for typographers quotes.
Use code literals instead to ensure that nothing is modified, and to
distinguish literals from accompanying text.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2019-08-11 17:53:10 -07:00
Gabriele Cimato 5c41bb0482 docs: update deploy-intro, fix node js sentence (#15758) 2019-08-09 14:47:13 -07:00
Kohei Toyoda d6bcc7b8d9 Fix orders of yaml for examples. (#15763) 2019-08-09 14:33:15 -07:00
Carlos d4741f1bc4 Add content/es/docs/reference/glossary/pod-priority (#15325)
* ammend signature

* Update content/es/docs/reference/glossary/pod-priority.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/pod-priority.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/pod-priority.md

Co-Authored-By: Rael Garcia <me@rael.io>
2019-08-09 12:59:13 -07:00
Ismail Alidzhikov a306ab2e35 Remove kubelet --allow-privileged flag for etcd HA setup with kubeadm (#15332)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-08-08 22:21:24 -07:00
Wojciech Tyczynski 6daa99cdd8 Remove references to selflinks (#15751) 2019-08-08 19:59:24 -07:00
Karen Bradshaw ad4bc58526 add weight to static-pod, fix date mirror-pod (#15752) 2019-08-08 17:21:25 -07:00
Jordan Liggitt 1830e56fa2 Clarify PSP/PV interaction (#15756) 2019-08-08 17:19:27 -07:00
June Yi 4518c983d2 Third Korean l10n work for release-1.15 (#15744)
* Add Link /docs/reference/ in Korean (#15610)
* Translate tasks/debug-application-cluster/resource-usage-monitoring in Korean (#15593)
* Translate tasks/inject-data-application/define-environment-variable-container in Korean (#15606)
* ko: Update outdated files in dev-1.15-ko.3 (#15605)
* Translate home/supported-doc-version in Korean (#15621)
* ko: Update some files in reference/glossary (#15631)
* Translate reference/glossary/cloud-provider.md in Korean (#15685)
* Translate docs/reference/using-api/api-overview in Korean (#15644)
* Translate tasks/debug-application-cluster/resource-metrics-pipeline in Korean (#15665)

Co-Authored-By: June Yi <june.yi@samsung.com>
Co-Authored-By: Seokho <shsongist@gmail.com>
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Yoon <learder@gmail.com>
Co-authored-by: JiMyung Lee <lee.ji.myung@gmail.com>
Co-authored-by: lapee79 <lapee79@gmail.com>
Co-authored-by: Sunghoon Kang <hoon@linecorp.com>
Co-authored-by: Yuk, Yongsu <ysyukr@gmail.com>
Co-authored-by: Lawrence Kay <me@lkaybob.pe.kr>
2019-08-08 07:33:19 -07:00
Giri Kuncoro 05690331ce Add dynamic provisioning Indonesian translation (#15583)
* Add dynamic provisioning Indonesian translation

* Rephrasing few sentences in translation
2019-08-07 18:53:18 -07:00
Andreas Lindhé c02cf959b7 More consistent naming of services in Ingress docs (#15718)
It switched from a naming scheme of service1/service2 to s1/s2. That can be confusing for new people, and I propose we stick to only one naming scheme.
2019-08-07 15:33:18 -07:00
Johannes Liebermann d3c216fedc Fix typo in authentication.md (#15721)
Change "certificates authorities" to "certificate authorities".
2019-08-07 14:53:20 -07:00
codyc 0fc8aa746a CentOS Repo for 1.15 (#15708)
Corrects centos repo for kubernetes 1.15
2019-08-07 14:51:19 -07:00
codyc c2b0321dbf added limits to walkthrough (#15707) 2019-08-07 14:49:19 -07:00
aimeeu 8eba965dff Update Participating in SIG Docs and Submit a PR (#15697)
Add hyperlink to 'communicate' in Participating in SIG Docs section.
Hyperlink points to Participating in SIG Docs discussions section further down the page.

Add info to Submit a pull request bullet 5 about putting fixes #<issue_number>
or closes #<issue_number> to the PR description so GitHub will automatically close the issue
2019-08-07 14:46:37 -07:00
June Yi 5702f54c8d Add gochist to sig-docs-en-owners (#15692) 2019-08-07 14:44:43 -07:00
RA489 7e100a2c95 Fix broken link to kubectl cheatsheet (#15713) 2019-08-07 02:08:50 -07:00
houjun 64bfa2a770 Fix release stage for two features (#15688) 2019-08-06 19:50:51 -07:00
Victor Ude 088bc912d3 Explain how to cleanup the created pod (#15698)
* Explain how to cleanup the created pod

I'm still learning. Feel free to provide a better example.

* Update configure-redis-using-configmap.md
2019-08-06 17:18:53 -07:00
lyveng 306a6201b8 Fixed broken link to logging conventions in kubectl cheatsheet (#15699) 2019-08-06 17:12:54 -07:00
Manish Bansal 2fdc40944b Sentence correction for Info section on concepts/architecture/nodes (#15343)
* Sentence correction

* Fixed review comments
2019-08-06 16:38:50 -07:00
Manish Bansal 7bcc824779 Powershell note for kubectl patch command (#15308)
* Improvement for kubectl patch command

This command does not work in Powershell. A specific note would help the developers to take care of the same.

* Fixed review comments

Added different tabs for bash and PowerShell.

* Removing note for PowerShell

Hugo is not able to add note along with shortcode. Hence removing note.
2019-08-06 16:36:50 -07:00
Tahmid Shakil 2928d6ac9c Fix troubleshooting instruction at troubleshooting-kubeadm.md (#15234)
## Issue

Section: *Another workaround is to overwrite the existing `kubeconfig` for the "admin" user*
Line: 173

`sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config` fails, since the directory `$HOME/.kube` doesn't exist.

## Fix

`mkdir $HOME/.kube` added prior to `sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config`.
2019-08-06 16:34:51 -07:00
Tim Bannister dd6f88dfe7 Reword & migrate static pod task page (#14831)
- Shape this to be more of a Task page
- Move static pod task to pod & container section
2019-08-06 16:22:49 -07:00
Tim Bannister 322e88de9a Update device plugin documentation + related pages (#14331)
* Update device plugin docs for Kubernetes 1.14

& related pages

This change is mainly about feature-state shortcodes & similar.

(if there's a way to get the short version string, eg "1.14" rather
than "v1.14", then that could go in place of the hard coded value
in this commit).

* Fix code block formatting

eg code blocks incorrectly marked as:
```shell

* Use glossary shortcodes where appropriate

* Hyperlink to Prometheus

* Tidy Markdown formatting

* Change example vendor domain name

Use a name inside ".example" to highlight that this is a DNS
domain name.

* Reword device plugins documentation

* Tweak headings for device plugins

* Add "what's next" to device plugins docs

* Tweak wording for device plugins docs

* Add KubeVirt device plugins
2019-08-06 16:00:52 -07:00
mhamdi semah f2c7919fc9 Issue with k8s.io/docs/tasks/administer-cluster/dns-debugging-resolution/ (#14816) 2019-08-06 15:56:53 -07:00
Ori Tzoran 492f6eb6c3 streamline grep usage in minikube_before_you_begin (#15360)
- tested on macOS with BSD's grep and GNU's. same flags, same output.
- there are some 55 CPU flags on mac, so highlighting VMX makes it
  easier to grasp
- using `egrep` on linux and `grep` on mac, not necessary
- precision: the VT-x feature is NOT an OS feature...
2019-08-06 15:10:50 -07:00
Patrick East b9f6598c9e Add "Admission Controller" to the glossary (#15196)
This gives a brief description for the admission controller and links
to the main docs for them.
2019-08-06 15:08:50 -07:00
aimeeu efa8bf1c37 Update link to Docs SIG agenda document (#15703)
The basics about our docs/Style guidelines:  "add it to the agenda" updated the link to point to 2019 agenda document
2019-08-06 11:43:56 -07:00
Rita Zhang 6f25d24cab Add OPA Gatekeeper blog post (#14487)
* Add OPA Gatekeeper blog post

* address comments

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* address more comments

* Update based on beta release

* Update publish date; reword intro
2019-08-06 11:27:57 -07:00
Ben Hall 779b2be65c Update Interactive Terminal button. Add button directly to port 30000 for dashboard. Use new Start script to launch minikube. (#15689) 2019-08-06 11:03:55 -07:00
Eduardo Roldan cc64c39bac Document the enableServiceLinks flag (#15611)
* Document the enableServiceLinks flag

There are many cases of service discovery environment variables clashing with env vars expected by programs, causing  hard to debug problems. The enableServiceLinks flag added in 1.13 should be mentioned here and not only on the API reference.

* Update connect-applications-service.md

* Update content/en/docs/concepts/services-networking/connect-applications-service.md

Co-Authored-By: Qiming <tengqim@cn.ibm.com>

* rephrased the action to use active voice style
2019-08-06 00:49:55 -07:00
Lubomir I. Ivanov cdc25736d7 kubeadm: fix links in kubeadm-alpha page (#15674) 2019-08-06 00:45:56 -07:00
Max Kaminskiy 7126c8e9b5 Fixed typo. From utf=8 to utf-8. (#15684) 2019-08-05 20:21:53 -07:00
James 7459a83f62 Add Canonical On-Prem and Managed, Correct URL (#15675)
Ubuntu / Canonical also provides deployment options for on-premesis and managed Kubernetes, as linked on our Kubernetes landing page.
2019-08-05 20:19:53 -07:00
Naoki Oketani 4fc5bf2c61 fix broken links and changes added by editorconfig (#15628) 2019-08-05 20:17:53 -07:00
Jesse Hu 608693830e Correct 'print default' command in kubeadm-config.md (#15662)
* Correct 'print default' command in kubeadm-config.md

`kubeadm config print-default` command doesn't exist in v1.15.0.
It's now `kubeadm config print init-defaults` and `kubeadm config print join-defaults`.

* Remove the unnecessary v1.11.0 statement
2019-08-05 20:15:54 -07:00
RA489 cf3c352881 None driver doesn't work with snap docker. (#15667) 2019-08-05 20:13:55 -07:00
Melony QIN a17f259b8d update cheat sheet (#15677)
add sort by capacity
2019-08-05 20:11:53 -07:00
Kobayashi Daisuke 97297af5ef Only one word typo fix (#15617)
* Fix typo

* Fix typo

* Cange back to "will"
2019-08-05 17:25:54 -07:00
Michael Vorburger ⛑️ da9db0b0c4 porting some information from kubeadm-init.md to kubelet-integration.md (#15423)
* porting some information from kubeadm-init.md to kubelet-integration.md doc

from reference/setup-tools/kubeadm/kubeadm-init.md to setup/production-environment/tools/kubeadm/kubelet-integration.md

includes edits I just proposed in #15421 and #80136

* improve wording re. systemd in kubelet-integration.md

* removing quotes and adding the in kubelet-integration.md

* Update content/en/docs/setup/production-environment/tools/kubeadm/kubelet-integration.md

Co-Authored-By: Lubomir I. Ivanov <neolit123@gmail.com>
2019-08-05 17:09:54 -07:00
Michael Vorburger ⛑️ d4a3eaa2f5 use log_path busybox.log instead of busybox/0.log in crictl.md (#15415)
because with busybox/0.log it fails as shown below (unless you mkdir busybox,
with the correct permission, which is an extra step we can avoid for a tutorial like this)

FATA[0000] Starting the container "3c71f8c3abfcac0f8357fa25be896062f05f88e1d9acbd7a033afeee9a54f3c4" failed: rpc error: code = Unknown desc = failed to create containerd task: failed to create container loggers: failed to create and open log file: open busybox/0.log: no such file or directory
2019-08-05 16:55:20 -07:00
Alex Punnen cb1272defe Update pod.md (#15301)
fixed broken link
2019-08-05 16:11:50 -07:00
Kaitlyn Barnard d9279c72f1 Update OWNERS (#15681) 2019-08-05 16:09:50 -07:00
Kubernetes Prow Robot aa4b72c9dd Merge pull request #15679 from simplytunde/dev-1.16-merge-master
Merged master into dev-1.16
2019-08-05 15:53:51 -07:00
janitha09 5a4088af42 Update install-minikube.md (#15087)
kubernetes-cli is now included as a dependency https://chocolatey.org/packages/Minikube
2019-08-05 15:41:49 -07:00
Derek c7e57cb67c TLS is Transport Layer Security; not level (#14998)
See https://en.wikipedia.org/wiki/Transport_Layer_Security
2019-08-05 15:39:49 -07:00
simplytunde 68fe9a8adc Merge remote-tracking branch 'upstream/master' into HEAD 2019-08-05 17:30:25 -05:00
Zach Corleissen 970448f894 Remove non-member approver from PT content (#15676) 2019-08-05 14:33:52 -07:00
Mans Matulewicz ab8c91a3a2 Update custom-resource-definitions.md (#15670)
typo fix
2019-08-05 13:15:51 -07:00
Andrew Lytvynov 9fbd001d5c Remove mentions of cluster CA from CSR API docs (#15547)
CSR API isn't guaranteed to use the cluster CA. The CA used to sign
certs using the CSR API depends on the specific cluster stup. Admins can
use a separate CA if they choose to.

Users shouldn't rely on verifying those certs using the CA bundle
mounted with service account secrets.

The doc page is reworded to remove most mentions of cluster CA and
instead focus on API usage specifics.
2019-08-04 17:55:48 -07:00
Conlan Cesar a5cfbae3d9 Fix shell code indentation / markdown formatting (#15657)
The backticks were visible in the generated documentation, removing the indentation hides it once more.
2019-08-04 17:49:51 -07:00
Strajan Sebastian Ioan e0b3959eba remove experimental from flag name (#15653) 2019-08-04 17:47:48 -07:00
Shivesh Abhishek 8d6874e396 typo fix (#15648)
Signed-off-by: Shivesh Abhishek <shivesh.abhishek@mayadata.io>
2019-08-04 17:45:49 -07:00
Ismail Alidzhikov a0a3cd4e39 Remove --export (as it's deprecated) (#15654)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-08-04 17:43:48 -07:00
Edu Patrocinio 7a9ace6556 Put full path of the RabbitMQ object (#15635)
Currently, it assumes the Kubernetes example github has been cloned.
2019-08-02 12:11:53 -07:00
Jordan Liggitt c83e6b4a47 Clarify request verbs (#15623) 2019-08-02 12:09:54 -07:00
leipsfur e01c09cb86 Fix spelling mistake (#15619) 2019-08-02 12:07:54 -07:00
Kenneth Massada d80d3a71a5 Update volumes examples that are no longer in staging (#15630)
* Update volumes examples that are no longer in staging

Update volumes examples that are no longer in staging 

per
https://github.com/kubernetes/examples/commit/c16a976d9830fda1692d61c5ca693a4c30ae4bcf

a lot of links are now broken in the docs

* Remove /staging from ceph examples

Remove /staging from ceph examples
2019-08-02 12:05:54 -07:00
vanou 6b2fdcecac Add Linux Foundation's K8s Online Training to Online Training List (#15608) 2019-08-02 07:43:53 -07:00
Tim Bannister 3dea3dbf94 Tidy headless Service example (#15082) 2019-08-01 14:39:18 -07:00
Thomas ILLIET 8670391e2a Fix windows download link (#15616) 2019-08-01 02:24:15 -07:00
RA489 66aacf713f Adding --cgroup-driver flag to etcd documentation (#15595) 2019-07-31 23:18:15 -07:00
Seongho Hwang 4285799aed Update pod.md by fixing typo (#15592)
Changed phrase '컨테이너들 안의 파드는' to '파드 안의 컨테이너들은'
2019-07-31 18:26:14 -07:00
Edu Patrocinio 0cf7e3a827 Replace pod with Pod in task/nodelocaldns.md (#15602) 2019-07-31 17:34:14 -07:00
Nicolás Pascual González 3395e5ef71 Fixed bug on downloading kubectl in linux (#15264)
Fixed bug on command for downloading kubectl in linux
2019-07-31 12:50:15 -07:00
Edu Patrocinio ae714004b2 Remove --export (as it's deprecated) (#15598) 2019-07-31 12:46:14 -07:00
Sunghoon Kang 1e90cbf1c9 Fix broken link in API overview (#15594) 2019-07-31 12:44:14 -07:00
simplytunde 9f448fb482 updated config.toml (#15535) 2019-07-31 12:44:13 -07:00
elmbrain 731c11751e set correct YAML examples (#15544)
Current YAML list is not correct (but working)
2019-07-31 12:42:15 -07:00
Sandor Szücs 2ae184f17c add skipper to the list of ingress-controllers (#15596)
Skipper is used in production by Zalando SE and other companies like spotahome and ShopGun.

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
2019-07-31 12:40:14 -07:00
sNathan13 5f2604277a Fixing 404 link error in release notes 1.15 (#15588)
Pull request https://github.com/kubernetes/kubernetes/pull/75622 was created by https://github.com/anyasabo. Updating 404 not found error with the right link in the release notes page of v1.15. (https://kubernetes.io/docs/setup/release/notes/)
2019-07-30 23:08:20 -07:00
Damien Duportal b66c439f12 Remove "LoadBalancer" limitation from Minikube (#15568)
* Remove "LoadBalancer" limitation from Minikube

* Update minikube.md
2019-07-30 09:56:51 -07:00
Jay Pipes 9196b64ca6 Change "module" to "mode" in authorization docs (#15548)
The content describing authorization modes used the term "authorization
modules" erroneously. This patch uses the term "mode" as is appropriate
but keeps the section link header the old "authorization-modules" in
order not to break older links.
2019-07-30 09:44:53 -07:00
yokoyama tatsuo a00526008b rename AWS EC2 Container Registry (#15562)
https://aws.amazon.com/jp/ecr/
The correct name is Amazon Elastic Container Registry.
2019-07-30 09:42:50 -07:00
Robert Kielty 1e160b9b81 adds a ref to container-runtimes (#15581)
Just added a link to container-runtimes from the k8s docs
2019-07-30 09:38:49 -07:00
Zach Corleissen 9591ca0957 Tiny typo fix (#15579) 2019-07-30 08:50:53 -07:00
Zach Corleissen 39ef9e283f Markup fixes (#15578)
Silly rabbit, shortcode spaces matter

Even siller rabbit

Nit
2019-07-30 06:16:51 -07:00
Lubomir I. Ivanov 0247da1b01 kubeadm: add considerations section for control-plane-endpoint (#15524)
* kubeadm: add considerations section for control-plane-endpoint

* kubeadm: change master->control-plane in create-cluster-kubeadm.md
2019-07-30 00:24:51 -07:00
Seokho 3963f543b6 Add a new Korean owner in OWNERS_ALIASES (#15564) 2019-07-29 17:58:50 -07:00
Javi Sabalete 57ae2f5855 Add content/es/docs/reference/glossary/minikube.md (#14555) 2019-07-29 13:18:48 -07:00
Tim Bannister a589e5582b Revise glossary entry for kube-proxy (#15172)
- Mark as relevant to networking.
- Unmark as a core object. kube-proxy is not an API object.
- Fix hyperlink to reference docs.
- Include hyperlink in definition. This is used in /docs/concepts/overview/components/
- Revise wording.
2019-07-29 12:54:47 -07:00
Akshay Mankar cd04773f2b Add kubernetes-client/haskell (#15573) 2019-07-29 11:10:25 -07:00
Zach Corleissen de57ad7d79 Add aliases for blog owners and reviewers (#15383) 2019-07-29 11:08:26 -07:00
Neha Gupta 11893c709a Minor corrections in init container readme and Service readme (#15570)
* Updating minor corrections

* Updating minor corrections in service readme
2019-07-29 11:06:27 -07:00
Tim Bannister 5e9207e88d Fix "kubectl --k" typo (#15558) 2019-07-29 11:04:26 -07:00
Stuart P. Bentley bc3054c3a7 Remove superfluous backtick (#15561) 2019-07-29 11:02:26 -07:00
Weidong Cai dcc6d35586 Fix pvc clone sample yaml (#15569) 2019-07-29 11:00:25 -07:00
Nikita Potapenko 60506ed935 Fix typo (#15559) 2019-07-29 10:58:26 -07:00
Stuart P. Bentley a35aea188d Remove kubeadm-dind from learning environment list (#15556)
Per the removed link, kubeadm-dind has been deprecated in favor of kind (which has been moved up and named as such).
2019-07-29 10:52:25 -07:00
yunxji d0edb73386 Modify document format. (#15567) 2019-07-29 01:59:54 -07:00
Michael Vorburger ⛑️ f21879772a remove doc from kubeadm-init.md which is duplicated in kubelet-integration.md (#15424)
* remove doc from kubeadm-init.md which is duplicated in kubelet-integration.md

This section in reference/setup-tools/kubeadm/kubeadm-init.md seems to significantly overlap with setup/production-environment/tools/kubeadm/kubelet-integration.md - looks like someone copy/pasted it at some point?  The information in kubelet-integration.md looks more up to date than this (e.g. there actually is no `--allow-privileged=true` or `--network-plugin=cni` here?).  Therefore lets delete the sections content, and have a short line linking to the other one.

If this is accepted, then #15421 is moot (because #15423 moves it to the new place).

* shorten link re. removed doc from kubeadm-init.md

as requested in https://github.com/kubernetes/website/pull/15424/ review

* drop https://kubernetes.io from link in kubeadm-init.md

* Revert "shorten link re. removed doc from kubeadm-init.md"

This reverts commit f128ce7dc2022e424a28ffc3faacb7b9a8af0ad8.

* fix bad wording

* update kubeadm-init.md based on kbhawkey review feedback

* remove duplicate sentence in kubeadm-init.md
2019-07-28 09:15:53 -07:00
ljnaresh 7acaa5adae Adding cgroups to glossary (#15106)
* Adding cgroup to glossary

Adding cgroup to glossary

* Removed value from aka field

* Updating cgroups.md with cgroups changed to cgroup

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Modified cgroups to singular

* Title update and remove etc

Updated the title as mentioned in v2 docs and removed etc

* Update cgroups.md

Adding different short description

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Updated cgroups.md short description

* Changed file name and glossary title

* Changed the title to make it consistent
2019-07-28 08:53:53 -07:00
Cyprien Le Pannérer cc85b16d40 misspell (#15490) 2019-07-28 05:09:53 -07:00
Edith Erika Puclla Pareja 9eeb013498 add content/es/docs/reference/glossary/volume.md (#14901)
Suggestions glo-pena done

Fixing glo-pena  suggestions

remove space before container word

remove space before container word
2019-07-28 01:43:54 -07:00
Ashutosh Gangwar 0a8a85feb1 custom-resource-definitions.md: fix typo (#15527) 2019-07-26 01:51:58 -07:00
June Yi 82a65e007b Second Korean l10n work for release-1.15 (#15533)
* Reference/tools/v0.1 (#15401)
* Translate reference/glossary/contributor.md in Korean (#15433)
* Translate reference/glossary/cla in Korean (#15436)
* Update what-is-kubernetes.md (#15446)
* Translate glossary components tagged with `Fundamental` into korean (#15426)
* Translate content/ko/docs/concepts/overview/working-with-objects/fiel… (#15393)
* Translate tasks/administer-cluster/cluster-management in Korean (#15472)

Co-Authored-By: lapee79 <lapee79@gmail.com>
Co-Authored-By: alice_k106 <alice_k106@naver.com>
Co-Authored-By: Sunghoon Kang <me@devholic.io>
Co-Authored-By: 박주은 <elpion19@gmail.com>
Co-Authored-By: JiMyung Lee <lee.ji.myung@gmail.com>
Co-Authored-By: Sean Park <seanpark.hh@gmail.com>
Co-Authored-By: Seokho Son <shsongist@gmail.com>
2019-07-25 21:51:59 -07:00
Damon Wang 8c13b46b45 change the apiversion of disablePreemption (#15528)
change componentconfig/v1alpha1 to kubescheduler.config.k8s.io/v1alpha1
2019-07-25 20:13:58 -07:00
yunxji c866b20f49 Add something about Tencent Cloud (#15298)
* Added Tencent Cloud Production Environment Solution

* Add an article on how to run kubernetes on Tencent Kubernetes Engine : content/en/docs/setup/production-environment/turnkey/tke.md

* Document modifications have been made as recommended by reviewer sftim. Please select this document when merging.

* Document optimization

* Modify the contents of the document : content/en/docs/setup/production-environment/turnkey/tke.md

* Add A What's Next section

* Add content: TKE is a Certified Kubernetes product.

* Add reviewers and other information.

* Delete a space

* Change information about reviewers

* Remove reviewers.
2019-07-25 20:05:58 -07:00
Alex Punnen 14c348819f pod-network to be done only on master node (#15505)
* pod-network to be done only on master node

added a note saying that Install a pod-network add on need to be done only on the master node

* updated where to run pod-network doc
2019-07-25 00:35:53 -07:00
Stef Ki bb9ee3db9b Line break between section and previous paragraph (#15474)
Line break between the "Kubernetes Basics Modules" and the previous paragraph, for consistency.
2019-07-25 00:33:53 -07:00
Andreas Jaekel 52ff74a35a Update _index.md (#15494)
* Update _index.md

Added k8s offerings by Ionos Enterprise Cloud.

* Update _index.md

Switched from .de domain to .com.
2019-07-25 00:31:51 -07:00
Tim Bannister d6cc934dc8 Fix wrong name for CRDs in Operators concept (#15521) 2019-07-24 20:25:51 -07:00
Brandon Marick 9b051e7468 Update ttlafterfinished.md (#15525)
Fix Design Doc link
2019-07-24 18:05:52 -07:00
Taahir Ahmed 51de06b36a ImagePolicyWebhook: config can be embedded (#15233)
All admission control plugins support two modes for specifying their
configuration: linking to an external file using the `path` key in the
shared admission configuration file, or directly embedding the
configuration using the `configuration` key in the shared admission
configuration file.

This commit makes the ImagePolicyWebhook documentation mention the
embedded configuration option.
2019-07-24 08:26:17 -07:00
Jesus, Julio Cesar Soares de 31cbc5e982 Adding China unicom Case Study (#15347)
* Adding China unicom Case Study

* Adding comma

* Update index.html

Now the verb was conjugated correctly.

* Update index.html

Added comma to separate items correctly.

* Update index.html

Removing the br element.

* Update index.html

Correction in verbal conjugation.
2019-07-24 06:58:16 -07:00
SataQiu 6400794a60 Update scale-intro.html (#15516) 2019-07-24 05:00:18 -07:00
mhamdi semah f7a6551379 Issue with k8s.io/zh/docs/tutorials/kubernetes-basics/scale/scale-intro/ (#15179) 2019-07-24 00:30:15 -07:00
George Tseres b4f10b3874 Fix field in PDB (#15480) 2019-07-23 19:44:15 -07:00
Ismail Alidzhikov 43fd8768a7 Improve PodPreset docs (#15493)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-23 19:38:16 -07:00
Jiacheng Xu 761d210f63 Update garbage-collection.md (#15495) 2019-07-23 19:36:14 -07:00
Tim Bannister b8efe3bc52 List sftim as en-localization reviewer (#15497) 2019-07-23 19:30:16 -07:00
mohamed chiheb ben jemaa 94d0b0b6fe replace kubectl error message with the related output (#15510) 2019-07-23 19:28:14 -07:00
Jason Haley d18d07ace5 New getting started blog post (#14970)
* New getting started blog post

I'd like to submit a blog post for the kubernetes.io blog targeted to people just getting started with Kubernetes. I myself am still new to it but want to start writing more to share what I am learning and help others along the way. My point of view is a little different than most people who post on the kubernetes.io blog since I am an independent consultant and I also work mostly with Microsoft products - so some of my resources are from Microsoft which seems rare for some reason in most Kubernetes blog posts I find on the web.

* Added the images and changed md for path

I added the image files and changed the paths in the markdown to /static/images/blog/...

* fix path

* Added date to header

Added a date to get it on netlify preview

* made changes

* Update and rename get-started-with-kubernetes-using-python.md to 2019-07-23-get-started-with-kubernetes-using-python.md
2019-07-23 10:54:13 -07:00
Lubomir I. Ivanov e75c348dbe kubeadm: update the docs for HA with --control-plane-endpoint (#15369)
The addition of the flag "---control-plane-endpoint" for
"kubeadm init" removes the requirement for creating a config file
for the stacked etcd setup.

The config is still required for stacked etcd setup.
2019-07-22 07:06:52 -07:00
Manish Bansal 8a09d414e8 Improved PodPreset documentation (#15409)
* Adding scroller to the command

* Updated

* Updated
2019-07-21 01:52:52 -07:00
Harsh Vardhan b7b8ce0b25 Fix Prev/Next navigation buttons when viewing article (#15439)
Earlier both the on the left and right buttons had the text `Next>>` now
the left one will have the text `<< Prev`

fixes: https://github.com/kubernetes/website/issues/15438

Signed-off-by: Harsh Vardhan <harsh.vardhan@mayadata.io>
2019-07-21 01:46:54 -07:00
Ismail Alidzhikov 6e153db6ac Recommend installing calico 3.8 (#15418)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-21 01:41:01 -07:00
Michael Vorburger ⛑️ bcae3af22d clarify better where 10-kubeadm.conf comes from in kubeadm/kubeadm-init.md (#15421)
* clarify better where 10-kubeadm.conf comes from in kubeadm/kubeadm-init.md

* minor formatting fix as requested in review
2019-07-20 21:08:52 -07:00
Eric Hu 7dae226a96 secret.md: add an example of editing a secret (#15464) 2019-07-20 20:32:53 -07:00
mohamed chiheb ben jemaa 55e6801033 update extensible-admission-controllers to mention that default admission webhooks FailurePolicy in v1 is Fail (#15475) 2019-07-20 20:28:52 -07:00
Nikita Potapenko 496fd7591a Fix command (#15479) 2019-07-20 20:24:53 -07:00
Tamas Ecsedi 4f38ca8a37 Add Banzai Cloud Pipeline Kubernetes Engine (PKE) to production environment solutions table (#15481) 2019-07-20 20:20:53 -07:00
Vallery Lancey 0225023baa Added English blog on API removal timelines in 1.16 (#15203) 2019-07-18 09:52:12 -07:00
Saish Dharvotkar b14752b288 Changed inter-pod affinity section (#15427)
Clarified pod affinity section as it was confusing to understand whether or not a list of namespaces was optional or needed with LabelSelectors.
2019-07-18 03:34:11 -07:00
Lubomir I. Ivanov 96922f3b73 kubeadm: modify the step for upgrading control plane kubelets (#15452)
When upgrading controlplane nodes, upgrading the kubelets should be done
as the last step after "kubeadm upgrade" was run on all of the control
plane nodes already.

Also apply consistency related cleanup to sections and section names.
2019-07-18 03:28:10 -07:00
Naoki Oketani fd974ca794 specify local port as argument (#15445) 2019-07-16 20:24:35 -07:00
Scot Marvin 7671f4bfb2 Changed a confusing heading (#15453)
I changed a question that had no question mark into a statement. I also changed the heading from the first person to the second person, because the topic it treats the reader as the second person everywhere else.
2019-07-16 17:22:35 -07:00
Qiming 55d6324252 Rename blog files to include date in names (#15386)
kind: cleanup
2019-07-16 10:41:25 -07:00
Ismail Alidzhikov 9c1fd9dcfe Fix serve_hostname image (#15416)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-16 06:15:25 -07:00
Kohei Ota 6e46503575 add Japanese readme (#15403)
* add Japanese readme

* little fix on format

* fix

* fix

* remove md tables following other languages and small translation added

* Update README-ja.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Update README-ja.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* Update README-ja.md

Co-Authored-By: Takuya Tokuda <cs.toku.mail@gmail.com>

* addressing review

* website

* Update README-ja.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* title
2019-07-16 03:07:23 -07:00
nasa9084 164f4195d7 update sig-docs-ja-owners and sig-docs-ja-reviewers (#15449) 2019-07-16 00:07:23 -07:00
Felipe d524ae61ac Adjusting main README-pt.md (#15364) 2019-07-15 11:37:23 -07:00
Ryan Zidago 17c975c1fb docs-fr | reference | glossary | developer.md (#15377)
* docs-fr | reference | glossary | developer.md

* corrected missing translation
2019-07-15 07:23:09 -07:00
Ryan Zidago 9b891d9cf0 docs-fr | reference | glossary | deployment.md (#15367) 2019-07-15 05:35:07 -07:00
Ryan Zidago 77ce07830a docs-fr | reference | glossary | data-plane.md (#15346) 2019-07-15 05:33:07 -07:00
Ryan Zidago 3e54066070 docs-fr | reference | glossary | device-plugin.md (#15414) 2019-07-15 05:31:08 -07:00
Ismail Alidzhikov 12ee3e42e4 Fix command that queries for label version (#15417)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-14 17:51:03 -07:00
Ismail Alidzhikov cb034f9138 Upgrade calico canal to 3.8 (#15420)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-14 17:39:03 -07:00
Michael Vorburger ⛑️ ce1753952e fix missing word "to" in kubeadm/kubelet-integration.md (#15419) 2019-07-14 07:51:03 -07:00
Zach Corleissen ce8fc52fef Add closure guidelines (#15261)
Add close command

Add a note about fejta-bot

Feedback from kbhawkey
2019-07-14 05:17:03 -07:00
Rael Garcia c138c9c158 Replace tabs by spaces in glossary-terms partials (#15408)
Using tabs in this partials seems to cause Hugo to parse the partial
as a code block instead of rendering the HTML code.

Solves #14792 rendering issues.
2019-07-14 03:41:03 -07:00
Nikita Potapenko 4a1203a941 Update cli commands (#15268)
* Update cli commands

* Small fixes

* Update snippet
2019-07-13 20:09:01 -07:00
Donghui Wang 62656313f1 typo fix: add the missing right parenthesis (#15407) 2019-07-13 11:05:03 -07:00
Karen Bradshaw 997242c871 clean up label comments (#15397) 2019-07-13 11:03:04 -07:00
Zach Corleissen 0e540e8dcb Update contribution guidelines for approvers (#15385) 2019-07-12 16:25:04 -07:00
houjun 00d9ada416 Fix error link (#15388) 2019-07-12 08:25:05 -07:00
Ismail Alidzhikov e793604bd0 Cycle KubeCon info on landing page (#15204)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-12 07:35:06 -07:00
Elton Stoneman 436271a7da Fix kubeadm link (#15286)
Original link was broken, and the target doc title has changed.
2019-07-11 21:51:05 -07:00
Tim Bannister 3ca1955a13 Add “CNCF” to glossary (#14537)
* Add glossary entry for CNCF

* Use CNCF glossary entry
2019-07-11 18:03:07 -07:00
Tim Bannister 20e45f1331 Add concept page for Operators (#14458)
* Add concept page for Operator pattern

* Link to article about Operator best practices
2019-07-11 17:57:07 -07:00
Tim Bannister a6fc4c139b Improve docs on “Assigning Pods to Nodes” (#14278)
* Switch to "failure zone" term

Previous wording, "availability zone", is specific to certain cloud
service providers (eg AWS).

* Refer to glossary terms where appropriate

* Reword signposting to examples

* Assign stable name to anchor

* Link to standard node labels

* Fix incorrect feature state claims

* NodeRestriction admission plugin needs Kubernetes v1.11

(or later)

* Move further reading to whatsnext section

* Fix link to cluster setup

* Drop advice about older kubectl

Kubernetes v1.14+ definitely does offer a compatible kubectl

* Drop outdated comment about downloading examples

* Call an availability zone an availability zone
2019-07-11 17:53:05 -07:00
Justin Biggs e76ccf33cc update cluster definition and add tooltip to concepts page. (#14967) 2019-07-11 17:45:06 -07:00
Ismail Alidzhikov 0d32a93de4 Fix feature-state for ExpandInUsePersistentVolumes (#15076)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-11 17:43:06 -07:00
Ismail Alidzhikov 21528fa822 Add --all-namespaces (#15334)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-11 17:41:07 -07:00
Tim Bannister 8e6c0abc54 Revise Addons section of components (#15173) 2019-07-11 17:39:04 -07:00
Karen Bradshaw 791498509d update owners_aliases (#15384) 2019-07-11 17:27:05 -07:00
Tim Bannister e1ec9a6246 Improve init containers concept page (#14281)
* Improve init containers page

- Overall rewording
- Link to “Debug init containers” in whatsnext
- Explain terms / use glossary references
- Use glossary shortcodes where appropriate
- Expand terms like QoS and cgroup that aren't in the glossary
- Only document & recommend stable syntax
- Tweak initContainer examples to use project style
- Drop vestigialreference to StatefulSet

Also: write “container” in lower case

Most of the places where this page talks about containers, it's as a
concept rather than an object in the Kubernetes API. Adjust case
accordingly.

* Reword what's next section
2019-07-11 16:31:07 -07:00
devasat a90f783820 cheatsheet.md: fix command that queries for label version (#15355)
'rc' in the command is interpreted as pod name
2019-07-11 16:13:05 -07:00
Jim Angel 05a84463b2 fixes offline dependencies (#15257)
fixing tweet tags by replacing with embedded html
2019-07-11 16:07:04 -07:00
Ellen Mei ec61bf6c84 machine-generated translations need human review (#15381) 2019-07-11 11:13:06 -07:00
David Ricordel 891139aa49 docs-fr | concepts | cluster-administration | logging.md (#15244)
* Add docs/concepts/cluster-administration/logging.md

* Add depending examples

* Translate first 2 chapters

* Coorect the path to debug/counter-pod.yaml

Only the english versions can be directly referenced.

* translate last chapter and adjust to doc style guide

* Fix french ortographic and gramatical errors

* Fix french grammar and orthograph
2019-07-11 07:28:55 -07:00
June Yi 113008ff6e First Korean l10n work for release-1.15 (#15356)
* Translate concepts/workloads/controllers/replicationcontroller in Korean (#15044)
* ko: Update outdated 1.14-ko.4 branch (#15099)
* Translate tasks/access-application-cluster/configure-access-multiple-clusters in Korean (#15121)
* Translate standardized glossary items in Tag Network into Korean (#15278)
* ko: Keep up with upstream - renamed files (#15030)

Co-Authored-By: Seokho <shsongist@gmail.com>
Co-Authored-By: lapee79 <lapee79@gmail.com>
Co-Authored-By: Yoon <learder@gmail.com>
Co-Authored-By: June Yi <june.yi@samsung.com>
2019-07-10 05:16:25 -07:00
June Yi bdf4e5fef6 Update podpreset and setup/_index in Korean (#15357) 2019-07-10 04:40:25 -07:00
Yudi A Phanama 60c570de00 Add Indonesian Translation for Cloud Controller Manager Concepts page (#15335)
* Add Cloud Controller Manager concepts Indonesian translation

* Change merinci to memerinci standard form

* Some typo fixes
2019-07-09 20:46:25 -07:00
Patrick Lang 86e7a0fac9 docs: note that kubectl port-forward supported in 1.15 on Windows (#15361) 2019-07-09 20:26:25 -07:00
karolflont 9a58393192 Update kubeadm-upgrade-1-14.md (#15359)
Ubuntu 16.04.5 LTS
apt-mark unhold kubeadm && apt-get update && apt-get install -y kubeadm=1.14.x-00 && apt-mark hold kubeadm gives the below error
The following packages have unmet dependencies:
kubelet : Depends: kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Unholding the kubelet with kubeadm fixes the problem.
2019-07-09 20:24:25 -07:00
Ismail Alidzhikov ef3ac43fe0 Update CCM vendor implementations links (#15207)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-09 12:32:25 -07:00
Tim Bannister d550d112af Add scheduler concept guide (#14637)
* Add scheduler concept page

* Rename scheduling overview

* Fix non-ASCII colon symbols

* Reword scheduler concept page

* Move scheduler performance tuning into scheduling

* Signpost from overview to kube-scheduler, etc

* Add whatsnext section to scheduler concept

* Restructure scheduling concept

Now there's a concept page for scheduling, some of the details
in the performance tuning page can have a better home.

* Omit link to (unwritten) scheduling extensions page

* Drop deprecated / superseded filtering rules
2019-07-09 12:28:25 -07:00
Ryan Zidago 6b0711ae01 docs-fr | content | reference | glossary | daemon.md (#15329) 2019-07-09 07:40:02 -07:00
Michael Shen e1e9e8c7fc Grammar Correction (#15354)
From:  Go cipher suites will be use
To: Go cipher suites will be used
2019-07-09 05:48:03 -07:00
devasat daa1886134 configure-upgrade-etcd.md: rename section header (#15328)
The section heading refers to starting API Server, but the content is about starting etcd cluster.
2019-07-09 04:12:03 -07:00
mohamed chiheb ben jemaa eaf8b43d6c change image registry (#15326) 2019-07-09 04:10:02 -07:00
David Ricordel 140ffcd845 Separate commands from output (#15331) 2019-07-09 04:08:02 -07:00
Ryan Stephen 5e32562bff Updated index.html (#15338)
-- Added <br> tags on line 36 to space out "Impact" content ensuring style consistency
-- Deleted duplicate content on line 52.
2019-07-09 04:06:04 -07:00
mohamed chiheb ben jemaa cad2e5c006 fixing coredns label (#15340) 2019-07-09 03:58:01 -07:00
Patrick Lang 097618dfa1 Update pause image based on kubernetes#75479 (#15345) 2019-07-09 03:52:02 -07:00
Justin Biggs ac5116714c Update korean pick right solution solves issue #14479 (#15130)
* Updated Korean setup and cassandra pages to remove broken pick-right-solution page

* took out the errant Getting Started line with the pick-right-solution link.  It's not in the English version at all.
2019-07-09 02:26:02 -07:00
Yudi A Phanama 936d15e745 Translate Init Containers docs to Bahasa Indonesia (#14927)
* Translate init containers docs to Bahasa Indonesia

* Some review fixes

* Fix kedaluarsa to kedaluwarsa
2019-07-08 23:04:02 -07:00
Rémy Léone 8b78d7f685 Add readme for scripts (#14913) 2019-07-08 15:24:00 -07:00
Ismail Alidzhikov 8a3234389f Fix broken links (#15333)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-08 03:46:34 -07:00
mohamed chiheb ben jemaa 58d8991c98 fixing carousel (#15339) 2019-07-08 02:04:34 -07:00
Felipe b5abc2481b inital commit of content/pt/docs/concepts/cluster-administration/Addons (#14391)
Update content/pt/docs/concepts/cluster-administration/addons.md
2019-07-07 18:22:28 +01:00
Lubomir I. Ivanov 7e3f1789b2 kubeadm: recommend installing calico 3.8 (#15090)
This change is required since the 3.8 manifest moves to using
apps/v1 instead of extensions/v1beta1 for types like DaemonSet
and Deployment.

See PR 70672 of k/k.
2019-07-07 02:00:34 -07:00
Hypo 43903a873b add how to install kubeadm (#15174)
* add how to install

* make improvements

* Update kubeadm.md
2019-07-07 01:56:34 -07:00
Tim Bannister 8b1db5c271 Tidy assign-cpu-resource page (#15126)
* Tidy assign-cpu-resource page

* Update assign-cpu-resource.md
2019-07-06 21:02:32 -07:00
Karen Bradshaw 48e68a9eb5 Update api reference contrib doc (#15114)
* Update api reference contrib doc

See issue #14111

* updates to api ref contrib guide

* further updates to api ref contrib

* more updates api ref contrib
2019-07-06 21:00:34 -07:00
mhamdi semah 7db830ab61 Issue with k8s.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ No package kubeadm available. (#15111) 2019-07-06 20:58:34 -07:00
zhangqx2010 42ef78a7ad update multi-language description (#15124)
* update multi-language description

* Update style-guide.md

* Update style-guide.md
2019-07-06 20:56:34 -07:00
shankarsundaram 4f841f0cab Update what-is-kubernetes.md (#15181)
container needs to start i cant be the same container . so renamed from restart to start
2019-07-06 20:52:33 -07:00
Kohei Toyoda 0f1c2b7e68 update generator table for kubectl run (#15146) 2019-07-06 20:50:33 -07:00
popozy f3bb552f2a lose apt-mark unhold kubectl (#15176)
lose apt-mark unhold kubectl when apt-get install kubectl. If not unhold kubectl, it would return the error follows:
``` shell
root@ecs-k8s-master:~# apt-mark unhold kubelet && apt-get update && apt-get install -y kubelet=1.15.0-00 kubectl=1.15.0-00 && apt-mark hold kubelet 
kubelet was already not hold.
Hit:1 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease [107 kB]
Hit:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
Hit:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
Hit:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease                                                                                                                     
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-145 linux-headers-4.4.0-145-generic linux-image-4.4.0-145-generic linux-modules-4.4.0-145-generic
Use 'apt autoremove' to remove them.
The following held packages will be changed:
  kubectl
The following packages will be upgraded:
  kubectl kubelet
2 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
E: Held packages were changed and -y was used without --allow-change-held-packages.
```
2019-07-06 20:48:34 -07:00
mohamed chiheb ben jemaa 222795393c fix rancher url (#15183) 2019-07-06 20:44:33 -07:00
Ismail Alidzhikov f8af591cb0 Use networking.k8s.io/v1beta1 for ingress apiVersion (#15190)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-06 20:42:34 -07:00
Karen Bradshaw 0c4353e86c update kubectl ref contrib guide (#15199)
* [WIP] update kubectl ref contrib guide

* updates to kubectl cmd ref contrib
2019-07-06 04:54:35 -07:00
Brian Grant 71e027895e Remove myself from review of all files except what-is-kubernetes and the deprecation policy. All of the lists of suggested reviewers need to be overhauled, but that's a separate task. (#15227) 2019-07-06 04:20:35 -07:00
Ace Eldeib cd2cb310e8 nit: fix awkward phrasing around pruning behavior (#15226) 2019-07-06 04:18:34 -07:00
Jay Pipes d065457f69 correct request payload for imagepolicy webhook (#15228)
The example request payload for the imagepolicy webhook mistakenly
represented annotations as a list instead of an object.
2019-07-06 04:16:36 -07:00
Yang Guo 14b33db63c Fix several issues in "Using sysctls in a Kubernetes Cluster" (#15248)
1. Replace net.ipv4.route.min_pmtu with net.core.somaxconn in the
   example of using unsafe sysctls in containers, since the former is not
   accessible within container namespace at all.

2. Not all net.* sysctls are namespaced. Explain the correct way to
   identify the namespaced networking sysctls.
2019-07-06 04:10:35 -07:00
zwwhdls a0084c609d change the service account name in tutorial (#15260) 2019-07-06 04:08:34 -07:00
David Dieulivol 24d32ebd83 Update service.md (#15267) 2019-07-06 03:58:34 -07:00
Guoxiang Zu e50dba3ac4 Provide the default values for sync period and ttl (#15296)
* Provide the default values for sync period and ttl

Fill the default value information of kubelet sync period and ttl of ConfigMaps cache in kubelet.
Value info comes from:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/configmap/configmap_manager.go#L110
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/config/v1beta1/defaults.go#L51

* Update configure-pod-configmap.md
2019-07-06 02:34:35 -07:00
Sebastian Florek 5cc0fbe1b4 Update Dashboard install and access links (#15290)
Updated installation link to refer stable tagged branch and access link.
2019-07-06 02:32:34 -07:00
Jay Pipes f14ea99943 fix old link to logging devel docs (#15270)
Development docs for logging have moved to sig-instrumentation.
2019-07-06 02:30:36 -07:00
Paco Xu 9b431b2ce4 Remove --allow-privileged as it is deprecated in latest 1.15.0 (#15285) 2019-07-06 02:28:33 -07:00
João Vitor 3903154544 Fix typo and path of file from the task "Configure a Pod to Use a ConfigMap" (#15311)
* fix path of game.properties file

It has been dowloaded to configure-pod-container/configmap/game.properties

* fix typo: kustomization instead of kusotmization
2019-07-06 02:20:36 -07:00
Samuel Walker b838fa571e [Route] vs [Router] (#15315)
Using the solution found at https://github.com/rancher/rke/issues/689#issuecomment-397016756 I was able to avoid the error `can't store data at section "Router"`
2019-07-06 02:18:35 -07:00
Julie K 109f606c2e Taint (#15165)
* translated term: taint

* update translation: taint

* Update translation: taint

translated term as "marquage" in French

* Update translation: taint

translated "schedule" (v.) as "ordonnancer"

* Update translation: taint

typo fixup

* Update translation: taint

typo fixup
2019-07-05 06:24:36 -07:00
Ryan Zidago 36bf429d58 docs-fr | reference | glossary | cronjob.md (#15299) 2019-07-05 01:38:35 -07:00
Michael Vorburger ⛑️ 5d56ee4d2c fix broken link in krib.md (#15295) 2019-07-04 22:28:36 -07:00
Jay Pipes a6e86bee08 Fix bullet list output in CRD schema blog (#15229)
Due to a couple missing newlines and missing closing fixed-width quote
delimiter, the bulleted list of extensions to core constructs was being
incorrectly displayed.
2019-07-04 13:58:35 -07:00
Ramin Abdollahi 4a8234f388 fix typo (#15241) 2019-07-04 07:22:37 -07:00
Martin Vladev 9feeb191db Remove initializers (ko) (#14653)
Initializers are removed in 1.14 [1]

[1]: https://github.com/kubernetes/kubernetes/pull/72972
2019-07-04 07:20:38 -07:00
Naoki Oketani 4e9325e981 fixed a typo in Kustomize Feature List (#15246) 2019-07-04 01:06:13 -07:00
Wayne Khan a649dd4e39 Fixed case (previously: allocateS) (#15275) 2019-07-04 00:38:12 -07:00
Himanshu Pandey 147687dddb Added the hyperlink for pod in the page (#15113)
* add the hyperlink for pod in the page

* Changed Pod href to tooltip
2019-07-03 06:56:35 -07:00
William Zhang 08d49237c9 📰 fix the scheduling framework figure link (#15155)
Signed-off-by: William Zhang <warmchang@outlook.com>
2019-07-03 06:54:35 -07:00
Naoki Oketani aa4e6fe95e added missing EOF (#15159)
* added missing EOF

* fixed a typo and leading output
2019-07-03 06:46:33 -07:00
Rong Gao db9dacafc0 fix broken link in scheduling-framework (#15182) 2019-07-03 06:44:32 -07:00
Maruf Tuhin d2b16d711e Fix typo (#15265) 2019-07-03 06:22:31 -07:00
Lubomir I. Ivanov 91c1c3d196 kubeadm: apply some fixes to the self-hosting doc (#15252)
- add link to selfhosting pivot command
- fix typo in "upgrade"
- use relative links
- add "/capture" and "capture body" tags
2019-07-03 06:02:32 -07:00
Ryan Zidago b56933120f docs-fr | reference | glossary | contributor.md (#15249) 2019-07-03 02:08:30 -07:00
mhamdi semah 51877c6772 Issue with k8s.io/ja/docs/tutorials/kubernetes-basics/scale/scale-intro/ (#15177) 2019-07-03 00:00:32 -07:00
Hypo 9c1af4ddb8 add kubeadm ClusterConfiguration usage (#15175)
* add usage

* update note

* update note

* update ClusterConfiguration yml
2019-07-02 19:52:29 -07:00
Dan Mueller e2802088a8 fix typo (#15255) 2019-07-02 15:41:11 -07:00
shavidissa 99e9b2b99f Adding shavidissa as an approver for en content (#15253)
Added me as an approver for the English content.
2019-07-02 14:07:11 -07:00
shavidissa 8bf7e8cba4 Review and update the Ingress page (#15216)
* Review and update the Ingress page

* Fix typos

* Update as per the comments
2019-07-02 13:25:12 -07:00
shavidissa 78229a1c1f Review and update (#15074)
* Review and update

* Fix issue 3735

* Update as per the comments

* Update as per the comments
2019-07-02 13:15:12 -07:00
shavidissa 0f4543b94b Update and organize the content on Deployments (#14861)
* Update and organize the content on Deployments

fix formatting issues

Format a note

Formats the content

Format content

Fix formatting issues

Format content

Format content
Update and organize the content on Deployments

* Update the content as per the comments

* Update as per the comments

* Update as per the comments
2019-07-02 13:10:29 -07:00
Ismail Alidzhikov b692fddd32 kubectl config set-context --current (#15194)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-02 08:09:09 -07:00
youmoo f34ad033b8 Update pod.md (#15237)
Add missing white space
2019-07-02 07:53:09 -07:00
Metri Dmitriev 7cc23347d6 flexvolume link fix (#15236) 2019-07-02 01:39:09 -07:00
shub-asa1 86e887bb72 fix for issue #15238 removed extra "for" (#15239)
fix for issue #15238 ,removed extra for
2019-07-02 01:35:08 -07:00
Philippe MARTIN 4181f840bb docs-fr | concepts | containers | container-lifecycle-hooks.md (#15211) 2019-07-01 05:17:20 -07:00
Anthony Watherston 5634a68482 Update service.md (#15219)
Missing word in paragraph - reading didn't make sense.
2019-07-01 03:17:20 -07:00
Marcin Niemira e174e79438 Fix alignment in examples/pods/storage/pv-pod.yaml (#15198) 2019-07-01 03:15:22 -07:00
shub-asa1 1f4345b57b fix for issue #15214 (#15215)
fix for issue #15214  added --all-namespaces in a command as the result of command will always be "no resources"
2019-07-01 03:13:18 -07:00
Dawn Foster d58847f0c3 fixed broken links to api_changes.md and api-conventions.md (#15220) 2019-07-01 03:11:21 -07:00
Diego W. Antunes 3cca103ffe Added new reviwer to the pt-BR team members (#15131) 2019-06-30 15:03:18 -07:00
Ryan Zidago 4e52db4a73 translated glossary/application_developer.md from en to fr (#15021) 2019-06-30 02:51:20 -07:00
Ryan Zidago a0049b0d12 docs-fr | docs | reference | glossary | cla (#15095)
* docs-fr | docs | reference | glossary | cla

* corrected glossary_tooltip text
2019-06-30 02:49:21 -07:00
Tim Bannister 23a4be1cf4 Fixup certificat (#15104) 2019-06-29 12:07:23 -07:00
Ryan Zidago 0d82b28f09 docs-fr | docs | reference | glossary | cloud-controller-manager.md (#15164) 2019-06-29 12:05:21 -07:00
Ryan Zidago 4cdbfa0ec0 docs-fr | docs | reference | glossary | cloud-provider.md (#15167)
* docs-fr | docs | reference | glossary | cloud-provider.md

* corrected mistakes in acronyms
2019-06-29 12:03:22 -07:00
Ryan Zidago 3db1a5ed07 docs-fr | docs | reference | glossary | cni.md (#15201) 2019-06-29 11:23:21 -07:00
Ryan Zidago edb33be654 docs-fr | docs | reference | glossary | cluster-operations.md (#15192) 2019-06-29 11:21:22 -07:00
Ryan Zidago 534575aa0f docs-fr | docs | reference | glossary | cluster-infrastructure.md (#15191) 2019-06-29 11:19:22 -07:00
Ryan Zidago d83f064841 docs-fr | docs | reference | glossary | cluster-architect.md (#15169) 2019-06-29 11:17:22 -07:00
Ryan Zidago 6838aa1eb9 docs-fr | docs | reference | glossary | cluster-operator.md (#15200) 2019-06-29 11:15:22 -07:00
mhamdi semah 54d997366f Issue with k8s.io/ko/docs/tutorials/kubernetes-basics/scale/scale-intro/ (#15178) 2019-06-29 08:05:22 -07:00
flytreeleft cda3efa8ee Fix MySQL slave node can not sync data with the master node in examples/application/mysql/mysql-statefulset.yaml: (#13054)
- Ignore 'xtrabackup_slave_info' if it is an empty file.
- Remove the tailing semicolon in 'xtrabackup_slave_info'.
- Stop script when 'CHANGE MASTER' is failed, then rename 'change_master_to.sql.in' only when changing master is successful.
2019-06-28 22:59:24 -07:00
prameshj 43ffdc0444 Update nodelocaldns.md to render website correctly - on master branch (#15142)
* Update nodelocaldns.md

* Fix the image rendering code.

Added newline
2019-06-28 11:07:40 -07:00
Pascal Bourdier bf190f916a Fix typo in Kustomize Feature List (#15156) 2019-06-28 05:57:39 -07:00
Zach Corleissen c0382f1934 Cycle KubeCon info on landing page (#15170)
* Cycle KubeCon info on landing page

* Adjust button width
2019-06-27 16:11:22 -07:00
Zach Corleissen f551835b26 Disable Italian (#15134) 2019-06-27 13:53:22 -07:00
Julie K 71ef6ef32a Kubelet (#15157)
* translated term: kubelet

* Update translation: kubelet
2019-06-27 10:53:20 -07:00
Richard Marcum 6498cf861c Remove unnecessary paragraph (#15075)
* Remove unnecessary paragraph

Fixes issue #15027

* Revise per PR
2019-06-27 08:55:21 -07:00
Julie K 2bf6120bbd translated term: docker (#14912)
* translated term: docker

* Update translation: docker

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* update translation: docker. Kept "cgroup", "kernal" and "namespace" from English
2019-06-27 08:53:24 -07:00
Julie K cd43bade51 translated term: containerd (#14915)
* translated term: containerd

* Update translation: containerd

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-06-27 06:05:22 -07:00
Markus Witt 4cdf2bcbd4 Fix broken link (#15143) 2019-06-27 01:01:22 -07:00
Jim Angel fd53a95b51 Syncing release-branch 'test-example' change to master (#15137)
This is a preventative change that will allow release-1.15 to merge successfully.
2019-06-26 15:21:20 -07:00
Tim Bannister 2436c026b4 Only use CNCF logo style on home page (#14577)
There's some SASS that adds a logo to the CNCF section of the page at
https://kubernetes.io/ (and its localizations).

Narrow this styling to apply only to the home page.
2019-06-26 13:25:25 -07:00
zwwhdls e089eab6fb update tutorial not to use ‘kubectl run’ for creating deployment (#14980)
* update tutorial not to use ‘kubectl run’ for creating deployment

* fix code stype

* fix text stype

* fix ordered list

* delete blank line for md
2019-06-26 11:17:21 -07:00
mohamed chiheb ben jemaa cb574f4b75 fix carousel (#15129) 2019-06-26 08:55:17 -07:00
Yongmin Hong 30fb1aadc3 Fix grammar errors on README-ko.md (#14787)
Spaces on places where space should not be there.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2019-06-25 19:15:12 -07:00
Taylor D. Edmiston 6ef2bfefb3 Update kustomization file link (#15115) 2019-06-25 18:19:13 -07:00
Taylor D. Edmiston a688849341 Make indentation consistent (#15118) 2019-06-25 18:15:14 -07:00
Jesse Glick a23fcb5727 kubectl config set-context --current (#15039) 2019-06-25 08:44:37 -07:00
WoOsley 498d870280 Update out-of-resource.md (#14890)
* Update out-of-resource.md

add note about evicted pod behavior

* Update out-of-resource.md

fix wrong wording

* Update content/en/docs/tasks/administer-cluster/out-of-resource.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update out-of-resource.md
2019-06-25 08:42:36 -07:00
pytimer 8a09d239f8 Using hugo extended version when locally using Hugo in README.md (#15078) 2019-06-25 08:26:36 -07:00
Oilbeater 3c15b94958 add Kube-OVN description (#14957) 2019-06-25 07:14:36 -07:00
Hypo 23583c5e12 add describe about WordPress deploy yml (#15003)
* add desc about wp deploy.yml

* make corrections

* Update mysql-wordpress-persistent-volume.md
2019-06-25 07:10:35 -07:00
Jay Pipes e3bc4bcb62 remove deprecated init container syntax (#15103)
Init Containers were specified using custom annotations in k8s 1.5.  In
k8s 1.6, these annotations were replaced with the
`Pod.Spec.initContainers` collection and the old annotations were
deprecated in 1.6 and no longer supported in 1.8. There's no reason to
clutter the docs with the old annotation syntax.
2019-06-25 06:54:36 -07:00
Gasmi Christophe 6a6f1169a5 docs-fr | tutorials | kubernetes-basics | deploy-app (#15062)
* add page docs/fr/tutorials/deploy-app

* update
2019-06-25 03:00:35 -07:00
Ryan Zidago faa351f98a translated glossary_annotation.md from en to fr (#14914)
* translated glossary_annotation.md from en to fr

* improved short_description and description; changed 'bibliothèques' for 'librairies
2019-06-25 01:52:34 -07:00
Ryan Zidago 1c8dbeb098 translated glossary/app-container.md from en to fr (#14919)
* translated glossary/app-container.md from en to fr

* added 'workload' in definition
2019-06-25 01:48:35 -07:00
Ryan Zidago 86b2b02c8d docs-fr | docs | reference | glossary | certificate (#15094) 2019-06-25 01:14:37 -07:00
Ryan Zidago 107a688388 translated glossary/application-architect from en to fr (#14951)
* translated glossary/application-architect from en to fr

* translated title section of glossary/application-architect.md from en to fr

* changed 'micro-prestations' to 'micro-services
2019-06-25 00:52:36 -07:00
Jorge O. Castro 17e71f618c This URL is a better link directly to the feature (#15028)
* This URL is a better link directly to the feature

Signed-off-by: Jorge O. Castro <jorgec@vmware.com>

* Convert links to relative links, clean up a conversion comment

Signed-off-by: Jorge O. Castro <jorgec@vmware.com>
2019-06-24 21:02:36 -07:00
Rémy Léone 1206e3c6a1 Fix robots.txt (#14774)
Lighthouse in Google Chrome reported an issue
2019-06-24 20:52:35 -07:00
mhamdi semah 46f21284df Issue with k8s.io/ja/docs/tutorials/kubernetes-basics/expose/expose-intro/ (#14791) 2019-06-24 20:50:37 -07:00
Tammer Saleh 7f90c73a01 Clarify Pod Security Policy Ordering (#13484) 2019-06-24 20:46:34 -07:00
Jonas Rosland 00864d9988 Add recap blog post for Contributor Summit Barcelona 2019 (#15085)
Signed-off-by: jonasrosland <jrosland@vmware.com>
2019-06-24 20:14:35 -07:00
mhamdi semah 582cda6192 Blog post index for past years does not expand making older posts unreachable (#14875) 2019-06-24 20:10:35 -07:00
Vladimir Vivien c7deda468b CSI ephemeral volume alpha documentation (#15055) 2019-06-24 20:08:36 -07:00
Lucas Käldström 35cfa0d9a0 kubeadm v1.15 blog post (#15026)
* Initial blog post draft for kubeadm v1.15

* More edits, and add pictures

* Incorporate changes from review and add hugo metadata

Signed-off-by: Jorge O. Castro <jorgec@vmware.com>

* Update logo and some final edits

Signed-off-by: Jorge O. Castro <jorgec@vmware.com>

* Some minor fixes, fix the logo and author attribution

* Fix list formatting

* Fix an other list formatting issue

* Update 2019-06-24-kubeadm-ha-v115.md
2019-06-24 14:52:35 -07:00
Barnabas Makonda 12fe1f0dce update release notes (#15041) 2019-06-24 13:18:36 -07:00
Kaitlyn Barnard ac0633fe08 Update OWNERS (#15091) 2019-06-24 12:08:37 -07:00
Julie K 1e0380d374 translated term: cluster (#14920) 2019-06-24 04:49:56 -07:00
Julie K ac04e8c677 translated term: image (#14918) 2019-06-24 04:45:56 -07:00
Porte Pierre-Antoine 11afa09a9b translate to fr replicaset (#14908)
* translate to fr replicaset

* Remove reviewers from header file

* Update replicaset.md reflecting remyleone's comments

* Update replicaset.md reflecting sftim's comments

* Update replicaset.md reflecting remyleone's (forgotten) comments
2019-06-24 04:27:56 -07:00
Dennis Periquet d338d2454d tiny grammatical error fixed (#15059) 2019-06-23 23:57:54 -07:00
Justin Walz b2965e704e Update common-labels.md (#15058)
Small change, but consistent ordering reads nicer to those looking for the difference between each block.
2019-06-23 23:55:56 -07:00
icheikhrouhou 0e1d280c56 adopt new kubeadm logo #14741 (#15064) 2019-06-23 23:35:55 -07:00
Rajesh Deshpande 2fb8128b30 Correcting details about current request namespace (#15061)
Removed ambiguous word 'temporarily', as namespace set using that method, is not temporary. It is permanent for a current resource and there is no concept of a temporary namespace in K8s. 
Also, for consisteny '--namespace' flag added after the actual command.
2019-06-23 23:33:55 -07:00
Rajesh Deshpande 0a835fc032 Adding command to display node details (#15063)
Details of a node are already described on this page but the command used to get those details were missing. So with this PR adding that command.
2019-06-23 23:31:55 -07:00
Takuya N 5c0afee773 Remove unused user-journeys/users/cluster-operator/_advanced.md (#15068)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-06-23 23:29:55 -07:00
Ismail Alidzhikov 4dd9ef988e Update feature-gates.md with v1.15 release (#15071)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-06-23 23:27:55 -07:00
Lennart Jern ce09218fbe Upgrade fixup (#15073)
* Fix indentation of code

* Change header for section about node drain
2019-06-23 23:25:55 -07:00
Ismail Alidzhikov 2d36455c80 Remove unnecessary character (#15077)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-06-23 23:13:54 -07:00
Takuya N 25c2bd7086 Fix typos: omitted (#15069)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-06-23 20:39:55 -07:00
Karen Bradshaw 9497f54773 fix link to Spotify, case-studies (#15054) 2019-06-23 20:33:55 -07:00
Luc Perkins a5d33d6774 Add Hindi snippets translation file and missing config.toml params (#15080) 2019-06-23 20:29:55 -07:00
Jinhua Tan 214bd5d85e zh sync to en: move user-guide to reference/kubectl (#14843) 2019-06-23 07:37:54 -07:00
Jinhua Tan d7d268f38f remove docs/admin (#14941) 2019-06-22 18:35:17 -07:00
Javi Sabalete 0ef6f561f1 Add content/es/docs/reference/glossary/kubectl.md (#14554) 2019-06-22 10:50:12 -07:00
José Miguel Parrella bea9f78751 Add content/es/docs/concepts/overview/what-is-kubernetes.md (#14585)
Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Javi Sabalete <sabaletej@gmail.com>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: Rael Garcia <me@rael.io>

Update what-is-kubernetes.md

Update what-is-kubernetes.md

Update what-is-kubernetes.md
2019-06-22 10:42:12 -07:00
Deepak Punjabi e3c194a073 Corrected flag name from v.1.14 to v1.15 (#15051) 2019-06-21 10:52:15 -07:00
mhamdi semah 7dda0a4e73 Issue with k8s.io/docs/reference/access-authn-authz/extensible-admission-controllers/ (#15049) 2019-06-21 10:50:15 -07:00
Tim Bannister 028c51d03f Fix typo (#15046) 2019-06-21 10:48:15 -07:00
pytimer 62e52d7337 remove kubelet --allow-privileged flag when setup ha etcd with kubeadm (#15045) 2019-06-21 10:46:16 -07:00
NickMRamirez 5569bef380 Updates HAProxy Ingress Controller information (#15034)
* Updates HAProxy Ingress Controller information to point to new controller supported by haproxytech

* Update content/en/docs/concepts/services-networking/ingress-controllers.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-06-21 10:44:15 -07:00
Prasad Katti 9f376b8ddf fix typo in cri-o doc (#15038) 2019-06-21 10:42:16 -07:00
Benedikt Rollik eca77629a0 [DOCS-DE] Updated Kubecon dates (#15014)
* Updated Kubecon dates

* Fixed typo
2019-06-21 10:40:17 -07:00
Patrick Lussan 06418e9676 Fix download link for latest release (#15050)
* Fix download link for latest release

See https://help.github.com/en/articles/linking-to-releases

* Update install-minikube.md
2019-06-21 10:36:17 -07:00
Nate Taber 4fc772a024 Add AWS VPC CNI to Networking Docs (#15052)
* Added listing for AWS VPC CNI

Added listing for AWS VPC CNI under "How to implement the Kubernetes networking model".

* Added AWS VPC CNI 

* Added AWS VPC CNI to Installing a pod network add-on
* Updated tabs to alphabetical order
2019-06-21 10:34:15 -07:00
John Griffith 6b9245acc8 Propose blog to introduce csi-cloning in 1.15 (#14952) 2019-06-21 07:44:36 -07:00
icheikhrouhou 0269de7a22 Feature/tools (#14748)
* fix conflict

* fix yaml error
2019-06-21 03:04:36 -07:00
icheikhrouhou c6f63b9f0d docs-fr | docs | tasks | configure-pod-container | assign memory (#14883)
* translate assign memory resource in tasks

* fix wording of assign memory

* fix grammar for assign memory

* fix ponctuation
2019-06-21 03:02:35 -07:00
Evan 1929512fb7 Add translations for Persistent Volumes for Bahasa Indonesia (#14532)
* Add translations for Persistent Volumes for Bahasa Indonesia

* Update translations:
+ Fix leftover English
+ Fix typos
+ Fix nits

* Update content/id/docs/concepts/storage/persistent-volumes.md

Fix typo

Co-Authored-By: Giri Kuncoro <girikuncoro@users.noreply.github.com>

* Translate remaining word 'storage'
2019-06-20 23:40:35 -07:00
Giri Kuncoro a4ff8fd563 Add storage limit translation (#14903) 2019-06-20 22:28:35 -07:00
Giri Kuncoro 84813551b9 Add Bahasa Indonesia translation for cron job page (#14933) 2019-06-20 22:26:35 -07:00
Karen Bradshaw fb1b61678d generate and update api reference to 1.15 (#15042)
* generate and update api reference to 1.15

* update ref page with v1.15 link
2019-06-20 18:48:36 -07:00
Dr. Stefan Schimanski 07c5dcede1 Fix formatting in 2019-06-20-Future-of-CRDs-Structural-Schemas.md (#15037)
* Fix formatting in 2019-06-20-Future-of-CRDs-Structural-Schemas.md

Hugo seems to be incompatible with the Github markdown formatting.

* Fix doc link

* Defaulting is alpha
2019-06-20 14:42:35 -07:00
MAKOSCAFEE 024dadf012 initial commit 2019-06-21 00:35:10 +03:00
Rajesh Deshpande aba753c189 Adding what's next section to namespace concepts (#15017)
* Adding what's new section to namespace concepts

To learn more about namespaces and give better navigation this section is added.

* Update namespaces.md
2019-06-20 10:04:48 -07:00
Kohei Toyoda b927fd4fb0 change label name and add kubectl command into job content (#15010) 2019-06-20 10:02:48 -07:00
839 f8afd343a6 [#15031] update the upgrade method of kubelet / kubectl of worker nodes (#15032) 2019-06-20 09:52:49 -07:00
Dr. Stefan Schimanski 854885fa42 Create 2019-06-19-Future-of-CRDs-Structural-Schemas.md (#14966)
Follow-up of the 1.15 release blog post.
2019-06-20 09:50:49 -07:00
Nikhita Raghunath a66041cb3c 1.15 announcement: fix release team link (#15022) 2019-06-20 05:58:50 -07:00
Ryan Stephen 20189c2000 Update what-is-kubernetes.md - Grammar Syntax Edit (#15019)
Removed capitalization for lines succeeding a colon ":". Edits from line 40-49.
2019-06-20 05:24:49 -07:00
Hypo c0997116f1 del :wq (#15002) 2019-06-20 05:22:48 -07:00
Barnabas Makonda a669d04efe API reference for 1.15 (#15018) 2019-06-20 05:20:50 -07:00
Barnabas Makonda fe5ca2738b Remove .orig and _backup_ files (#15011)
* remove all .orig files

* remove all backup files

* remove base, local and remote backup files
2019-06-20 05:18:48 -07:00
Barnabas Makonda d7cd5bc9c4 remove service backup files (#15008) 2019-06-19 23:58:50 -07:00
zhangqx2010 2beb32367f fix: add zh readme (#14773)
* fix: add zh readme

* Update README.md

* add origin english version for veview
fix typo

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: SataQiu <1527062125@qq.com>

* Update README-zh.md

Co-Authored-By: chenrui <rui@meetup.com>

* Update README-zh.md
2019-06-19 19:34:48 -07:00
Alex Contini a9f984dd0d add Spotify case study (#14993) 2019-06-19 18:46:48 -07:00
Karen Bradshaw b25cfa9dda fix link to kubeadm alpha (#15000) 2019-06-19 18:42:48 -07:00
Barnabas Makonda b7aa1ac0c1 Merge pull request #14984 from kubernetes/dev-1.15
Official 1.15 Release Docs
2019-06-20 01:20:12 +03:00
Taylor Dolezal ce80e54544 1.15 Kubernetes release announcement (#14994)
* 1.15 Kubernetes release announcement

* Update 2019-06-19-kubernetes-1-15-release-announcement.md

* Update 2019-06-19-kubernetes-1-15-release-announcement.md
2019-06-19 15:18:49 -07:00
Barnabas Makonda 455f312775 Merge branch 'master' into dev-1.15 2019-06-19 23:19:27 +03:00
Guy Templeton 0e1e971f13 Add links out to different metrics APIs (#14865)
There's been a number of questions around the difference between the external.metrics.k8s.io and custom.metrics.k8s.io in #sig-autoscaling referring back to the HPA docs recently. Added links out to the design proposals for each and the relevant sections of the existing walkthrough docs.
2019-06-19 13:10:51 -07:00
CJ Cullen 3780c56243 Update vuln reporting language to match reality (#14885)
We don't need to be the dispatch for all vulns, now that other projects are starting to have their own processes. But we don't want to discourage reports about stuff that isn't directly in k/k either.

Saying that we usually disclose vuln reports in 7 days is just not true. But, I think it's still good to aim for 7 days when we aren't blocked on and coordinating release of patches.
2019-06-19 13:08:51 -07:00
Julien Brochet 70eca876a4 feat(configMap): add a warning message for ConfigMap with a specific path (#14896) 2019-06-19 13:06:50 -07:00
John Law 58f108a489 Update shell-demo.yaml (#14892) 2019-06-19 13:04:20 -07:00
839 52073165cb update the upgrade method of kubelet / kubectl of worker nodes (#14871)
* [#14870] update the upgrade method of kubelet / kubectl of worker nodes

* [#14870] add link of how to update from 1.13 to 1.14
2019-06-19 13:02:20 -07:00
James Woodall 4bc7a5f8b1 Minikube IP Address fixup for ingress demonstration (#14906)
* Updated IP Address for /etc/hosts

Tested on Minikube for macOS.

When using Minikube, the IP address listed in `kubectl get ingress` is the internal Minikube IP address and is not available on the web browser.

Added advice to the user that when using Minikube, add the Minikube IP address to the Hosts file instead of the IP address displayed in `kubectl get ingress`.

* Update ingress-minikube.md
2019-06-19 12:56:18 -07:00
Joseph Irving f2808242e6 clarify that job backofflimit causes running job pods to be terminated (#14899) 2019-06-19 12:54:22 -07:00
Fabian Deutsch 8d88bd0b39 addons: Add KubeVirt (#14900)
KubeVirt is a virutalization add-on for Kubernetes, by now it's pretty mature and maybe a good time to mention it on this page.
2019-06-19 12:52:20 -07:00
Naoki Oketani 70aa8fa692 specify Pod not to display redundant messages (#14936) 2019-06-19 12:48:22 -07:00
Tim Bannister 0c4d5b7506 Update link to Minikube from glossary (#14942) 2019-06-19 12:22:33 -07:00
mhamdi semah a0aa15ec7f Issue with k8s.io/docs/setup/production-environment/container-runtimes/ (#14945) 2019-06-19 12:20:34 -07:00
mohamed chiheb ben jemaa b9a5c8d7b0 update tutorial to use deployment yaml file (#14959)
* update run command for deployment

* recommended label name
2019-06-19 12:18:31 -07:00
Supriya Sirbi 01bd547d3e Issue #14768- update Resource-quotas.md (#14963)
Remove "cpu" and "memory" description since they are no longer used
2019-06-19 12:14:31 -07:00
Rajesh Deshpande c82a5e402c Adding alternative command to create namespace (#14974)
* Adding alternative command to create namespace

As this is first place user look to find details to create a namespace, added an alternative command to create a namespace. Also, this is mostly used way to create namepsace instead of YAML.

* Correcting Formatting

Correcting formatting for changes

* Update namespaces.md
2019-06-19 12:12:31 -07:00
Rajesh Deshpande 5a4b7a38bc Adding pod configuration file with names (#14971)
Adding pod configuration file with pod and container name. This explains the usage of names and how it looks like in actual YAML.
2019-06-19 12:10:33 -07:00
mohamed chiheb ben jemaa efe2d0fd99 change minion-group to node-pool (#14976) 2019-06-19 12:06:36 -07:00
zwwhdls 31fce9bee1 Fix kubectl reference table of '--generator' (#14983)
* fix `--generator` in `kubectl run` guide

* distinguish api group from kubectl command in reference table
2019-06-19 12:02:34 -07:00
MAKOSCAFEE f04d0cf472 updated config.toml for 1.15 2019-06-19 20:35:53 +03:00
MAKOSCAFEE 8781518d32 update with master content resolving merge conflicts 2019-06-19 19:10:18 +03:00
Rémy Léone a86bc5ca13 Translate components to French (#13436)
* Translate components to French

* Update content/fr/docs/contribute/generate-ref-docs/kubernetes-components.md

Co-Authored-By: Oussema CHERNI <oussemos@gmail.com>

* Update content/fr/docs/contribute/generate-ref-docs/kubernetes-components.md

Co-Authored-By: Oussema CHERNI <oussemos@gmail.com>

* Update content/fr/docs/contribute/generate-ref-docs/kubernetes-components.md

Co-Authored-By: Oussema CHERNI <oussemos@gmail.com>
2019-06-19 07:30:38 -07:00
Richard Marcum d778644a2d Rename zones on dns-pod-service page (#14672)
* Rename zones on dns-pod-service page

Issue with k8s.io/docs/concepts/services-networking/dns-pod-service/ - cluster.local #14386

* Update custom-dns.yaml

* Change remaining occurrences of cluster.local
2019-06-18 15:42:34 -07:00
Deepika Pandhi 658f5c498d Added --show-labels (#14779)
* updated OR comments

* updated comments from review for --show-labels
2019-06-18 15:36:32 -07:00
Serdar Osman Onur cc4c4789ce Update ingress-controllers.md (#14803)
I think what is meant is "to provide a default ingress CONTROLLER"
2019-06-18 15:34:32 -07:00
Josiah Bjorgaard b2c496aec3 Clarify mutation behavior with MustRunAsNonRoot (#14820) 2019-06-18 15:18:35 -07:00
Weston Carlson cef94610c8 Improve mysql instance label value. (#14827) 2019-06-18 14:01:49 -07:00
mhamdi semah 82650353cb Outdated terminology: “kubernetes-minion-group” (#14859) 2019-06-18 13:49:50 -07:00
Alexandre Vilain b473890928 Fix 404 on link: "Download Kubernetes" (#14969) 2019-06-18 13:45:49 -07:00
shavidissa 1e8b524f26 Updates the What is Kubernetes page (#14657)
* Updates the What is Kubernetes page

* Adds content to the what is kubernetes used for section.

* Updates the ordered list.

* Formats the content.

* Update the content as per the comments

* Fix a broken link
2019-06-18 12:51:49 -07:00
André R. de Miranda 42cbe1256e Link broken (#14928)
The link from the source code of the server.go is broken.

Signed-off-by: André R. de Miranda andre@miranda.work
2019-06-17 18:16:15 -07:00
Jim Angel 7e194986c8 adding Barnie's write permissions to k/website (#14948)
A tad late in the release cycle for this, should have been done sooner to streamline the docs release team.
2019-06-17 12:23:51 -07:00
Alex Contini eeb5b00d44 add CERN case study (#14873) 2019-06-17 12:01:50 -07:00
Tim Bannister dee06de26a Tidy garbage collection controller page (#14856)
* Tidy code blocks

* Reword for better readability
2019-06-16 22:06:08 -07:00
Tim Bannister ca9e44ff9c Tidy reference doc generation guide (#14825)
- fix YAML marked as shell
- trim trailing whitespace
2019-06-16 18:04:07 -07:00
Ryan Zidago d1a47bf88c translated glossary/aggregation-layer.md from en to fr (#14911) 2019-06-16 03:50:07 -07:00
Julie K c310498e49 translated term: container (#14909) 2019-06-16 03:48:09 -07:00
mohamed chiheb ben jemaa ff60500bb1 fixing carousel Fixes ##14882 (#14895) 2019-06-16 02:34:08 -07:00
June Yi 0f7cb401ee Fifth Korean localization work for release-1.14 (#14578) (#14874)
Change List
* ko: add tutorials/clusters/apparmor #12455 (#14613)
* ko: add tasks/access-application-cluster/configure-dns-cluster (#14628)
* ko: add tasks/access-application-cluster/communicate-containers-same-… (#14627)
* ko: Update outdated files of setup and tasks in dev-1.14-ko.5 partly (#14683)
* translate to content/ko/docs/concepts/cluster-administration/cluster-… (#14237)
* Update renamed or deleted files in dev-1.14-ko.5 (#14710)
* Create pod.md (#13927)

Co-Authored-By:    Yoon <learder@gmail.com>
Co-Authored-By:    Woojin Na(Eddie) <kimchigood1130@gmail.com>
Co-Authored-By:    Claudia J. Kang <claudiajkang@gmail.com>
2019-06-15 21:16:10 -07:00
Julie K 1d874b911c translated term: container-runtime (#14921) 2019-06-15 11:04:11 -07:00
Amina Waddiz 2cdd51914e [docs-fr] add missing overview (#14815) 2019-06-15 11:02:10 -07:00
Javi Sabalete 9dddb3c075 Add content/es/docs/reference/glossary/kops.md (#14533) 2019-06-15 06:14:09 -07:00
Kersten Burkhardt a44d4ee3c9 Fixed typo (#14845) 2019-06-15 06:00:09 -07:00
Justin Biggs 355b5ef308 Update _index.md (#14685) 2019-06-15 05:54:09 -07:00
mohamed chiheb ben jemaa d058c46577 Dangling "pick-right-solution" references - Italian (#14806)
* Fixes-14477

* update pick-right-solution to setup page Fixes-14476

* update sentences and fix typo lang/it Fixes-14477

* Revert "update pick-right-solution to setup page Fixes-14476"

This reverts commit e949a7f3d4bc65fa91339d8d4b826e499e552455.

revert wrong commit
2019-06-15 05:50:09 -07:00
Kurnianto Trilaksono c0612aed8d Translate "Garbage Collection" page to Bahasa Indonesia (#14513)
* add pod preset page for language/id

* fix formatting

* fix typos and wording

* fix formatting and add few missed lines

* fix note formatting

* add Garbage Collection page in Bahasa Indonesia and minor fix on Pod Preset page

* remove replication.yaml

* add controllers/replicaset.yaml to example

* fix formatting error

* change dependent to dependen and fix note translation

* delete trailing space in heading
2019-06-13 21:44:20 -07:00
Anthony Dahanne 02d963d5fc fix some typos in kubeadm init (#14864) 2019-06-13 18:50:22 -07:00
Jinhua Tan c2ecd93437 remove useless file: whatisk8s.md (#14844) 2019-06-13 18:14:21 -07:00
chenrui 26f2e55be9 zh-trans: add 2019-06-11-contributor-summit-shanghai.md (#14837)
* zh-trans: add 2019-06-11-contributor-summit-shanghai.md

* s/贡献者峰会活动/贡献者峰会/

* s/不过/不论/

* Adopt PR suggestion

* s/你/您/

* s/当前贡献者节/现有贡献者活动/

* s/在亚洲和大洋洲的很多贡献者/很多亚洲和大洋洲的贡献者/

* s/新开发者/新贡献者/

* Adopt PR suggestion.

* s/上海会展中心/上海世博中心/

* s/工作者/贡献者/

* Refresh original English text as the related PR got merged

* Rename the filename to be consistent with English blog post PR
2019-06-13 08:10:25 -07:00
mohamed chiheb ben jemaa 9eec2f28ba update pick-right-solution to setup page (#14866)
* update pick-right-solution to setup page Fixes-14476

* update pick-right-solution to setup page #14866
2019-06-13 01:48:13 -07:00
WoOsley a20807c071 Update out-of-resource.md (#14862)
add default value for housekeeping interval
2019-06-12 17:24:15 -07:00
Josh Berkus 488c04fc0b Added blog post about the upcoming Contributor Summit Shanghai. (#14782)
* Added blog post about the upcoming Contributor Summit Shanghai.

* Update content/en/blog/_posts/2019-06-11-contributor-summit-shanghai.md

Spell out CLA

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/en/blog/_posts/2019-06-11-contributor-summit-shanghai.md

Spell out KEP

Co-Authored-By: chenrui <rui@meetup.com>

* Update content/en/blog/_posts/2019-06-11-contributor-summit-shanghai.md

define f2f

Co-Authored-By: chenrui <rui@meetup.com>

* Update content/en/blog/_posts/2019-06-11-contributor-summit-shanghai.md

comma

Co-Authored-By: chenrui <rui@meetup.com>

* Update content/en/blog/_posts/2019-06-11-contributor-summit-shanghai.md

add meeting

Co-Authored-By: chenrui <rui@meetup.com>

* Update content/en/blog/_posts/2019-06-11-contributor-summit-shanghai.md

localized/internationalized

Co-Authored-By: chenrui <rui@meetup.com>

* Update and rename 2019-06-11-contributor-summit-shanghai.md to 2019-06-12-contributor-summit-shanghai.md
2019-06-12 10:56:17 -07:00
Ben Hall 21f32e19e5 2 translated interactive tutorials for ES (#14417)
Signed-off-by: Ben Hall <ben@benhall.me.uk>
2019-06-12 07:01:32 -07:00
Jarek Strzelecki ba03f9580b Update install-kubectl.md (#14840)
Add note: Docker for Windows adds its own kubectl to PATH
2019-06-12 06:59:32 -07:00
zhangqx2010 cef5f1f339 fix-zh-home (#14835) 2019-06-12 06:57:32 -07:00
Haoran Wang e0f55762dc Update field-selectors.md (#14839)
We should use --all-namespaces to filter all the service
2019-06-12 06:55:31 -07:00
Pingan 528fd25b3f fix a mistake in limit-range.md (#14836) 2019-06-12 06:53:33 -07:00
Rémy Léone be946f210d Add a script to check differences between translated and English version (#14731)
This script will query all the changes that happen to a reference document (in English) since the last time a given translation was merged (For instance in French).
This could help all the translation team to keep up with the changes that happened inside the reference document.
2019-06-12 06:49:33 -07:00
Diego W. Antunes 846de91040 Translate content/id/docs/concepts/cluster-administration/cluster-administration-overview.md into Portuguese (#14705)
* Added - Cluster Administration Overview as ptBR

* Fixed missing translation

* Fixed style

* rollback reviewers
2019-06-12 06:47:30 -07:00
Javi Sabalete c3fa521757 Add content/es/docs/reference/glossary/docker.md (#14553)
* Add content/es/docs/reference/glossary/docker.md

* Update content/es/docs/reference/glossary/docker.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>
2019-06-12 06:29:29 -07:00
Javi Sabalete c113e203f9 Add content/es/docs/reference/glossary/kubeadm.md (#14546)
* Add content/es/docs/reference/glossary/kubeadm.md

* Update content/es/docs/reference/glossary/kubeadm.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/kubeadm.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/kubeadm.md

Co-Authored-By: Rael Garcia <me@rael.io>
2019-06-12 05:51:30 -07:00
Christian Gutierrez 1306060d9a Update _index.md for Spanish (#14645)
* Update _index.md

* Update _index.md
2019-06-12 05:37:29 -07:00
Rajakavitha1 55ac801bc4 Restructure the left navigation pane of setup (#14826)
* restructure left nav

* Restructure setup left navigation

* Update _redirects

* Incorporated all the changes suggested

* removed the Thumbs.db file
2019-06-12 04:57:29 -07:00
Anthony Dahanne f60947b370 initial french translation (#14793) 2019-06-12 01:25:30 -07:00
Rémy Léone d028d87b8e Add all the _index files for the French translation (#14744) 2019-06-11 10:06:20 -07:00
prameshj b42f019aae Create nodelocaldns.md to describe NodeLocal DNSCache feature. (#14625)
* Create nodelocaldns.md

This contains info about NodeLocal DnsCache feature.

* Update nodelocaldns.md

* Address review comments
2019-06-11 07:24:33 -07:00
Joe Betz 21d3206ffd Document webhook and kube-aggerator port configuration (#14674) 2019-06-11 05:18:24 -07:00
Lubomir I. Ivanov 71a7828152 kubeadm-tasks: include v1.14->v1.15 upgrade document (#14595)
Remove v1.11 upgrade documents.
2019-06-11 05:10:19 -07:00
Dr. Stefan Schimanski 57f6eeee68 concepts/extend-kubernetes/api-extension: add 1.15 features (#14583) 2019-06-10 22:54:14 -07:00
Tim Bannister 38aff0f8bb Improve concept page for Ingress (#14313)
* Highlight feature state for Ingress concept

* Fix command output marked as shell script

* Write "load balancer" as two words

* Clarify prerequisites for Ingress

* Tidy & reword

* Add link to Ingress Controllers topic

(further reading)

* Use a glossary tooltip for Secret

(readers may not have encountered that concept yet)

* Update term definitions in Ingress concept

- Adopt wording from glossary
  (NB: glossary_definition shortcode didn't seem suitable)
- Replace terms with glossary_tooltip where appropriate
2019-06-10 20:34:14 -07:00
Rajakavitha1 f7d6afedec Add accessibility guidelines to the style guide (#14292)
* [WIP] added accessibility guidelines to the style guide

Adopted the accessibility level A and AA guidelines to Markdown elements: 
https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0&currentsidebar=%23col_overview&levels=aaa

We still need to define attributes for the front matter. See, https://github.com/kubernetes/website/issues/14286

I am yet to draft the guidelines for images and alt text.

* fixed the note

Update style-guide.md

Incorporated the changes suggested

Incorporated the changes suggested.

fixed the formatting  issues in the table

fixed the spaces in the links section

fixed a space issue

fixed format issues in the link

added a11y guidelines to code section

removed a spacing issue

front matter guidelines best fit the using template section

Update content/en/docs/contribute/style/style-guide.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

Update content/en/docs/contribute/style/style-guide.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

Update content/en/docs/contribute/style/style-guide.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

incorporated the changes

incorporated the changes

Update content/en/docs/contribute/style/style-guide.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

title section for front matter guideline

updated the html characters

Update content/en/docs/contribute/style/style-guide.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

Update style-guide.md
2019-06-10 20:32:15 -07:00
Anthony Dahanne c27dced6e9 Fix several potential issues with existing translation (#14785)
* some typos
* some weird formulations, copied from the original english sentence
* some missing translations
2019-06-10 20:02:21 -07:00
Tim Bannister 6e901b9dec Check all commits in branch for examples (to trigger testing) (#14243)
* Check for examples changes in all branch commits

Review all the commits in the branch looking for changes inside
content/*/examples and if any are found, trigger testing.

This assumes that the main line branch is named "master"

* Tidy examples testing wrapper

 - print diagnostics to standard error
 - check for a "Yes" value rather than for absence of "No"
2019-06-10 19:54:16 -07:00
so0k a1cde3f626 Add Ref to shared process namespaces (#14194)
* Add Ref to shared process namespaces

The article talking about ways container can talk to each other should include shared process namespace as a method

* Drop note on kube version in reference
2019-06-10 19:52:15 -07:00
Tim Bannister 5c3e7955fb Split minikube install task into tabs (per-OS) (#14013)
* Put minikube install steps in per-OS tabs

* Work around nested <li> formatting issue

Using Markdown unordered lists inside tabs doesn't seem to work. These
changes are my work-around for that.

* Reword "laptop" to personal computer

Some computers aren't laptops

* Drop trailing whitespace

* Drop warning about removing other Mac hypervisors
2019-06-10 19:50:16 -07:00
Tim Bannister 7b44b7a3df Downloadable examples for “Run applications” section (#14147)
* Move examples ahead of commands that use them

In support of https://github.com/kubernetes/website/issues/12740

The aim is to adopt a consistent style around providing downloadable
examples for use with kubectl, etc.

* Tweak wording for stateful app pod example

* Adopt formatting conventions for code blocks

* Move ReplicationController sample YAML to examples

In aid of https://github.com/kubernetes/website/issues/12740

* Move PodDisruptionBudget sample YAML to examples

In aid of https://github.com/kubernetes/website/issues/12740

* Update test schema for new examples

* Use Unicode ellipsis in example

Aim here is to make the elision more obvious
2019-06-10 19:48:17 -07:00
Jingfang Liu b3e3332739 update kubectl "$" format (#13256) 2019-06-10 19:42:16 -07:00
shub-asa1 0c03137180 updated recommend key path for multiple certificates . (#13895)
this is fix for issue #13892 " In certificate-path table, values of recommend key path for certificates are missing."
2019-06-10 19:40:17 -07:00
Xiang Dai d865cc456e Add comment about where to run probe (#13815)
* Add comment about where to run probe

Add comment about where to run probe

Signed-off-by: Xiang Dai <764524258@qq.com>

* Update language

Signed-off-by: Xiang Dai <764524258@qq.com>

* Update language

Signed-off-by: Xiang Dai <764524258@qq.com>

* Update language

Signed-off-by: Xiang Dai <764524258@qq.com>

* fix grammar nits

Signed-off-by: Xiang Dai <764524258@qq.com>
2019-06-10 19:34:15 -07:00
Maya Kaczorowski a905be0ceb Add recommendation to use kms provider (#13264)
* Add recommendation to use kms provider

Add a warning to encrypting secrets documentation that if using a provider with secrets encryption, kms provider is preferred as it materially changes the threat model.

* Update encrypt-data.md

* Update encrypt-data.md

Updated to include kms provider is Beta sice 1.12

* Update encrypt-data.md
2019-06-10 19:30:16 -07:00
Guy Templeton d9b19701c3 Update HPA Algorithm Docs for v1.15 (#14728)
Also changes a link to algorithm details from initial design proposal in Github.
2019-06-10 19:04:17 -07:00
Lubomir I. Ivanov 2a0f39fb41 kubeadm: update the reference documentation for 1.15 (#14596)
* kubeadm-ref: update placeholder generated files

* kubeadm-ref: include reset-phase.md document

Also update reset.md to reflect the addition of reset phases.

* kubeadm-ref: update authored content

* kubeadm-ref: remove imports for removed "config upload" commands

* kubeadm-ref: add page for kubeadm upgrade phases
2019-06-10 18:56:15 -07:00
Qiming 3d1d270e3c Drop .travis.yml from dev-1.15 branch (#14812) 2019-06-10 18:44:16 -07:00
Robert Krawitz e45144f7e1 Graduate node PIDS limiting to beta (#14425) 2019-06-10 18:40:14 -07:00
Babak "Bobby" Salamat 5532ab32c1 Add a user document for the scheduling framework (#14388) 2019-06-10 18:38:13 -07:00
zhangqx2010 1e354c5b89 Update persistent-volumes.md (#14811)
Update PersistentVolume description.
2019-06-10 18:36:17 -07:00
fudali b237842659 add related note with pod deleted (#14709)
* feat: add job application has some error and restartPolicy is not Nerver pod will be delete note

* feat: optimize delete pods related suggestion

* Update jobs-run-to-completion.md
2019-06-10 18:34:16 -07:00
Jim Angel c22345dc2f Merge pull request #14496 from MrHohn/svc-lb-finalizer
Add a section for service load balancer cleanup
2019-06-10 20:27:39 -05:00
Weiliang Li 04f568d3a0 Update control-plane-flags.md (#14729) 2019-06-10 18:16:16 -07:00
Eirik Albrigtsen 9e1dc478a5 add clux/kube-rs client (#14759)
* add clux/kube-rs client

add [clux/kube-rs](https://github.com/clux/kube-rs) to list of
[community-maintained client
libraries](https://kubernetes.io/docs/reference/using-api/client-libraries/#community-maintained-client-libraries)

* reorder
2019-06-10 18:12:15 -07:00
Jakob Jarosch b67e560743 Remove Port Proxy reference (#14769)
The repository is no longer maintained and deprecated
2019-06-10 18:00:18 -07:00
Nicolas Rouquette 9909ef75a0 Updated podpreset.md to reflect changes in #71479 (#14764)
* Updated podpreset.md to reflect changes in #71479

See https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.14.md#other-notable-changes-3

* Refactored explanation to facilitate localization.
2019-06-10 17:58:15 -07:00
Vallery Lancey 71e69fd1b1 Added explanation of alpha non-preempting PriorityClasses to the "Pod Priority and Preemption" doc. (#14599) 2019-06-10 17:54:15 -07:00
M00nF1sh b495bd1631 promote AWS-NLB Support from alpha to beta (#14451) 2019-06-10 17:52:16 -07:00
Jarek Strzelecki feda4f90ec Update install-minikube.md (#14776)
Add message displayed when Hyper-V is already installed.
2019-06-10 17:50:15 -07:00
Nabarun Pal 277d206855 Fixes the IP addresses shown in the ip-masq diagram. (#14789)
The diagram can now be edited in draw.io

Issue #13917
2019-06-10 17:48:15 -07:00
Karen Bradshaw ba7f02ea4e fix padding for docs home on nav (#14807)
updated padding for docs home on nav
testing new sass->css, hugo extended
2019-06-10 17:38:15 -07:00
Chaminda Divitotawela 43021880be Update service.md (#14804)
Removed one 'means' from incorrect repeat.
2019-06-10 17:36:17 -07:00
codyc 1b9af9ad50 Federation Remediation Part Deux (#14140)
* first removal of federation

* more fixes
2019-06-10 17:32:15 -07:00
Zihong Zheng 9e102b5cbf Add a section for service load balancer cleanup 2019-06-10 17:05:13 -07:00
Lubomir I. Ivanov b51345a681 kubeadm-setup: update all setup related documents for 1.15 (#14594) 2019-06-10 16:18:19 -07:00
Weidong Cai 8b68f6a968 Add CSI type pv and description of CSI accessMode (#14798) 2019-06-10 16:16:15 -07:00
rptaylor 43ed5b7d25 add link to default admission controllers (#14808) 2019-06-10 16:00:22 -07:00
Kevin Taylor d1bdefd251 VolumeSubpathEnvExpansion Beta Documentation (#13846) 2019-06-10 13:07:07 -07:00
Morten Torkildsen 12238578ae Docs for feature: PDB support for custom resource with scale subresource (#14519) 2019-06-10 12:31:08 -07:00
Vladimir Vivien 1ab3957704 CSI Inline Ephemeral Documentation Update (#14704)
* CSI inline ephemeral ver update in doc

* CSI inline ephemeral feature-gate update
2019-06-10 12:29:10 -07:00
Rostislav M. Georgiev b1a0711f11 kubeadm: Document new v1beta2 config format (#14607)
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-06-10 12:27:16 -07:00
Jordan Liggitt fc86f8fef9 Add custom resource quota example (#14492) 2019-06-10 12:25:10 -07:00
rptaylor 6a77a5a7c9 recommended admission controllers are enabled by default (#14784)
Since the recommended ones are already enabled by default, they do not need to be explicitly specified with `--enable-admission-plugins`
2019-06-10 07:43:08 -07:00
Marcin Stożek 7e63eb4b84 Add missing logrotate component to logging with streaming sidecar image (#14780) 2019-06-10 07:41:09 -07:00
Jay Pipes 4ac08fcccd improve arch/nodes.md info on Conditions and Allocatable (#14753)
* clarify Conditions section in arch/nodes.md

The field name is `conditions` (plural), so have the section name match
the field name. In addition, updates the JSON output of an individual
Condition to match all the fields returned in k8s 1.14+.

* add information about Allocatable to nodes.md

Since k8s 1.6, a Node object returns information about both the node's
capacity as well as the allocatable resources on the node. The latter is
a representation of the resources that are available for normal pods to
consume.

This patch adds information about capacity vs. allocatable to the
documentation about nodes and provides a link to where the reader can
find more information about reserving compute resources.
2019-06-10 07:39:08 -07:00
Jason Gwartz 1f9786ee50 Fixes PDB rounding docs (percentage as string instead of float) (#14788)
* Clarifies how to set `minAvailable` using a percentage

* Fixes other references to percentages
2019-06-10 20:54:27 +08:00
Jay Beale 8f4fe15e14 Correction: sysctl entries aren't annotations (#14796)
* Correction: sysctl entries aren't annotations 

First, thank you for your work on this documentation. It means so much to so many users. I found that the sysctl documentation linked here explains that sysctl pod security policy entries are in the spec field, not done via annotation. This corrects it, using as much of the original language as possible from the linked sysctl documentation.

* Update pod-security-policy.md
2019-06-10 20:53:41 +08:00
Jordan Liggitt 3ad640e8bc Add webhook admission outline (#14671) 2019-06-09 21:15:05 -07:00
Luc Perkins 654db85168 Use Hugo extended for Sass/CSS (#13113) 2019-06-09 06:31:07 -07:00
rchowson c133a321c7 correct typo in home directory name (#14659)
home directory given as /etc/kuberentes/pki
should be /etc/kubernetes/pki
2019-06-07 19:05:06 -07:00
Dimitri Mitropoulos ce2f47192d small typo: extra verb (#14765) 2019-06-07 19:03:06 -07:00
Rémy Léone 871ba61574 Update bootstrap js because bootstrap 3.3.7 is vulnerable (#14775)
https://snyk.io/vuln/npm:bootstrap?lh=3.3.7&utm_source=lighthouse&utm_medium=ref&utm_campaign=audit
2019-06-07 19:01:08 -07:00
Anthony Dahanne 7fe0d505f0 Fix typo, missing 's' for plural (#14783) 2019-06-07 14:15:57 -07:00
Gasmi Christophe aa96765c94 fix typo and wrong url (#14772) 2019-06-07 01:51:58 -07:00
Amina Waddiz 0fcc348eee docs-fr | concepts | services-networking | ingress (#13742)
* [docs-fr] init ingress.md

* [docs-fr] remove glossary

* [docs-fr] add definitions

* [docs-fr] add ingress spec

* add default backend and ingress types

* fix netlify error for the unfound yaml file

* [docs-fr] add TLS and loadbalancing

* [docs-fr] fix some french typos

* [docs-fr] replace 'équilibreur de charge' with 'load-balancer'

* [docs-fr] fix typo

* [docs-fr] fix french typos and syntax

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update content/fr/docs/concepts/services-networking/ingress.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* [docs-fr] enhance syntax

* [docs-fr] update load-balancer spec

* [docs-fr] fix broken deployment

* [docs-fr] fix typos
2019-06-06 02:42:11 -07:00
Gasmi Christophe 019c774dd8 Revert "fix typo en/fr (#14749)" (#14750)
This reverts commit 07812a5ac8.
2019-06-06 01:08:13 -07:00
Gasmi Christophe 194a895011 revert on a name translation of card made by mistake (#14751) 2019-06-05 23:48:12 -07:00
Tim Bannister 86e0bef076 New upstream commit for code of conduct (Spanish) (#14631) 2019-06-05 23:20:13 -07:00
Rajesh Deshpande 6b9fd618b2 Adding example to show labels in POD yaml (#14439)
* Adding example to show labels in POD yaml

This page talk about labels and its usage. Also it talk about syntax for specifying labels. But it does not show how we can have labels in resource manifest. So with this PR i am adding example which shows that how we can have labels in pod manifest.

* Changes to resolve review comments

Changes to resolve review comments
2019-06-05 22:58:10 -07:00
André Martins 0e146f8df5 setup/independent: fix cilium installation guide for kubeadm (#14411)
Signed-off-by: André Martins <aanm90@gmail.com>
2019-06-05 22:56:10 -07:00
Rajesh Deshpande 1646be8def Adding annotation example (#14440)
* Adding annotation example 

Adding example to show how annotation looks like in manifest.  This will help users to understand where exactly we can use the annotations whose details are already given on this page. Annotation `imageregistry: https://hub.docker.com/`  used intentionally to make it more relevant as earlier section talk about registry address  annotation.

* Resolving review comments

Resolving review comments
2019-06-05 22:54:09 -07:00
Seth 7166553e72 Rs rollingupdate (#14462)
* Redirect to Deployment docs

* Redirect to Deployment docs

* change using to use

* typo

* fix extra file

* line wrap Deployment
2019-06-05 22:52:10 -07:00
Tim Bannister 5f7feacb32 Emphasize that cluster API v1 is deprecated (#14461) 2019-06-05 22:50:10 -07:00
Seth 11194bcd86 Update link and standardize language (#14482) 2019-06-05 22:40:11 -07:00
Casey Davenport 6c85c9c478 Update Calico to v3.7 (#14501) 2019-06-05 22:38:10 -07:00
Tim Bannister 7fef09fee1 Explain motivation for RuntimeClass (#14490) 2019-06-05 22:36:10 -07:00
Tim Bannister 7289483c7d Update “Autoscale the DNS Service in a Cluster” (#14525)
* Mark code blocks for syntax highlighting

* Use glossary tooltips where appropriate

* Reword DNS horizontal autoscaling task

- Mention that addons manager is deprecated
- Use unordered list for “What's next”

* Note AMD64 instruction set assumption

* Update to more recent cluster-proportional-autoscaler

Based on sample configuration in https://raw.githubusercontent.com/kubernetes/kubernetes/beba9921aa1a73431bf322ffa17df6b2aa314b0c/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml
2019-06-05 22:34:09 -07:00
David Ashpole e7b5f0e9f0 move podresources endpoint to beta (#14622) 2019-06-05 22:28:10 -07:00
Jinhua Tan ba2dc02c77 Translate docs/tasks/configure-pod-container/attach-handler-lifecycle-event in Chinese (#14605)
* Add zh/docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md
Add zh/examples/pods/lifecycle-events.yaml

Translate zh/includes/task-tutorial-prereqs.md to chinese

* Apply suggestions from code review

Thanks for tengqm's review

Co-Authored-By: Qiming <tengqim@cn.ibm.com>

* Apply suggestions from code review

Thanks for tengqm's help again

Co-Authored-By: Qiming <tengqim@cn.ibm.com>

* Modify the order of text in markdown format

* Unified translation into 处理函数
2019-06-05 22:28:10 -07:00
Fabrizio Pandini 19e9d312ea kubeadm-1.15-certs-renewal (#14716) 2019-06-05 22:20:10 -07:00
Vageesha17 2e73fb64ee update pod-overview.md (#14758)
replaced the changed required in #14746
2019-06-05 22:18:10 -07:00
Deep Debroy 6e75d5c4de Update CSI migration docs with Azure Disk/File details (#14707)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-06-05 22:18:10 -07:00
Supriya Sirbi 1aae32870d Issue #14703 - Update Images.md (#14757) 2019-06-05 22:16:11 -07:00
Supriya Sirbi fd6ec9bdb5 Update guestbook-logs-metrics-with-elk.md (#14755) 2019-06-05 22:14:10 -07:00
silenceshell 64d61cf283 fix markdown format (#14756)
![screenshot](https://silenceshell-1255345740.cos.ap-shanghai.myqcloud.com/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202019-06-06%20%E4%B8%8A%E5%8D%8811.08.13.png)
2019-06-05 22:12:11 -07:00
Timoses ac3e49b771 Kubespray supports Custom VM and BareMetal (#14717)
Kubespray supports Custom (On-premises VMs) & Custom (Bare Metal). 

https://kubespray.io states:

> Can be deployed on AWS, GCE, Azure, OpenStack, vSphere, Packet (bare metal), Oracle Cloud Infrastructure (Experimental), or Baremetal
2019-06-05 18:42:11 -07:00
Jay Pipes cbbaf04e72 use glossary defs in overview/components.md (#14721)
This patch promotes re-use of the existing kube-proxy glossary
definition by referencing it from overview/components.md. Similarly, we
move the definition of Container Runtime into a new glossary definition
so that other pages may refer to it.
2019-06-05 18:32:12 -07:00
Carlone c19c669c7c Fix typo in limit-range.md. (#14730) 2019-06-05 18:28:12 -07:00
Marko Mudrinić cdc2ccff40 Add KubeOne as AWS turnkey solution (#14737) 2019-06-05 18:00:13 -07:00
rishgh 8ac73fc13d Update images.md (#14736)
* Update images.md

* Update content/en/docs/concepts/containers/images.md

That works fine and thank you.

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-06-05 17:58:11 -07:00
Austin 28d225e231 Fix a small typo (#14743) 2019-06-05 17:50:11 -07:00
Raja Anbazhagan 1fbcb30b4f changed example domain to be **example.com** (#14740)
**your.private.registry.example.com** is a better choice of domain name for a non-existing sample domain name than calling it **yourprivateregistry.com**

refer #14283
2019-06-05 17:48:11 -07:00
Gasmi Christophe 07812a5ac8 fix typo en/fr (#14749) 2019-06-05 14:36:10 -07:00
Alex Contini 82baf65a88 Add case studies from cncf.io (#14520)
* Add case studies from cncf.io

* Delete index.html

* Update index.html

* Update index.html

* Update index.html

* Update index.html

* remove Financial Times

* update links
2019-06-05 12:08:12 -07:00
Gasmi Christophe 83d5e1e77f fix homepage redirect of localized documentations (#14586) 2019-06-05 09:31:57 -07:00
Matthew Gallagher 944ab0d67d Remove unneeded "groups" from CSR yaml example (#14723) 2019-06-04 22:49:54 -07:00
Tim Bannister 704aa645f1 Link from Security concept to related pages (#14726) 2019-06-04 20:57:52 -07:00
Tim Bannister 62ae33b4a9 Reword documentation for Service concept (#14526)
* Reword glossary entry for Service

New wording should be more suitable for inclusion via a
glossary_definition shortcode.

* Improve What's Next section for Service concept

* Rename Services concept to singular

This matches other concept documentation, eg Deployment.

* Use documentation IP address range

1.2.3.4 is outside the blocks reserved for documentation.

* Reword Service concept description

Services direct traffic to Pods, not containers

* Write IPVS in uppercase
2019-06-04 16:11:53 -07:00
Thomas Strömberg b207ff8d2d Prefer "minikube delete" over "rm -rf ~/.minikube" (#14647)
Using `rm -Rf ~/.minikube` is not necessary in modern (v1.x) versions of minikube, and is highly discouraged as may can leave dangling VM's running, which minikube will fail to recover from. 

Example issue: https://github.com/kubernetes/minikube/issues/4377
2019-06-04 16:01:52 -07:00
Leah Hanson d259346fde Improve Pivotal row in Production Setup table (#14648)
* Improve Pivotal row in Production Setup table.

- Provider column should contain company name
- Change check marks to product links to match other rows

Co-authored-by: Danny Berger <dberger@pivotal.io>

* Spell out PKS abbreviation.

Co-authored-by: Danny Berger <dberger@pivotal.io>
2019-06-04 15:55:53 -07:00
RA489 2ca9136ef6 unhold the binaries on the worker nodes during upgrade (#14708) 2019-06-04 15:51:53 -07:00
Tim Bannister aa9384eb19 Tweak glossary definition for Node (#14317)
* Tweak glossary definition for Node

The services (eg kubelet) that run on a Node are not the kind of
Service that the Kubernetes API knows about. Reword accordingly.

Also, highlight that Docker is one container runtime and that
there are others.

* Adopt suggestions from https://github.com/kubernetes/website/pull/14523

Co-Authored-By: Rael Garcia <me@rael.io>
2019-06-04 15:27:53 -07:00
Raja Anbazhagan 8b2b09e61c corrected example for private image string format (#14283)
without specifying registry details for `image` value, You will get following error if you are using a private registry even when your private images are hosted in docker.hub and you have valid credentials configured for the same.

Failed to pull image "xxx/xxx-app:0.0.1": rpc error: code = Unknown desc = Error response from daemon: pull access denied for xxx/xxx-app, repository does not exist or may require 'docker login'
2019-06-04 15:13:53 -07:00
Travis Merkel 270bae02d6 Fix typo: Update to hello-minikube (#14706) 2019-06-04 15:07:53 -07:00
Josef Brandl 10e71c9d93 Clarify behavior of parallel pod management policy (#14606) 2019-06-04 14:53:51 -07:00
Hemant Kumar 40ed4669b6 Add a placeholder doc (#14643)
* Add a placeholder doc

* Update persistent-volumes.md
2019-06-03 18:23:01 -07:00
Daniel Weibel 6c91774f47 Adapt docs for kubectl completion on macOS (#14636) 2019-06-03 18:23:01 -07:00
Yucheng Wu 92d1da404a document version changes of critical pod (#14684)
* document version changes of critical pod

* document system priority class name version requirement

* Update guaranteed-scheduling-critical-addon-pods.md
2019-06-03 18:01:02 -07:00
AllenZMC 6f291e0f91 Update secret.md (#14690)
fix (#解码-secret)
2019-06-03 17:55:02 -07:00
Jay Pipes eda841cb0a small grammar fixes in overview/components.md (#14693)
Trival patch to fix a couple grammatical mistakes I found while going
through overview/components.md.
2019-06-03 17:50:59 -07:00
Karen Bradshaw 88fe150abc clean up feature state examples, style guide (#14699) 2019-06-03 17:49:02 -07:00
Stacy Pedersen e66b9a542a updating ICP version 3.1.2 to 3.2.0 (#14697) 2019-06-03 17:47:00 -07:00
Oleg Chunikhin 44414ce5b0 Updated target environments supported by Kublr (#14698) 2019-06-03 17:45:00 -07:00
Xing Yang 7acab64de6 Add documentation for PVC in use protection (#14700)
This PR adds doc to describe PVC in use protection
for PVC actively in use as a snapshot source.
2019-06-03 17:39:03 -07:00
shavidissa 3af9a19141 Updates kubernetes-basics (#14702)
Minor updates:
- Add a full stop.
- Removed the 'Start the tutorial›' section. The sections are already linked from 1 to 6 and this section doe not add any value after point 6.
2019-06-03 17:37:00 -07:00
Michael Werner 42b422b3e1 Add german slack channel and maintainer (#14489)
* Add german slack channel and maintainer

* Update German Maintainer

Co-Authored-By: Roy Lenferink <lenferinkroy@gmail.com>
2019-06-03 00:58:16 -07:00
wangyamei 711a0d20ee update feature-gates.md (#14635) 2019-06-02 23:58:14 -07:00
icheikhrouhou 985c08378d change to documentation ip adress #14664 (#14677) 2019-06-02 23:48:13 -07:00
Rajesh Deshpande 674303b896 Link to 'Add image pull secret to service account' (#14669)
* Link to 'Add image pull secret to service account'

This page does not mention the fact that image pull secrets can be specified through a service account. So adding link to the section which gives details about 'adding image pull secret to service account'.

* Correcting link url

Correcting link url
2019-06-02 23:38:13 -07:00
wangyamei 73ee4988cf fix typos in configure-aggregation-layer.md (#14650) 2019-06-02 23:36:12 -07:00
wangyamei 26fd321b68 fix typo in romana-network-policy.md (#14661) 2019-06-02 23:34:13 -07:00
Oussema CHERNI c25d3c0b19 Fix Container Environment Variables full link (#14663) 2019-06-02 23:32:12 -07:00
Tim Bannister 3de064f405 New upstream commit for code of conduct (Portuguese) (#14630) 2019-06-02 18:23:56 +01:00
wangyamei fabe7aa79b fix typo in install-kubeadm.md (#14680) 2019-06-01 03:32:18 -07:00
Mario Groß 20f29ca3f0 Update minikube.md (#14662)
Fix linking in same document for preventing 404 errors because the url parts get duplicated now.
e.g: https://kubernetes.io/docs/setup/minikube/docs/setup/minikube/#interacting-with-your-cluster
fix would be: https://kubernetes.io/docs/setup/minikube/#interacting-with-your-cluster
2019-05-31 22:54:22 -07:00
Anshul Ahuja 0cb3f4a13e Fix Typo in the deprecation warning (#13488) 2019-05-31 12:48:28 -07:00
Robert Krawitz 817ee7ed45 Add support for quotas for ephemeral storage monitoring. (#14268) 2019-05-31 08:28:28 -07:00
Martin Vladev 8d674ddbeb Remove initializers (zh) (#14654)
Initializers are removed in 1.14 [1]

[1]: https://github.com/kubernetes/kubernetes/pull/72972
2019-05-30 23:50:27 -07:00
Martin Vladev 0ebe8c3b4f Remove initializers (id) (#14655)
Initializers are removed in 1.14 [1]

[1]: https://github.com/kubernetes/kubernetes/pull/72972
2019-05-30 23:44:24 -07:00
Tim Bannister ebed710647 Add relevant glossary tooltips (#14632)
Guide reader to learn more about StatefulSet.
2019-05-30 17:42:20 -07:00
John Griffith b8759a7dbe Add docs for volume cloning (#14591) 2019-05-30 17:38:24 -07:00
slienyp f6b8449967 content/es/docs/reference/glossary/selector (#14369) 2019-05-30 14:54:22 -07:00
Misty Linville 1d0f8d91c6 Document rounding behavior for PDBs (#14408)
* Document rounding behavior for PDBs

* Update content/en/docs/tasks/run-application/configure-pdb.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update configure-pdb.md
2019-05-30 14:34:25 -07:00
Zach Arnold 60266ff1a9 Cloud Native Security Intro (#14495)
* initial aggregation of security recommendations

* Update content/en/docs/concepts/security/overview.md

Co-Authored-By: Jim Angel <jimangel@users.noreply.github.com>

* Update content/en/docs/concepts/security/overview.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* address concerns in PR comments
2019-05-30 14:24:22 -07:00
Tim Bannister 49e18cdd8c Fix typo (#14592) 2019-05-30 13:50:27 -07:00
Daniel Gómez Ferro 5ece295c64 Add content/es/docs/reference/glossary/pod.md (#14368)
* Add  content/es/docs/reference/glossary/pod.md

Apply suggestions from code review

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/pod.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>
2019-05-30 13:46:29 -07:00
Iqbal Farabi f8ccf4d475 Add translations for Imperative Config for Bahasa Indonesia (#14530)
* Translate declarative config for Bahasa Indonesia

* Fix typos and untranslated sentences from previous commit for declarative-config for Bahasa Indonesia

* Add _index.md to object-management-kubectl translations for Bahasa Indonesia

* Translate imperative-config.md for Bahasa Indonesia

* Update missing translations in imperative-config.md for Bahasa Indonesia
2019-05-30 12:02:30 -07:00
Ignasi Marimon-Clos 2fcdd4daab Add content/es/docs/reference/glossary/secret.md (#14356)
* Add content/es/docs/reference/glossary/secret.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/secret.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/secret.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>
2019-05-30 11:14:28 -07:00
Ignasi Marimon-Clos 3d8b015f30 Add content/es/docs/reference/glossary/application-architect.md (#14373)
Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-30 10:28:25 -07:00
Javi Sabalete 0461eaa9a3 Add content/es/docs/reference/glossary/image.md (#14364)
* Add content/es/docs/reference/glossary/image.md

* Update content/es/docs/reference/glossary/image.md

Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-30 10:26:28 -07:00
Ignasi Marimon-Clos c4c4cc68d0 Add content/es/docs/reference/glossary/application-developer.md (#14372)
Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-30 10:24:24 -07:00
David Ricordel ebce625727 Add content/es/docs/reference/glossary/service.md (#14361)
Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-30 10:22:24 -07:00
Javi Sabalete c116795425 Update content/es/_index.html with new links (#14589)
* Update content/es/_index.html with new links

* Update _index.html
2019-05-30 10:10:24 -07:00
Martin Vladev 0180769e18 Remove initializers (ja) (#14626)
Initializers are removed in 1.14 [1]

[1]: https://github.com/kubernetes/kubernetes/pull/72972
2019-05-30 03:26:21 -07:00
wangyamei 7df7a2ee58 correct the Feature:PodPriority in feature-gates.md (#14547) 2019-05-29 22:36:18 -07:00
Tom Janson 2efe4d5313 fix link to Storage Classes doc (#14551) 2019-05-29 22:34:19 -07:00
Martin Vladev a55e66f9ef Remove initializers feature gate (#14602)
* Remove initializers feature gate

Initializers are removed in 1.14
kubernetes/kubernetes#72972

* Update feature-gates.md
2019-05-29 20:10:19 -07:00
adisky 5913160426 Update config option for openstack block storage (#14603)
* update config option for openstack block storage

* Update cloud-providers.md
2019-05-29 20:08:19 -07:00
Rugwiro Valentin 39bdcc07df Update the pull Request template wording (#14619)
* [WIP]Fix typo

Fix typo

* Update PULL_REQUEST_TEMPLATE.md
2019-05-29 19:40:19 -07:00
Craig Peters b40144e5f1 Fix reference to features state to beta (#14618)
* Fix reference to features state to beta

* Update device-plugins.md
2019-05-29 19:38:21 -07:00
Atif Mahmood 424045fae3 Corrected documentation for kubectl tab completion on Mac (#14617)
* Corrects procedure to get tab completion on Mac

Tab completion only requires the installation of bash-completion and sourcing the bash_completion script. 

Installing bash-completion@2 doesn't work and source <(kubectl completion bash) is no longer necessary in the .bash_profile.

* Removed reference to other methods that don't work

* Update install-kubectl.md
2019-05-29 19:36:19 -07:00
Martin Vladev 8e541844e9 Use runtime/default for seccomp. (#14616) 2019-05-29 19:34:20 -07:00
Tim Bannister 92760f80dc Update code of conduct based on upstream changes (#14612)
Level with upstream commit 214585e24aab747fb85c2ea44fbf4a2442e30de6
2019-05-29 19:32:20 -07:00
Tim Bannister b2d7cc5e30 Reword glossary entry for etcd (#14621)
* Link to official etcd documentation

* Reword etcd glossary entry

* Update etcd.md
2019-05-29 19:24:21 -07:00
Julien Brochet da76416973 Fix OpenAPI deprecated endpoints in Kubernetes 1.14 (#14608) 2019-05-29 18:06:18 -07:00
Gasmi Christophe 9c8845c5fd Update kubecon buttons on homepage fr (#14587)
update
2019-05-29 09:22:30 -07:00
Gasmi Christophe 8bf13937df docs-fr | tutorials | create-cluster (#14584)
* init pages tuto FR create-cluster

* typo

* update

* update index
2019-05-29 04:44:21 -07:00
shavidissa 5c9a9b1fe2 [WIP] Clean up and reorganize minikube.md (#14255)
The current content was not following the style guide and lacked information on what the user was doing under the quick start section. Added more information and tested the section out. Further reorganized the content.

Correct typos

Updated the content.

Updated the content

Fixed syntax error.

Update the unordered list formatting

Fix formatting issues

Formatting update

Format the content

Format the content

Format content

Format ordered content

Format unordered list

Clean up and reorganize minikube.md

Updated the content

Updated the content as per the comments received.

Fixed an error

Fixes the note shortcode

Fixes error in shortcode

Clean up and reorganize minikube.md
2019-05-29 00:00:21 -07:00
Oussema CHERNI f38c90768d Delete resources created during this task (#14536) 2019-05-28 22:20:21 -07:00
Tim Bannister 23e8eaf782 Use shortcode for note in Kops glossary entry (#14534)
* Use note shortcode in kops glossary entry

This brings the entry closer to Kubernetes' style guide for
documentation.

* Reword kops glossary entry

- Write “Terraform” with a capital T (it's a proper noun)
- Adjust grammar
2019-05-28 22:18:20 -07:00
Santhosh Kumar Tekuri 54b4a1f194 fix link to aws.go (#14550)
* fix link to aws.go

* fix link to aws.go
2019-05-28 22:16:20 -07:00
Jose Luis a845f40e53 Add content/es/docs/reference/glossary/sysctl.md (#14390)
Signed-off-by: Jose Luis Perez Diez <jluis@escomposlinux.org>

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>
Co-Authored-By: Victor Morales <chipahuac@hotmail.com>
2019-05-28 13:12:58 -07:00
Rael Garcia dd22f47006 Add annotation page (#14358) 2019-05-28 13:11:02 -07:00
Jose Barahona 16f557f95e Fix content/es/docs/setup/_index.md (#14491)
Dangling "pick-right-solution" references kubernetes#14474
es docs redirection  404 fixed
2019-05-28 13:01:11 -07:00
Kaitlyn Barnard 5656da570b Updating blog OWNERS (#14338) 2019-05-28 12:46:59 -07:00
June Yi b19c549355 Fourth Korean localization work for release-1.14 (#14578)
This commit is the fourth Korean l10n work for release-1.14.

Change List

* Translate concepts/overview/object-management-kubectl/declarative-config in Korean (#14285)

* translate cron-jobs.md to korean + add _index.md (#14024)

* ko: update outdated files in dev-1.14-ko.4 #14207 (#14347)

* Translate standardized glossary Tag Workload in Korean (#14208)

* translate to content/ko/docs/concepts/cluster-administration/controll… (#14234)

* ko: update concepts, contribute, tasks in dev-1.14-ko.4 #14207 (#14502)

* ko: update cheatsheet in dev-1.14-ko.4  (#14515)

Co-Authored-By:    Woojin Na(Eddie) <kimchigood1130@gmail.com>
Co-Authored-By:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>
Co-Authored-by:    Claudia J. Kang <claudiajkang@gmail.com>
Co-authored-by:    Yoon <learder@gmail.com>
Co-authored-by:    June Yi <june.yi@samsung.com>
Co-authored-by:    Seokho <shsongist@gmail.com>
2019-05-28 08:30:00 -07:00
paudirac 7841f8b24b Add content/es/docs/reference/glossary/cluster.md (#14472)
Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-27 12:31:50 -07:00
Andreu Gallofré c16f82bedb Add container-environment-varibales concepts page (#14378)
Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Alexander Brand <alexbrand09@gmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Victor Morales <chipahuac@hotmail.com>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Rael Garcia <me@rael.io>

Add raelga as reviewer

Co-Authored-By: Rael Garcia <me@rael.io>

Remove typo

Co-Authored-By: Rael Garcia <me@rael.io>

Add context to the link

Co-Authored-By: Rael Garcia <me@rael.io>

Change the word to more international one

Co-Authored-By: Rael Garcia <me@rael.io>

Update content/es/docs/concepts/containers/container-environment-variables.md

Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-27 12:27:50 -07:00
paudirac e40697c78b Add spanish translation for node (#14360)
Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-27 12:23:50 -07:00
Lennart Jern c9bb6aa23b Add more language specific slack channels (#14506)
* Add more country/language specific slack channels

* Fix Finnish slack channel

Co-Authored-By: Markus Maga <markus@maga.se>
2019-05-27 06:09:51 -07:00
Harshvardhan Karn bbc3061088 fix kubernetes certified logo url (#14511)
Signed-off-by: harshvkarn <harshvardhan.karn@mayadata.io>
2019-05-27 06:07:52 -07:00
David Ricordel 4f60e86604 Add content/fr/docs/tutorials/_index.md (#14529)
* Add `content/fr/docs/tutorials/_index.md

* The navigation menu was broken without it.
* Translation from `content/en/docs/tutorials/_index.md`

* Update content/fr/docs/tutorials/_index.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-05-27 03:43:49 -07:00
Tim Bannister 1078044001 Fix HTML typo (#14527) 2019-05-26 21:35:48 -07:00
Tim Bannister 81dd45f6cb Tidy & reword “Configure a Pod to Use a Projected Volume for Storage” (#14539)
* Reference glossary entry for Secret

* Fix code block format code

* Tidying & rewording
2019-05-26 19:21:49 -07:00
Christian Rebischke 1213d41cdf Update install-minikube.md (#14542)
The link https://github.com/kubernetes/minikube#other-ways-to-install doesn't exist anymore.
So either we remove the link to it or we fix the minikube README and add a new section for alternative ways to install minikube.
What do you think?
2019-05-26 19:19:49 -07:00
David Ricordel 473e15d6c3 Add /content/fr/docs/reference/_index.md (#14528)
* Add /content/fr/docs/reference/_index.md

* translate title and title Link

* take out the approvers section

* replace design by conception

* Update content/fr/docs/reference/_index.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-05-26 09:19:49 -07:00
Prankul 4229462a34 Update URL in k8s.io/docs/tasks/federation/administer-federation/cluster/ (#14463) 2019-05-26 00:53:49 -07:00
Iqbal Farabi afcc69c7e6 Add translations for Imperative Command for Bahasa Indonesia (#14064)
* Translate declarative config for Bahasa Indonesia

* Fix typos and untranslated sentences from previous commit for declarative-config for Bahasa Indonesia

* Add _index.md to object-management-kubectl translations for Bahasa Indonesia

* Translate imperative-command.md for Bahasa Indonesia

* Update translations for Imperative Command for Bahasa Indonesia
2019-05-25 14:29:49 -07:00
Ivan Fraixedes 060cb63037 Add content/es/docs/reference/glossary/rkt.md (#14365)
* es/docs/references/glossary: Add rkt term

* Update content/es/docs/reference/glossary/rkt.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/rkt.md

Co-Authored-By: Rael Garcia <me@rael.io>

* Update content/es/docs/reference/glossary/rkt.md

Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-25 05:23:28 -07:00
Carlos 22f2106a3a Add content/es/docs/reference/glossary/job.md (#14359)
* Agregado el termino Job al glosario

* Traducida la página de Job

* Update content/es/docs/reference/glossary/job.md

accepted reviewer changes

Co-Authored-By: Rael Garcia <me@rael.io>
2019-05-25 05:13:26 -07:00
Maksym Bendeberia a7209fa732 Update overview.md (#14424)
* Update overview.md

Fixed broken links for the Linuxacademy courses

* Update overview.md
2019-05-24 19:27:27 -07:00
zhangqx2010 1077a764e9 Update cluster-administration-overview.md (#14510)
* Update cluster-administration-overview.md

according to #14442 and related with #14480

* Update cluster-administration-overview.md
2019-05-24 19:17:27 -07:00
Alex Contini 3d39002394 Update kubecon buttons on homepage (#14521)
* Update kubecon buttons on homepage

* Update _index.html
2019-05-24 19:15:29 -07:00
Hippie Hacker de38a3bbc5 Choisir la bonne solution link updated! (#14483)
* Choisir la bonne solution link updated!



Co-Authored-By: Cheikh Rouhou <CheikhRouhouInes94@gmail.com>
Co-Authored-By: Gergey Csatari <gergely.csatari@nokia.com>

* Choisir la bonne solution link updated!



Co-Authored-By: Cheikh Rouhou <CheikhRouhouInes94@gmail.com>
Co-Authored-By: Gergey Csatari <gergely.csatari@nokia.com>

* Remove some spaces
2019-05-24 11:13:32 -07:00
Irvi Aini 8279c436c9 Initialize Taints and Tolerations in Bahasa Indonesia. (#14405)
* Initialize Taints and Tolerations in Bahasa Indonesia.

* Fix typos
2019-05-24 05:24:22 -07:00
Yudi A Phanama d30a74fdb5 Translate Disruptions docs to Indonesian (#14395)
* Translate Disruptions docs to Indonesian

* Several changes regarding reviews:
- Use underscore for italic
- Italicize "cloud"
- Consistency of Disrupsi and Gangguan -> Use Disrupsi instead
- Change "usir" to italicized "evict"
- Change "pengontrol" to "pengendali"
- Change "kuras" to "drain"
- Emphasize first mention of disrupsi with bold instead
- Some typo and standard words fixes
- Fixes a potentially fatal translation of "hosting provider"
  - From "penyedia layanan cloud" to "penyedia layanan Kubernetes
2019-05-24 05:14:19 -07:00
Steven Sherry 03e840d905 Fix dead links related to Kubernetes object management (#14481) 2019-05-24 05:00:19 -07:00
Karen Bradshaw c66db29c11 update link to front matter description (#14493)
Update the front matter link from jekyll to gohugo.
2019-05-24 03:04:20 -07:00
Adebayo Adesanya 0144a82ec2 Fix typo "feedbacks" (#14505)
Feedback is uncountable, just a nitpick ;-)
2019-05-24 03:02:19 -07:00
Lukasz Gornicki 3be372bbd2 Add blog post about Kyma from CNCF landscape (#14266)
* Create 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Create test.md

* Add files via upload

* Delete test.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update content/en/blog/_posts/2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

Co-Authored-By: derberg <derberg@wp.pl>

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Add files via upload

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-08-Kyma-extend-and-build-on-kubernetes-with-ease.md

* Update 2019-05-23-Kyma-extend-and-build-on-kubernetes-with-ease.md
2019-05-23 02:00:33 -07:00
Seth 3f02b89a1e Fix dangling "pick-right-solution" references - English (#14468)
* Fix dangling references

* Redirect to setup

* english update only

* english update only

* Update last file

* word fix
2019-05-22 19:56:23 -07:00
Rob Hirschfeld 785412cb72 cleanup component install to use new catalog feature (#14063)
* cleanup component install to use new catalog feature

sequence of operations

cleanup component install to use new catalog feature

* Update krib.md
2019-05-22 07:18:13 -07:00
Takuya Tokuda bbf3a979d4 Second Japanese l10n work for release-1.13 (#14465)
* Update k8s.io/ja/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/ (#13153)

* [ja] Translate Hello Minikube in tutorials (#13100) (#13161)

* ja-trans: update supported-doc-versions.md (#13186)

* [ja] Update /concepts/overview/what-is-kubernetes.md #13079 (#13187)

*  ja-trans: update expose-intro.html (#13215)

* ja-trans: update expose-intro.html

* ja-trans: fix broken links by linking to english pages

* update deploy-intro.html (#13103) (#13208)

* update deploy-intro.html (#13103)

* Update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html

add /ja path

Co-Authored-By: chidakiyo <chidakiyo@users.noreply.github.com>

* [ja] Update /setup/release/building-from-source.md (#13095) (#13220)

* ja-trans: update /ja/docs/setup/independent/control-plane-flags/ (#13228)

* ja-trans: Update /setup/turnkey/azure.md (#13097) (#13224)

* ja-trans: update /ja/docs/tutorials/kubernetes-basics/ (#13232)

* ja-trans: update /ja/docs/tutorials/kubernetes-basics/

* ja-trans: translate card.title

* ja-trans: update setup/minikube.md (#13091) (#13219)

* [ja] Update content of setup/minikube.md, fixing the diff between 551489f 7b07d19.

* [ja] Translate the content: content/ja/docs/setup/minikube.md (#13091)

* Correct Katakana words, using long vowel words

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* Fix typos

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* Correct some changes, thanks for the FB

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* ja-trans: Update k8s.io/ja/docs/setup/pick-right-solution/ (#13094) (#13328)

* ja-trans: Update the content of setup/pick-right-solution.md, only fixing the diff between 551489f and 7b07d19.
(Not yet translating the content at the moment to only make sure fixing the diff is ok. Next commit will be actually the translation stuff)

* ja-trans: Translate /ja/docs/setup/pick-right-solution.md (#13094)

* Update content/ja/docs/setup/pick-right-solution.md

Correct small changes based on the feedback

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* Better translation and refer the Japanese document link

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* Correct Japanese anchors

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* Correct translation mistakes

Co-Authored-By: yukinagae <yuki.nagae1130@gmail.com>

* ja: Translate /docs/home (#13366)

* follow to the latest format

* review

* ja: fix some unnatural translation and formatting (#13367)

* format

* Update content/ja/docs/setup/certificates.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* ja-trans: Translate heading and subheading of docs/setup/version-skew-policy.md in Japanese (#13360)

* copy content

* remove reviewer block

* Translate heading and subheading.

* change translation

* ja-trans: Translate heading and subheading of docs/setup/turnkey/icp.md in Japanese (#13359)

* copy content

* remove reviewer block

* Translate heading and subheading.

* ref. #13098 (#13358)

* ref. #13096 (#13357)

* ref. #13089 (#13353)

* ref. #13087 (#13351)

* ref. #13082 (#13348)

* ref. #13085 (#13349)

* ref. #13088 (#13352)

* ref. #13090 (#13354)

* ref. #13092 (#13355)

* ref. #13093 (#13356)

* ref. #13099 (#13361)

* [ja] Translate the content: ja/docs/setup/independent/high-availability/ (#13364)

* [ja] Translate the content: ja/docs/setup/independent/high-availability/

* remove redundant comma, words

* Update content/ja/docs/setup/independent/high-availability.md

余分な文字を削除

Co-Authored-By: TSUDA-Kyosuke <tsuda@stmn.co.jp>

* Update k8s.io/ja/docs/setup/cri/ (#13663)

* fix content.

* Update content/ja/docs/setup/cri.md

Co-Authored-By: cstoku <cs.toku.mail@gmail.com>

* Update cri.md

* Update content/ja/docs/setup/cri.md

Co-Authored-By: cstoku <cs.toku.mail@gmail.com>

* Update content/ja/docs/setup/cri.md

Co-Authored-By: cstoku <cs.toku.mail@gmail.com>

* improve translation
2019-05-22 07:14:12 -07:00
Prankul 866b99cf72 Fix link in "Customizing DNS Service" docs (#14455) 2019-05-22 06:20:20 -07:00
codyc 4aa0fda798 Update apiVersion on example-ingress to extensions/v1beta1 (#14449)
Update apiVersion on ingress to extensions/v1beta1
2019-05-22 06:16:11 -07:00
Ignasi Marimon-Clos 4ca230dc3f Add content/en/docs/reference/glossary/certificate.md (#14371) 2019-05-22 06:02:16 -07:00
Seokho 78be343902 Add a Korean l10n reviewer to OWNERS_ALIASES (#14460) 2019-05-22 03:18:10 -07:00
Kurnianto Trilaksono 00b8aeafb4 Translate "Pod Preset" page to Bahasa Indonesia (#14394)
* add pod preset page for language/id

* fix formatting

* fix typos and wording

* fix formatting and add few missed lines

* fix note formatting
2019-05-21 20:54:03 -07:00
Seth 7f888c11f3 Pod yaml command and change pod curl (#14448) 2019-05-21 13:40:06 -07:00
Takuya Tokuda 5c89ab7218 Update i18n/ja.toml (#13666)
* fix #13105

* Translate #12900 in advance

* Update ja.toml
2019-05-21 11:14:06 -07:00
Rajakavitha1 625bf369a9 setup page replaces picking the right solutions (#14442) 2019-05-21 08:50:49 -07:00
好风 a98753cfe9 Flag --export has been deprecated (#14432)
Flag --export has been deprecated, This flag is deprecated and will be removed in future.
2019-05-21 05:54:43 -07:00
June Yi 18367feaea Describe language specific style guide in l10n guide (#14437) 2019-05-21 01:12:41 -07:00
Oleksandr Slynko 85ab4a45ad Link upgrade to skewed version page (#14421)
* Link upgrade to skewed version page

It provides the order of upgrade and shows which versions are supported.
Solves (at least partially ) #14420

* Update cluster-management.md

* Update cluster-management.md
2019-05-21 01:00:47 -07:00
Tim Bannister 702a4fd67f Use relevant glossary definitions (#14414) 2019-05-21 00:58:40 -07:00
Tim Bannister e0873fe247 Add containerd and CRI-O to glossary (#14309) 2019-05-21 00:56:44 -07:00
Yucheng Wu 6c3d270176 document pod downwardAPI fieldRef & resourceFiledRef values (#14321)
* document pod downwardAPI fieldRef & resourceRef values of en version

* document pod downwardAPI fieldRef & resourceRef values of zh version

* typo correction
2019-05-21 00:54:40 -07:00
Sahin Vardar 8ab64f7e07 Updated links to vendor specific implementions (#14400)
The following links where broken

* AZURE
* GCE
* AWS

In case of GCE I assume it changed to GCP, but please confirm if that is correct.
2019-05-21 00:52:39 -07:00
Byron.wang 55ace3bb95 Remove extra '**' (#14413)
remove extra '*' from the end of the aritcle;
or they have other meanings :D
2019-05-21 00:50:41 -07:00
Karen Bradshaw be35043d74 fix links to tool install (#14418) 2019-05-21 00:48:41 -07:00
Abubakar Siddiq Ango 9e966b2e9d Switch to long command option (#14422) 2019-05-21 00:42:41 -07:00
Himanshu Pandey 7aed682a89 removed the junk character (#14430) 2019-05-21 00:32:41 -07:00
Suhwan Cha 6be8640778 Fix link (#14438)
* Update imperative-command.md

* Update imperative-command.md
2019-05-21 00:30:45 -07:00
Meenakshi Kaushik 0d471c4fc8 pick-right-solution.md (#14434)
Added Cisco Container Platform under "On-Premises turnkey cloud solutions"
2019-05-21 00:28:41 -07:00
Zach Corleissen 3a44233bcf Edits for clarity (#14423) 2019-05-20 21:18:39 -07:00
Jaice Singer DuMars 3c7cae7b9d Create blog post draft (#14384)
* Create blog post draft

* Fixed comma problem and updated Cloud
2019-05-20 10:37:14 -07:00
Rajesh Deshpande d135d566b1 Correcting minikube quickstart steps (#14355)
* Correcting minikube quickstart steps

In minikube quickstart section , it was difficult to differentiate between command and its output. Also, There was no details given for each steps and its expected output. This PR fixes these issues.

* Correcting number formatting

Correcting number formatting

* Correcting numbering

Correcting numbering

* Update content/en/docs/setup/minikube.md

Co-Authored-By: Franklin Yu <franklinyu@hotmail.com>

* Update content/en/docs/setup/minikube.md

Co-Authored-By: Franklin Yu <franklinyu@hotmail.com>

* Update content/en/docs/setup/minikube.md

Co-Authored-By: Franklin Yu <franklinyu@hotmail.com>

* Corrected formatting 

Corrected formatting

* Correcting number sequence 

Correcting number sequence
2019-05-20 05:27:16 -07:00
Chazzledazzle1 a7e4e00d51 Updated Linux Academy courses (#14303)
* Updated Linux Academy courses

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Fix link syntax

* Update overview.md
2019-05-20 05:25:13 -07:00
Rajakavitha1 d21ffb4c63 Refractor _index.md (#14163) 2019-05-20 05:23:14 -07:00
Raj Vaibhav Dubey 6930b2167f Changed the redisslave version from v1 to v3. (#14276) 2019-05-20 05:21:15 -07:00
Rajesh Deshpande ea7af96d5d Correcting example to avoid ambiguity (#14354)
Both local and pod port number are same i.e. 6379 which causes confusion to first time reader. This can be easily avoided by using two different port number.
2019-05-20 05:19:15 -07:00
Ashish Thakur f7fc6cebc3 Fixing grammatical error (#14389) 2019-05-20 05:17:12 -07:00
Karen Bradshaw 110f5e1d5f move obj mgmt files to tasks (#14374)
* move obj mgmt files to tasks

* add redirects for moved files
2019-05-20 05:15:14 -07:00
Wojciech Tyczynski c7c55c5883 Watch bookmarks documentation (#14379) 2019-05-20 05:13:14 -07:00
Aaron Sun 2029b9b9d5 Updated DaemonSet page to include SignalFx Agent. (#14385) 2019-05-20 05:13:13 -07:00
Rajesh Deshpande bacd21d2b8 Correcting sequence of tasks for manage cluster daemon (#14383)
* Correcting order of display for daemon set tasks

Correcting order of display for daemon set tasks

* Correcting display order of daemon set task

Correcting display order of daemon set task
2019-05-20 05:11:14 -07:00
Neville George e2f8ae097e Fixing the output of jsonpath (#14387)
Items is an array and the [ ] are missing in the jsonpath
2019-05-20 05:09:14 -07:00
Irvi Aini df4ef9be9b Initialize Network Policy in Bahasa Indonesia. (#14287)
Fix typos and nitty gritty.
2019-05-18 09:05:12 -07:00
Gonzalo de la Peña c1a2c4f2dc Localisation of the architecture section (#14145) 2019-05-18 06:33:13 -07:00
Vitaly R. Samigullin ac65ac4835 YAML code-block within a list bug fixed (#14293) (#14295) 2019-05-16 18:47:29 -07:00
krmayankk 60006e9164 fix runasgroup psp policy (#14121) 2019-05-16 16:06:29 -07:00
Boskey Savla 39c37742d1 Update create-cluster-kubeadm.md (#13801)
* Update create-cluster-kubeadm.md

* Update create-cluster-kubeadm.md

* Remove superfluous kubectl apply -f
2019-05-16 15:28:28 -07:00
silenceshell 4ff96634cf kubectl should also be held by apt-mark (#14250)
here apt installs both kubelet and kubectl but just holds kubelet. I think kubectl should alse be held by apt-mark.

```
# replace x in 1.14.x-00 with the latest patch version
apt-mark unhold kubelet && \
apt-get update && apt-get install -y kubelet=1.14.x-00 kubectl=1.14.x-00 && \
apt-mark hold kubelet
```
2019-05-16 15:00:30 -07:00
Ivan Fraixedes 7aad953be7 en/glossary: use title for all Pod occurrences (#14366)
Use title case for all the Pod occurrences which appear in the rkt
glossary term.
2019-05-16 14:46:30 -07:00
Renan Gonçalves e676622449 Declare IPVS-based kube-proxy GA (#14263)
See: https://github.com/kubernetes/kubernetes/pull/58442
2019-05-16 14:26:29 -07:00
Maaryaams e77fa91452 Move Karbon to on-premisses (#14269) 2019-05-16 14:12:30 -07:00
Andreu Gallofré 51e71ed3e6 Add cla page (#14363)
Add missing dot

Remove typos
2019-05-16 12:14:30 -07:00
Yashu Mittal 21b7d126c8 Fix sentence format (#14311) 2019-05-16 05:05:46 -07:00
Tim Allclair (St. Clair) 5f5883a5ea List & watch can be authorized on named resources (#14339) 2019-05-16 05:03:49 -07:00
/v\atthew L Daniel 22db0bbf30 Add links to the external cloud-provider repos (#14335)
Rather than just saying "they exist, good luck"
2019-05-16 05:01:47 -07:00
Franklin Yu da9d0da028 Fix code block (#14334) 2019-05-16 04:59:42 -07:00
Suhwan Cha b63bbe396d Update deployment.md (#14345) 2019-05-16 04:53:41 -07:00
Yang Li 38fcbeb49c updated the links of cherrypick guide (#14348) 2019-05-16 04:51:43 -07:00
Zach Corleissen caca9c6976 Add co-chair role (#14219)
Add meeting guidelines, graphic

Update embedded image

Use raw HTML for image link

Edit path

Indent list items

minor edits

Add line breaks for indentation

Add bolding

Add section for meetings

Feedback from jimangel
2019-05-15 18:19:43 -07:00
Karen Bradshaw 0693952ad5 add links to individual readme files (#14324) 2019-05-15 10:08:19 -07:00
Vageesha17 4bb98f7395 changed the formatting of example-ingress.yaml (#14333)
change the formatting of example-ingress.yaml file. 
Raising PR for #14284
2019-05-15 08:02:35 -07:00
Ikhsan Putra 5cb394245f Add Indonesian Translation for names (#14320)
* Fix phrase

* Fix date format on glossary files
2019-05-14 23:28:20 -07:00
Bob Killen 3099d9d7a3 Add New Contributor Workshops blog post. (#14315) 2019-05-14 12:55:17 -07:00
halfcrazy dfa269848f Improve Kubernetes-setup-using-Ansible-and-Vagrant (#13999)
Fix a node IP issue when using vagrant.
See https://github.com/kubernetes/kubernetes/issues/60835 for detail.

Since the tutorial using debs, we need to configure node IP in
`/etc/default/kubelet`.
See https://kubernetes.io/docs/setup/independent/kubelet-integration/ for
detail.
2019-05-14 10:53:15 -07:00
Olle ebf65c1980 Created nl.toml (#14131)
Dutch (NL) translation

Update i18n/nl.toml

Co-Authored-By: olku <22026726+olku@users.noreply.github.com>

Update i18n/nl.toml

Co-Authored-By: olku <22026726+olku@users.noreply.github.com>

Update i18n/nl.toml

Co-Authored-By: olku <22026726+olku@users.noreply.github.com>

Update nl.toml

Update i18n/nl.toml

Co-Authored-By: Roy Lenferink <lenferinkroy@gmail.com>

Feedback processed.
2019-05-14 10:03:24 -07:00
Tim Bannister 93e1a67dfa Fixes for https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/ (#14298)
* Add missing capture block end

* Drop outdated link to v1.6 upgrade
2019-05-14 00:25:11 -07:00
avigailof 6aa3beb754 Update pick-right-solution.md (#14305) 2019-05-14 00:21:11 -07:00
craigbox 88f3268d9e Correct publish date for blog post (#14302) 2019-05-13 13:39:09 -07:00
Tim Bannister 30b1b98b3b Fix typo (#14299) 2019-05-13 12:51:11 -07:00
roi abf7289e92 Add tasks/configure-pod-container/configure-volume-storage.md (#13949) 2019-05-13 10:52:16 -07:00
Brian Xu a05ab94643 Update device-plugins.md (#13849)
add link to Xilinx FPGA device plugin
2019-05-13 06:36:14 -07:00
craigbox f4acf33a95 Kubernetes 1.14 release interview (#14206)
* Kubernetes 1.14 release interview

New blog post ready for immediate release.

This is an interview with Aaron Crickenberger, the 1.14 release lead, in a similar vein to the interview with the 1.11 release leads we published here last July: https://kubernetes.io/blog/2018/07/16/how-the-sausage-is-made-the-kubernetes-1.11-release-interview-from-the-kubernetes-podcast/

* Update and rename kubernetes-1-14-release-interview.md to 2019-05-09-kubernetes-1-14-release-interview.md
2019-05-13 05:08:14 -07:00
Elvadas NONO 44ba5567b1 Entry for QoS (#5993) (#14083)
*  Entry for QoS (#5993)

*  QoSClass terminology

*  QoSClass terminology renamming item

*  QoS definition

*  Review update QoS Class and Grammar

*  dash in glossary id qos-class
2019-05-13 01:58:11 -07:00
Himanshu Pandey faba2c86a8 Removed junk character from the page (#14288) 2019-05-12 22:00:09 -07:00
Gonzalo de la Peña 624fd0cd23 Spanish translation of the nodes page (#13881)
corrections after inital review

More fixes after review

More fixes after review

further corrections on spanish transalation

final corrections
2019-05-12 08:16:09 -07:00
Jean-Rémy Bancel fc3df2b5b6 Fix typo (#14274) 2019-05-12 05:44:09 -07:00
Tim Bannister 0e7ae40167 Fix glossary entry for Docker (#14280)
Also mention Docker Engine. Docker as a brand covers several
technologies.
2019-05-12 05:42:10 -07:00
Tim Bannister b627c339e0 Improve pod concept docs (#14282)
* Use glossary references where appropriate

* Link from Pod overview to detailed Pod concept

* Assume that privileged containers are stable

* Improve wording

* Write Pod in upper case

As Pod is an API object, write it in upper case.
2019-05-12 05:40:09 -07:00
chenrui dd677bcc74 Update i18n-zh work base branch (#14265) 2019-05-11 10:52:11 -07:00
Dmitriy Lushnikov 573a30bec9 Update kubespray.md (#13876)
Rename hosts.ini to inventory.ini
2019-05-10 06:58:00 -07:00
dnoland1 2d86ebf8ea Update deployment.md (#14124) 2019-05-10 06:49:59 -07:00
Renich Bon Ciric 2f456da350 Fix bad for in short options (#14253)
This one fixes issue #14211.

I just replaced `-o=parameter` instances with `-o parameter`.
2019-05-10 06:39:57 -07:00
Kenichi Omichi c83f5b3c2e Fix yaml sample order of /debug-application-cluster (#14260)
The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way.
2019-05-10 03:03:59 -07:00
Kenichi Omichi d378484400 Fix yaml sample order of configure-pod-container/ (#14259)
The orders of data was random, and that made the doc unreadable.
This fixes the orders in consistent way under configure-pod-container/
2019-05-10 03:01:58 -07:00
Max 5c59214ac6 German localization for horizontal pod autoscaler (#14251)
* fix kubecon date

* add plural to ref

* add hpa

* fixed not found templates
2019-05-10 01:19:58 -07:00
Kenichi Omichi c739e66c5a Fix orders of yaml of custom-resource-definitions (#14254)
The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way.
2019-05-09 18:17:58 -07:00
Kohei Toyoda a1e774fd09 fix orders of yaml for access-authn-authz (#14195) 2019-05-09 18:15:58 -07:00
Jim Angel 4c172e0c85 Update Makefile (#14252) 2019-05-09 10:08:51 -07:00
Giri Kuncoro a75d26eb0d Add Indonesian translation for annotations (#14235) 2019-05-09 08:14:49 -07:00
Giri Kuncoro b31df37e8e Add Indonesian translation for kubelet garbage collection (#14224)
* Add Indonesian translation for kubelet garbage collection

* Address nits for words
2019-05-09 08:06:49 -07:00
s-ito-ts 7b7caf3b77 Fix orders of yaml for tasks/administer-cluster/[l-z]*.go (#14245) 2019-05-09 04:40:48 -07:00
Kohei Toyoda 769a5e71d4 delete unnecessary space and character (#14246) 2019-05-09 04:38:48 -07:00
Himanshu Pandey 17ab877665 Fixed minor issues on CenturyLink Cloud Page (#14217) 2019-05-09 04:36:48 -07:00
Giri Kuncoro fbe1f172c0 Add Indonesian translation for field-selectors (#14236) 2019-05-09 01:20:47 -07:00
s-ito-ts 5a89ffb684 Fix orders of yaml for tasks/administer-cluster/[a-k]*.go (#14241) 2019-05-08 22:44:47 -07:00
Kenichi Omichi 84163560cc Fix orders of yaml of reference/kube* (#14238)
The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way.
2019-05-08 22:40:47 -07:00
Kohei Toyoda 8e0cab2d64 consistent order in yaml and json for multiple-zones.md (#14242) 2019-05-08 22:22:48 -07:00
Supriya Sirbi 53b03baaa8 Subscribe button on the home page is not aligned. #13672 (#14175) 2019-05-08 20:42:48 -07:00
Giri Kuncoro 7327c658b0 Add Indonesian translation for container runtime class (#14222)
* Add Indonesian translation for container runtime class

* Address broken links and backticks

* Change single asterisk to underscore for italic format
2019-05-08 14:29:51 -07:00
Danni Setiawan 8f0fa1aa8e Translation controller metrics in Bahasa Indonesia (#14229)
* Add new translation in Bahasa Indonesia

* Add revision to translation

* Edit type translation cloud-providers in Bahasa Indonesia

* Edit type translation cloud-providers

* Add translation Cluster Administration Overview in Bahasa Indonesia

* Delete cluster administration overview

* Add translation controller metrics in Bahasa Indonesia

* FIx type

* Fix type controller metrics

* Fix type and formatting
2019-05-08 14:21:50 -07:00
cmluciano f43a96d548 ingress: Use networking.k8s.io/v1beta1 in Ingress examples (#14239)
This patch swaps all uses with extensions/v1beta1 with the new
networking.k8s.io/v1beta1 apiVersion for the Ingress resource.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-08 14:14:38 -07:00
Roy Lenferink de62ee2d2b Added error handling to find_pr script (#14110) 2019-05-08 14:12:35 -07:00
Seokho 017a224473 Fix glossary tooltip mismatch (#14227) 2019-05-08 13:18:36 -07:00
Prankul 78b93d7709 Removed unwanted spaces in "configure-projected-volume-storage" file to keep it alligned with other docs (#14228) 2019-05-08 12:06:35 -07:00
Yashu Mittal 36c09f10cb Localise readme.md in hindi (#13910)
* Localizing readme.md in hindi

* Add hindi language to config file
* Translate readme to hindi language
* Link to hindi code of conduct
* Create OWNERS
* Add owners and reviews names
* Copy common-resouces directory
* Remove spacing between localhost url

* Review some changes

* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229325238
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229339156
Only changed line number `10`.
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229340065
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229340928
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229342635
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229343237

* Change "आचार संहिता" to "कोड ओफ़ कंडक्ट"

* Change Docker to डॉकर

* Localize "Staging Your Changes" to "परिवर्तनों को अंतिम चरण में लेजाएं"

* Add avidLearnerInProgress as owners & reviews to sig-docs-hi

* Localizing readme.md in hindi

* Add hindi language to config file
* Translate readme to hindi language
* Link to hindi code of conduct
* Create OWNERS
* Add owners and reviews names
* Copy common-resouces directory
* Remove spacing between localhost url

Review some changes

* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229325238
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229339156
Only changed line number `10`.
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229340065
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229340928
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229342635
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229343237

Change "आचार संहिता" to "कोड ओफ़ कंडक्ट"

Change Docker to डॉकर

Localize "Staging Your Changes" to "परिवर्तनों को अंतिम चरण में लेजाएं"

Add avidLearnerInProgress as owners & reviews to sig-docs-hi

* Localizing readme.md in hindi

* Add hindi language to config file
* Translate readme to hindi language
* Link to hindi code of conduct
* Create OWNERS
* Add owners and reviews names
* Copy common-resouces directory
* Remove spacing between localhost url

Review some changes

* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229325238
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229339156
Only changed line number `10`.
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229340065
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229340928
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229342635
* https://github.com/kubernetes/website/pull/13910#pullrequestreview-229343237

Change "आचार संहिता" to "कोड ओफ़ कंडक्ट"

Change Docker to डॉकर

Localize "Staging Your Changes" to "परिवर्तनों को अंतिम चरण में लेजाएं"

Add avidLearnerInProgress as owners & reviews to sig-docs-hi
2019-05-08 11:56:34 -07:00
andy stone 4a6e2b16dd Directly reference the PodDisruptionBudget (#14209)
* Define SLO acronym

Save people from having to search for the translation of SLO to Service-Level Objectives.

* replace SLO with direct PodDisruptionBudget reference
2019-05-08 11:40:34 -07:00
Supriya Sirbi 0fe73a1890 Clarification of init-container restart reasons #13022 (#14202)
* Clarification of init-container restart reasons #13022

* Clarification of init-container restart reasons #13022

* Clarification of init-container restart reasons #13022
2019-05-08 02:38:35 -07:00
Rael Garcia dd1af119cd Localize feature state templates (#14135) 2019-05-07 23:22:32 -07:00
Phil Businger 26d5948da5 Update intro-windows-in-kubernetes.md (#13750) 2019-05-07 22:38:33 -07:00
Elvadas NONO 37df3efaf9 Documentation LimitRange Policies (#14086)
*  Documentation LimitRange Policies

* Fixing limirange docs issues

*  Style and grammar

* Reviewer wanted

*  syntax and grammar feedbacks
2019-05-07 22:32:34 -07:00
Kenichi Omichi 6b46deab6e Fix orders of yaml of concepts/storage/* (#14213)
The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way under concepts/storage/.
2019-05-07 22:18:34 -07:00
Kenichi Omichi f952ac106f Fix orders of yaml of services-networking/service (#14212)
The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way in service.md
2019-05-07 22:16:32 -07:00
Kenichi Omichi e0cd1ee67d Fix orders of yaml of pods/init-containers.md (#14214)
The orders of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way under pods/init-containers.md.
2019-05-07 22:14:32 -07:00
Marek Counts a1f811d852 Updated self-hosting documentation (#13866)
* updated self-hosting documentation

* removed more referances

* updated wording

* updated self-hosting warning to be more clear about the effects of pivot has on your cluster

* Update content/en/docs/setup/independent/self-hosting.md

Co-Authored-By: Klaven <mcounts@suse.com>
2019-05-07 11:30:40 -07:00
Karthik Ravikanti 0b0087329b Fix broken links to replicaset examples (#14199) 2019-05-07 08:33:50 -07:00
Claudia J.Kang 1054269082 This PR is the third Korean l10n work for release-1.14. (#14185)
* Fixed the ko-typo (#13983)

* ko: Update outdated files in dev-1.14-ko.3 (#14055)

* Translate concepts/overview/working-with-objects/annotations in Korean (#14115)

Co-authored-by:    Chirag Shah <programmergeekynerd9696@gmail.com>
Co-authored-by:    June Yi <june.yi@samsung.com>
Co-authored-by:	Claudia J. Kang <claudiajkang@gmail.com>
Co-authored-by:    uncle-elephant <48449695+uncle-elephant@users.noreply.github.com>
Co-authored-by:    Seokho <shsongist@gmail.com>
2019-05-07 06:27:45 -07:00
Danni Setiawan df287989b2 Add Bahasa Indonesia translation for addons (#14165)
* Add Bahasa Indonesia translation for addons

* Fix type

* Fix type title

* Fix type cluster admin add-ons
2019-05-07 05:05:42 -07:00
Martynas Pumputis 2f3d456232 Update Cilium version (#14203)
This commit updates Cilium to v1.5 which was released
eight days ago.

The v1.5 changelog:
- https://github.com/cilium/cilium/releases/tag/v1.5.0
- https://cilium.io/blog/2019/04/24/cilium-15
2019-05-07 04:51:42 -07:00
Enrique Medina Montenegro bd333c5b3a Add content/es/docs/content/overview/working-with-objects (#14026)
* Spanish Translation

* Spanish Translation

* Add referenced glossary terms

* Add referenced glossary terms
2019-05-07 04:01:42 -07:00
Martynas Pumputis 54814e6e0f Update Cilium version in installation guide (#14198)
This commit updates Cilium to v1.5 which was released
eight days ago.

Also, it updates k8s manifests version to v1.14, as
the latest kubeadm installs k8s v1.14.

The v1.5 changelog:
- https://github.com/cilium/cilium/releases/tag/v1.5.0
- https://cilium.io/blog/2019/04/24/cilium-15
2019-05-07 01:03:41 -07:00
zdeisidr 762ef0ba62 Update namespaces.md (#14126)
* Update namespaces.md

aclaration purposes

* Update content/en/docs/concepts/overview/working-with-objects/namespaces.md

Co-Authored-By: zdeisidr <42842057+zdeisidr@users.noreply.github.com>
2019-05-06 23:11:40 -07:00
rupeshk071 d281cb567a Update overview.md (#13725)
unknown flag: --include-extended-apis
2019-05-06 22:15:40 -07:00
Alexander Sack 3ffdf634c0 Use sudo(8) to create directory and hosted file (#14136)
*minikube ssh* logs into the cluster as user 'docker'. The user 'docker' (uid=1000) does not have write permissions in /mnt to create a new directory and/or the example's HTML file. Use sudo(8) to create the directory as well as the HTML file nginx will ultimately serve.
2019-05-06 21:51:38 -07:00
Supriya Sirbi 2458d36751 Issue #14012 - Update source.md (#14174) 2019-05-06 21:47:39 -07:00
Zufar Dhiyaulhaq feb4dd578a translate Namespaces to Bahasa Indonesia (#14128)
* translate namespace to Bahasa Indonesia

* Fix error in symbol

* fix minor typo

* fix minor typo
2019-05-06 21:45:39 -07:00
Irvi Aini 21621012f4 Initialize Working with Objects translations for Bahasa Indonesia. (#14125)
* Initialize Working with Objects translations for Bahasa Indonesia.

* Address reviewer's suggestions.

* Fix styling.
2019-05-06 21:43:39 -07:00
Irvi Aini 581c6846bf Initialize Service translations in Bahasa Indonesia. (#14117)
* Initialize Service translations in Bahasa Indonesia.

* Address reviewer suggestions.

* Fix styling backtick and italic.

* Fix broken code.
2019-05-06 21:41:40 -07:00
Chiranjivee Thakur ec25c359b8 Fix typos and grammatical errors in README.md file (#13761)
* Fix typos and grammatical errors in README.md file

* Update README.md

make usage of the word 'website' in place of 'site' consistent across the file.
2019-05-06 20:41:40 -07:00
Kenichi Omichi 360a842673 Fix orders of yaml of services-networking/ingress (#14192)
The order of kind and metadata were inconsistent, and that made the
doc unreadable.
This fixes the orders in consistent way in ingress.md
2019-05-06 17:43:41 -07:00
Kenichi Omichi 9ae02fcbb0 Fix orders of yaml of policy/pod-security-policy (#14191)
The orders of `kind` were random, and that made the doc unreadable.
This fixes the orders in consistent way in pod-security-policy.md.
2019-05-06 17:41:41 -07:00
Prankul 25ec99b46b Change image name in redis_pod.yaml; k8s.io/docs/tutorials/configuration/configure-redis-using-configmap/ (#14177) 2019-05-06 17:39:39 -07:00
Kenichi Omichi a3572b74b9 Fix order of yaml sample of configuration/secret (#14190) 2019-05-06 17:37:40 -07:00
Kenichi Omichi f60dab5819 Fix apiversion for apiVersion (#14189) 2019-05-06 17:29:39 -07:00
noctarius aka Christoph Engelbert 99ae92bdf9 Readded the link to Instana and Sysdig, which seem to have gone missing due to a merge error or anything like that during preparationg of the 1.14 release. (#14184)
original pull request: https://github.com/kubernetes/website/pull/12977

Signed-off-by: noctarius <me@noctarius.com>
2019-05-06 11:31:40 -07:00
Karthik Ravikanti db7ed25e9d Fix broken links to examples (#14182) 2019-05-06 11:05:40 -07:00
Felipe 521d0a65e9 Adding master-node-communication in PT (#13986) 2019-05-06 18:09:54 +01:00
Bill Mulligan 8d9b98f881 Update Kubermatic info (#14129)
* Update Kubermatic info

* Update pick-right-solution.md
2019-05-06 07:43:41 -07:00
SpringWar 1434120200 Update Kubelet RotateKubeletClientCertificate feature since v1.8 (#13070)
* Update feature-gates.md

Update PodPriority feature to beta since v1.11

* Update Kubelet RotateKubeletClientCertificate feature since v1.8
* fix feature-gates.md and kubelet-tls-bootstrapping.md Kubelet RotateKubeletClientCertificate feature since v1.8
2019-05-06 07:29:39 -07:00
Xin He 526e626a14 Update pod-lifecycle.md (#13969)
if "www.example.com/feature-1" is False, the type "Ready" should be False also, like "https://github.com/kubernetes/enhancements/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md#pod-readiness" says.
2019-05-06 06:39:39 -07:00
Mark McLoughlin f75913ed04 Update list of drivers in minikube.md (#14166)
kvm and xyhve are obsolete and no longer listed on the linked page - see kubernetes/minikube@0332f73
2019-05-06 06:15:37 -07:00
Stefan Sauer 379626bc10 Fix broken link in service-accounts-admin.md (#14178)
* Fix broken link in service-accounts-admin.md

https://github.com/kubernetes/website/commit/a213182b10a3d02d8dc8d0db7b617a2b408dc53f
added a linke to [projected volume] that maybe got renamed.

* Update service-accounts-admin.md
2019-05-06 02:55:36 -07:00
Danni Setiawan 9b8b5ae914 Translation cluster admin overview in Bahasa Indonesia (#14156)
* Add new translation in Bahasa Indonesia

* Add revision to translation

* Edit type translation cloud-providers in Bahasa Indonesia

* Edit type translation cloud-providers

* Add translation Cluster Administration Overview in Bahasa Indonesia

* Delete cluster administration overview

* Add translation cluster administration overview in Bahasa Indonesia

* Delete cloud-providers. Shouldn't be here..

* Add translation cluster administration overview in Bahasa Indonesia

* Rewording cluster adminstration overview in ID
2019-05-05 21:43:35 -07:00
Irvi Aini c14937ffa3 Initialize Federation in Bahasa Indonesia. (#14148)
* Initialize Federation in Bahasa Indonesia.

* Fix nitty gritty Federation for Bahasa Indonesia.
2019-05-05 05:07:37 -07:00
wangyamei 34d8d57473 make the example consistent with the test (#13906) 2019-05-04 20:55:37 -07:00
Andrea Sosso 3ce77b2d1c Correction on command: kubeadm config print join-defaults (#14078)
`kubeadm config print join-defaults` since kubeadm 1.13
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/#cmd-config-print-join-defaults
2019-05-04 20:53:37 -07:00
Danni Setiawan ae4b297486 Add new translation in Bahasa Indonesia (#14015)
* Add new translation in Bahasa Indonesia

* Add revision to translation

* Edit type translation cloud-providers in Bahasa Indonesia

* Edit type translation cloud-providers

* Add translation Cluster Administration Overview in Bahasa Indonesia

* Delete cluster administration overview
2019-05-04 19:19:36 -07:00
shavidissa ae2ee00d1d Update install-minikube.md (#14097)
Added steps to find out if virtualization in installed on the users OS.

Minor improvement

Capitalized Windows

Removed the shell from the command.

Update install-minikube.md
2019-05-04 18:49:37 -07:00
Ismail Alidzhikov 3745897fc7 Update SupportPodPidsLimit to Beta (#14118)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-05-04 18:31:38 -07:00
Karen Bradshaw dd1dcd670b update kubectl ref docs (#14018)
Testing kubectl reference generation.
See issue #13961.
2019-05-04 18:29:37 -07:00
Alex Contini cdd8a3e9d6 update Bose case study text (#14138)
* update image link

* Update newcommunity.css

* requested changes to Bose text
2019-05-04 18:23:37 -07:00
Rajakavitha1 0b8b595805 Update advanced.md (#14158)
Deleted the additional (https://) that was resulting in a broken link.
2019-05-04 18:11:36 -07:00
Quan Tian 9763024129 Fix docker installation links (#14154)
The docker installation instructions have been moved to cri-installation
page.

This patch fixes the stale links and a typo.
2019-05-04 18:09:37 -07:00
popozy 9d0e8d0e83 get a typo in images.md: Dokcer authentication (#14155) 2019-05-04 18:07:37 -07:00
千夜 e3e41a21c1 Fix func name PodResourcesLister (#14085)
* Fix func name PodResourcesLister

The func PodResources is change to PodResourcesLister.
See this https://github.com/kubernetes/kubernetes/blob/release-1.14/pkg/kubelet/apis/podresources/v1alpha1/api.proto#L19
Please check.

* Update device-plugins.md
2019-05-04 17:05:37 -07:00
clicklog 367afa62a4 Fix password example for kubectl create secret (#14142)
Add extra '\' to properly escape '\' for --from-literal example.
2019-05-04 16:59:37 -07:00
David Xia b17d809a4c Clarify which types of lists are replaced (#14149)
by kubectl apply.

The docs imply that lists whose elements are all primitives
are replaced by the applied config instead of being updated.
This PR states that explicitly for clarity.
2019-05-03 17:03:40 -07:00
Karen Bradshaw 0e7e694fba update api ref index, 1.14 (#14139) 2019-05-03 10:43:39 -07:00
Roy Lenferink 7638704291 Added mkorbi to the German translation team (#14134) 2019-05-02 12:18:27 -07:00
Zach Arnold 50695d8f94 Update security.md (#14133) 2019-05-02 10:42:19 -07:00
Kiran 8db35a63e7 Add files via upload (#14047)
* Add files via upload

KubeCon Barcelona 2019 Diversity Lunch & Hack Blog Post

* Update 2019-04-25-kubecon-diversity-lunch-and-hack.md

* Update and rename 2019-04-25-kubecon-diversity-lunch-and-hack.md to 2019-05-02-kubecon-diversity-lunch-and-hack.md
2019-05-02 09:04:24 -07:00
Alex Contini cd31287f34 add sos case study (#14120)
* update image link

* Update newcommunity.css

* add SOS International case study
2019-05-02 07:34:22 -07:00
Hunter Loftis bbefc10ea5 Grammar fixes (#14119)
Fix verb tense, remove unnecessary clause.
2019-05-01 20:28:17 -07:00
Zufar Dhiyaulhaq 950513d5fa Translate Connecting Applications with Services in Bahasa Indonesia (#14079)
* Menerjemahkan connect-applicaitons-service kedalam bahasa Indonesia

* add examples files

* change title

* fix email

* fix minor typos and formatting

* fix minor & typo
2019-05-01 16:36:20 -07:00
Giri Kuncoro b191b55588 Add Indonesian translation for container lifecycle hooks (#14089)
* Add Indonesian translation for container lifecycle hooks

* Rephrase some of the wordings
2019-05-01 08:44:57 -07:00
Giri Kuncoro d1ed2d2916 Fix minor typos for declarative-config.md (#14081) 2019-05-01 08:12:58 -07:00
Elvadas NONO 7bfe66027f Glossary entry for limitrange (#14084) 2019-04-30 12:46:58 -07:00
Dan Roscigno 3f6e182b70 Add a page expanding the PHP Guestbook with Redis example to include logs and metrics (#13889)
* adding Elastic Stack for logging and monitoring

* added section on deploying Elasticsearch and Kibana

* more detail

* more detail

* First draft

* Using tutorial template.

* more goodness

* Describe autodiscover

* added verification steps

* Added cluster role binding

* Use Redis metrics and logs

* cleanup

* add cleanup

* unused

* Added language tags

* Added glossary_tooltip

* Added link

* Placed alternative steps in tabs

* shorten heading

* uppercase for Kubernetes objects

* cleanup secret

* grammar

* updated title and linked from the guestbook tutorial

* added reviewer.  Thanks Tim!

* Removed default username/password

* typo, verbosity, more info.
2019-04-30 12:38:56 -07:00
shavidissa 84fe95e2ef Update advanced.md (#14092)
* Update advanced.md

Updated the content as per issue: https://github.com/kubernetes/website/issues/13864. Organized and merged the content that was originally on this page and on the wiki (https://github.com/kubernetes/website/wiki/PR-Wranglers).

* Removed extra spacing

Removed an additional white space that was in place.

* Minor copy-edit changes

* Updated as per the comments.
2019-04-30 11:24:57 -07:00
Karl 7533d70ada CPUCFSQuotaPeriod - CLI Reference mismatch (#14090)
`CPUCFSQuotaPeriod` Feature Gate is set from the flag name `CustomCPUCFSQuotaPeriod` per [`kube_features.go#163`](https://github.com/kubernetes/kubernetes/blob/master/pkg/features/kube_features.go#L163)
This PR updates the docs to suit.

In some respects it would be tidier to remove `Custom` prefix from `kube_features.go` so that the Feature Gate naming maps 1:1.
Happy to close this PR and do PR to remove 'Custom' prefix instead.
2019-04-30 09:09:41 -07:00
Prankul e49d218adc Typo in pod disruption page (#14050) 2019-04-30 06:51:40 -07:00
xhzhf c2abe3c5ef Translate some words smoothly (#14091)
Translate some words smoothly
2019-04-30 06:35:37 -07:00
王(Wang) 7a6a8e1915 fix an offense against the style guide (#14102)
> Use code style for object field names
2019-04-30 06:33:37 -07:00
Vladimir Masarik 7e4657f6d3 Fixed missing space (#14082) 2019-04-30 01:07:37 -07:00
shavidissa 7212523448 Update install-kubectl.md (#14072)
Added a step under the sections that guide the user to install the binary using curl on the OS. This is the same format maintained by the other section on this page.
2019-04-29 16:27:35 -07:00
Alex Contini ee82d89a96 fix broken image link on community page (#14065)
* update image link

* Update newcommunity.css
2019-04-29 15:53:36 -07:00
Rael Garcia e91df53ef7 Add Setting up the OWNERS files section (#13912)
* Add Setting up the OWNERS files section
* Update OWNERS_ALIASES patch
* Replace owners.md link with go.k8s.io/owners
* Replace github.com/kubernetes link with git.k8s.io
* Update OWNERS_ALIASES to use git.k8s.io link
* Sort patch diff in alphabetical order
* Specify clearly what teams should be added
* Remove the passive voice
* Complete alphabetical order phrase
2019-04-29 15:51:38 -07:00
Max 877b58cf95 German translation for tools page (#14087)
* translate reference/tools to de

* reversed plural wording

* reviewers choosen by OWNERS

Co-Authored-By: mkorbi <16919345+mkorbi@users.noreply.github.com>
2019-04-29 12:53:36 -07:00
Vincent 863ffceefd /blog/_posts/2019-04-26-latest-on-localization.md (#14077) 2019-04-28 06:38:21 -07:00
Alex Contini 363ee424f5 Add Bose case study (#14046) 2019-04-26 16:00:23 -07:00
Jared ba48dd0c7e Added additional information about contributing to K8s
Split out docs contributions from feature and community contributions per user feedback.
2019-04-26 15:23:15 -07:00
chenrui b61d6fda16 Update contribute page (#14051) 2019-04-26 15:16:22 -07:00
silenceshell 280ca8bfe9 duplicated "Note: " (#14052)
check [here](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#resizing-an-in-use-persistentvolumeclaim)

Note: Note: FlexVolume resize is possible only when the underlying driver supports resize.

There is a "Note: " already.
2019-04-26 15:12:24 -07:00
codyc d1ceddba29 fixed indentation for kubectl config view (#14060)
fixed indentation for kubectl config view
2019-04-26 14:06:22 -07:00
codyc fe663ea841 Add reference and link to kubeconfig on kubectl page (#14059) 2019-04-26 14:02:28 -07:00
Chris Abraham 4e35312a7f New Community page, as designed by @alexcontini (#13046)
* new community page

* update
2019-04-26 12:40:05 -07:00
Benedikt Rollik f59e872479 [DOCS-DE] Install Minikube (#13897)
* Install Minikube

* Translation
2019-04-26 09:34:28 -07:00
Benedikt Rollik 53db68011c [DOCS-DE] Interactive tutorial (#13896)
* interactive tutorial

* Translation
2019-04-26 09:32:27 -07:00
Zach Corleissen 2d2403430a How You Can Help Localize Kubernetes Docs (#13901)
* How You Can Help Localize Kubernetes Docs

Minor edits

Minor edits

Publish for 25 Apr

One typo

* Update 2019-04-25-latest-on-localization.md

* Update and rename 2019-04-25-latest-on-localization.md to 2019-04-26-latest-on-localization.md
2019-04-26 08:22:29 -07:00
Iqbal Farabi e671202ff5 Add translations for Declarative Config for Bahasa Indonesia (#14030)
* Translate declarative config for Bahasa Indonesia

* Fix typos and untranslated sentences from previous commit for declarative-config for Bahasa Indonesia

* Add _index.md to object-management-kubectl translations for Bahasa Indonesia
2019-04-26 05:58:27 -07:00
Nikhita Raghunath b206fdf241 Fix link to Kubernetes Community Values doc (#13954)
The doc has been migrated from the steering repo to the community repo:
https://git.k8s.io/community/values.md
2019-04-25 18:02:27 -07:00
Damini Satya f8fbd6d5b7 Update reference link 'kubefed unjoin' in set-up-cluster-federation-kubefed (#14000) 2019-04-25 17:58:27 -07:00
Yecheng Fu eaa70a7882 Update link to docs in local-static-provisioner (#13988) 2019-04-25 17:56:28 -07:00
王(Wang) f84c46e84f keep consistent with others' heading (#14002) 2019-04-25 17:54:25 -07:00
Stephen Augustus e7e8a48e71 Update SIG PM mailing list (#13963)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-04-25 17:10:27 -07:00
Seokho 0bad3985eb Translation for i18n/ko.toml (#13951) 2019-04-25 16:48:26 -07:00
Irvi Aini a24f452a65 Fix owner aliases for sig-docs-id-owner and sig-docs-id-reviewers (#14037) 2019-04-25 16:08:27 -07:00
Sandeep Rajan 22441ecaee Update content on kube-dns to coredns configmap translation (#13826)
Updates and corrects the part of configmap for CoreDNS
2019-04-25 11:31:46 -07:00
ismail yenigul 100de28f11 Delete all pods matching the egrep pattern (#13821)
* Delete all pods matching the egrep pattern

* replace egrep with awk to delete pods by a pattern

* Update content/en/docs/reference/kubectl/cheatsheet.md

Co-Authored-By: ismailyenigul <ismailyenigul@gmail.com>
2019-04-25 11:29:49 -07:00
shavidissa eaf7658f76 Update install-kubectl.md (#14036)
I thought this organization would give the users a better idea of what method to select based on the OS they use. 

Initially, I was a wee bit confused when I saw how to Install kubectl binary with curl on the Mac OS and then another section on how to install Kubectl on the Mac OS.

Now, I moved the content under the $subject to the respective OS section. 

P.S: I am still in the process of testing out the steps. :)
2019-04-25 10:12:49 -07:00
Guy Templeton 45444909f1 Move Using Secrets to h2. for top of page linking (#14041)
This seems like one of the key sections of the page users are likely to want to come directly to and matches the setup of some existing pages such as https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#advanced-usage
2019-04-25 10:00:49 -07:00
Danny Berger 4029a7ab5e Normalize case: Github -> GitHub (#13828) 2019-04-25 09:40:47 -07:00
WanLinghao 5ffd272aef Fix a 404 link error in explore document (#14035) 2019-04-25 04:20:47 -07:00
Enrique Medina Montenegro c90ffb93cc Spanish translation (#13946) 2019-04-25 04:14:46 -07:00
Yuchen 6f62dc3fbe Update minikube.md (#13803) 2019-04-25 04:12:45 -07:00
Irvi Aini 83aadf6dc3 Add translations for Ingress Controllers for Bahasa Indonesia (#13959)
* Add translations for Ingress Controllers for Bahasa Indonesia

* Replace html tag italic with md syntax for Ingress Controller in Bahasa.

* Address typo and stuff for Ingress Controller translation to Bahasa Indonesia.

* Remove emphasis in title for Ingress Controller translation for Bahasa.

* Replace "obyek" with "objek".

* Fix minor typo and formatting.
2019-04-24 19:38:45 -07:00
Giri Kuncoro 2c5140a62a Add Indonesian translation for container env variables (#13978)
* Init Indonesian translation for container env variables

* Fix minor formatting issues
2019-04-24 19:30:45 -07:00
Seomago d869887b38 seomago-building-2 (#14007) 2019-04-24 14:22:45 -07:00
Felipe 891fa990b4 Merge pull request #13979 from femrtnz/master
Add content/pt/docs/concepts/architecture/cloud-controller.md
2019-04-24 21:19:16 +01:00
Felipe Amaral 758025a8e3 Add cloud contraller pt translation
Updating cloud controller

Add cloud contraller pt translation

add Conceitos sobre Cloud Controller Manager

addressing pr comments
2019-04-24 21:18:22 +01:00
Mikko Ylinen ab0ae3ec3f Blog post: Hardware Accelerated Crypto... (#13874)
* Blog post: Hardware Accelerated Crypto...

This adds a story of Hardware Accelerated SSL/TLS Termination
in Ingress Controllers using Kubernetes Device Plugins and RuntimeClass.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>

* Update Hardware-Accelerated-SSLTLS-Termination-in-Ingress-Controllers-using-Kubernetes-Device-Plugins-and-RuntimeClass.md

* Rename Hardware-Accelerated-SSLTLS-Termination-in-Ingress-Controllers-using-Kubernetes-Device-Plugins-and-RuntimeClass.md to 2019-04-23-Hardware-Accelerated-SSLTLS-Termination-in-Ingress-Controllers-using-Kubernetes-Device-Plugins-and-RuntimeClass.md

* Rename 2019-04-23-Hardware-Accelerated-SSLTLS-Termination-in-Ingress-Controllers-using-Kubernetes-Device-Plugins-and-RuntimeClass.md to 2019-04-24-Hardware-Accelerated-SSLTLS-Termination-in-Ingress-Controllers-using-Kubernetes-Device-Plugins-and-RuntimeClass.md
2019-04-24 10:14:09 -07:00
lIuDuI 38b9c8fba0 ZH-trans: add explore-intro.html (#14005) 2019-04-24 00:16:05 -07:00
lIuDuI 72088f239e ZH-trans: update cassandra.md (#14004)
* ZH-trans: update cassandra.md

* Update cassandra.md
2019-04-24 00:14:03 -07:00
Zufar Dhiyaulhaq 7fd505e713 Translate Pod overview in Bahasa Indonesia (#13968)
* menambahkan page pod overview

* finishing pod overview translate

* fix typo

* Change some words with suggest from reviewer

* fix typo and other for Pod Overview

* fix formatting issue
2019-04-23 20:56:02 -07:00
Irvi Aini 3c4a42b19d Translate ingress for Bahasa Indonesia. (#13958)
* Translate ingress for Bahasa Indonesia.

* Using markdown instead of html tag. Add `_index.md` in concepts.

* Remove italic md syntax from services-networking title in Bahasa.

* Replace all html italic tag in feature-state and Ingress for Bahasa.

* Address review for typo and paraprashing the content for Kubernetes in Bahasa.

* Fix nitty gritty Ingress translation for Bahasa Indonesia.

* Rebase from master

* Fix trailing . after inbound.
2019-04-23 08:30:34 -07:00
Giri Kuncoro a1af880564 Fix broken layout of kubernetes id concepts (#13972)
* Fix broken layout of kubernetes id concepts

* Add search and sitemap to root directory of docs

* Fix minor typo
2019-04-23 07:22:16 -07:00
Claudia J.Kang d831aa23ac Second Korean l10n work for release-1.14 (#13970)
* Update outdated files in dev-1.14-ko.2 partly (#13879)

* Update outdated files in dev-1.14-ko.2 partly-concepts-contribute-ref (#13890)

* ko: update dev-1.14-ko.2 for docs/tutorials/configuration/configure-redis-using-configmap.md #13738 (#13891)

* Ko trans: translate contribute/participating.md in Korean (#13812)

* Update outdated files of setup and tasks in dev-1.14-ko.2 partly (#13893)

* ko-trans: Fix typo in install-minikube (#13894)

* ko: Add tutorials/stateful-application/zookeeper #12452 (#13523)

* ko: Add tutorials/services/source-ip #12457 (#13524)

Co-authored-by:    Yoon <learder@gmail.com>
Co-authored-by:    June Yi <june.yi@samsung.com>
Co-authored-by:    Seokho <shsongist@gmail.com>
2019-04-23 07:12:09 -07:00
Felipe 81f251b16f Merge pull request #13945 from vanou/fixingSyntaxErrorInPortugueseReadme
Fix syntax error of Markdown & link error in README-pt.md
2019-04-22 12:51:23 +01:00
vanou 8e3fac4ef9 * Fix syntax error of Markdown in README-pt.md
* Fix link error referring to 'Executando o
   site localmente usando o Hugo'
2019-04-22 15:21:11 +09:00
Brad Erhart 1c419ce7c4 Fix Git merge conflict (#13921)
Previous doc page had `<<<<<<< HEAD`, `=======` and `>>>>>>> upstream/master`
2019-04-21 22:59:44 -07:00
Kibo Hikari b19deca7a3 fix(pick-right-solution.md): Remove conflicts and correct possible Grammar error (#13930) 2019-04-21 22:53:43 -07:00
Milo Hartsoe 5ce09cd01c Remove merge conflict #13941 (#13942) 2019-04-21 17:37:43 -07:00
Lubomir I. Ivanov 0311519fd2 cri: add notes about changing cgroup driver (#13899) 2019-04-21 17:35:43 -07:00
Felipe 4cc435a67c Merge pull request #13915 from femrtnz/master
Add initial docs folder to portuguese
2019-04-21 23:34:34 +01:00
Felipe Amaral ceb704357e Adding initial docs folder 2019-04-21 23:26:01 +01:00
vanou 1a473a6b48 Fixing one word typo in OWNERS_ALIASES (#13931) 2019-04-21 11:31:44 -07:00
Giri Kuncoro 4d1598bf50 Init cluster admin content with proxies for Indonesian translation (#13935)
* Init cluster admin content with proxies for Indonesian translation

* Change client to klien and minor fixes
2019-04-21 06:31:44 -07:00
Irvi Aini f1a8462407 Add Kubernetes Components in lang ID. (#13888)
* Add Kubernetes Components in lang ID.

* Remove glossary since it's not translated yet.

* Add what is kubernetes? in ID lang

* Add kubernetes API in lang ID.

* Address id loc suggestions fo Kubernetes' overview.

* Remove uneeded lines of definitions.

* Add glossaries for Bahasa Indonesia.

* Add kubelet glossary for Bahasa Indonesia.

* Fix all italics due to missing period and false tag.
2019-04-21 04:41:45 -07:00
Giri Kuncoro 734eb9a086 Translate kube architecture section to Indonesian (#13887)
* Translate kube architecture section to Indonesian

* Translate nodes doc into Indonesian

* Change autorisasi to otorisasi and some minor fixes
2019-04-21 02:29:45 -07:00
Lubomir I. Ivanov d643cf9e0f kubeadm-upgrade: fix shell message markdown (#13900) 2019-04-20 06:11:40 -07:00
Felipe a06c9c7942 Merge pull request #13902 from femrtnz/master
Adjusting pt translations and README-pt.md
2019-04-20 00:16:11 +01:00
Felipe Amaral 163df01756 Adjusting pt translations and README 2019-04-20 00:13:51 +01:00
Zach Corleissen 251eb0df83 Revise L10n contribution guidelines (#13850)
Plain language rocks

Remove an orphaned line

Remove note

Present tense rocks

Add repository

Feedback, round 1

Add team descriptions

Add Slack link

Feedback, part 2

Feedback from gochist

Remove link
2019-04-19 14:57:54 -07:00
Qiming ad80069302 Revise guide for generating reference docs (#13375)
* Revise guide for generating reference docs

This PR changes the guidance for generating reference documentation for
Kubernetes API and kubernetes components. The topic of making changes to
the upstream repo is separated out because 1) it is not a mandatory step
for generating the reference docs; 2) it is about a more advanced level
of documentation fix.

* light copyedit

* more light copyedits
2019-04-19 12:45:54 -07:00
codyc e61a551566 Define other usage monitoring solutions and fix for issue (#13831)
* Provides snippet for PLEG

* Define more resource usage monitoring solutions

* Clarification on create-cluster

* Revert "Clarification on create-cluster"

This reverts commit 42061bea986c3f65ed9f9432e5a1134a1c672b17.

* copyedit
2019-04-19 12:09:54 -07:00
Brandon Philips 24501083c5 blog: remove bobsky from OWNERS (#13561)
Bob is now an Xoogler and now longer involved in the Kubernetes project
regularly. Remove him from the blog.
2019-04-19 11:45:55 -07:00
Jason L. van Brackel 8ead671413 Add k3s as an available option. Change Rancher 2.0 to Rancher (#13733)
* Adding k3s information

* Adding k3s information

* Add K3s information.

* Change Rancher 2.0 to Rancher

* Update content/en/docs/setup/pick-right-solution.md per suggestion by @sftim

Co-Authored-By: JasonvanBrackel <jason@vanbrackel.net>
2019-04-19 11:05:54 -07:00
shub-asa1 358d136c9e updated link for framework file (#13868)
* updated link for framework file 

Fixed the invalid link referred by "framework file" in "Most of the common code are located in the framework file that leaves only one function to be implemented for different conversions.". 
This fix is for the issue #13759 .

* updated framework file link reference to v1.14

changed docs version from v1.13.0 to v1.14.0 in the link reference  
"framework file" -> https://github.com/kubernetes/kubernetes/tree/v1.14.0/test/images/crd-conversion-webhook/converter/framework.go
2019-04-19 10:45:55 -07:00
Saifuding Diliyaer 6c00aff542 Create Introducing-kube-iptables-tailer-Better-Networking-Visibility-… (#13882)
* Create Introducing-kube-iptables-tailer-Better-Networking-Visibility-in-Kubernetes-Clusters.md

* Update Introducing-kube-iptables-tailer-Better-Networking-Visibility-in-Kubernetes-Clusters.md
2019-04-19 10:43:54 -07:00
Dani Comnea 3a44b5e741 Fix docs url in the topology volume blog (#13855) 2019-04-19 09:55:55 -07:00
王(Wang) 47b7de535a an offense against the style guide. (#13837) 2019-04-19 09:51:55 -07:00
王(Wang) a54e919db0 fix an offense against the style guide (#13834) 2019-04-19 09:47:54 -07:00
Julio Lopez 5621bc1ee1 Fix key name in pod-configmap-volume-specific-key.yaml example (#13599)
Changes the key name to `SPECIAL_LEVEL` in the config map volume definition.
This is consistent with the rest of the example. Otherwise, this pod does not
start because there is no key with that name in the `special-config` config map.
2019-04-19 09:37:54 -07:00
RA489 942898da66 Add formal definition of workloads (#11302)
* Add formal definition of workloads

* Update workload.md

* add light copyedit

More section should not repeat short description. Both are served together on the built page.
2019-04-19 09:25:56 -07:00
王(Wang) f36ac6c08f fix a word order issue (#13811)
* fix a word order issue

* Normalize heading language
2019-04-19 08:43:56 -07:00
Tim Bannister d7ff71ddfc Fix glossary entry for rkt (#13877)
* Fix shortcodes in rkt glossary entry

* Tweak wording of rkt glossary entry
2019-04-19 01:11:54 -07:00
Joseph Irving 2eac42a841 remove invalid pod phases (#13840) 2019-04-19 01:09:55 -07:00
Rajesh Deshpande 607675f53b Correcting ambiguous statements (#13872)
These statement was intended to specify environment variable values available in the container but word 'environment variable' was missing so corrected these statements for better clarity.
2019-04-19 01:07:55 -07:00
giri d60bc3de31 Update persistent-volumes.md (#13851) 2019-04-19 01:05:55 -07:00
Vageesha17 413a4c5afc consistent order of sample yaml file (#13875)
changed the order in sample yaml file.
Resole the issue #13862
2019-04-19 01:03:55 -07:00
makocchi 126f9a3a0d Fix broken indent (#13886)
* fix indent

* fix broken indent
2019-04-19 00:59:54 -07:00
shub-asa1 219b8f07a7 updated link for this guide (#13870)
fixed the invalid link referred by "this guide" in "In Kubernetes v1.11.0 and later, you can use kubeadm upgrade diff to see the changes that would be applied to static pod manifests." 
this is fix for issue #13869
2019-04-18 18:03:54 -07:00
Benedikt Rollik 7ea9931eee [DOCS-DE] doc headlines / community / contribute (#13845)
* doc headlines / community / contribute

* Wording

* Added missing space

* Changed word
2019-04-18 13:15:18 -07:00
Benedikt Rollik 322941714e Translation of layout strings (#13841) 2019-04-18 10:12:12 -07:00
Felipe ba649fd8d5 Merge pull request #13867 from femrtnz/master
Adjusting Portuguese translations on content/pt/_index.html
2019-04-18 12:18:17 +01:00
Benedikt Rollik 5b40979156 [DOCS-DE] Kubernetes basics index and deploy (#13827)
* deploy and index

* Updated wording

* fixed links
2019-04-18 02:52:09 -07:00
Felipe Amaral fa801cd109 Adjusting pt translation on content/pt/_index.html 2019-04-18 09:08:48 +01:00
Felipe Amaral 9e4adb70d1 Merge remote-tracking branch 'upstream/master' 2019-04-18 09:07:35 +01:00
Jared 62501702fc Adding New Contributor Ambassador role to K8s (#13863)
Adding new contrib ambassador role to k8s with details of the role and responsibilities.
2019-04-17 15:30:01 -07:00
Kaitlyn Barnard 8df073905a Blog post on pod priority and preemption (#13829) 2019-04-17 12:50:05 -07:00
Alexander Brand 13269b3165 docs/es: add first couple of pages under the run-application section (#13743)
Signed-off-by: Alexander Brand <alexbrand09@gmail.com>
2019-04-17 12:34:03 -07:00
Andrew Sy Kim 3f010d61c8 Kubernets blog: 'The Future of Cloud Providers in Kubernetes' (#13737)
* Kubernets blog: 'The Future of Cloud Providers in Kubernetes'

Signed-off-by: Andrew Sy Kim <kiman@vmware.com>

* Update future-of-cloud-providers.md
2019-04-17 12:02:03 -07:00
Benedikt Rollik f63f1c1ca7 [DOCS-DE] Translation Partners (#13842)
* Translation Partners

* Missing files

* Wording

* Removed unnecessary files
2019-04-17 11:00:06 -07:00
Benedikt Rollik e92efd944d [DOCS-DE] Fix DE readme links (#13644)
* Fixed broken links

* Update README-de.md
2019-04-17 10:40:06 -07:00
Irvi Aini c4ef45fa6b Fixing layouts, typos, and inconsistency in previous translations. (#13853)
* Fixing layouts, typos, and inconsistency in previous translations.

* Change Kubecon to KubeCon.

* Revert breaking changes for the md styling.
2019-04-16 21:30:02 -07:00
Rael Garcia 20842e037a Add localization support for layouts (#13832)
Add layouts/docs/glossary en i18n strings
Add layouts/docs/glossary es i18n strings
Use i18n strings in layouts/docs/glossary
Add layouts/blog/pager en i18n strings
Add layouts/blog/pager es i18n strings
Use i18n strings in layouts/blog/pager
Add layouts/blog/list en  i18n strings
Add layouts/blog/list es  i18n strings
Use i18n strings in layouts/case-studies/list
Add layouts/docs/search en i18n strings
Add layouts/docs/search es i18n strings
Use i18n strings in layouts/docs/search
Add layouts/partials/feedback en i18n strings
Add layouts/partials/feedback es i18n strings
Use i18n strings in layouts/partials/feedback
Set html lang using "{{ .Language }}"
2019-04-16 17:36:01 -07:00
Vageesha17 798c6c748c fixed the broken link (#13839)
* fixed the broken link

Fixed the broken link for CDK official documentation.
Resolving the issue #13820

* fixed broken link

made few changes required for the issue #13820
2019-04-16 16:42:02 -07:00
Felipe f1750f1d95 Fixing conflict (#13773) 2019-04-16 12:13:08 -07:00
Benedikt Rollik d57bbc259c Blog index (#13844) 2019-04-16 09:59:15 -07:00
Felipe Amaral 28c0399ced Fixing conflict 2019-04-16 12:50:38 +01:00
Rael Garcia cb49ff1005 Add es/docs index tree (#13809)
* Add es/docs/concepts index tree

* Add es/docs/contribute index tree

* Add es/docs/setup index tree

* Add es/docs/tutorials index tree

* Add es/docs/reference index tree

* Add es/docs/tasks index tree

* Add es/docs/reference landing page

* Add es/docs/home landing page

* Add es/docs/tutoriales landing page

* Add es/docs/getting-started-guides index tree

* Add es/docs/concepts landing page

* Add es/docs/contribute landing page

* Add es/docs/setup landing page

* Apply review requests and fixes
2019-04-16 04:13:05 -07:00
Giri Kuncoro 3d9dcfcc69 Init Indonesian translation (#13822)
* Add OWNERS information for sig-docs-id

* Add Indonesian language to config.toml with highest weight

* Add README-id.md.

* Add common resources and case studies.

* Add i18n strings for Indonesian site

* Fix typos on OWNERS.

* Add Indonesian translation for home documentation

* Add kubernetes basics.

* Add Indonesian content for minikube tutorial

* Add Indonesian translation for setup cluster

* Fix typos on README-id, and replace you with more informal word

* Fix some typos and replace formal you expression on kubernetes basics
2019-04-16 02:43:08 -07:00
Rémy Léone 7092bd3ca3 Add description meta tag to improve SEO results (#13799)
* Add description meta tag to improve SEO results

* Fixes

* Remove those files from my PR and have those changes in #13832
2019-04-16 01:31:08 -07:00
Shuang Wang 49b40dbbfa fix an offense against the style guide. (#13835)
* fix an offense against the style guide.

> Refer to API objects without saying “object,” unless omitting “object” leads to an awkward construction.

* fix another one.
2019-04-15 20:13:04 -07:00
Christoph Stäbler 6ac9e62b1f Fixed grammar issue in pod-securityy-policy.md (#13823)
Fixed grammar issue
2019-04-15 19:39:05 -07:00
Cody Clark 37e59b898d Clean up kubectl install page (#13578)
* [WIP] Clean up kubectl install page

Fixes issue #13577

* Update install-kubectl.md

Addresses @zacharaysarah and @jaredbhatti's comments.

Minor language Improvements:
- Deleted unnecessary adverbs
- Used fewer words where possible

Next pass will include deeper edits, with careful attention to the kubectl autocompletion section

* Update install-kubectl.md
2019-04-15 09:48:09 -07:00
vonguard 88e69f3d71 Create PID Limiting Blog (#13455)
* Create PID Limiting Blog

Blog from Derek Carr commissioned by Kaitlyn

* Update 2019-3-28-PID-Limiting

* Update and rename 2019-3-28-PID-Limiting to 2019-03-28-PID-Limiting

* Update and rename 2019-03-28-PID-Limiting to 2019-03-28-PID-Limiting.md

* Update 2019-03-28-PID-Limiting.md

* Update 2019-03-28-PID-Limiting.md
2019-04-15 09:44:09 -07:00
Karen Bradshaw 1eaf9458ad test labels list in templates (#13783)
See issue #13615, testing since this is a P2 issue.
2019-04-15 05:38:04 -07:00
Philippe MARTIN cc07ce89e7 docs-fr | concepts | workloads | pod (#13368)
* Translation

* Fixes
2019-04-15 04:12:06 -07:00
yanghaichao12 db79ec0605 Fix typos (#13754) 2019-04-14 22:02:00 -07:00
Karen Bradshaw c8eaf16b9e update note for windows minikube install (#13752) 2019-04-14 21:52:00 -07:00
Arthur De Magalhaes 317e7197de Fixing ICP link (#13749) 2019-04-14 21:50:00 -07:00
codyc 67fdf68918 Updated DaemonSet Page to include Sysdig Agent (#13747)
Updated DaemonSet Page to include Sysdig Agent.
2019-04-14 21:47:59 -07:00
presto9292 db48944b5d Flannel will not work unless UDP ports 8285 and 8472 are allowed for all hosts (#13789)
When using udp backend, flannel uses UDP port 8285 for sending encapsulated packets.

When using vxlan backend, kernel uses UDP port 8472 for sending encapsulated packets.

Make sure that your firewall rules allow this traffic for all hosts participating in the overlay network.
2019-04-14 20:12:00 -07:00
Mumshad Mannambeth bcdf280a91 Add new course offering from KodeKloud (#13769)
Add new course offering from KodeKloud along with the previous offering. Rename KodeKloud to be consistent with others.
2019-04-14 18:34:00 -07:00
Lubomir I. Ivanov 6bd3c7ca93 kubeadm: remove outdate unit file in kubeadm-init.md (#13768)
Link to the kubelet-integration.md document instead.
2019-04-14 18:32:00 -07:00
rishgh e15bc4d345 Update cloud-controller.md (#13756)
1. Mention of the Oracle OCI Load Balancer for the audience
2019-04-14 18:30:00 -07:00
manyatripathi b98a4920d3 Fixing broken link (#13763)
Fixed the broken link for 'kubectl autoscale' in the statement - Now that the server is running, we will create the autoscaler using kubectl autoscaling.
This issue is referenced in #13683
2019-04-14 18:28:01 -07:00
Vageesha17 fe173de068 removing broken hyperlink (#13764)
removed hyperlink from "An example" in the statement An example of this approach is a small container running logrotate periodically. However, it's recommended to use stdout and stderr directly and leave rotation and retention policies to the kubelet.
This fix is for issue #13656
2019-04-14 18:26:00 -07:00
Shifali-Srivastava fcc71aabef Link updated (#13767)
The link for one function in the line "Most of the common code are located in the framework file that leaves only one function to be implemented for different conversions" has been changed.
Resolving issue #13760
2019-04-14 18:24:00 -07:00
Rajesh Deshpande 3eb5094d2b Removing meaningless line from kubefed.md (#13782)
There is a line accidentally added in kubefed.md:' ###### Auto-generated by spf13/cobra on 26-Mar-2019'. This is meaningless so removing this from the page.
This also fixes #13755
2019-04-14 18:18:01 -07:00
Danny Berger 8db85ff4d2 Update api-conventions.md link references (#13786) 2019-04-14 18:14:00 -07:00
Zihong Zheng 0a174a76d9 Delete deprecated Pod A Record and add a note for publishNotReadyAddresses (#13793) 2019-04-14 17:59:59 -07:00
Rajesh Deshpande 67aa1fa26a Define container environment variables using Secret data (#13800)
* Example for injecting single secret as env variable

Define a container environment variable with data from a single Secret

* Env variable using secret data

* Update pod-single-secret-env-variable.yaml

* Adding example for multiple env variable using secrets

Adding example for multiple env variables using secrets

* Create pod-secret-envFrom.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-single-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-single-secret-env-variable.yaml

* Different ways to add env variable using secret

Adding different ways to add env variable in pod using secret

* Correcting formatting issues

Correcting formatting issues

* Correcting format issue
2019-04-14 17:48:00 -07:00
Srinivas R Kulkarni b914148850 Update deployment.md (#13802)
.spec .selector  is also a required field in deployment definition
2019-04-14 17:45:59 -07:00
Miguel Angel Medina Mondragon e0d2b86919 add log commands with label flag (#13804)
* add log commands with label flag

* style
2019-04-14 17:44:00 -07:00
Song Kun 64700c0ab1 Use better format for kubectl install guide (#13810) 2019-04-14 17:41:59 -07:00
codyc 862bd49693 Provides snippet for PLEG (#13805) 2019-04-14 08:18:00 -07:00
Enrique Medina Montenegro 04a8c62dc9 Es/docs/tasks/tools/install kubectl.md (#13659)
* Spanish translation

* Spanish translation

* Spanish translation

* Spanish translation
2019-04-13 02:44:03 -07:00
Shuang Wang 365b8ae4ef an offense against the style guide. (#13794)
> Use camel case for API objects
> Refer to API objects without saying “object,” unless omitting “object” leads to an awkward construction.
2019-04-12 18:18:02 -07:00
Gasmi Christophe 662d23933e fix header and add card (#13791) 2019-04-11 22:32:45 -07:00
Roy Lenferink cf86480431 Improved markdown for Italian translation (#13785) 2019-04-11 10:44:47 -07:00
Michele Berardi 5a7d1f6c39 Translated architecture to Italian (#13399) 2019-04-11 09:48:43 -07:00
June Yi 48d5e74984 update PULL_REQUEST_TEMPLATE for Korean l10n (#13504) 2019-04-11 03:48:11 -07:00
Claudia J.Kang 7faad1ac27 Add the Localization Korean page's link (#12878) 2019-04-11 03:46:11 -07:00
Amina Waddiz 5140592708 [docs-fr] add dns policies for pods and services (#13765)
init index.md

cleanup main doc

[docs-fr] add introduction and A record

[docs-fr] add dns policies for pods and services

[docs-fr] fix netlify deploy error when reading yaml file

[docs-fr] fix typos according to pr review

[docs-fr] update reviewers
2019-04-11 02:50:12 -07:00
Luc Perkins 8101de9f43 Remove Travis CI dependency (#13598)
* Remove Travis CI dependency

* Make scripts runnable via chmod

* Remove .travis.yml reference in test examples script
2019-04-11 01:40:13 -07:00
Paul Roth 335bf7027e the sentence does not make sense (#12673)
I've attempted to have it make more sense by removing the word 'is'.  Optionally, depending on the intended meaning, the sentence could read differently by leaving the word 'is' alone and changing the word 'through' to 'though'.
2019-04-10 00:48:12 -07:00
Jan Dolecek ca83644032 Fix code blocks secret.md (#13016)
The formatting is currently broken because code blocks are not correctly terminated.
2019-04-10 00:46:12 -07:00
Nishanth Reddy 2e3a25069d Added missing --rotate-server-certificates flag to kubelet cli reference (#13586) 2019-04-10 00:44:12 -07:00
Diego Muñoz Escalante 76fc7aa25b Create ES resource-metrics-pipeline.md (#13648)
Add correct index file
2019-04-09 23:24:12 -07:00
Andrew Sy Kim 728e5e9649 remove docs on the PersistentVolumeLabler controller (#12993) 2019-04-09 22:40:12 -07:00
makocchi 49ef5c3486 Update command outputs to k8s 1.13 based and split command outputs (#13014)
* Update command outputs to k8s 1.13 based and split command outputs

* Add comments before commands

* fix comments for consistency reason
2019-04-09 22:38:14 -07:00
RA489 0ceb362beb Update abac.md (#13067)
* Update abac.md

* Update abac.md

* Update abac.md
2019-04-09 22:34:13 -07:00
Taher Bohari 000aa4520e Update podManagementPolicy of StatefulSet object (#13210)
In given manifest, podManagementPolicy is set as Parallel, but in later section of page, the console logs of "kubectl get pods -w -l app=zk" command displays ordered behavior, which is not the actual result in case of Parallel option.

Sample logs from doc : 
NAME      READY     STATUS    RESTARTS   AGE
zk-0      0/1       Pending   0          0s
zk-0      0/1       Pending   0         0s
zk-0      0/1       ContainerCreating   0         0s
zk-0      0/1       Running   0         19s
zk-0      1/1       Running   0         40s
zk-1      0/1       Pending   0         0s
zk-1      0/1       Pending   0         0s
zk-1      0/1       ContainerCreating   0         0s
zk-1      0/1       Running   0         18s
zk-1      1/1       Running   0         40s
zk-2      0/1       Pending   0         0s
zk-2      0/1       Pending   0         0s
zk-2      0/1       ContainerCreating   0         0s
zk-2      0/1       Running   0         19s
zk-2      1/1       Running   0         40s

## here pods are created in order

Actual results after applying the given manifest : 
[taher@kubernetes-docker ~]$ kubectl apply -f zookeeper.yaml
service/zk-hs created
service/zk-cs created
poddisruptionbudget.policy/zk-pdb created
statefulset.apps/zk created
[taher@kubernetes-docker ~]$ kubectl get pods -w -l app=zk
NAME   READY   STATUS              RESTARTS   AGE
zk-0   0/1     Pending             0          3s
zk-1   0/1     Pending             0          3s
zk-2   0/1     ContainerCreating   0          3s
zk-1   0/1   Pending   0     4s
zk-0   0/1   Pending   0     4s
zk-1   0/1   Pending   0     5s
zk-0   0/1   Pending   0     5s
zk-1   0/1   Pending   0     5s
zk-1   0/1   ContainerCreating   0     5s
zk-0   0/1   Pending   0     5s
zk-2   0/1   Running   0     19s
zk-1   0/1   Running   0     24s
zk-2   1/1   Running   0     35s
zk-1   1/1   Running   0     37s

## here pods are created in parallel

Resolution :
Either change the value of podManagementPolicy option to OrderedReady or remove that option, so that StatefulSet will take it's default behavior.
2019-04-09 22:32:12 -07:00
Michael Michael 26851b86a6 Update intro-windows-in-kubernetes.md (#13739) 2019-04-09 22:30:12 -07:00
Luc Perkins 645d3d8ded Create table shortcode that allows for table captions (#13117)
* Create table shortcode for captions

* Allow for tables without captions

* Add table documentation in shortcodes guide

* Docs cleanup
2019-04-09 22:20:12 -07:00
Kenny Chen (netman) 6391d2b3cd Update configure-pod-configmap.md (#13454)
please also change the line '- key: special.level' to '- key: SPECIAL_LEVEL' in the sample yaml file pods/pod-configmap-volume-specific-key.yaml.
2019-04-09 22:16:13 -07:00
Daniel Lipovetsky 783a2d5289 Document workaround for kubeadm Taints field issue (#13343)
* Document workaround for kubeadm Taints field issue

* Remove trailing whitespace in kubeadm troubleshooting
2019-04-09 22:14:12 -07:00
Subrata Paul bd8721baad Updated horizontal-pod-autoscale.md file with newer command names. (#13519)
HPA command names updated to --horizontal-pod-autoscaler-downscale-stabilization in the document.
2019-04-09 19:02:12 -07:00
Rajesh Deshpande ffa2996402 Details about multiple namespaces (#13539)
k8s does not support nested namespaces but this is not specified anywhere in the document. I find this is the right place to document it as we introduce namespace concept here.  Also these details are important to mention specifically for users who are coming from Docker UCP background.
2019-04-09 18:58:12 -07:00
Ricardo Cordeiro 5d83dcbf46 Fixes runAsGroup security context example (#13535) (#13538) 2019-04-09 18:56:12 -07:00
Chas Schley a80483bb52 The output from 'kubectl get services my-service' will indicate a LoadBalancer type, not a ClusterIP. (#13560) 2019-04-09 18:46:13 -07:00
Karen Bradshaw 0c568fa9c9 fix note shortcode, lists (#13587)
* fix note shortcode, lists

- fix note shortcode for use in lists
- add example in style guide

* add more items to list

* update warning, caution, minor tweaks

* more updates
2019-04-09 18:44:12 -07:00
Marc Sensenich 8c6f0d39db Correct spelling kubeadm-upgrade-1-14.md (#13619)
Ugrade => Upgrade
2019-04-09 18:36:12 -07:00
Supriya Sirbi a4629ca423 Issue #13651 Update Debug Services (#13652)
Change the command to use Alpine Image instead of Busy Box
2019-04-09 18:34:12 -07:00
goodluckbot d02c3ca934 Update default admission plugins (#13719)
Update default admission plugins in admission-controllers.md
TaintNodesByCondition is newly added one.
And also update 1.13 to 1.14.
2019-04-09 18:22:15 -07:00
Abhishek Jaisingh 0173c3a567 Add Info about OOM Kill (#13723)
* Add info about OOM Kill

Add details about OOM Kill in case if memory limit is not specified

* Fix Minor Typo
2019-04-09 18:20:12 -07:00
Himanshu Pandey cb86f99b5b Removed extra "```shell" from the output box (#13736) 2019-04-09 18:18:13 -07:00
Kaitlyn Barnard 5d459630be Update pick-right-solution.md (#13731) 2019-04-09 18:16:11 -07:00
Karen Bradshaw cd44e3d73d fix headers for federation tool references (#13726) 2019-04-09 18:14:14 -07:00
RaviSantosh Gudimetla d80e7f66c5 Remove enable resource quota note (#13732)
* Remove enable resource quota note

As of now, `ResourceQuotaScopeSelectors` is enabled by default, since it's in beta. So, let's remove it.

* Update resource-quotas.md
2019-04-09 18:12:12 -07:00
Claudia J.Kang 34074d33ff First Korean I10n work for release-1.14 (#13730)
* First Korean I10n work for release-1.14

- ko: Fix nav-menu sync in tutorials/statefulset #13374 (#13474)
- ko: add outdated files in dev-1.14-ko.1 branch (#13473)
- Translate title of concepts/../image.md Ko (#13507)
- ko: add translation tutorial/stateful-application/cassandra #12450 (#13515)
- Translate reference/kubectl/cheatsheet in Korean (#13549)
- Translate tasks/access-application-cluster/access-cluster in Korean (#13565)
- ko: add tutorials/stateful-application/mysql-wordpress-persistent-vol… (#13516)
- Issue 12838 object management kubectl imperative config (#13657)
- Translate standardized glossary Tag Fandamental in Korean (#13552)

Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>

Co-authored-by:    Yoon <learder@gmail.com>

Co-authored-by:    lapee79 <lapee79@gmail.com>

Co-authored-by:    Jesang Myung <jesang.myung@gmail.com>

Co-authored-by:    Seokho <shsongist@gmail.com>

Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>

Co-authored-by:    June Yi <june.yi@samsung.com>

* Fix conflict : pick-right-solution
2019-04-09 17:42:12 -07:00
Shashank Patel 866fc48195 fix typo in ha page (#13735)
Associated with #13734
2019-04-09 13:38:47 -07:00
Shashank Patel 6219f0235d fix typo in device-plug page (#13721)
Associated with #13720
2019-04-09 09:17:59 -07:00
Shashank Patel 85bf8f1872 fix type in cluster admin addons page (#13718)
Associated with #13717
2019-04-09 09:15:59 -07:00
Shashank Patel ede704f3d3 fix type in cluster-admin-networking page (#13716)
Associated with #13715
2019-04-09 09:14:00 -07:00
Shashank Patel 432d298753 fix typo resource quota page (#13712)
Associated with #13710
2019-04-09 09:12:01 -07:00
Shashank Patel 3eaf5a61be fix type in volume page (#13707)
Associated with #13706
2019-04-09 09:10:01 -07:00
Shashank Patel ff7c90e04c fixeed typo on storage-limit page (#13709)
Associated with #13708
2019-04-09 07:49:11 -07:00
Shashank Patel 5c93be0e11 fix typo pod security page (#13714)
Associated with #13713
2019-04-09 04:49:06 -07:00
zhangqx2010 28dacc8c09 update start.md on Submit a pull request topic (#13633)
related issue #13629
2019-04-08 22:39:04 -07:00
Zhimin Wu 0560786472 Update garbage-collection.md (#13662) 2019-04-08 22:37:03 -07:00
Nick Veitch a1b0c2e816 Update Ubuntu docs (#13594)
* update links to point to official docs

* delete unmaintained content

* Add page to retain url and direct readers to appropriate docs
2019-04-08 19:31:03 -07:00
Shashank Patel 522b01480d fix typo in volume page (#13703)
Associated with #13702
2019-04-08 18:25:05 -07:00
Karen Bradshaw 50050dfb1b clean-up, clarify glossary: taints and tolerations (#13684) 2019-04-08 18:23:03 -07:00
AJ Moore 91397935a7 Update namespaces.md (#13682)
Updates `namespaces` command to `namespace`
2019-04-08 18:21:04 -07:00
Bjørn Erik Pedersen b51bdc88cc Make it compatible with Hugo 0.55 (#13680)
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

* All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar.
* Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
2019-04-08 18:19:05 -07:00
Christian Oliff 2d1fdb0666 Always load Mailchimp CSS over HTTPS (#13678) 2019-04-08 18:17:04 -07:00
Rajesh Deshpande d3cd85d496 Correcting API version in example (#13670)
API version of KubeSchedulerConfiguration is corrected to kubescheduler.config.k8s.io
2019-04-08 18:15:07 -07:00
Supriya Sirbi 5f6cc2de23 Issue #13506 Update Pod Security Policy (#13655) 2019-04-08 18:13:05 -07:00
Zach Corleissen a2e97664c6 Auto-label, revise OWNERS (#13645)
Whitespace
2019-04-08 18:11:04 -07:00
Ismail Alidzhikov 87a2edbc10 Update api-changes link (#13613)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-04-08 18:09:03 -07:00
Manuel Rüger 8f5fbc0222 kubelet-integration: Update kubeadm config command (#13636)
print-default subcommand got removed in 1.14

See: https://github.com/kubernetes/kubernetes/pull/71467

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2019-04-08 18:07:04 -07:00
Supriya Sirbi 552f6ab73a Issue #13637 Update developing-cloud-controller-manager.md (#13654)
Register CloudProvider Interface link added
2019-04-08 18:05:05 -07:00
AbdullahBM cc09428797 setting current context and finding running pod's YAML (#13665) 2019-04-08 18:03:04 -07:00
Tennis Smith b809bdcba0 Add 'get-contexts' (#13677)
Added `kubectl config get-contexts` for completeness
2019-04-08 18:01:04 -07:00
Joseph Heck f5496b5b5c minor link update with the migration of conventions in the community repo (#13681) 2019-04-08 17:59:03 -07:00
Rémy Léone 1f97343fb0 rename sieben to remyleone (#13690) 2019-04-08 17:57:04 -07:00
Shashank Patel 8596438035 fix typo in volumes pages (#13700)
Associated with #13699
2019-04-08 17:01:05 -07:00
Shashank Patel a70ded41b9 fix typo in volume page (#13698)
Associted with #13697
2019-04-08 16:53:02 -07:00
Shashank Patel d12b07d6ea fix type cronjob (#13696)
Associated with #13695
2019-04-08 16:45:03 -07:00
Shashank Patel a08f7c0714 fix typo deployment page (#13694)
Associated with #13693
2019-04-08 16:39:03 -07:00
Shashank Patel adc61ddd79 fixed type in disruption page (#13692)
Associated with #13691
2019-04-08 16:29:05 -07:00
Shashank Patel 786ad4390d fix typo in pod-lifecycle (#13689)
Asscociated with #13688
2019-04-08 15:36:38 -07:00
Shashank Patel d8a198e93d Fix typo in API page (#13687)
Associated with #13686
2019-04-08 15:16:26 -07:00
Alex Contini 71e9a63d4b add Nokia case study (#13676) 2019-04-08 15:14:27 -07:00
yanghaichao12 e119b41336 Fix typos (#13376) 2019-04-08 06:30:26 -07:00
Rajesh Deshpande 4d2bb1e5bf Incorrect details about startingDeadlineSeconds.. (#13530)
On this page, the default value of startingDeadlineSeconds is mentioned as 100 seconds which is not true. So removing this statement.
2019-04-08 06:22:25 -07:00
ethan 8f14350a47 correct container hyperlinks in init container (#12387)
* correct container hyperlinks in init container

* correct zh trans and update anchor inside page
2019-04-08 05:46:29 -07:00
Blade 36f269696a update zh kubelet-config-file doc (#13495)
* update zh kubelet-config-file doc

* change kubelet config types address

* add space between en words and zh words

* revert en version change
2019-04-07 23:28:24 -07:00
Ismail Alidzhikov 5125996183 Update fluentd image (#13661)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-04-07 20:34:24 -07:00
Benedikt Rollik 0ee892d4ad [DOCS-DE] Tutorial hello-minikube (#13526)
* Tutorial hello-minikube

* Fixed remarks
2019-04-05 10:27:21 -07:00
Benedikt Rollik 12c51ef8e9 Install kubectl (#13639) 2019-04-05 10:25:22 -07:00
Benedikt Rollik dcf1b736a8 [DOCS-DE] Tutorial Install Minikube (#13642)
* setup_minikube

* fixed typo
2019-04-05 10:21:20 -07:00
Benedikt Rollik 8e6e12ed9b Add kubectl cheat sheet (#13635) 2019-04-05 10:17:20 -07:00
Benedikt Rollik a48a32e6c5 [DOCS-DE] Content Concepts (#13529)
* content-concepts

* Fixed typos
2019-04-05 10:01:20 -07:00
Benedikt Rollik 3f219b1a76 [DOC-DE] Components (#13531)
* Components

* Update content/de/docs/concepts/overview/components.md

Co-Authored-By: bene2k1 <brollik@scaleway.com>

* Added missing files

* Translation components

* Update components
2019-04-05 09:55:21 -07:00
Sai Adarsh S cec547a509 Fixed Footer Nav (#13165) 2019-04-05 08:45:22 -07:00
Alex Contini c70dd4f0c4 urgent!! typo in case study - removed extra letter (#13638) 2019-04-05 08:33:22 -07:00
Rémy Léone c00262c2d3 Translate partners to French (#13389)
Add includes and translating to French

Co-Authored-By: Jean-Yves Gastaud <jygastaud@users.noreply.github.com>
2019-04-05 07:01:22 -07:00
Shashank Patel 8da4c1f1a9 Fix typo style guide (#13626)
Associated with #13625
2019-04-04 15:35:19 -07:00
Shashank Patel 1c5188cc15 Fix typo in /docs/concepts/containers/images/ (#13628)
Associated with #13627
2019-04-04 15:31:20 -07:00
Alex Contini 0c92b3d194 add China Unicom case study and update Case Study homepage with new f… (#13557)
* add China Unicom case study and update Case Study homepage with new features

* Update index.html

* Update index.html

* Update index.html

* updates
2019-04-04 14:41:18 -07:00
Shashank Patel e84079eedf Fix typo (#13624)
Associated with #13623
2019-04-04 14:33:20 -07:00
Shashank Patel a7427a627a Fix typo in service-networking page (#13622)
Associated with #13621
2019-04-04 14:07:18 -07:00
Shashank Patel 1aff855615 fix typo in home page (#13620)
associated with #13618
2019-04-04 14:05:19 -07:00
Rémy Léone 5bf4b33316 Translate kubernetes-api.md to French (#13435) 2019-04-04 13:33:20 -07:00
Rael Garcia f1627103a0 Init Spanish translation (#13543)
* Add OWNERS information for sig-docs-es

* Add spanish README file

* Add Spanish language section

* Add headless _common-resources section

* Add case-studies section

* Add docs section

* Add search page

* Add overview section

* Add main content page

* Add i18n strings for Spanish language

* Add alexbrand as OWNER and REVIEWER

* Add glo-pena as REVIEWER

* Add headless include section

* Add partners section

* Add blog section

* Add Code of Conduct manifests

* Add supported-doc-versions page

* Add community site

* Add sitemap

* Remove overview section

* Add initial home version

* Rework phrase

* Fix typo

* Add update-user-guid-links script

* Upload Spanish CoC updated version

https://github.com/cncf/foundation/commit/e2a956

* Rework phrase

* Fix typo in community index

* Fix informal person usage

* Translate sitemap page

* Add electrocucaracha as REVIEWER

* Add landing page for /es/docs

* Remove home pages from initial translation

* Upload Spanish CoC updated version

https://github.com/cncf/foundation/commit/6474dfd

* Add more information to the docs landing
2019-04-04 13:11:20 -07:00
Shashank Patel a03303dca5 Fixed type in intermediate contributor page (#13617)
Associated with #13616
page link: https://kubernetes.io/docs/contribute/intermediate/#contribute-to-other-repos
2019-04-04 12:57:19 -07:00
Roy Lenferink 87de499261 Fixed broken links to /docs/setup/scratch (#13614) 2019-04-04 10:55:52 -07:00
zhangqx2010 ff061697cf Update start.md (#13610)
Change the pencil icon location from `top left` to `top right`
2019-04-04 10:29:53 -07:00
yanghaichao12 ab98b03e8b Fix typos (#13609) 2019-04-04 10:27:51 -07:00
Shashank Patel b2b29a5e17 Add Logging to glossary (#13608)
Associated with #5993
2019-04-04 10:25:52 -07:00
Blade 3dac0bb857 update url of kubelet-config-file types (#13603) 2019-04-04 10:23:53 -07:00
Rémy Léone 9476c2599a Remove obsolete remark. German translation exists (#13575) 2019-04-04 10:21:52 -07:00
Michelle Au 7ed8f1bd4b Local PV GA blog post (#13600) 2019-04-04 08:04:57 -07:00
Rémy Léone b3b46b0a86 Translate the contribute start to French (#13429)
Co-Authored-By: Jean-Yves Gastaud <jygastaud@users.noreply.github.com>
2019-04-04 04:48:50 -07:00
Rémy Léone e9da0533ca Add a script util to check if a file is modified by an open PR (#12790) 2019-04-04 03:08:49 -07:00
Joe a7eeeb77eb fix typo (#13601)
一 => 已
2019-04-03 22:28:51 -07:00
Roy Lenferink 8a65454642 On request by lledru removed him from OWNERS_ALIASES (#13596) 2019-04-03 09:53:45 -07:00
Kevin Woo 41f1397e56 add whitespace for clarity (#13580) 2019-04-03 09:27:49 -07:00
Joe e34b0532a9 Fixed typo (#13588)
群集 => 集群
2019-04-03 02:49:43 -07:00
Roy Lenferink 3c1faef53a Removed unneeded de/index.md (#13548) 2019-04-02 12:25:18 -07:00
Roy Lenferink 24261ee01a Updated links on kubectl documentation page (#13579) 2019-04-02 11:25:20 -07:00
Damini Satya 532bb26b9d Fix#13372 - Issue template for bug, support, feature requests (#13373)
* Fix#13372 - Issue template for bug, support, feature requests

* Point to the bug template for every bug report from website
2019-04-02 08:02:38 -07:00
jwalter 5ec608971a Fixed typo (#13570)
kusotmization -> kustomization
2019-04-02 05:32:36 -07:00
Kaitlyn Barnard 3d75e6a881 Adding 5 Days of K8s post on Windows Containers (#13558)
* Adding 5 Days of K8s post on Windows Containers

* Updating line spacing
2019-04-01 16:26:36 -07:00
Kai Paro 14dddbfd97 Update install-kubeadm.md (#13514)
original link is dead
2019-04-01 12:56:34 -07:00
Roy Lenferink 2a4224c054 Fixed typo in German README (#13550) 2019-04-01 09:24:34 -07:00
Taher Bohari f5f13f9a0f Update console output as per configmap data (#13540)
Actual Console Output :
root@ubuntu:~/practice1$ kubectl create -f https://k8s.io/examples/configmap/configmap-multikeys.yaml
configmap/special-config created
root@ubuntu:~/practice1$ kubectl get configmaps special-config
NAME             DATA   AGE
special-config   2      17s
root@ubuntu:~/practice1$ kubectl get configmaps special-config -o yaml
apiVersion: v1
data:
  SPECIAL_LEVEL: very
  SPECIAL_TYPE: charm
kind: ConfigMap
metadata:
  creationTimestamp: "2019-03-30T06:52:22Z"
  name: special-config
  namespace: default
  resourceVersion: "1404079"
  selfLink: /api/v1/namespaces/default/configmaps/special-config
  uid: 5ec833dd-52b8-11e9-b4c7-005056ad4679
root@ubuntu:~/practice1$ kubectl create -f https://k8s.io/examples/pods/pod-configmap-volume.yaml
pod/dapi-test-pod created
root@ubuntu:~/practice1$ kubectl logs dapi-test-pod
SPECIAL_LEVEL
SPECIAL_TYPE

Need to update this manfiest as well : pods/pod-configmap-volume-specific-key.yaml
2019-04-01 09:22:36 -07:00
makocchi 58dcb32e32 remove command prompts (#13418) 2019-04-01 09:20:35 -07:00
Rémy Léone 32a249d4fc Translate the index page to French (#13397) 2019-04-01 06:06:34 -07:00
Philippe MARTIN 773468af29 docs-fr | concepts | workloads | pod overview (#13240) 2019-04-01 00:52:33 -07:00
Benedikt Rollik 6282ede2bf building_release (#13527) 2019-03-31 09:52:32 -07:00
Qiming d1ceb7cacd Fix link in pod overview (#13517)
Closes: #12952
2019-03-31 05:18:32 -07:00
Qiming d9b7ac307e Fix API group for some resources (#13477)
As reported in #13394, we have been incorrectly treating some resource
types from the 'extensions' group as the latest (recommended) version.
Resources impacted include `Ingress`, `NetworkPolicy`,
`PodSecurityPolicy` etc. This turned out to be a defect in the doc
generator which has been fixed.
2019-03-31 05:16:32 -07:00
Yongkun Anfernee Gui 7c985a1545 Connection reset blog post (#13456)
* Connection reset blog post

* Update and rename 2019-03-27-kube-proxy-subtleties-debugging-an-intermittent-connection-resets.md to 2019-03-29-kube-proxy-subtleties-debugging-an-intermittent-connection-resets.md
2019-03-29 13:10:12 -07:00
Zach Corleissen 5bbd682613 Update the blog's download link (#13536) 2019-03-29 13:06:15 -07:00
Qiming 1971334632 Fix file encoding for kubectl markdown (#13518)
Closes: #12964
2019-03-28 20:22:14 -07:00
Vladimir Vivien e3ee3f86cf Reversal for CSI ephemeral inline volume doc (#13403) 2019-03-28 16:36:14 -07:00
Kaitlyn Barnard 9d825082b1 Blog post on Minikube (#13509)
* blog post on Minikube

* Updates

* Update 2019-03-28-running-kubernetes-locally-on-linux-with-minikube.md

* Update 2019-03-28-running-kubernetes-locally-on-linux-with-minikube.md
2019-03-28 16:29:57 -07:00
Zach Corleissen 07deacdaef Match the wording with the workflow (#13511) 2019-03-28 15:33:57 -07:00
Benedikt Rollik 8deb0aba8c German Docs home (#13508)
* Hompage German doc

* Removed approvers from file

* Fixed typo
2019-03-28 15:23:57 -07:00
Benedikt Rollik ab30d75137 Init German translation of Architecture Node (#13449) 2019-03-28 12:31:56 -07:00
Taher Bohari f01978c872 Update configure-upgrade-etcd.md (#13505) 2019-03-28 11:57:56 -07:00
Jordan Liggitt 026e792bc8 Update issues landing page (#13503) 2019-03-28 11:45:59 -07:00
Oussema CHERNI a0e0de90c2 Add Supported Versions of the Documentation link in docs home (#13499) 2019-03-28 08:58:45 -07:00
Alexis Blandin 89f1f6c4c1 Typo update (#13423)
Kube(r)netes
2019-03-28 05:20:43 -07:00
Rémy Léone ba7dc2a286 Translate Federation API to French (#13433) 2019-03-28 02:22:46 -07:00
Reppad 4ffc97c36c Fix French translation of hello-minikube.md (#13485)
kubectl commands should not be translated.
"Déploiements de kubectl" -> "kubectl get deployments"
2019-03-28 02:02:43 -07:00
Karen Bradshaw 91ac5c6044 fix links in windows-nodes, runtimeClass (#13486) 2019-03-27 20:34:44 -07:00
Tim Bannister 4fd724ba09 Add glossary entries for static and mirror pods (#12684)
* Add entries for static and mirror pods

* Tweak wording

Co-Authored-By: Zach Arnold <me@zacharnold.org>

* Write kubelet lower case

* Revise wording
2019-03-27 17:26:43 -07:00
James Peach 3991177042 Fix the spelling of 'available'. (#13483) 2019-03-27 16:46:48 -07:00
yanghaichao12 a1453ca69c Fix typos (#13476) 2019-03-27 16:44:47 -07:00
Alexis Blandin b97f6534d6 Missing french translation (#13443) 2019-03-27 16:42:48 -07:00
kenveski a7f1bf394b Update link of spec (#13437)
Old link points to https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status which will be removed after 2019-07-01 or the release of kubernetes 1.15, whichever comes first.
New link: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
2019-03-27 16:40:48 -07:00
Oleg Atamanenko 691d84cb86 Fixed broken link rendering (#13413)
Fixed broken link rendering
2019-03-27 16:38:47 -07:00
Arthur Deschamps a00049f411 Update namespaces-walkthrough.md (#13388) 2019-03-27 16:36:47 -07:00
avigailof 5dc88b71da Add missing spaces (+1 squashed commit) (#13345)
Squashed commits:
[72812d1f6] Update pick-right-solution.md (+1 squashed commit)
Squashed commits:
[0aa91a8cc] Update pick-right-solution.md
2019-03-27 16:34:48 -07:00
chenrui e9513c654b Fix relative links issue in fr content (#13311)
* `https://kubernetes.io/docs/` -> `/docs/`

* Update the links to localized ones
2019-03-27 16:32:48 -07:00
Liping Mao 95629e7eb3 Fix StorageObjectInUseProtection format in doc (#13294)
* Fix StorageObjectInUseProtection format in doc

Fix StorageObjectInUseProtection format to follow other admission controllers in doc.

* remove {#storageobjectinuseprotection}
2019-03-27 16:30:49 -07:00
Kaitlyn Barnard 14bfed8631 Adding image to Twitter meta data (#13261) 2019-03-27 16:28:50 -07:00
Tim Bannister 8ac581b50e Add CRI to glossary (#13024) 2019-03-27 16:26:48 -07:00
Tim Bannister 784201de61 Note Google Cloud needs of Service Cloud Installer (#13243) 2019-03-27 22:28:59 +08:00
Jim Angel 13ab6992ce Update _index.md (#13467) 2019-03-27 21:58:36 +08:00
Qiming 8858299bfa Reference documentation for kube components (#13444) 2019-03-27 15:58:19 +08:00
Jim Angel b70111925b Update PULL_REQUEST_TEMPLATE.md (#13466) 2019-03-27 15:51:08 +08:00
Babak "Bobby" Salamat bbe35dcaae Change API version to v1 in exmaples, plus minor tweaks (#13457) 2019-03-27 15:50:29 +08:00
Rajesh Deshpande 91f73900db Correcting statement about Service ports (#13337)
* Correcting statement about Service ports

Correcting details about service ports and protocol. Removed statement saying Service supports the single port definition only and added details about multiport definitions.

* Correcting format changes

Correcting format changes as per feedback from reviewer.
2019-03-27 15:29:52 +08:00
Qiming 196b69d884 Add/fix redirects for windows setup (#13463)
Closes: #13459
2019-03-27 14:03:49 +08:00
Patrick fd51c68e80 changing references to metrics-server to resource-metrics-pipeline from core-metrics-pipeline (#13446) 2019-03-27 14:03:01 +08:00
Jim Angel 111e6d1e57 initial commit 2019-03-26 22:54:29 -05:00
Qiming 7c47295fea API reference for 1.14 (#13442) 2019-03-27 10:57:12 +08:00
Mark Janssen a60b1425ad Update containerd installation instructions (#13052)
Use apt/yum instead of tarball-based installation.
2019-03-26 15:04:16 -07:00
Benedikt Rollik a5ddc03b4f Init German translation (#13340)
* Init German translation

* Removed EN content

* Removed binary files, unnesscary files

* Fixed typo, added rlenferink to owners file for german content

* Removed English content

* Add missing case-studies link

* Removed css
2019-03-26 13:37:19 -07:00
Jim Angel 39cb126d96 Update deprecationwarning.html (#13461)
ref: https://github.com/kubernetes/website/pull/13406#issuecomment-476806146
2019-03-26 13:19:17 -07:00
Alexis Blandin bb49893367 Fixing typo (#13450)
le reste(r) du cluster
2019-03-26 09:21:22 -07:00
Craig Peters eeb2877345 Fixed minor issues in Windows section (#13451)
Fixed grammar in the statement about Windows containers. Also indicated that GMSA support is alpha
2019-03-26 08:19:19 -07:00
Pancongwen 369f8d3053 Update kubeadm-upgrade-1-13.md (#13438)
fix typo of 'Ugrade'
2019-03-26 08:17:24 -07:00
Oussema CHERNI 04974542f1 Add building a release link in docs home (#13393) 2019-03-26 07:57:21 -07:00
Naoki Oketani f6f40d5d5b fix a broken link (#13421) 2019-03-26 07:03:24 -07:00
yanghaichao12 7a97425205 Fix typos (#13422) 2019-03-26 07:01:24 -07:00
Michelle Au be48fb38e9 Remove storage protection task page (#13402) 2019-03-26 06:59:22 -07:00
Rémy Léone 51ea736d3f Translate the generate ref docs to French (#13432) 2019-03-26 03:23:20 -07:00
Jim Angel 87c959d65c Update notes.md (#13416) 2019-03-25 21:21:15 -07:00
Kevin Simper b0b38b0b81 Make website responsive and don't force min-width (#13417) 2019-03-25 20:19:16 -07:00
Lubomir I. Ivanov 6c41db7e62 kubeadm-ts: add entry about patching kube-proxy in CCM scenarios (#13033)
This patch adds a entry in the kubeadm troubleshooting guide
about a problem that was found some time ago related to
kube-proxy DaemonSets and worker nodes in a CP setup.
2019-03-25 17:55:15 -07:00
Patrick Lang 6b8e146429 Fix markdown around \ for file paths (#13404) 2019-03-25 16:10:17 -07:00
Noah Kantrowitz f024de7d3d Typo fix in a docs link. (#13405) 2019-03-25 16:00:24 -07:00
Alex Contini 230dfa1400 add AppDirect case study (#13338)
* add AppDirect case study

* Update index.html

* updates

* Update style_case_studies.css
2019-03-25 15:36:17 -07:00
Kaitlyn Barnard ef6c80a0e0 1.14 Blog Post (#13400) 2019-03-25 15:10:19 -07:00
Jim Angel 851ef58fa8 Official 1.14 Release Docs (#13174)
* Official documentation on Poseidon/Firmament, a new multi-scheduler support for K8S. (#11752)

* Added documentation about Poseidon-Firmament scheduler

* Fixed some style issues.

* Udpated the document as per the review comments.

* Fixed some typos and updated the document

* Updated the document as per the review comments.

* Document timeout attribute for kms-plugin. (#12158)

See 72540.

* Official documentation on Poseidon/Firmament, a new multi-scheduler  (#12343)

* Removed the old version of the Poseidon documentation. Incorrect location.

* Official documentation on Poseidon/Firmament, a new multi-scheduler support for K8S (#12069)

* Official documentation on Poseidon/Firmament, a new multi-scheduler support for K8S. (#11752)

* Added documentation about Poseidon-Firmament scheduler

* Fixed some style issues.

* Udpated the document as per the review comments.

* Fixed some typos and updated the document

* Updated the document as per the review comments.

* Updated the document as per review comments. Added config details.

* Updated the document as per the latest review comments. Fixed nits

* Made changes as per latest suggestions.

* Some more changes added.

* Updated as per suggestions.

* Changed the release process section.

* SIG Docs edits

Small edits to match style guidelines.

* add plus to feature state

* capitalization

* revert feature state shortcode

since this is a Kubernetes extension, not a direct feature, it shouldn't use the regular feature state tagging.

(cherry picked from commit 7730c1540b)

* Remove initializers from doc. It will be removed in 1.14 (#12331)

* kubeadm: Document CRI auto detection functionality (#12462)

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>

* Minor doc change for GAing Pod DNS Config (#12514)

* Graduate ExpandInUsePersistentVolumes feature to beta (#10574)

* Rename 2018-11-07-grpc-load-balancing-with-linkerd.md.md file (#12594)

* Add dynamic percentage of node scoring to user docs (#12235)

* Add dynamic percentage of node scoring to user docs

* addressed review comments

* delete special symbol (#12445)

* Update documentation for VolumeSubpathEnvExpansion (#11843)

* Update documentation for VolumeSubpathEnvExpansion

* Address comments - improve descriptions

* Graduate Pod Priority and Preemption to GA (#12428)

* Added Instana links to the documentation (#12977)

* Added link to the Instana Kubernetes integration

* Added Instana link for services section

Added Instana and a link to the Kubernetes integration to the analytics services section and broadened the scope to APM, monitoring and analytics.

* Oxford comma /flex

* More Oxford commas, because they matter

* Update kubectl plugins to stable (#12847)

* documentation for CSI topology beta (#12889)

* Document changes to default RBAC discovery ClusterRole(Binding)s (#12888)

* Document changes to default RBAC discovery ClusterRole(Binding)s

Documentation for https://github.com/kubernetes/enhancements/issues/789 and https://github.com/kubernetes/kubernetes/pull/73807

* documentation review feedback

* CSI raw block to beta (#12931)

* Change incorrect string raw to block (#12926)

Fixes #12925

* Update documentation on node OS/arch labels (#12976)

These labels have been promoted to GA:
https://github.com/kubernetes/enhancements/issues/793

* local pv GA doc updates (#12915)

* Publish CRD OpenAPI Documentation (#12910)

* add documentation for CustomResourcePublishOpenAPI

* address comments

fix links, ordered lists, style and typo

* kubeadm: add document for upgrading from 1.13 to 1.14 (single CP and HA) (#13189)

* kubeadm: add document for upgrading from 1.13 to 1.14

- remove doc for upgrading 1.10 -> 1.11

* kubeadm: apply amends to upgrade-1.14 doc

* kubeadm: apply amends to upgrade-1.14 doc (part2)

* kubeadm: apply amends to upgrade-1.14 doc (part3)

* kubeadm: add note about "upgrade node experimental-control-plane"

+ add comment about `upgrade plan`

* kubeadm: add missing "You should see output similar to this"

* fix bullet indentation (#13214)

* mark PodReadinessGate GA (#12800)

* Update RuntimeClass documentation for beta (#13043)

* Update RuntimeClass documentation for beta

* Update feature gate & add upgrade section

* formatting fixes

* Highlight upgrade action required

* Address feedback

* CSI ephemeral volume alpha documentation (#10934)

* update kubectl documentation (#12867)

* update kubectl documentation

* add document for Secret/ConfigMap generators

* replace `kubectl create -f` by `kubectl apply -f`

* Add page for kustomization support in kubectl

* fix spelling errors and address comments

* Documentation for Windows GMSA feature (#12936)

* Documentation for Windows GMSA feature

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Enhancements to GMSA docs

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Fix links

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Fix GMSA link

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Add GMSA feature flag in feature flag list

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Relocate GMSA to container configuration

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Add example for container spec

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Remove changes in Windows index

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Update configure-gmsa.md

* Update configure-gmsa.md

* Update configure-gmsa.md

* Update configure-gmsa.md

* Rearrange the steps into two sections and other edits

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Fix links

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Add reference to script to generate GMSA YAMLs

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Some more clarifications for GMSA

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* HugePages graduated to GA (#13004)

* HugePages graduated to GA

* fixing nit for build

* Docs for node PID limiting (https://github.com/kubernetes/kubernetes/pull/73651) (#12932)

* kubeadm: update the reference documentation for 1.14 (#12911)

* kubeadm: update list of generated files for 1.14

NOTE: PLACEHOLDERS! these files are generated by SIG Docs each
release, but we need them to pass the k/website PR CI.

- add join_phase* (new sub phases of join)
- add init_phase_upload-certs.md (new upload certs phase for init)
- remove alpha-preflight (now both init and join have this)

* kubeadm: update reference docs includes for 1.14

- remove includes from alpha.md
- add upload-certs to init-phase.md
- add join-phase.md and it's phases

* kubeadm: update the editorial content of join and init

- cleanup master->control-plane node
- add some notes about phases and join
- remove table about pre-pulling images
- remove outdated info about self-hosting

* kubeadm: update target release for v1alpha3 removal

1.14 -> 1.15

* kubeadm: copy edits for 1.14 reference docs (part1)

* kubeadm: use "shell" for code blocks

* kubeadm: update the 1.14 HA guide (#13191)

* kubeadm: update the 1.14 HA guide

* kubeadm: try to fix note/caution indent in HA page

* kubeadm: fix missing sudo and minor amends in HA doc

* kubeadm: apply latest amends to the HA doc for 1.14

* fixed a few missed merge conflicts

* Admission Webhook new features doc (#12938)

- kubernetes/kubernetes#74998
- kubernetes/kubernetes#74477
- kubernetes/kubernetes#74562

* Clarifications and fixes in GMSA doc (#13226)

* Clarifications and fixes in GMSA doc

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Update configure-gmsa.md

* Reformat to align headings and pre-reqs better

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Reformat to align headings and pre-reqs better

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Reformat to fix bullets

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Reword application of sample gmsa

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Update configure-gmsa.md

* Address feedback to use active voice

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Address feedback to use active voice

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* RunAsGroup documentation for Progressing this to Beta (#12297)

* start serverside-apply documentation (#13077)

* start serverside-apply documentation

* add more concept info on server side apply

* Update api concepts

* Update api-concepts.md

* fix style issues

* Document CSI update (#12928)

* Document CSI update

* Finish CSI documentation

Also fix mistake with  ExpandInUsePersistentVolumes documented as beta

* Overall docs for CSI Migration feature (#12935)

* Placeholder docs for CSI Migration feature

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Address CR comments and update feature gates

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Add mappings for CSI plugins

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Add sections for AWS and GCE PD migration

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Add docs for Cinder and CSI Migration info

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Clarify scope to volumes with file system

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Change the format of EBS and Cinder CSI Migration sections to follow the GCE template

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Windows documentation updates for 1.14 (#12929)

* Updated the note to indicate doc work for 1.14

* first attempt at md export from gdoc

* simplifyig

* big attempt

* moving DRAFT windows content to PR for review

* moving content to PR in markdown for review

* updated note tags

* Delete windows-contributing.md

deleting this file as it is already ported to the github contributor guide

* fixed formatting in intro and cluster setup guide

* updating formatting for running containers guide

* rejiggered end of troubleshooting

* fixed minor typos

* Clarified the windows binary download step

* Update _index.md

making updates based on feedback

* Update _index.md

updating ovn-kubernetes docs

* Update _index.md

* Update _index.md

* updating relative docs links

updating all the links to be relative links to /docs

* Update _index.md

* Update _index.md

updates for windows services and ovn-kubernetes

* formatted for correct step numbering

* fix typos

* Update _index.md

updates for flannel PR in troubleshooting

* Update _index.md

* Update _index.md

updating a few sections like roadmap, services, troubleshooting/filing tickets

* Update _index.md

* Update _index.md

* Update _index.md

* Fixed a few whitespace issues

* Update _index.md

* Update _index.md

* Update _index.md

* add section on upgrading CoreDNS (#12909)

* documentation for kubelet resource metrics endpoint (#12934)

* windows docs updates for 1.14 (#13279)

* Delete sample-l2bridge-wincni-config.json

this file is not used anywhere

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Rename content/en/docs/getting-started-guides/windows/_index.md to content/en/docs/setup/windows/_index.md

moving to new location

* Delete flannel-master-kubectl-get-ds.png

* Delete flannel-master-kubeclt-get-pods.png

* Delete windows-docker-error.png

* Add files via upload

* Rename _index.md to add-windows-nodes.md

* Create _index.md

* Update _index.md

* Update add-windows-nodes.md

* Update add-windows-nodes.md

* Create user-guide-windows-nodes.md

* Create user-guide-windows-containers.md

* Update and rename add-windows-nodes.md to intro-windows-nodes.md

* Update user-guide-windows-containers.md

* Rename intro-windows-nodes.md to intro-windows-in-kubernetes.md

* Update user-guide-windows-nodes.md

* Update user-guide-windows-containers.md

* Update user-guide-windows-containers.md

* Update user-guide-windows-nodes.md

* Update user-guide-windows-containers.md

* Update _index.md

* Update intro-windows-in-kubernetes.md

* Update intro-windows-in-kubernetes.md

fixing the pause image

* Update intro-windows-in-kubernetes.md

changing tables from html to MD

* Update user-guide-windows-nodes.md

converting tables from HTML to MD

* Update intro-windows-in-kubernetes.md

* Update user-guide-windows-nodes.md

* Update user-guide-windows-nodes.md

* Update user-guide-windows-nodes.md

updating the numbering , even though it messes up the notes a little bit. Jim will file a ticket to follow up

* Update user-guide-windows-nodes.md

* update to windows docs for 1.14 (#13322)

* Update intro-windows-in-kubernetes.md

* Update intro-windows-in-kubernetes.md

* Update intro-windows-in-kubernetes.md

* Update intro-windows-in-kubernetes.md

* Update intro-windows-in-kubernetes.md

* Update user-guide-windows-containers.md

* Update user-guide-windows-nodes.md

* Update intro-windows-in-kubernetes.md (#13344)

* server side apply followup (#13321)

* change some parts of serverside apply docs in response to comments

* fix typos and wording

* Update config.toml (#13365)
2019-03-25 15:06:16 -07:00
evilyeti 28dd4d5154 Fixed broken link in E2E Testing blog post (#13371)
href=[https://github.com/kubernetes/kubernetes/issues/72638 --> href=https://github.com/kubernetes/kubernetes/issues/72638
2019-03-25 13:10:18 -07:00
Rémy Léone c9fd709b0a Add documentation homepage in French (#13387) 2019-03-25 07:19:18 -07:00
Dani Comnea 7c987a81b8 Use busybox image v1.28 for DNS related examples (#13336) 2019-03-22 15:32:10 -07:00
Rajesh Deshpande 8c4a729d84 Correcting service configuration details (#13302)
Existing details related to services are ambiguous as it does not give an idea when to use an environment variable for service discovery. Also, it does not talk about the DNS method of service discovery which is highly recommended. so corrected document to provide these missing details.
2019-03-22 15:24:11 -07:00
Mauricio Galindo 4e21e218c0 Update managing-tls-in-a-cluster.md (#13341)
per the godocs:
 // RootCAs defines the set of root certificate authorities
 // that clients use when verifying server certificates.
// If RootCAs is nil, TLS uses the host's root CA set.
2019-03-22 14:50:09 -07:00
Kendrick Coleman f28058c4ca Update table (#13334)
Updated the table to reflect the VMware Essential PKS solution

Signed-off-by: Kendrick Coleman <kendrickc@vmware.com>
2019-03-22 14:48:10 -07:00
Patrick Ohly bb7abf59cd E2E testing blog post (#13280)
* E2E testing blog post

* E2E testing blog post: add information about optional command line flags

* Update and rename 2019-03-30-e2e-testing-for-everyone.md to 2019-03-22-e2e-testing-for-everyone.md
2019-03-22 09:04:20 -07:00
lIuDuI f9166a844c ZH-trans: update pod-lifecycle.md (#13326) 2019-03-21 19:30:20 -07:00
Alexandre Pauwels 2c45ae7ed7 Add new community-maintained nodejs client (#13330)
Adds a link to a new nodejs client library. New library builds on top of the godaddy lib, providing useful kubectl-like abstractions like `get` and `updateOrCreate`, and adds API-mapping and version-handling so the client code does not need to worry about compatibility across cluster versions.
2019-03-21 15:50:19 -07:00
chenrui 7225159f3a Fix relative links issue in ja content (#13309)
* `http://kubernetes.io/docs/` -> `/docs/`

* `https://kubernetes.io/docs/` -> `/docs/`
2019-03-21 11:37:37 -07:00
Kaitlyn Barnard 34ce8e1093 Adding blog post on admission controllers (#13331)
* Adding blog post on admission controllers

* Update 2019-03-21-a-guide-to-kubernetes-admission-controllers.md
2019-03-21 09:03:40 -07:00
Anthony Yeh 6c95d99195 StatefulSet: Document workaround for known rolling update issue. (#13190) 2019-03-21 07:01:41 -07:00
chenrui ac60d8a0bb Fix relative links issue in ko content (#13308)
* `http://kubernetes.io/docs/` -> `/docs/`

* `https://kubernetes.io/docs/` -> `/docs/`
2019-03-21 03:53:35 -07:00
Logan Rakai 4737c170ec Improve example commands and output markdown (#13315) 2019-03-20 17:53:37 -07:00
Kendrick Coleman 83d740c062 Update table (#13317)
Updated the table to reflect the VMware Essential PKS solution

Signed-off-by: Kendrick Coleman <kendrickc@vmware.com>
2019-03-20 17:43:38 -07:00
Alex Contini 193decc785 add Nav case study and fix Pinterest (#13310)
* add Nav case study and fix Pinterest

* update

* Update index.html
2019-03-20 16:17:06 -07:00
chenrui 5a5f77db64 Fix relative links issue in English content (#13307)
* `http://kubernetes.io/docs/` -> `/docs/` in content/en folder

* `https://kubernetes.io/docs/` -> `/docs/` in content/en folder
2019-03-20 16:05:05 -07:00
Qiming 89b2eb7f64 travis performance improvement (#13304)
Three optimizations:

- move example testing logic into a bash script to save travis specific
  commands;
- use kubernetes release package (about 20MB) instead of git repo (about
  800 MB at the moment);
- detect whether a PR contains changes to examples and skip examples
  testing if not.

Closes: #13140
2019-03-20 15:57:08 -07:00
Stephen Augustus f61ed1d130 reference/kubectl: Update resource types / short names (#13223)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-03-20 15:49:05 -07:00
Zach Corleissen 52384988e1 Add milestone team, clean up others teams (#13287)
Explicitly list membership

Remove milestone team
2019-03-20 13:47:01 -07:00
Kaitlyn Barnard cd7ee18d4c Fixing date on Contributor Summit blog post (#13313)
* Fixing date

* Update 2019-03-20-A-Look-Back-And-Whats-In-Store-For-Kubernetes-Contributor-Summits.md

* Update 2019-03-20-A-Look-Back-And-Whats-In-Store-For-Kubernetes-Contributor-Summits.md
2019-03-20 10:51:49 -07:00
Paris 35fdc27f91 contributor summit 2019 blog post (#13209)
* contributor summit 2019 blog post

* Update 2019-03-14-A-Look-Back-And-Whats-In-Store-For-Kubernetes-Contributor-Summits.md
2019-03-20 08:57:09 -07:00
Joel Smith fa6bb8fd3f Update embargo doc link in SECURITY_CONTACTS and change PST to PSC (#13041)
* Update embargo doc link in SECURITY_OWNERS and changes PST to PSC

* Rename PST to PSC, update security doc URLs to new locations
2019-03-20 08:47:17 -07:00
Book shu 7031ef6b66 fix typos: a blank should be put after * to show italic (#13301) 2019-03-20 00:02:24 -07:00
SataQiu 1668f4c9dc add SataQiu as a sig-docs-zh-owner (#13270) 2019-03-19 22:12:21 -07:00
Rajesh Deshpande 9b6c4365da Fixing force delete statefulset pod link (#13299)
Correcting document page link of 'force delete stateful set pods' page.
2019-03-19 22:06:23 -07:00
Avi Deitcher b080758cd4 Document issues when client CA options conflict (#12890)
* Document issues when client CA options conflict

* Update content/en/docs/tasks/access-kubernetes-api/configure-aggregation-layer.md

Co-Authored-By: deitch <avi@deitcher.net>

* Update content/en/docs/tasks/access-kubernetes-api/configure-aggregation-layer.md

Co-Authored-By: deitch <avi@deitcher.net>

* Update content/en/docs/tasks/access-kubernetes-api/configure-aggregation-layer.md

Co-Authored-By: deitch <avi@deitcher.net>
2019-03-19 17:32:25 -07:00
Brandon Philips 13650696b8 contribute: intermediate cnf -> cncf (#13290)
small typo
2019-03-19 16:20:23 -07:00
YAMAMOTO Takashi 3c0cfcfc70 Remove mysterious "[1][etcdbug]" (#13266)
Because it doesn't have the corresponding URL or whatever.
2019-03-19 14:14:21 -07:00
Travis Glenn Hansen 9e7f5ff2c5 Update client-libraries.md (#13111) 2019-03-19 14:00:29 -07:00
Damini Satya 47c64a908a Fix #12506 - Misalignment of the community logos (#12507) 2019-03-19 13:56:22 -07:00
Karthik Gaekwad ffcc260848 table of solution in alphabetical order + more (#13267)
Simplifies PR 13143 (https://github.com/kubernetes/website/pull/13143). PR fixes 3 things:
1) `Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE)` was `IaaS Provider Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE)`
2) capitalized all instances of GCE
3) Alphabetized list
4) Removes note section per @cody-clark
2019-03-19 13:44:21 -07:00
Seokho efebc652d9 Fix inconsistent style of pod-lifecycle.md in glossary (#13269) 2019-03-19 12:28:22 -07:00
Guilherme Steinmüller d9f9a0bb89 Update pick-right-solution.md (#13233)
Add VEXXHOST kubernetes offer
2019-03-19 12:24:22 -07:00
eliot1785 321e7fe9d2 fix type in service listing (#13230)
The tutorial has somebody expose this service externally, so they should be getting NodePort or LoadBalancer not ClusterIP. I followed this tutorial and that's what I got (as expected)
2019-03-19 11:36:21 -07:00
Dani Comnea ad77c02575 Add a note on how to delete kubectl config user name (#13257) 2019-03-19 11:12:23 -07:00
Michele Berardi b1634fcc1c parteners/_index.html (#13255)
* parteners/_index.html

* parteners/_index.html
2019-03-19 10:48:21 -07:00
Karthik Gaekwad 3d24393f2a Removed conformance from column definition (#13139)
The conformance column doesn't exist anymore...
2019-03-19 10:26:23 -07:00
Dani Comnea d85ac2686f Update debug-cluster and crictl files to get them consistent with the style guidelines (#13183) 2019-03-19 10:24:33 -07:00
Jintao Zhang 9c44e1ea2e add Kind to local-machine solutions (#13177)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-03-19 10:18:28 -07:00
Sanil Kumar 8097ff042b [blog] Adding introduction blog on KubeEdge - 2019-03-12-kubeedge-k8s-based-edge-intro.md (#13158)
* Create 2019-03-12-kubeedge-k8s-based-edge-intro.md

Initial created.

* Create kubeedge-highlevel-arch.png

* Adding KubeEdge High Level Arch img

Adding KubeEdge High Level Arch img for the blog

* Adding KubeEdge Logo img

Adding KubeEdge Logo img for blog

* Updated KubeEdge intro blog

Updated all the sections for KubeEdge, a k8s based edge computing platform.
(2019-03-12-kubeedge-k8s-based-edge-intro)

* Update 2019-03-12-kubeedge-k8s-based-edge-intro.md

Minor format updates

* Update 2019-03-12-kubeedge-k8s-based-edge-intro.md

* [ReviewFix] 2019-03-12-kubeedge-k8s-based-edge-intro.md

Review of @stewart-yu fixed for KubeEdge/kubeedge link

* [ReviewFix] Format 2019-03-12-kubeedge-k8s-based-edge-intro.md

Linefeed update.

* Update 2019-03-12-kubeedge-k8s-based-edge-intro.md

* Update 2019-03-12-kubeedge-k8s-based-edge-intro.md

* [ReviewFix] 2019-03-12-kubeedge-k8s-based-edge-intro.md

KubeEdge control plane in cloud and extension part made it mode clear.

* Update 2019-03-12-kubeedge-k8s-based-edge-intro.md

* Rename 2019-03-12-kubeedge-k8s-based-edge-intro.md to 2019-03-19-kubeedge-k8s-based-edge-intro.md

* Update 2019-03-19-kubeedge-k8s-based-edge-intro.md
2019-03-19 08:50:21 -07:00
Claudia J.Kang 3bc455b2d9 Eighth Korean I10n work for release-1.13 (#13250)
* ko-trans: Update outdated contents in dev-1.13-ko.8 branch partly (#12986)

* ko: Update outdated files in dev-1.13-ko.8 (#13000)

* ko: add tutorials/stateful-application/basic-stateful-set #12449  (#13073)

* Add missing word. (#13249)

* Fixed wrong word. (#13246)

* Translate concepts/cluster-administration/federation.md in Korean (#13159)

* Translate concepts/overview/object-management-kubectl/imperative-comm… (#13076)

Co-authored-by:    June Yi <june.yi@samsung.com>
Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>
Co-authored-by:    Yoon <learder@gmail.com>
Co-authored-by:    Thomas Sungjin Kang <ujuc@ujuc.kr>
Co-authored-by:    Seokho <shsongist@gmail.com>
Co-authored-by:    zerobig <zerobig.kim@gmail.com>
2019-03-19 07:20:30 -07:00
Philippe MARTIN 2918bc57ac docs-fr | concepts | containers | images (#13218)
* docs-fr | concepts | containers | images

* Fixes
2019-03-19 04:56:20 -07:00
SataQiu 89dbaa20d3 add SataQiu as a sig-docs-zh-reviewer (#13237) 2019-03-18 20:40:23 -07:00
Karen Bradshaw b1c288926b fix contrib button, blog footer (#13188)
fix the font-size for the contrib button in blog footer
2019-03-18 16:52:20 -07:00
Kaitlyn Barnard 2b6780ad94 Adding link to submit a blog (#13252) 2019-03-18 14:24:21 -07:00
lIuDuI 5115d4fa7d ZH-trans: update basic-stateful-set.md (#13178)
* Update basic-stateful-set.md

* Update basic-stateful-set.md

* Update basic-stateful-set.md

* Update basic-stateful-set.md

* Update basic-stateful-set.md
2019-03-17 18:59:10 -07:00
Dani Comnea ed7f0adc74 Update automated-tasks-with-cron-jobs to align on style guidelines and fix some typos (#13184) 2019-03-15 16:36:58 -07:00
Aniket Gawade d6f36725db Adding Contrail/Tungsten Fabric to the add-on list (#12865)
* Update addons.md

* Update addons.md
2019-03-15 10:18:59 -07:00
Daniel Weibel 783ee875d0 Clarify kubectl shell autocompletion documentation (#13060)
* Clarify kubectl autocompletion documentation (#12405)

* Clarify kubectl autocompletion documentation (#12405)

Remove comments.

* Clarify kubectl autocompletion documentation

Fix according to review.

* Clarify kubectl autocompletion documentation

Use selectable tabs.

* Fix note callouts in various sections

* Clarify kubectl autocompletion documentation

Change wording of intro paragraph.
2019-03-15 09:45:10 -07:00
ljnaresh 8585fbb1ab Create Kubernetes-setup-using-Ansible-and-Vagrant.md (#12652)
* Create Kubernetes-setup-using-Ansible-and-Vagrant.md

This blog describes the steps for to setting up a multi node Kubernetes cluster using Ansible and Vagrant.

* Apply suggestions from code review

Co-Authored-By: ljnaresh <naresh_lj@infosys.com>

* Markdown changes for syntax highting and reviews.

* Vagrant image & join command logic changes

* Update Kubernetes-setup-using-Ansible-and-Vagrant.md

* Adding author name and organization

* Markdown correction for colon

* Update Kubernetes-setup-using-Ansible-and-Vagrant.md
2019-03-15 09:29:02 -07:00
Cody Clark 599a23b566 re-alphabetize list of Local ecosystem tools (#13163)
[#12994](https://github.com/kubernetes/website/pull/12994) had already been sitting for a week+, and I didn't want to waste any more time by asking for such a small change across time zones
2019-03-15 09:26:58 -07:00
yanghaichao12 8372a20edd Fix typos (#13196) 2019-03-15 09:24:58 -07:00
makocchi fcbb89a2af Remove command prompts and split command outputs (#13015)
* Remove command prompts

* Add comments before commands
2019-03-15 09:16:58 -07:00
Sean Zhang 8d0a6745cb 修正yml示例缩进和双引号错误 (#12836) 2019-03-15 07:50:59 -07:00
Amir M. Saeid 80b73a4c03 Use correct kubelet config name (#13185)
At its current form minikube fails to start with following error:

    unknown flag: --AllowedUnsafeSysctls

Renaming it to allowed-unsafe-sysctls works as expected.
2019-03-15 02:58:57 -07:00
lIuDuI ed359861fa ZH-trans: update docker-cli-to-kubectl.md (#13197)
* Update docker-cli-to-kubectl.md

* Update docker-cli-to-kubectl.md

* Update docker-cli-to-kubectl.md

* Update docker-cli-to-kubectl.md

* Update docker-cli-to-kubectl.md
2019-03-14 20:42:56 -07:00
Luc Perkins 2354526fe4 Remove --ignoreCache flag (#13133) 2019-03-14 06:52:26 -07:00
Dani Comnea 6632298c88 Test examples files in configmap directory (#13128) 2019-03-14 06:44:23 -07:00
lIuDuI a88482646d Add @xichengliudui to sig-docs-zh-owners (master) (#13168)
* Add @xichengliudui to sig-docs-zh-owners (master)

* Update OWNERS_ALIASES

* Update OWNERS_ALIASES
2019-03-13 22:06:23 -07:00
Qiming 253480646a Fix Travis example tests for release-1.13 (#13145)
xref: #13122
2019-03-13 10:47:39 -07:00
Timothy St. Clair f2f0ae0356 Update to remove coreos specific instructions. (#13162) 2019-03-13 09:01:37 -07:00
Gregory Guillou 76010c4fd9 Add Kind to the Local-machine Solutions (#12994) 2019-03-13 08:47:40 -07:00
JF Joly 2b34dd9b7c Added link to New Relic agent install doc (#13157) 2019-03-13 08:37:42 -07:00
yanghaichao12 ca3efda3d5 Fix typos (#13155) 2019-03-13 08:35:39 -07:00
Jiacheng Xu 3d509106b9 Update assign-cpu-resource.md (#13154)
Remove the "do not" since you should not skip the steps if you don't have metric-server running.
2019-03-13 08:33:39 -07:00
Jintao Zhang 2b3ced6a00 fix certificate command (#13152)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-03-13 08:31:41 -07:00
Dipak Pawar 2a45c9ca35 removes extra /configmap from ui.properties path (#13150) 2019-03-13 08:29:42 -07:00
Philippe MARTIN b44217c0d0 docs-fr | Reference | kubectl misc (#13142) 2019-03-13 01:55:34 -07:00
Philippe MARTIN b5865cfc2f docs-fr | Reference | kubectl (#13059) 2019-03-13 01:45:33 -07:00
Timothy St. Clair 3f8bc96336 Remove the old setup from scratch documentation (#13146)
because it was woefully outdated.
2019-03-12 22:19:32 -07:00
Lubomir I. Ivanov a15d6ebed9 kubeadm-troubleshooting: add entry about multi-valued args (#12937)
Add TS entry about the case where it's not possible to
pass multi-valued arguments to --component-name-extra-args flags
from the command line.
2019-03-12 16:56:38 -07:00
Karthik Gaekwad 6362d6173e Alphabetized, and made linux academy consistent (#13141)
changed instances of linuxacademy.com to Linux Academy
2019-03-12 16:38:38 -07:00
Dinuka Arseculeratne 9e06367354 Fixed issue with ```shell being displayed (#13144) 2019-03-12 16:10:39 -07:00
Alex Contini 0212d833c4 add NetEase case study (#13075)
* add NetEase case study

* fixes

* fixes
2019-03-12 15:36:38 -07:00
Rémy Léone ab9e39d8e3 Add French translation for i18n tags (#13126) 2019-03-12 15:08:38 -07:00
Dani Comnea 56021dc671 Reorganize Federation tasks so we have it group and under one topic (#12900)
* Reorganize Federation tasks so we have it group and under one topic

* Intended replacement
2019-03-12 13:38:39 -07:00
Karthik Gaekwad d7cae63dcd updated networking (#13137) 2019-03-12 13:24:43 -07:00
Dani Comnea da20b139da Update configure-service-account task file to reference pod spec file from examples dir (#13065) 2019-03-12 12:38:39 -07:00
Karthik Gaekwad 5b1b1341cc added K8s training materials (#13136) 2019-03-12 12:36:41 -07:00
chenrui 4f5d3ce834 Fix typo in dns-horizontal-autoscaling.md (#13051)
* `turning` -> `tuning`

* Remove duplicate `'s control`
2019-03-12 12:28:39 -07:00
yanghaichao12 ba9f7f10e2 Revise some places (#13012)
* Revert "Fix a typos"

This reverts commit 5dcca521c40f214b261ceac8db9bd027dc463fbc.

* Revise some places

temporary
2019-03-12 12:20:40 -07:00
Karthik Gaekwad 03cc1d8508 Adds a section for OKE cluster upgrades (#13134) 2019-03-12 11:40:39 -07:00
Naoki Oketani 7d53822a81 Modify indent from 3 to 2 spaces (#13056) 2019-03-12 11:26:44 -07:00
Andrew Sy Kim 787b0cd7ef update links to the vSphere docs (#13040) 2019-03-12 11:20:40 -07:00
Jiacheng Xu 0e1858674f Update assign-memory-resource.md (#13037)
Remove the "do not" since you should not skip the steps if you don't have metric-server running.
2019-03-12 10:30:42 -07:00
makocchi 23dacbb83b Update command outputs to k8s 1.13 based (#12771)
* Update command outputs to k8s 1.13 based

* Update command outputs to k8s 1.13 based (2)

* Add the way to download the example manifest and change datetime in a pod log

* create a job from remote url

* Update content/en/docs/tasks/job/automated-tasks-with-cron-jobs.md

Co-Authored-By: makocchi-git <makocchi@gmail.com>
2019-03-12 10:24:42 -07:00
yanghaichao12 9e471e389c Fix typos (#13120) 2019-03-12 10:14:39 -07:00
Jihoon Seo 01ed12e4e3 Update kubeadm-init.md (#13068)
* Fix not available config field in kubeadm-init.md

Update the line describing `unifiedControlPlaneImage`, since "unifiedControlPlaneImage" in ClusterConfiguration was changed to a boolean field called "useHyperKubeImage" in v1beta1.
( https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta1 )

* Update image names and versions in kubeadm-init.md

$ kubeadm config images list
k8s.gcr.io/kube-apiserver:v1.13.4
k8s.gcr.io/kube-controller-manager:v1.13.4
k8s.gcr.io/kube-scheduler:v1.13.4
k8s.gcr.io/kube-proxy:v1.13.4
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd:3.2.24
k8s.gcr.io/coredns:1.2.6

# docker images
REPOSITORY                           TAG                 IMAGE ID            CREATED             SIZE
k8s.gcr.io/kube-proxy                v1.13.4             fadcc5d2b066        10 days ago         80.3MB
k8s.gcr.io/kube-controller-manager   v1.13.4             40a817357014        10 days ago         146MB
k8s.gcr.io/kube-scheduler            v1.13.4             dd862b749309        10 days ago         79.6MB
k8s.gcr.io/kube-apiserver            v1.13.4             fc3801f0fc54        10 days ago         181MB
k8s.gcr.io/coredns                   1.2.6               f59dcacceff4        4 months ago        40MB
k8s.gcr.io/etcd                      3.2.24              3cab8e1b9802        5 months ago        220MB
k8s.gcr.io/pause                     3.1                 da86e6ba6ca1        14 months ago       742kB

* Update the way to use custom etcd image in kubeadm-init.md

According to rosti's [comment](https://github.com/kubernetes/kubeadm/issues/1255#issuecomment-439874004),
the `image` field under `etcd` (from `v1alpha3`) was replaced by a couple of fields - `imageRepository` and `imageTag`.

* Apply suggestions from @neolit123 in kubeadm-init.md

Suggestions from @neolit123: https://github.com/kubernetes/website/pull/13068#pullrequestreview-212806230

* Apply a suggestion from @rosti in kubeadm-init.md

A suggestion from @rosti : https://github.com/kubernetes/website/pull/13068#discussion_r264228348
2019-03-12 10:04:43 -07:00
cizixs 0f45f09354 Fix typo in deployment concept (#13112)
There is a typo in deployment concept doc: missing a code block
indicator, this commit fixes it.
2019-03-12 09:58:42 -07:00
Michael Ferranti b8363e8d81 Add link to Portworx site (#13108)
Make it easier for people to understand if Portworx is the right solution for them with an additional link.
2019-03-12 09:54:44 -07:00
Marco Voelz a3d246fc4a Fix busybox nslookup example (#13071)
* Similarly to https://github.com/kubernetes/website/pull/9901 pin busybox image to 1.28. Although https://bugs.busybox.net/show_bug.cgi?id=11161 is closed, this still doesn't work on images > 1.28
* remove `/bin/sh` from the command to be executed on busybox, this leads to `/bin/sh: can't open 'nslookup': No such file or directory`
2019-03-12 09:50:50 -07:00
Chengzhi Hu e9eefb8882 Update secret.md (#13042)
Fix wrong appearance in "Consuming Secret Values from Environment Variables" part
2019-03-12 09:36:48 -07:00
Philippe MARTIN d2fece0a81 docs-fr | Reference | kubectl overview (#12863) 2019-03-12 06:22:41 -07:00
Dani Comnea e38f800d81 Add codenew shortcode to configure-pod-configmap task file and sanitize the example files (#13078) 2019-03-11 20:28:38 -07:00
Zach Arnold 5e50314b27 add feature state labels to admission controllers (#12689)
* add feature state labels to admission controllers

* Minor edits
2019-03-11 17:32:38 -07:00
Sam Foo c319d0c501 Cache test results with travis (#11555)
Signed-off-by: GuessWhoSamFoo <sfoohei@gmail.com>
2019-03-11 16:48:38 -07:00
Dani Comnea b2eab90790 Stop having double static netlify redirection (#13062) 2019-03-11 15:22:37 -07:00
Claudia J.Kang 60f89ad186 i18n/ko.toml added #12873's contents (#12875) 2019-03-11 13:30:39 -07:00
Philippe MARTIN 353c030105 docs-fr | Reference | Support de JSONPath (#13058) 2019-03-11 13:08:38 -07:00
lledru 329837748d docs-fr | concepts | cluster administration (#12987) 2019-03-11 09:25:28 -07:00
Karen Bradshaw 7b07d19360 fix short_description field in glossary files (#13045) 2019-03-09 00:33:29 -08:00
Petr Ruzicka 424437c1dd Update secret.md (#13039)
Command output fixed
2019-03-08 22:05:28 -08:00
Ketankumar Jani 0407c5500f update section pods are preempted unneccessarily (#12961)
Preemption must not happen when
there is no pending Pod, or when the pending Pods have equal or lower priority
than the victims.
2019-03-08 18:49:31 -08:00
Michael Iatrou 8d55b797a0 Clarify the blue/green upgrade example. (#13009) 2019-03-08 18:47:30 -08:00
Neha Yadav 92e602c438 Minikube: Cleanup everything to start new machine (#12749)
* Minikube: Cleanup everything to start new machine

* Quick fixes
2019-03-08 11:30:55 -08:00
Sarah Gray 18d6c123b7 Add Linode to list of implemented CCMs (#13019) 2019-03-08 09:29:26 -08:00
Takuya N a1c03e805f Update /ja/ (2019-03) (#13032)
* Update kubecon events

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

* Include Kubernetes abbreviation K8s in Japanese

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-03-07 23:09:26 -08:00
Tomáš Kukrál f6033fccc8 fix indentaion in hpa deployment (#12893) 2019-03-07 16:50:03 -08:00
Bob Killen cf52474db1 Fix codeblock in update deployment section (#13029)
Corrects codeblock in the "Update deployment" section of doc:
content/en/docs/concepts/workloads/controllers/deployment.md
2019-03-07 16:26:06 -08:00
Petr Ruzicka 7130b8c58b Update secret.md (#13018)
Missing ``` fixed
2019-03-07 16:24:07 -08:00
Prince Rachit Sinha 471cb7ffa4 Fix markdown (#13013)
* Fix markdown typo

Remove extra triple backticks

* Follow indentation order
2019-03-07 16:22:04 -08:00
Venkat 1230263319 Add Quobyte's CSI plug-in reference in place of in-tree plug-in (#13008)
* Add Quobyte's CSI plug-in reference in place of in-tree plug-in

* Update content/en/docs/concepts/storage/volumes.md

Include CSI reference from the glossary.

Co-Authored-By: venkatsc <subbaraocse9@gmail.com>

* Update Quobyte CSI references

Co-Authored-By: venkatsc <subbaraocse9@gmail.com>
2019-03-07 16:18:05 -08:00
Michael Vorburger ⛑️ 92132a4f0c fix minor typo (missing "to") in custom resources doc (#13005) 2019-03-07 16:12:09 -08:00
Jonas Rosland d2c6113c98 Add VMware Enterprise PKS and VMware Essential PKS (#13003)
* Add VMware Enterprise PKS and VMware Essential PKS

Signed-off-by: jonasrosland <jrosland@vmware.com>

* Update content/en/docs/setup/pick-right-solution.md

That's a good suggestion, thank you

Co-Authored-By: jonasrosland <jrosland@vmware.com>
2019-03-07 16:00:07 -08:00
Lubomir I. Ivanov 3f5e14702c Revert "Add s390x platforms for calico" (#12989)
* Revert "Add s390x platforms for calico (#12616)"

This reverts commit c533563bdc.

* Oxford comma
2019-03-07 15:58:04 -08:00
SpringWar 8f30a140de Update feature-gates.md (#12997)
Update PodPriority feature to beta since v1.11
2019-03-07 15:56:04 -08:00
gml3ff 2cbf05a484 Included link to official Datadog Docs (#12988)
Current docs page didn't include link to Datadog docs page on setting up the agent with a DaemonSet.
2019-03-07 15:52:03 -08:00
Oussema CHERNI 20519f1d92 Fix broken links for CSI docs (#12984) 2019-03-07 15:50:04 -08:00
Tim Bannister a8fed37937 Tweaks to write K8s as proper noun (#12979)
* Expand k8s abbreviation

* Capitalize K8s in table header
2019-03-07 15:48:06 -08:00
Kaitlyn Barnard 910afbe9e5 Uppercase K8s (#12969) 2019-03-07 15:46:10 -08:00
Zoltan d5fc7c3bb8 Update deprecated link to Container Runtime Interface (#12957) 2019-03-07 15:38:06 -08:00
Rajakavitha1 f797f1b5ac Update building-from-source.md (#12946)
Added the attribute: content_template: templates/concept

Because the content was not appearing in: https://kubernetes.io/docs/setup/release/building-from-source/
2019-03-07 15:34:05 -08:00
Draven 966e56f32f doc: remove extra used in job document (#12945) 2019-03-07 15:30:11 -08:00
Mizuki Urushida 98d1ab4c92 Fix indentation of EncryptionConfiguration sample (#12876) 2019-03-07 15:04:10 -08:00
Marc Boorshtein ae64653e94 Updated link to page (#12862)
We've redone OpenUnison's k8s integration to provide multiple "spins".  We created a new page to point users to the GitHub repo that matches the "spin" they're looking for.
2019-03-07 14:54:07 -08:00
YouenZeng d88352b000 Fix Powershell script issue (#12858)
Fix syntax issue of Powershell script, update environment key to KUBECONFIG
2019-03-07 14:50:13 -08:00
sureshpalemoni 273f3fa713 Change in Storage Value in Example Scenario (#12831)
In the calculation of this `Allocatable` will be `14.5 CPUs`, `28.5Gi` of memory and
`88Gi` of local storage. - It was 98Gi for storage instead of 88Gi which is derived after negating System-Reserved+Kube-reserved+eviction+hard
2019-03-07 14:42:07 -08:00
Michal Bryc b58b88df47 Update Link to .spec details (#12886)
The [old URL](https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#spec-and-status) now consists of a page that says the new URL is https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status, so let's just go ahead and link to the new URL directly :)
2019-03-07 14:34:04 -08:00
Dani Comnea 8d4bd9c1fe Add code fencing example in the style guidlines (#12783)
* Add code fencing example in the style guidlines

* Add a period
2019-03-07 14:32:06 -08:00
Nat Welch a21bbe7cf8 Update connect-applications-service.md (#12924)
Fix a 404 link
2019-03-07 14:30:06 -08:00
Dani Comnea 4bd46900b2 Update debug-pod-replication-controller task file and fix the kubectl grep (#12797) 2019-03-07 14:24:12 -08:00
Slava Semushin acc4c33888 pod-security-policy.md: update to use PSP from policy/v1beta1 and fix a broken link. (#12768) 2019-03-07 14:16:07 -08:00
Anna Nguyen d110471a35 Clarified step of getting Kubernetes cluster name; fixed quoting in c… (#12718)
* Clarified step of getting Kubernetes cluster name; fixed quoting in command that sets `APISERVER`.

Need to set `CLUSTER_NAME` before using it.
The single quote in the `APISERVER` command prevented the expansion of the `CLUSTER_NAME` variable.

* Remove whitespace
2019-03-07 14:12:13 -08:00
Tim Bannister 2ee8a94c5d Switch CNI glossary entry to recommended style (#13023)
(spelled out first, then acronym in parentheses (as in original), then acronym
throughout the rest of the page/file)
2019-03-07 14:04:13 -08:00
Tim Bannister d24278918c Fix broken link (#12717)
Resolves #12713
2019-03-07 14:00:10 -08:00
Supriya Sirbi 09e45d42d8 Issue #12533 (#12701)
Update k8s.io/docs/tutorials/services/source-ip/
2019-03-07 13:58:13 -08:00
Damini Satya ae355ed890 Fix #11761 - Provide clear explanation of Kubernetes deployments (#12561) 2019-03-07 13:54:16 -08:00
Takuya Tokuda edb233cac2 First Japanese l10n work for release-1.13 (#12998)
* [ja] add basic files for 1.13 (#11571)

* [ja] add basic files for 1.13

* [ja] add some base files

* Translate setup/independent/_index.md (#11573)

* Translate content/ja/docs/home/_index.md in Japanese (#11569)

* Translate content/ja/docs/setup/custom-cloud/_index.md in Japanese (#11572)

* Translate content/en/docs/setup/on-premises-vm/_index.md in Japanese (#11574)

* Translate content/ja/docs/setup/release/_index.md in Japanese (#11576)

* ja-trans: Translate content/ja/docs/tutorials/kubernetes-basics/explore/_index.md (#11580)

* Translate content/ja/docs/setup/turnkey/_index.md (#11582)

* Translate content/ja/docs/tutorials/kubernetes-basics/update/_index.m… (#11579)

* Translate content/ja/docs/tutorials/kubernetes-basics/update/_index.md in Japanese

* Fix title

* Translated Tutorials/Learn Kubenetes Basics/Deploy an App in Japanese. (#11583)

* translate tutorials/kubernetes-basics/expose/_index.md (#11584)

* Dev 1.13 ja.1 tutorials kubernetes basics scale (#11577)

* Translate content/ja/docs/tutorials/kubernetes-basics/scale/_index.md in Japanese

* Fix title

* translate deprecated state description (#11578)

*  Fix the build doesn't pass at dev-1.13-ja.1 (#11609)

* delete files not at minimum requirements to pass the build.

* copy necessary file for pass build from content/en

* translate content/ja/_index.html (#11585)

* ja-trans: add docs/_index.md (#11721)

* Remove copied docs/index.md by mistake. (#11735)

* Translate stable state description (#11642)

* translate stable state description

* Update content/ja/docs/templates/feature-state-stable.txt

Co-Authored-By: auifzysr <38824461+auifzysr@users.noreply.github.com>

* apply the suggestion directly

* Translate alpha state description (#11753)

* [ja] add ja section (#11581)

* [ja] translate case-studies (#12060)

* [ja] translate case-studies

* remove comment

* fix /ja/docs/ content (#12062)

* Translate content/ja/docs/tutorials/kubernetes-basics/create-cluster/_index.md in Japanese (#12059)

* [ja] translate supported doc versions (#12068)

* [ja] add ja.toml (#11595)

* Remove reviewers block from front matter. (#12092)

* Translate beta state description (#12023)

* [ja] translate setup (#12070)

* translate setup

* add translation

* Update _index.md

* Update _index.md

* 表記ゆれ

* 表記ゆれ

* [ja] translate what-is-kubernetes (#12065)

* translate what-is-kubernetes

* add more translation

* finish basic translation

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: d-kuro <34958495+d-kuro@users.noreply.github.com>

* Update what-is-kubernetes.md

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* fix new lines

* fix review

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update what-is-kubernetes.md

* Update what-is-kubernetes.md

* rephrase プラクティス to 知見

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* italic

* オーケストレーション

* [ja] tutorials/index (#12071)

* translate tutorial index

* fix page link

* add ja to path for kubernetes-basic  because it's already in progress of translation

* Update _index.md

* review

* remove typo

* Update content/ja/docs/tutorials/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/_index.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* [ja] translate cri installation (#12095)

* [ja] translate cri installation

* Update content/ja/docs/setup/cri.md

Co-Authored-By: auifzysr <38824461+auifzysr@users.noreply.github.com>

* apply comments

* apply comments

* [ja]translate tutorials/kubernetes-basics (#12074)

* start translation

* translate index

* wording

* wording

* cluster-interactive

* cluster-intro

* update interactive

* update some data

* fix link

* deploy-intro

* japanize

* fix path for public data

* wording

* start translation of expose

* expose intro

* けーしょん

* scale-intro

* update-intro

* fix wrong word

* fix wording

* translate missing string

* Update content/ja/docs/tutorials/kubernetes-basics/_index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/_index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/scale/scale-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/expose/expose-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/expose/expose-interactive.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/_index.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* fix wording

* Update content/ja/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/scale/scale-interactive.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/expose/expose-interactive.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/explore/explore-interactive.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/explore/explore-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* Update content/ja/docs/tutorials/kubernetes-basics/scale/scale-intro.html

Co-Authored-By: inductor <kohei.ota@zozo.com>

* lowercase for kubectl

* ja-trans: tutorials/hello-minikube.md (#11648)

* trns-ja: tutorials/hello-minikube.md

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update hello-minikube.md

大変、大変遅くなりました。丁寧に見ていただいて感謝です。いただいたコメントを反映しました。

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update hello-minikube.md

<修正点>
・10行目の「本チュートリアルでは」を削除
・クラスターをクラスタに統一

* Update hello-minikube.md

10行目の実践を手を動かすに修正

* Update hello-minikube.md

10行目を「手を動かす準備はできていますか?本チュートリアルでは、Node.jsを使った簡単な"Hello World"を実行するKubernetesクラスタをビルドします。」に差し替え。

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* Update content/ja/docs/tutorials/hello-minikube.md

Co-Authored-By: lkougi <45655192+lkougi@users.noreply.github.com>

* ja-trans: setup/custom-cloud/coreos/ (#12731)

* ja-trans: setup/release/building-from-source/ (#12721)

* translate building-from-source

* improve translation

* ja-trans: translate setup/certificates/ (#12722)

* translate certificates.md

* change translation about Paths

* ja-trans: setup/custom-cloud/kubespray/ (#12733)

* ja-trans: setup/node-conformance/ (#12728)

* ja-trans: setup/node-conformance/

* Update content/ja/docs/setup/node-conformance.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* Update content/ja/docs/setup/node-conformance.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* Update content/ja/docs/setup/node-conformance.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* ja-trans: setup/cluster-large/ (#12723)

* ja-trans: setup/cluster-large/

* translate quota and addon

* ja-trans: setup/pick-right-solution/ (#12729)

* ja-trans: setup/pick-right-solution/

* revise translating solutions

* ending with a noun

* ja-trans: setup/custom-cloud/kops/ (#12732)

* ja-trans: setup/custom-cloud/kops/

* improve translation

* translate build

* translate explore and add-ons

* ja-trans: setup/independent/control-plane-flags/ (#12745)

* ja-trans: setup/minikube/ (#12724)

* ja-trans: setup/minikube/

* Update content/ja/docs/setup/minikube.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* translate features and add-ons

* improve translation

* improve translation

* fix translation style

* ja-trans: setup/multiple-zones/ (#12725)

* ja-trans: setup/multiple-zones/

* ja-trans: setup/multiple-zones/ (2)

* ending with a noun

* fix translation style

* ja-trans: setup/scratch/ (#12730)

* ja-trans: setup/scratch/

* revise translating connectivity

* improve translation

* Update content/ja/docs/setup/scratch.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* Update content/ja/docs/setup/scratch.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* Update content/ja/docs/setup/scratch.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* Update content/ja/docs/setup/scratch.md

LGTM

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* revise translation

* revert some words to English

* fix translation style

* fix title

* ja-trans: setup/independent/create-cluster-kubeadm/ (#12750)

* ja-trans: setup/independent/create-cluster-kubeadm/

* translate Instructions

* fix translation style

* ja-trans: setup/independent/kubelet-integration/ (#12754)

* ja-trans: setup/independent/kubelet-integration/

* fix translation style

* ja-trans: setup/independent/setup-ha-etcd-with-kubeadm/ (#12755)

* ja-trans: setup/independent/setup-ha-etcd-with-kubeadm/

* fix translation style

* ja-trans: setup/independent/troubleshooting-kubeadm/ (#12757)

* ja-trans: setup/independent/troubleshooting-kubeadm/

* pod -> Pod

* ja-trans: setup/on-premises-vm/cloudstack/ (#12772)

* ja-trans: setup/independent/high-availability/ (#12753)

* ja-trans: setup/independent/high-availability/

* fix translation style

* translate Stacked and worker node

* ja-trans: setup/on-premises-metal/krib/ (#12770)

* ja-trans: setup/on-premises-metal/krib/

* Update content/ja/docs/setup/on-premises-metal/krib.md

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* ja-trans: setup/on-premises-vm/ovirt/ (#12781)

* ja-trans: setup/on-premises-vm/dcos/ (#12780)

* ja-trans: setup/on-premises-vm/dcos/

* fix translation

* Update content/ja/docs/setup/on-premises-vm/dcos.md

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* ja-trans: setup/turnkey/alibaba-cloud/ (#12786)

* ja-trans: setup/turnkey/alibaba-cloud/

* tiny fix

* Update content/ja/docs/setup/turnkey/alibaba-cloud.md

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* fix translation

* ja-trans: setup/turnkey/aws/ (#12788)

* ja-trans: setup/turnkey/aws/

* translate production grade

* fix translation

* ja-trans: setup/release/notes/ (#12791)

* ja-trans: setup/independent/install-kubeadm.md (#12812)

* ja-trans: setup/independent/install-kubeadm.md

* ja-trans: fix internal links in setup/independent/install-kubeadm.md

* ja-trans: setup/turnkey/clc/ (#12824)

* ja-trans: setup/turnkey/clc/

* Update content/ja/docs/setup/turnkey/clc.md

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* Update content/ja/docs/setup/turnkey/clc.md

Co-Authored-By: makocchi-git <makocchi@gmail.com>

* ja-trans: setup/turnkey/stackpoint/ (#12853)

* ja-trans: concepts/ (#12820)

* ja-trans: concepts/

* fix translation

* ja: fix formatting in what is kubernetes (#12694)

* fix formatting in what is kubernetes

* Update content/ja/docs/concepts/overview/what-is-kubernetes.md

Co-Authored-By: inductor <kohei.ota@zozo.com>

* ?

* format (#12866)

* ja-trans: setup/turnkey/gce.md (#12813)

* ja-trans: setup/turnkey/gce.md

* Update content/ja/docs/setup/turnkey/gce.md

Co-Authored-By: auifzysr <38824461+auifzysr@users.noreply.github.com>

* Update content/ja/docs/setup/turnkey/gce.md

Co-Authored-By: auifzysr <38824461+auifzysr@users.noreply.github.com>

* ja-trans: modify a word in setup/turnkey/gce.md

* Translated docs/setup/turnkey/azure.md. (#12951)

* Translated docs/setup/turnkey/azure.md.

* Update content/ja/docs/setup/turnkey/azure.md

Applied a suggestion.

Co-Authored-By: dzeyelid <dzeyelid@gmail.com>

* Update content/ja/docs/setup/turnkey/azure.md

Applied a suggestion.

Co-Authored-By: dzeyelid <dzeyelid@gmail.com>

* Update content/ja/docs/setup/turnkey/azure.md

Applied suggestion.

Co-Authored-By: dzeyelid <dzeyelid@gmail.com>

* Applied review suggestions.

* Applied review suggestions.

* fix language setting order.
2019-03-07 10:17:41 -08:00
Tim Bannister 5c99d3431a Add “app container” to glossary (#12611)
* Define "app container"

* Expand app container explanation

* Tweak wording

Co-Authored-By: Zach Arnold <me@zacharnold.org>

* Fix, wording nit
2019-03-07 09:07:01 -08:00
Kaitlyn Barnard b13c0fa350 Raw block storage blog post (#13011)
* Raw block storage blog post

* Update 2019-03-07-raw-block-volume-support-to-beta.md
2019-03-07 08:12:59 -08:00
Neha Yadav d3cca48e3f Code snippents shouldn't include the command prompt (#12779) 2019-03-07 01:31:05 -08:00
ethan 99e4d3bac6 update title for "kubernetes-basics" index page (#12354) 2019-03-05 15:26:04 -08:00
Kaitlyn Barnard 6dd752b64e Update pick-right-solution.md (#12971) 2019-03-05 06:50:40 -08:00
Tim Malone c1dfba6305 Fix broken link in Ingress documentation (#12974) 2019-03-05 06:46:39 -08:00
Oussema CHERNI 234eb57360 Fix broken links for Taint and Toleration (#12982) 2019-03-05 06:42:31 -08:00
Claudia J.Kang 92faff9209 Seventh Korean l10n work for release-1.13 (#12981)
* ko-trans: Update outdated contents in ko7 branch (#12762)

* ko: Update outdated files in dev-1.13-ko.7 (#12805)

* ko: Translate docs/home/_index.md in Korean (#12829)

* Translate scheduler-perf-tuning.md in Korean (#12782)

* Translate concepts/overview/object-management-kubectl/overview in Korean (#12834)

* Fix new line in Korean translation scheduler-perf-tuning.md (#12835)

* ko: Translate tutorials/online-training/overview.md in Korean (#12854)

* ko: Translate contribute/_index.md in Korean (#12850)

* ko: Update localization guide about instruction-type content (#12877)

Co-authored-by:    June Yi <june.yi@samsung.com>
Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>
Co-authored-by:    Seokho <shsongist@gmail.com>
Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>
2019-03-05 05:32:28 -08:00
Oussema CHERNI 08839f640f concepts container runtime class page (#12860) 2019-03-05 04:32:42 -08:00
Rémy Léone 146b2deaa1 Translate architecture concepts in French (#12882)
* Translate architecture concepts in French

* Update content/fr/docs/concepts/architecture/nodes.md

Co-Authored-By: sieben <remy.leone@gmail.com>

* Update content/fr/docs/concepts/architecture/nodes.md

Co-Authored-By: sieben <remy.leone@gmail.com>

* Update content/fr/docs/concepts/architecture/nodes.md

Co-Authored-By: sieben <remy.leone@gmail.com>

* Update content/fr/docs/concepts/architecture/nodes.md

Co-Authored-By: sieben <remy.leone@gmail.com>
2019-03-05 03:00:36 -08:00
Matt McNaughton 9dc34f1dc5 Update CVE-2019-5736 blog post with kops fixes (#12972)
Update the blog post to link to
https://github.com/kubernetes/kops/blob/master/docs/advisories/cve_2019_5736.md.
2019-03-04 15:53:00 -08:00
lledru adfaf7a816 docs fr: setup: idenpendent: fixed peirra , yohan and sieben comments (#12742) 2019-03-04 07:50:11 -08:00
Smaine Kahlouch d191cb8408 language-fr: setup custom-cloud kops (#12688) 2019-03-04 04:19:44 -08:00
chenrui 3e7e332b72 zh-trans: translate kubeweekly block (#12903) 2019-03-03 17:32:02 -08:00
Karen Bradshaw 71662ad94b fix typo in start contributing (#12906) 2019-02-28 20:31:51 -08:00
Jean-Yves Gastaud ad6f1565f3 docs-fr | Website Homepage (#12789)
* Translate website homepage to french

* Translate case-studies index page into french

* Translate kubeweekly block into french

* Fix translation of Kubernetes features title into french
2019-02-28 17:13:42 -08:00
Karen Bradshaw 12036aa614 remove duplicate images, italian locale (#12907)
Testing removal of duplicate images, italian localization.
See issue #12769.
2019-02-28 11:51:21 -08:00
Kaitlyn Barnard a52995a5e7 Blog Post: Operatorhub.io (#12905)
* operatorhub blog post

* Update 2019-02-28-automate-operations-on-your-cluster-with-operatorhub.md
2019-02-28 11:10:55 -08:00
Damini Satya 6644ae9fba Update website link in Readme and badges to readme (Korean) for consistency (#12682)
* Add website link to Readme.md

* Add build badges to Korean Readme.md for consistency
2019-02-28 05:41:27 -08:00
Hongbin Mao 34aee472a9 fix ccm implementation link error (#12653) 2019-02-28 05:39:39 -08:00
Rémy Léone b3483b10f3 Update OWNERS_ALIASES (#12708) 2019-02-28 01:29:13 -08:00
WanLinghao 268c9473a5 Add docs to illustrate how to schedule pod to specific node (#12871) 2019-02-27 21:22:19 -08:00
Justin Santa Barbara c34527a3ed Fix SSH tunnel links (#12585)
* Fix SSH tunnel links

* Removed reference to GKE, which seemed to prompt the initial removal.
* Fixed the link to refer back to the correct paragraph now that it exists again.
* Noted deprecation of SSH tunnels but work to create a replacement.

Fix #8262

This reverts commit 1da65603af.

This reverts commit b8b71b6845.

* Update master-node-communication.md
2019-02-27 21:18:39 -08:00
Dani Comnea fb4c7d138f Update the fine-parallel-processing-work-queue.md task file to remove $ and also remove text which is not appropiate for end user (#12793) 2019-02-27 21:14:58 -08:00
Tim Bannister 04ddaa4711 Reference glossary definitions in “Connect a Front End to a Back End Using a Service” (#12706)
* Reference terms in glossary

* Enable syntax highlighting for shell snippets
2019-02-27 21:11:22 -08:00
Dani Comnea 2f6bee10ca Update the parallel-processing-expansion.md task file and remove $ (#12794) 2019-02-27 21:07:48 -08:00
Guido García 3999608ca6 docs: update acs-engine -> aks-engine (#12804)
* docs: update acs-engine -> aks-engine

acs-engine has been deprecated by Microsoft in favor of aks-engine

* chore: PR feedback

* fix missing AKS
2019-02-27 21:04:10 -08:00
Misty Linville 928f7094cb Small refactor of Custom Resources topic (#12502)
- Adjusts levels
- Removes some obsolete info
- Rewrite of some of the intro material
2019-02-27 20:53:31 -08:00
makocchi 235f6f6d99 apply content_template and follow the style guide (#12759) 2019-02-27 20:42:57 -08:00
Tim Bannister b8ad490a80 List supported protocols for Service (#12669)
Tidy up protocol support to show that TCP and UDP have support in
stable, whereas SCTP support is in alpha. For HTTP, direct users to
read up on Ingress instead.
2019-02-27 20:25:24 -08:00
Tim Bannister 96a5f3f970 Move Docker credentials import to task documentation (#12668)
* Move docker credentials import to task documentation

Relevant to #12072

* Call out helpful note about per-namespace secrets
2019-02-27 20:21:48 -08:00
Luc Perkins 0650b70742 Fix sticky footer issue (#10681)
* Fix sticky footer issue

* Fix merge conflict

* Aesthetic changes to 404 page
2019-02-27 20:07:42 -08:00
Dani Comnea f0d8c8a79c Update debug-service.md's tasks file to remove $ from kubectl and turn some questions into bullet list (#12798) 2019-02-27 18:07:46 -08:00
Cody Clark 0bbe2db0be Fix Ingress callouts, links, nav, and templating (#12720)
* Fix Ingress callouts, links, nav, and templating

* Update ingress.md

* Update ingress-minikube.md

* Delete .md that caused 404

* Delete .md that caused 404

* Update ingress-controllers.md

* Update ingress-minikube.md

* spell check pass

* Update ingress.md

* Update ingress-minikube.md
2019-02-27 15:15:30 -08:00
Dani Comnea ab5e8c0d65 Fix the borken link in kubelet-integration.md page (#12864) 2019-02-27 11:49:13 -08:00
Tim Bannister 79b182529e Adjust for Minikube running RBAC by default (#12851) 2019-02-27 09:10:29 -08:00
Damini Satya 8598dc5fb7 Fix #12764 - Update troubleshooting-kubeadm doc (#12825) 2019-02-27 03:22:15 -08:00
Dani Comnea 943429988d Add the meeting calendar to the contrib docs (#12855) 2019-02-27 03:17:13 -08:00
Jean-Yves Gastaud e4967c3ece Allow translation of kubeweekly block (#12873) 2019-02-27 01:45:43 -08:00
makocchi 769c38cda3 remove command prompts and deprecated note (#12870) 2019-02-26 22:02:09 -08:00
Himanshu Pandey 84a840887a Removed the redundant text (#12868) 2019-02-26 17:39:39 -08:00
Art a2c4457175 Revising links for blogs (#12796)
* bluemix.net links are deprecated and no longer updated
* updated to new cloud.ibm.com link style
* also the product name is IBM Cloud Kubernetes Service, not Armada
* follow on to PR #12792
2019-02-26 07:17:28 -08:00
Philippe MARTIN a54963ad96 Fr Translation of kubectl cheat sheet (#12803) 2019-02-26 00:35:36 -08:00
Jean-Yves Gastaud 1b27ae72df Update reviewers on what is kubernetes in french (#12828) 2019-02-25 22:20:54 -08:00
Roy Lenferink 5bf8d70adf Removed duplicate 'Note' keyword (#12833) 2019-02-25 15:40:20 -08:00
Tim Bannister e176143ab1 Tidy install guide for container runtimes (#12704)
* Use feature-state note for CRI

* Note applicability to Linux hosts

* Explain cgroup ("control group")

* De-emphasize cgroup details

The individual runtime install steps already take account of this
advice.
2019-02-25 08:37:39 -08:00
Jean-Yves Gastaud 99dccca00a Translation of what is kubernetes to french (#12799) 2019-02-25 08:14:19 -08:00
Rastislav Szabo e17be7dcb3 Add Contiv-VPP CNI instructions (#12822) 2019-02-25 04:57:00 -08:00
Linus Lee 924d764233 Fix bugs about kubeadm upgrading. (#12809)
* Fix bug about kubeadm upgrading

It will lead to the following error if using `yum upgrade -y kubeadm --disableexcludes=kubernetes` command:
<https://serverfault.com/questions/943696/fatal-unexpected-error-when-reading-kubeadm-config-configmap-clusterconfigurat>
Running `yum upgrade -y kubeadm --disableexcludes=kubernetes` command will upgrade the kubeadm to v1.13 but kubeadm v1.13 could not upgrade the v1.12 kubeadm cluster.

* Update kubeadm-upgrade-1-12.md

* Update kubeadm-upgrade-1-12.md

* Update kubeadm-upgrade-1-12.md
2019-02-24 20:14:42 -08:00
Frederiko Costa 252f4d5261 add --csr-only option on kubeadm (#12766)
* add --csr-only option

The flag `--use-csr` is no longer available as of 1.13 on. Got replaced by `--csr-only`.

* replace deprecated kubeadm cert renewal flag
2019-02-24 20:06:22 -08:00
Art 27b9422c8f Revising bluemix.net links to cloud.ibm.com (#12792)
* Revising bluemix.net links to cloud.ibm.com

* bluemix.net links are deprecated and no longer updated
* updated to new cloud.ibm.com link style

* Removing blog content
2019-02-24 05:28:25 -08:00
Smaine Kahlouch 99a52da77f language-fr: setup custom-cloud kubespray (#12660) 2019-02-23 00:54:27 -08:00
Renze Yu 224cebb90b fix command in deployment.md (#12776) 2019-02-22 03:40:13 -08:00
Rémy Léone 00caa88ada Translate index concept page to French (#12763) 2019-02-22 03:15:15 -08:00
Hongbin Mao bc9235fa4b Update horizontal-pod-autoscale-walkthrough.md (#12777) 2019-02-22 03:13:18 -08:00
Rémy Léone 11b573520f Translate the home docs directory (#12761) 2019-02-22 03:00:33 -08:00
Neha Yadav eaf7f1cbba Use card based layout (#12752) 2019-02-21 19:43:04 -08:00
June Yi 8e5d7e4829 Make k8s.io/docs/home to support i18n (#12570)
* Make k8s.io/docs/home to support i18n

* Apply kbhawkey's review comment
2019-02-21 08:24:20 -08:00
Oussema CHERNI 22074f5848 concepts container environment variable page (#12741) 2019-02-21 07:57:51 -08:00
Dani Comnea 53edccb6d1 Replace shortcode code with codenew for en lang (#12744) 2019-02-21 06:24:15 -08:00
Qiming 6784b5dfd8 Revert "Update dns-pod-service.md (#10788)" (#12727)
This reverts commit 2ebcf10831.
2019-02-21 01:34:40 -08:00
Meng Yang b4f547e2eb add baidu cloud provider information (#12738) 2019-02-21 01:23:51 -08:00
Dani Comnea 9054d61419 Fix the codenew shortcode where site.Params.githubWebRow is null (#12743) 2019-02-20 17:00:48 -08:00
Daniele Polencic 66683ea82b Added Learnk8s Academy as online training offering (#12737)
* Added Learnk8s Academy as online training offering

* Rearranged in alphabetical order

* Renamed
2019-02-20 06:57:11 -08:00
lledru 3828fadb48 docs-fr: setup-release: 1 review (#12710) 2019-02-20 00:50:21 -08:00
Chazzledazzle1 31b3e8596f New Linux Academy Content Added (#12711)
Edit: Listed courses in alphabetical order & removed UTM from links.
2019-02-19 20:54:20 -08:00
Michele Berardi e8af96dbeb translate tutorials/kubernetes-basics/update/update-intro/ in Italian (#12425)
* Initial italian translation

* owners_aliases change

* Update OWNERS_ALIASES

* Update OWNER_ALIAS

Add micheleberardi to OWNER_ALIAS
2019-02-19 19:04:14 -08:00
Juan Diego Palomino ef4e36c928 Deployment documentation incorrectly describes how ReplicaSets are named (#12712)
I went ahead and corrected the incorrect description, as well as some incorrect examples
2019-02-19 12:36:02 -08:00
lledru c913a0b82d docs-fr: pick right solution, 6 reviews (#12658) 2019-02-19 06:53:57 -08:00
Claudia J.Kang aa6564e014 Sixth Korean l10n work for release-1.13 (#12705)
* ko: Update outdated files in dev-1.13-ko.6 (#12456)

* Translate concepts/containers/runtime-class.md in Korean (#12459)

* Fix ko translation consistency for commandlinetool word (#12626)

* Added Korean localization guide (#12597)

* Translate containers/images.md in Korean (#12549)

* Translate container-lifecycle-hooks.md in Korean (#12534)

* Translate tasks/run-application/horizontal-pod-autoscale in Korean (#12565)

* Translate concepts/architecture/cloud-controller in Korean #11964 (#12483)

* ko-trans: add setup/certificate.md #12453 (#12520)

Co-authored-by:    Claudia J.Kang <claudiajkang@gmail.com>
Co-authored-by:    June Yi <june.yi@samsung.com>
Co-authored-by:    Seokho <shsongist@gmail.com>
Co-authored-by:    Jesang Myung <jesang.myung@gmail.com>
Co-authored-by:    Kim Young Dae <38598117+zer0big@users.noreply.github.com>
Co-authored-by:    Yoon <learder@gmail.com>
2019-02-19 05:50:57 -08:00
Tamal Saha 8f1e5e05e8 Add Voyager to list of ingress controllers (#12702) 2019-02-19 04:41:53 -08:00
Josie 0f71ba24e4 Add Supergiant to Turnkey Cloud Solutions list (#12693) 2019-02-18 23:12:15 -08:00
Jennifer Rondeau c51c2bbdcb fix minishift wording, remove broken link (#12679) 2019-02-18 22:59:04 -08:00
Tim Bannister 59a34796c9 Improve namespaces walkthroughs (#12686)
* Reference glossary entry for namespace

* Call out namespace names
2019-02-18 19:25:50 -08:00
Smaine Kahlouch a9dcaad92f docs-fr | setup | custom-cloud coreos (#12654)
* language-fr: setup custom-cloud coreos

* language-fr: setup custom-cloud coreos, fixes following @etiennecoutaud review

* language-fr: setup custom-cloud coreos, fixes following @lledru and @oussemos reviews
2019-02-18 12:56:57 -08:00
ethan de8d06e0dd update _index.md for docs and fix translation (#12344) 2019-02-18 00:11:30 -08:00
Kenny Ho bb2d30a821 Add AMD GPU node labeller to scheduling-gpus.md (#12530)
* Add AMD GPU node labeller to scheduling-gpus.md

* Add AMD GPU node labeller to scheduling-gpus.md

* Fixed typo

* Fix stray typo, wording issue
2019-02-17 19:47:53 -08:00
Casey Flynn a7ec1f8478 Apply grammar fix (#12477) 2019-02-17 18:59:03 -08:00
McCoyAle f116c6877d Add Pod Lifecycle to glossary (#12645)
* Add Pod Lifecycle to glossary

* Update pod-lifecycle.md

* Update pod-lifecycle.md
2019-02-17 18:50:48 -08:00
Cody Clark a96ea24939 Updates to Ingress (#12465)
* Create ingress-minikube.md

* Update ingress.md

* Move Ingress controllers content to own page
* Link to Set up Ingress on Minikube with the NGINX Controller task
* Minor edits

* Create ingress-controllers.md

* Update ingress-controllers.md
2019-02-17 18:36:33 -08:00
Vishwanath K 9654ecc44f Update cron-jobs.md (#11512)
* Update cron-jobs.md

Update to startingDeadlineSeconds concept

* Update jobs-run-to-completion.md

Syntax correction

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>

* Update content/en/docs/concepts/workloads/controllers/cron-jobs.md

Co-Authored-By: k-vishwa <vishwanath.k@kloud9.nyc>
2019-02-17 18:34:32 -08:00
McCoyAle 8906e7e929 Add Pod Disruption Budget to Glossary (#12646)
* Add Pod Disruption Budget to Glossary

* Update content/en/docs/reference/glossary/pod-disruption-budget.md

Cross referenced Pod term

Co-Authored-By: McCoyAle <mccoyale@gmail.com>

* Update pod-disruption-budget.md
2019-02-17 18:32:26 -08:00
Jordan Liggitt 9156340725 Improve RBAC documentation (#11254)
* Add cross-namespace service account example, clarify binding wording

* Add create role and create clusterrole help

* Add reconcile documentation

* Document roleRef restrictions
2019-02-17 18:20:12 -08:00
Avi Deitcher ef8967997c Document proxy flows (#12305) 2019-02-17 18:16:00 -08:00
Tim Bannister 5494391357 Tidy capitalization (#12603)
- Use “Job” to mean the Kubernetes object
- Use “job” where capitalization hinders readability
- Use “task”, or other synonymous concepts, to avoid confusion
- Use “Pod” to mean the Kubernetes object
- Use “pod” where capitalization hinders readability
- Use “container” in lowercase everywhere

Also:
- Clarify work queue example for Job controller
- Fix advice on running Job example
- Tweak emphasis
2019-02-17 17:53:17 -08:00
Tim Bannister eb5cac382d Reword /docs/concepts/configuration/secret/ (#12670)
* Use glossary terms when explaining Secret concept

* Tidy up advice on keeping Secrets secret

* Reformat note on how Secrets are displayed

* Use mebibytes
2019-02-17 17:51:15 -08:00
Dr Luke Angel c613b54671 Updated ReadMe (#11967)
* Updated ReadMe

Added windows commands

* Update configure-access-multiple-clusters.md

* Update configure-access-multiple-clusters.md

* Update configure-access-multiple-clusters.md
2019-02-17 17:38:57 -08:00
Tim Hockin 971d7af713 Update network doc for ip-per-pod reqs (#12182)
* Update network doc for ip-per-pod reqs

As per SIG-Network discussion, we can relax the requirement for all
nodes to be able to reach all pods on those platforms that do not
support hostNetwork.

The current thinking on Windows support is that hostNetwork is not a
requirement for Window users.  As such, satisfying the old requirement
is very difficult and has no practical benefit.

This DOES NOT change the requirements for platforms that support
hostNetwork (e.g. Linux) nor does it make hostNetwork optional for Linux
nodes.

This PR also removes most comparisons to Docker, as they are stale and
no longer germane, and cleans up some of the text.

* Feedback on contents
2019-02-17 17:34:50 -08:00
Lubomir I. Ivanov 43764bd6fb setup/cri: add a section about cgroup drivers (#12638)
* setup/cri: add a section about cgroup drivers

A cgroup driver is an important setting for the CRI and the kubelet.
Add a section that explains why "systemd" is the suggested value
for a driver when installing a CRI.

In the case of Docker the kubelet will receive this value automatically.
For the other CRIs, the users should tackle this manually.

* Update cri.md
2019-02-17 17:20:21 -08:00
Tim Bannister 5e4b2e21a5 Add "workload" to glossary (#12622)
* Add "workload" to glossary

* Use en_US spelling of "fulfill"

* Revise short description

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-02-17 08:39:11 -08:00
Tim Bannister e6d672f1a7 Add sysctl to glossary (#12607)
* Add sysctl to glossary

* Make it clear that sysctl is for Unix-like OSs
2019-02-17 08:28:59 -08:00
Andrew Sy Kim 35d0d34959 remove cloud controller manager docs on using Initializers for PV labeling (#12375) 2019-02-17 08:26:48 -08:00
Bill Mulligan 078b847473 add rkt to glossary (#12361)
* Create rkt.md

* Update rkt.md
2019-02-17 08:24:42 -08:00
Jordan Liggitt 079a91fe79 deprecate DenyExecOnPrivileged/DenyEscalatingExec (#12152) 2019-02-17 08:07:05 -08:00
Tim Bannister 64fc415cdd Illustrate negative-exists selector in cheat sheet (#12667) 2019-02-17 07:49:36 -08:00
Dan Pastusek ba42c9311d add KubeSail to pick-right-solution.md (#12633) 2019-02-17 07:47:26 -08:00
Dario Maiocchi f156d51ddb Improve doc on certificates (#12579) 2019-02-17 07:45:06 -08:00
Vineeth Reddy d521f97eab Update building-from-source.md (#12577)
* Update building-from-source.md

Update the page to be consistent with the concepts template.

* Update building-from-source.md

Update the page to be consistent with the concepts template.
2019-02-17 07:42:51 -08:00
Ben Kuhn 7f3eb1dac6 Better example of a preStop hook for nginx (#12563)
It looks like `nginx -s quit` returns immediately rather than blocking until nginx has finished gracefully shutting down. As a result, just running `nginx -s quit` in the preStop hook won't work very well for high load and/or long running requests; nginx will get a TERM signal (and do a hard shutdown) immediately after `nginx -s quit` returns.

(I was getting connection errors while terminating pods, and adding a sleep-until-done to the preStop hook seemed to make them go away.)
2019-02-17 07:40:45 -08:00
cell13 c4a0e6be5c Update hello-minikube.md (#12257)
modify:
Katacoda environment only: Type `30369`, and then click **Display Port**.
2019-02-17 07:38:21 -08:00
Nick Fox 60b804ec8f Add service path to CRD webhook conversion example (#12542)
* Add service path to CRD webhook conversion example

* Update wording in CRD conversion example to indicate it is serving traffic

Co-Authored-By: nrfox <nickfox25@gmail.com>
2019-02-17 07:36:11 -08:00
Vinodh N 2aba9bd333 Update container-lifecycle-hooks for preStop - removed submodule website (#12498)
The changes are in line with one of the request for documentation update as per PR #55807 wherein it was observed that the preStop hook is not commissioned when the container is already in the terminated or completed state.

Braces removed as per the review comment. Multiple commits squashed

Braces removed as per the review comment

Update as per review, removed etc... and the statement is now cleaner
2019-02-17 07:33:51 -08:00
Murcurio 6adce91e46 Update http-liveness.yaml (#12255)
Deprecating the "X-" Prefix and Similar Constructs in Application Protocols:
https://tools.ietf.org/html/rfc6648
2019-02-17 07:31:41 -08:00
David Xia cb354f641d Disruptions: make clearer not all voluntary disruptions are constrained by PDBs (#11619)
* Disruptions: make clearer not all voluntary disruptions are constrained by PDBs

Currently, there's confusion on whether all voluntary disruptions are constrained by PDBs.
For example, see the three comments [here](https://github.com/kubernetes/kubernetes/issues/39824#issuecomment-436322189).

* Update content/en/docs/concepts/workloads/pods/disruptions.md

Co-Authored-By: davidxia <davidxia@users.noreply.github.com>

* Update content/en/docs/concepts/workloads/pods/disruptions.md

Co-Authored-By: davidxia <davidxia@users.noreply.github.com>

* Update disruptions.md
2019-02-17 07:27:11 -08:00
Jesse Glick 43d42674e9 Note MicroK8s (#11985)
* Note MicroK8s

* Consistent use of commas
2019-02-17 07:24:56 -08:00
hidekazuna 06b3c73e9b Update Container Runtime explanation (#11707) 2019-02-17 07:22:45 -08:00
Johann Gyger 42327d8a2c Alias for kubectl that works with completion (#12517)
* Alias for kubectl with completion.

Use a shorthand alias for `kubectl` that also works with completion. Using completion is great but typing `kubectl` each time is annoying.

* Update content/en/docs/reference/kubectl/cheatsheet.md

Co-Authored-By: jogy <johann@gyger.name>
2019-02-17 06:15:20 -08:00
WanLinghao f0d0309086 Fix a invalid jump link in hpa documentation (#12676) 2019-02-16 23:32:26 -08:00
Tim Bannister 88ca365f11 Use # not // for comments (#12672)
Bourne-style shells don't use //
2019-02-16 19:55:36 -08:00
Supriya Sirbi 7e1a07d4f1 Patch 2 - Update Replicaset.md (#12650) 2019-02-16 04:50:03 -08:00
shutefan 5f2250fd91 Fix sentence about specifying a rollback version (#12663) 2019-02-15 17:26:48 -08:00
Rémy Léone 29f6155fc5 Translate the feature state to French (#12642) 2019-02-15 07:50:35 -08:00
Tim Bannister f9ad42915a Sort course list (#12647) 2019-02-15 03:39:11 -08:00
WanLinghao 50d01070ba Fix some 404 links in Chinese docs (#12488) 2019-02-15 00:31:05 -08:00
Tim Bannister fcea562907 Reference CronJob from Job (#12602)
CronJob is now stable. Signpost users to the relevant documentation.
2019-02-14 22:16:50 -08:00
Dave Strebel 3e5cb3d78a Update AKS mitigation link (#12632)
* Update AKS mitigation link

Updated to include link to AKS documentation on mitigation.

* Updated Microsoft Recommendation

Updated with suggested changes
2019-02-14 22:14:39 -08:00
Damini Satya 461fadb8c3 Update download icon and add RSS label (#12648)
* Add 'RSS feed' label

* Update download icon
2019-02-14 22:10:09 -08:00
André Martins 0a5ff4417d network-policy-provider: updating cilium documentation for v1.4.0 (#12627)
Signed-off-by: André Martins <aanm90@gmail.com>
2019-02-14 21:50:21 -08:00
Himanshu Pandey 9fcf418680 Removed junk character from output (#12649) 2019-02-14 21:39:15 -08:00
Seokho bdd953f0d3 Substitute en.toml for pedefined english shortcodes (#12418)
Rev Substitute en.toml for pedefined english shortcodes

Remove prefix Substitute en.toml for pedefined english shortcodes

Rev minor Substitute en.toml for pedefined english shortcodes
2019-02-14 17:32:53 -08:00
lledru faa86d2d01 initiate french translation of setup docs (#12643) 2019-02-14 09:40:23 -08:00
Karen Bradshaw b61b2351f7 update glossary id and rename filename (#12635) 2019-02-14 00:53:30 -08:00
Omid Raha 99909a4ccc Fix note as others (#12628) 2019-02-14 00:44:53 -08:00
Rémy Léone a5cda6edea Init French translation (#12548) 2019-02-13 09:29:21 -08:00
Bob Killen 0470ce5688 Correct Debian version, link to other CoreOS channels (#12629) 2019-02-13 05:37:09 -08:00
Janet Kuo e063811cdb Document owner ref restrictions explicitly (#12543) 2019-02-13 05:03:42 -08:00
Naoki Oketani 3eb1148568 Update fluentd 0.12 to 1.0 in the example (#12557)
* Update fluentd 0.12 to 1.0 in the example

* .editorconfig removed trailing spaces
2019-02-13 03:42:24 -08:00
Damini Satya 63e57d102e Fix #9805 - Correct tags to avoid HTML encoding issue (#12523) 2019-02-13 03:36:11 -08:00
Damini Satya e0bc7049cb Remove extra occurance of container in the container lifecycle hooks definition (#12621) 2019-02-13 02:23:13 -08:00
PingWang c533563bdc Add s390x platforms for calico (#12616)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-13 02:21:02 -08:00
Tim Bannister c0b0596b9b Link to pod lifecycle (#12614) 2019-02-13 02:19:09 -08:00
Tim Bannister ae70b25010 Add example listing object labels (#12600) 2019-02-13 02:17:08 -08:00
Tomas Kral 32211de0f5 Update debug-service.md (#12599)
use smaller case `v` for adjusting logging level
2019-02-13 02:15:06 -08:00
Andrew 8c637cee9e Update kubernetes-objects.md (#12595) 2019-02-13 02:13:00 -08:00
PingWang 4baf6d4d52 Update links of apparmor doc (#12593)
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-13 02:11:04 -08:00
Nick Veitch 1bfe9725f9 Adds link to official docs for LDAP support (#12581) 2019-02-13 02:06:56 -08:00
Yu-Zhen Tu 222ac3410e Add two training courses from Coursera (#12569) 2019-02-13 02:02:48 -08:00
Matt McNaughton 1b965dc49e Improve stateful set dns docs (#12564)
Address the issue raised in
https://github.com/kubernetes/kubernetes/issues/73808, where it became
clear it would be helpful for there to be a reminder for the user that
they are responsible for managing the StatefulSet which provides DNS
names for the pods in a StatefulSet.
2019-02-13 02:00:51 -08:00
Brendan Wrafter bc3a0369af Minor Type (#12545)
The frontend service should show type of "LoadBalancer"
2019-02-13 01:50:44 -08:00
Jérémy Mathevet f75b961ed6 Add oidc-required-claim (#12536) 2019-02-13 01:46:45 -08:00
Lubomir I. Ivanov e5886794dc create-cluster-kubeadm: update flannel to 0.11.0 (#12493)
Use this commit:
https://github.com/coreos/flannel/commit/a70459be0084506e4ec919aa1
instead of the v0.11.0 tag because the tag is missing the 0.11.0 images
as can be seen here:
https://raw.githubusercontent.com/coreos/flannel/v0.11.0/Documentation/kube-flannel.yml

Add note about supporting s390x on Linux and preliminary support
for Windows.
2019-02-13 01:42:42 -08:00
Damini Satya ac254e0145 Fix #12430 - Correction in docs/concepts/services-networking/network-policies/ (#12446) 2019-02-13 01:40:50 -08:00
Carston Schilds 5fc21a27ef Update deployment.md (#12422)
Cleaned up the section __Revision History Limit__ to reflect the default value of `.spec.revisionHistoryLimit`  being 10, instead of saying "All old ReplicaSets will be kept by default"
2019-02-13 01:38:44 -08:00
ethan f3aa7856f6 change docker cgroupdriver to its default cgroupfs (#12360) 2019-02-13 01:36:38 -08:00
Florian Breisch 832a05e006 Optimize Linux shell installation (#12358)
Use `mv` instead the combination of `cp` and `rm` to put minikube into `/usr/local/bin`
2019-02-13 00:47:03 -08:00
Alex Gervais bfafd2a064 Add Ambassador in list of ingress controller solutions (#12348) 2019-02-13 00:38:57 -08:00
lIuDuI 9395461d8c Fix ingress.md (#11698) 2019-02-12 23:36:11 -08:00
Zach Corleissen 0f83f1aa49 Small cleanup of L10n guidelines (#12589) 2019-02-12 23:32:17 -08:00
Kaitlyn Barnard 755856eb10 updating link (#12598) 2019-02-12 23:18:24 -08:00
ROY 2cd25574c6 Update authorization.md (#12471)
* Update authorization.md

* Update authorization.md
2019-02-12 21:32:12 -08:00
Damini Satya 0a01c8fc9a Device Plugin to Glossary page (#12486) 2019-02-12 21:26:12 -08:00
Marcin Kłopotek e7626d7687 Add option to install kubectl on Windows via scoop (#12359)
* Add option to install kubectl via scoop

* Review suggestions

* Fixed tab rendering

* Fixed list numbering
2019-02-12 20:42:51 -08:00
Tim Bannister adb49b24f9 Fix capitalization (#12613) 2019-02-12 17:09:29 -08:00
Stacy Pedersen add593b6e5 Updating ICP page with new AWS quick start and latest links (#12606) 2019-02-12 16:25:18 -08:00
Noah Kantrowitz e986ee4cbc Some corrections identified by @tallclair. (#12605) 2019-02-12 13:54:47 -08:00
Stacy Pedersen d9f5f20600 Add ICP to Pick Right Solutions table (#12604) 2019-02-12 11:31:50 -08:00
Seokho ffa83bb42f Fix a misleading word in containers/images.md (#12553)
* Fix a misleading word in containers/images.md

* Rev Fix a misleading word in containers/images.md
2019-02-12 08:40:32 -08:00
Daniel Bryant 7b6d7cb207 Adding proposed blog post for building-a-kubernetes-edge-control-plane (#12404)
* Adding proposed blog post for building-a-kubernetes-edge-control-plane-for-envoy-v2

* Update article with improvements and author list

* Update and rename building-a-kubernetes-edge-control-plane-for-envoy-v2.md to 2019-02-11-building-a-kubernetes-edge-control-plane-for-envoy-v2.md

* Add extra coverage about use of Golang in Ambassador 0.50

* Minor typo fixes

* Minor typo fix, and merge fix with date

* Update 2019-02-11-building-a-kubernetes-edge-control-plane-for-envoy-v2.md

* Delete building-a-kubernetes-edge-control-plane-for-envoy-v2.md

* Update 2019-02-11-building-a-kubernetes-edge-control-plane-for-envoy-v2.md
2019-02-12 08:11:35 -08:00
Evan fc9a171560 fix typo in install-kubeadm.md (#12527)
"Kubernetes control panel" instead of "Kubernetes control plane"
2019-02-12 06:54:33 -08:00
Himanshu Pandey 008de6a6ea Fixed a minor space issue (#12576) 2019-02-12 06:26:17 -08:00
Slava Semushin 39eb9ad57d pod-security-policy.md: fix a broken link. (#12590) 2019-02-12 03:39:20 -08:00
Vineeth Reddy 251fab287c Update krib.md (#12580)
Fixed a broken link to kubespray in the following page: https://kubernetes.io/docs/setup/on-premises-metal/krib/
2019-02-12 00:15:15 -08:00
Noah Kantrowitz 2bda45d85c First pass on a blog post about CVE-2019-5736. (#12592)
* First pass on a blog post about CVE-2019-5736.

* Clarify that k8s is not the problem.

* Fix example of pinning to an image hash.

My mistake deftly caught by @zparnold.

Co-Authored-By: coderanger <noah@coderanger.net>

* Add links to the rest of the notices or releases.

* Add ways to get more info.

* RHEL link for those that don't selinux.

* Link to Rancher's back ports.
2019-02-11 21:34:00 -08:00
Himanshu Pandey be4bee1d1d Updated Recommended docker version (#12591)
* Updated Recommended docker version

* minor changes
2019-02-11 18:08:44 -08:00
Zhou Peng d4be5929aa docs: fix typo (#12568) 2019-02-10 09:35:21 -08:00
Roy Lenferink 5d61f1c926 Typo resolved (#12555) 2019-02-08 15:43:44 -08:00
rajeshdeshpande02 731257d037 Adding container state details to documentation (#12512)
* Adding container state details in documentation

* Adding container state details to documentation

* Incorporating changes suggested in review by /ryanmcginnis
2019-02-08 10:02:02 -08:00
Steffen Butzer a8b7c759df windows: Add windows prefix for windows services (#12377)
The binaries themself indicate:
```
 --windows-service                              Enable Windows Service Control Manager API integration
```

It also doesn't appear to have changed, since it's like this since this landed:
https://github.com/kubernetes/kubernetes/commit/4ea363d98e9cf1fb7c83da3fe6d7db95a904cae3#diff-34a9920a4db69d1542b66bcb6fe4ac1eR39

Possibly an oversight after changing it before the merge.
This ensures the documentation is consistent with the code and help outputted by kubernetes binaries again.

/sig windows
2019-02-08 08:33:01 -08:00
Kanshi e7878a37ae Correcting default HPA sync period (#12544)
Horizontal Pod Autoscaler default sync period is 15 seconds
https://github.com/kubernetes/kubernetes/blob/1b28775db1290a772967d192a19a8ec447053cd5/pkg/controller/apis/config/v1alpha1/defaults.go#L159
2019-02-08 07:02:07 -08:00
Hongbin Mao b3bfb4d6d0 fix cloudprovider link error (#12539) 2019-02-08 06:49:53 -08:00
Seokho 9aa96f6ff8 Fix alignment in hookhandler command output in container-lifecycle-hooks.md (#12535) 2019-02-07 13:26:07 -08:00
Damini Satya 47686e9a80 Fix #12531 - Add README badge for build status and latest release (#12532) 2019-02-07 01:35:43 -08:00
Hongbin Mao d1b568bc17 add link to baidu ccm (#12480) 2019-02-06 23:36:10 -08:00
Damini Satya bd5c9a0d8d Fix 12497 - Update links for additional resources in apparmor doc (#12518) 2019-02-06 20:38:52 -08:00
Juan Diego Palomino 6224377d87 Trying to update ReplicaSet Docs as per issue 12081 (#12409)
* First draft of the updates to the ReplicaSet Docs

To start with, I tried to cleanup the docs to adhere to the style guide https://kubernetes.io/docs/contribute/style/style-guide/. I then added some description of the ReplicaSet-Pod link via the owner reference field and behavior by it. I also made a clarification on the ReplicaSet demo where it was being redundant for the sake of demonstrating the different forms of usage. I consider this draft incomplete as I still lack knowledge of how the pod labels affect the behavior.

* Clearing up RC refs & explaining acquisition behavior

I'm beginning to address the cr by cleaning up references to the ReplicationController and making it clear that RCs are discouraged/old. I then expanded on the behavior of ReplicaSet in the presence of pods it can acquire but are not created directly by it.

* Mismatched link seems to have disappeared from preview
"As with all other Kubernetes API objects," etc... is present in the sibling  concepts/workloads/controllers/ files, so I am hesitant to change that w/o changing the others, but I did abbreviate it.

"The `.spec.template` is the only required field of the `.spec`." is false, we also need the selector

Trying to address passive voice

Cleaned up Writing a ReplicaSet Manifest section

removed How to use a ReplicaSet section as it has redundant info from the examples and Alternatives section

Expanded examples a bit

Cleared up passive voice

* refactoring link to example yaml

* adding pod-rs test case

* Addressing Steve Perry's comments

Capitalize Pod throughout.

Link is not rendering correctly. Use () instead of [] for the path.

Ending with "for the creation" seems vague to me. Maybe this:
"...reach the desired number. When a ReplicaSet needs to create new Pods, it uses its Pod template."

Suggestion: "is via the Pod's metadata.ownerReferences field." That way the reader won't jump to the incorrect conclusion that we're talking about the ReplicaSet's metadata.ownerReferences field.

with fields, including a selector that

and plans accordingly

Our style for headings is sentence case. So this heading would be "How a ReplicaSet works".

Several headings in this topic need to be converted to sentence case.

cleaned up frontend.yaml example

added example checking the Pod's owner reference being set to it's parent ReplicaSet

* Previous commit broke Pod example links due to casing

* Forgot 1 comment

Suggestion: In the ReplicaSet, .spec.template.metadata.labels must match spec.selector, or ...

* Addressing grammar/syntax errors
2019-02-06 10:09:22 -08:00
Dan Kohn ff80f66959 Simplify JavaScript used for embedded landscapes (#12522) 2019-02-06 08:35:02 -08:00
Anvith KS 0cfc80e181 Blog post for Poseidon-Firmament Scheduler (#12491)
* Blog post for Poseidon-Firmament Scheduler

* Fixed some typos. Fixed some formatting. Added links.

* Update and rename 2019-02-04-poseidon-firmament-scheduler-announcement.md to 2019-02-06-poseidon-firmament-scheduler-announcement.md

* Made some changes to the Key Advantages section.
2019-02-06 08:24:58 -08:00
Damini Satya 9908cb8561 Fixes #12515 - Update latest hyperlink for JUJU controllers ha (#12516) 2019-02-05 22:55:25 -08:00
Luc Perkins f0ce633de5 Adjust button text size (#12505) 2019-02-05 08:34:57 -08:00
Luc Perkins c6dd35ba51 Update to Hugo 0.53 and remove all .Site references (#12079)
* Remove all .Site variable references

* Update Hugo version in Travis CI config and Makefile
2019-02-05 08:33:23 -08:00
Hanno Kolvenbach 2ccb5d61c6 Clarified filenames for generating the API keys (#12508) 2019-02-05 00:31:43 -08:00
Tim Bannister c10411b469 Fix typo in cloud-controller-manager docs (#12494) (#12495) 2019-02-04 15:42:54 -08:00
Nikhita Raghunath 8287402899 Add the code of conduct (#11919) 2019-02-04 15:31:57 -08:00
garlicFrancium 1e9301ddb8 Fixed Wrong file path #12478 (#12479)
Page to Update:
https://kubernetes.io/docs/setup/independent/kubelet-integration

Problem:
Path mentioned is /etc/systconfig/kubelet

Proposed Solution:
Correct path for the file is /etc/sysconfig/kubelet
2019-02-04 15:30:31 -08:00
Scott Brenner d04d15f506 replicationController -> ReplicaSet (#12487)
Proposing replacing `replicationController` with `ReplicaSet` here since ["ReplicaSet is the next-generation Replication Controller."](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/).
2019-02-04 15:25:03 -08:00
Himanshu Pandey 661a6db061 Minor line-break change (#12504) 2019-02-04 15:16:39 -08:00
Manjunath A Kumatagi e6398d59dc Add arm64 and ppc64le platforms for calico (#12484) 2019-02-04 10:28:43 -08:00
Roy Lenferink 8eb0f6e3cf Updated slack icon in footer (#12468) 2019-02-01 10:24:22 -08:00
Harshagarwal19 3daf746bca Updated 18.09 as available (#12464) 2019-02-01 10:19:07 -08:00
Damini Satya 238cd72f44 Add Extension to Glossary page (#12470) 2019-02-01 10:11:01 -08:00
Damini Satya d3f5001433 Fix ##12434 - Empty continuation line warning while building docker image (#12435) 2019-02-01 10:06:45 -08:00
Damini Satya 5512fe7d46 Add Preemption to Glossary page (#12460)
* Add Preemption to Glossary page

* Change Delete -> Evict in preemption concept docs
2019-02-01 09:59:24 -08:00
Irfan Ur Rehman fb2f3f89a9 Update missing section in federation blog (#12417) 2019-02-01 09:10:16 -08:00
Andy Randall 70864a04ce update Calico description (#12349)
Update Calico description to add support for Windows, and mention other cloud networking providers supported by Calico policy
2019-01-31 15:12:09 -08:00
O'meid d0d29d9ff0 containers/images: clarify dockercfg limitions. (#12429)
Related #59406

This commit clarifies the limitations of dockercfg use by Kubernetes, specifically, the lack of support for credential helpers.
2019-01-31 15:05:33 -08:00
Martynas Pumputis 9da045a934 minikube: Fix cmd args for alternative runtimes (#12365)
Since minikube v0.33.0 the default CNI config is not being provisioned
by default (https://github.com/kubernetes/minikube/pull/3441). Therefore,
we need to pass `--enable-default-cni` when starting minikube.
2019-01-31 14:55:52 -08:00
Jun Gong 33d851c913 Update custom-resource-definitions.md: add validatingadmissionwebhook for validation (#12371)
Add validatingadmissionwebhook for validation in case someone does not know it.
2019-01-31 14:54:18 -08:00
Barnabas Makonda 2e0287dd86 Added missing pod status in pod lifecycle docs (#12397)
* Added missing pod status in pod lifecycle docs

Added information about `completed` and `CrashLoopBackOff`

* update example of completed status
2019-01-31 14:22:25 -08:00
R c9fc834356 Update minikube.md (#12448)
* Update minikube.md

* Update minikube.md
2019-01-31 14:20:46 -08:00
Damini Satya 9dff778e09 Add Pod Priority to Glossary page (#12461)
* Add Pod Priority to Glossary page

* change id
2019-01-31 13:59:15 -08:00
Damini Satya 5174235049 Add HostAliases to Glossary page (#12454) 2019-01-31 13:21:00 -08:00
atoato88 a7f0d9a713 Update kubeadm init output to latest (#12440)
There is output of `kubeadm init` in create-cluster-kubeadm page.
But it is little old.
Some processes aren't included in it.
This update `kubeadm init` output to latest.
2019-01-31 13:17:51 -08:00
Mumshad Mannambeth 883f43e36b Add beginners course link from KodeKloud (#12190)
* Add beginners course link from KodeKloud

* Remove code
2019-01-31 11:14:28 -08:00
Wenjun Wu 191055c7aa remove duplicate --encryption-provider-config (#12398)
remove duplicate --encryption-provider-config parameter
2019-01-31 11:10:12 -08:00
Rostislav M. Georgiev 5101eaf912 kubeadm: remove rktlet link from install-kubeadm (#12463)
Since Kubernetes 1.10, the only supported CRI version is v1alpha2. However,
rktlet does not support that version and development seems stopped.
As there is no way to use rktlet with k8s >= 1.10, it's best to just remove
the rkt link from the "Install runtime" section of "Install kubeadm".

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-01-31 09:35:10 -08:00
yanghaichao12 ef188cbf30 Fix a typos (#12458)
* Fix a typos

* Revert "Fix a typos"

This reverts commit 5dcca521c40f214b261ceac8db9bd027dc463fbc.

* Fix a typos
2019-01-31 09:32:10 -08:00
Stacy Pedersen 5c3e6f7270 Adding ICP page to Turnkey Cloud Solutions (#12444) 2019-01-30 20:05:19 -08:00
Roy Lenferink 7e34aa04c6 Added link to OWNERS docs in OWNERS file (#12427)
* Added link to OWNERS docs in OWNERS file

* Updated OWNERS files to include link to docs
2019-01-30 14:04:25 -08:00
Harshagarwal19 6e995612a9 New slack icon (#12438)
* Delete Old slack icon

* Added new icon

* Updated text from 18.06 to 18.09

* Deleted large image

* New slack image uploaded
2019-01-30 12:23:19 -08:00
Jai 3413d276eb Typo in components.md (#12378) 2019-01-30 09:42:27 -08:00
Rajakavitha1 ad3e6793a1 Update OWNERS_ALIASES (#12380)
added rajakavitha1 to the owners list
2019-01-29 23:21:22 -08:00
Kenichi Omichi 79052e5232 Update HostAliases entries for new implementation (#12251) 2019-01-29 17:35:06 -08:00
SalimGangji 071f80429e Update install-kubeadm.md (#12419)
* Update install-kubeadm.md

Fixes #12366

* Update content/en/docs/setup/independent/install-kubeadm.md

committing changes from detiber

Co-Authored-By: SalimGangji <salim.gangji@gmail.com>
2019-01-29 10:10:21 -08:00
Claudia J.Kang 3a0154db4c Fifth Korean l10n work for release-1.13. (#12420)
* ko-trans: glossary/kube-scheduler.md (#12269)
* ko-trans: Update outdated files partly in dev-1.13-ko.5 (#12246)
* ko-trans: Update outdated files partly in dev-1.13-ko.5 (#12267)
* Update outdated in tutorials/kubernetes-basics/ for dev-1.13-ko.5 (#12272)
* ko/examples/application/deployment.yaml (#12293)
* ko-trans: add tutorials/hello-minikube.md #11532 (#12273)
* Translate concepts/containers/container-environment-variables in Korean (#12382)
* ko: Tutorial compoent rearrange (#12400)
* Translate content/ko/docs/concepts/architecture/master-node-communication in Korean #11963 (#12315)
* Translate concepts/workloads/pods/podpreset in Korean (#12308)
* Translate concepts/workloads/pods/init-containers in Korean (#12298)
* ko-trans: add setup/minikube.md #11531 (#12274)
* ko/docs/setup/cluster-large.md (#12370)

Co-authored-by: Seokho <shsongist@gmail.com>
Co-authored-by: Kim Young Dae <38598117+zer0big@users.noreply.github.com>
Co-authored-by: Claudia J.Kang <claudiajkang@gmail.com>
Co-authored-by: Yoon <learder@gmail.com>
Co-authored-by: Jmnote <opcore@gmail.com>
Co-authored-by: June Yi <june.yi@samsung.com>
2019-01-29 07:07:30 -08:00
Lubomir I. Ivanov a7792a6ae8 kubeadm: add a caution about certs in HA document (#12407)
* kubeadm: add a caution about certs in HA document

* Update content/en/docs/setup/independent/high-availability.md

Co-Authored-By: neolit123 <neolit123@gmail.com>
2019-01-29 03:02:33 -08:00
Qiming bef190960f Translate some remnant partials for localization (#12239) 2019-01-28 23:18:04 -08:00
Avi Deitcher 087a2884b3 Add information about linking CN= <nodeName> and kubelet hostname (#12336) 2019-01-28 17:40:43 -08:00
James Ward 2ad6e9f124 Linux command to check CPU virtualization support (#12376) 2019-01-28 17:25:03 -08:00
Anuj Sharma 3907af5a1b 'removed rktlet from cri installation docs (#12408) 2019-01-28 17:23:10 -08:00
joao brito junior eab93ae932 Update deployment.md (#12301)
All resources must be specified before image changes: deployment.apps/nginx-deployment . So I reorganised the command order.
2019-01-28 16:57:22 -08:00
Dr Luke Angel 134a391407 Minor type (#11966)
Removed an & that was not needed and would break on windows
2019-01-28 16:40:34 -08:00
Dan Kohn 935e50da22 Update interactive landscape URLs (#12414)
We're modifying the API to show the landscape by default rather than card mode,
but this change does not change behavior any.
2019-01-28 14:53:19 -08:00
Suraj Deshmukh a0cf7ebf13 Update systemctl en/disable to start/stop service (#12100)
If there is a combination of `systemctl` commands where in one you are
enabling it and in another you are starting it, that can be done in one
single command with an additional flag called `--now`. This commit
changes those two command steps in docs to one command.

The help of systemctl shows the following explanation of `--now`:

```
Start or stop unit in addition to enabling or disabling it
```

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2019-01-28 12:48:36 -08:00
craigbox 5b2d835ea9 Copy edits to Federation blog (#11789)
* Copy edits to Federation blog

* fix title, as Hugo doesn't like colons

* rename title back to keep URL the same

* formatting changes

* fix typo
2019-01-28 12:33:27 -08:00
Suraj Deshmukh ea471fc63f PodPreset: Add minikube specific instructions (#12129)
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2019-01-28 12:30:18 -08:00
azarnyx e05a3c7e32 Update coarse-parallel-processing-work-queue.md (#12402)
the file needs to have permission to be executed with the command:

CMD /usr/bin/amqp-consume --url=$BROKER_URL -q $QUEUE -c 1 /worker.py

from Dockerfile https://kubernetes.io/examples/application/job/rabbitmq/Dockerfile
2019-01-28 12:25:39 -08:00
azarnyx 6e557559fe Update worker.py (#12403)
Fix an error reproduced with python3.6.8, python3.5.2, python2.7.12:

$ echo "Hi!"| ./worker.py

Traceback (most recent call last):
  File "./worker.py", line 6, in <module>
    print("Processing " + sys.stdin.lines())
AttributeError: '_io.TextIOWrapper' object has no attribute 'lines'
2019-01-28 11:44:01 -08:00
chenrui 431c1f3922 Add editorconfig (#11551) 2019-01-28 11:32:42 -08:00
chenrui d83bcfe033 zh-trans: Add jsonpath approach for apiserver query (#12351) 2019-01-27 22:32:01 -08:00
chenrui ca4f474235 Add jsonpath approach for apiserver query (#12350)
* Add `jsonpath` approach for apiserver query

* Refine the wording with the approach description

* Refine the command log

* Move the itemized number back
2019-01-27 22:18:54 -08:00
ethan e30a39af27 correct zh translation in index page (#12384) 2019-01-27 18:13:43 -08:00
Kendrick Coleman 26e9b314f2 Update 'Picking the Right Solution' with information from VMware/Pivotal (#11844)
Added VMware Cloud PKS and Cloud Foundry Container Runtime to places within the document that are correctly represented for Cloud and on-primises offerings and tooling. I also properly alphabetized the list.

Signed-off-by: Kendrick Coleman <kendrickc@vmware.com>
2019-01-27 17:23:01 -08:00
chenrui e70e137ab0 zh-trans: address PR #11831 suggestion (#12391) 2019-01-26 18:04:21 -08:00
Seokho 6519ff99aa Fix broken links in files in reference/setup-tools/kubefed/ (#12208) 2019-01-25 12:41:31 -08:00
Jintao Zhang 9d483862bd Update glog to klog (#11820)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-01-25 12:39:43 -08:00
Zach Corleissen 0b87f30699 Setup to set up (#12367)
Adding a trivial change

Undoing trivial change to trigger deploy
2019-01-24 13:49:01 -08:00
David Dooling 7b15bdd2a2 Add nodeName to pod node selection (#12194)
The "Assigning Pods to Nodes" page did not mention nodeName, which, if
specified, takes priority over the methods discussed in the page.  Add
description of nodeName and an example using it.

Address reviewer comments from @bsalamat and @liggitt, thanks!
2019-01-24 05:22:28 -08:00
makocchi a254339aa2 remove command prompts and separate commands from output (#12337) 2019-01-23 22:32:09 -08:00
Andrew Chen b3ed053c82 Refactor home page (#10795)
* Fix docs home subnav link name

* change linkTitle to Home

* accept fix from master

* refactor docs home template

* bump

* test

* switch layout to basic

* swap in cards

* test card css

* add launch-cards and launch-card classes

* swap in content

* use different layout name to not affect user journeys

* revert file naming

* revert docsportal.html

* remove main, add kubeadm link

* documentation -> docs

* change kubeadm link
2019-01-23 18:36:23 -08:00
Banjot S Chanana e5a31f8c67 Updated pick-right-solution.md with Docker Enterprise (#12220)
* Updated pick-right-solution.md with Docker Enterprise

Added Docker commercial and community products to the list of solutions for running Kubernetes including Docker Desktop and Docker Enterprise.

* Fix Docker Desktop entry in pick-right-solution.md 

The words "Docker Desktop" was duplicated in the description under locally-hosted solutions.

* Updated pick-right-solution.md with Docker solutions

Added line wraps at 80 characters and changed containerizing to "deploying in containers" to make it more new-user friendly.

* Updated pick-right-solution.md

modified wrapping of first line to not break hyphenated word.
2019-01-23 16:16:22 -08:00
lj8930 e37e01fbc7 update alibaba-cloud.md (#11940)
update original Chinese page link to English version.
2019-01-23 10:03:14 -08:00
Chiradeep Vittal 35723889a8 Link to Citrix NetScaler ingress controller. (#12221)
* Link to Citrix NetScaler ingress controller.

* Add missing punctuation
2019-01-23 09:41:38 -08:00
Christian Posta 1eae4bfb3e Added Gloo as an example of an ingress controller (#12218)
* Added Gloo as an example of an ingress controller

* put in alphabetical order
2019-01-23 09:39:59 -08:00
Rafik Harabi 04a53ed05e Fix Kubernetes first stable release date (#12173) 2019-01-23 09:38:20 -08:00
suratwant 4d802774a1 Update network-policies.md (#12181) 2019-01-23 09:35:07 -08:00
Simon Vallebro b797204423 Fixed broken link to github issues. (#12292)
Found a broken link and fixed it.
2019-01-23 09:27:23 -08:00
Viktors Garkavijs 2dfa520355 Update minikube.md - add hyperv to list of drivers (#12226)
* Update minikube.md - add hyperv to list of drivers

* Arranged driver list to match driver documentation
2019-01-23 09:25:49 -08:00
phillipsio c8a60fd9b6 Update pick-right-solution.md (#12253)
Add Mirantis Cloud Platform to On-Premises turnkey cloud solutions and Table of Solutions
2019-01-23 09:15:06 -08:00
Rachael Graham db1007a73c Update configure-cloud-provider-firewall.md (#12304) 2019-01-23 08:55:05 -08:00
Bill Mulligan bb28f4f07b fix broken link (#12346)
#fix-it doesn't lead anywhere so I changed it to link to improving content
2019-01-23 08:53:25 -08:00
makocchi 5cf48aaaf2 remove command prompts and separate commands from output (#12338) 2019-01-23 01:06:28 -08:00
Tim Zhang 01380093f6 add zhangxiaoyu-zidif into approver list (#12099) 2019-01-22 20:04:13 -08:00
Anvith KS 7730c1540b Official documentation on Poseidon/Firmament, a new multi-scheduler support for K8S (#12069)
* Official documentation on Poseidon/Firmament, a new multi-scheduler support for K8S. (#11752)

* Added documentation about Poseidon-Firmament scheduler

* Fixed some style issues.

* Udpated the document as per the review comments.

* Fixed some typos and updated the document

* Updated the document as per the review comments.

* Updated the document as per review comments. Added config details.

* Updated the document as per the latest review comments. Fixed nits

* Made changes as per latest suggestions.

* Some more changes added.

* Updated as per suggestions.

* Changed the release process section.

* SIG Docs edits

Small edits to match style guidelines.

* add plus to feature state

* capitalization

* revert feature state shortcode

since this is a Kubernetes extension, not a direct feature, it shouldn't use the regular feature state tagging.
2019-01-22 14:43:08 -08:00
ethan 9350cd8f84 _index modify for translation correction (#12309)
"Planet Scale" means a global scale which  "全球规模" will be better for this description in chinese. "Designed on the same principles that allows Google to run billions of containers a week" to "基于允许 Google 每周运行数十亿个容器的原则进行设计",  it's more natural in chinese.
2019-01-21 19:30:01 -08:00
Maaryaams 9ee0c8bf4b Update pick-right-solution.md (#12249) 2019-01-21 13:33:05 -08:00
Naoki Oketani a0ba90d196 added missing EOF (#12265) 2019-01-21 13:14:25 -08:00
Aleksandr Vinokurov 076efdf364 Fix service's port in Hello Minikube tutorial (#12229)
Port `8080` is the internal port of container and to follow the tutorial, user must use exposed one.
2019-01-20 19:14:47 -08:00
Jordan Liggitt 777e085a97 Update swagger/openapi descriptions (#12279) 2019-01-19 02:49:49 -08:00
Marco Palladino 3a4379d995 docs(ingress) updating Kong Ingress links (#12236) 2019-01-18 21:07:13 -08:00
Joe Searcy 57436d374a Added taint and toleration glossary entries (#12162)
* Added taint and toleration glossary entries

* Fixed syntax for tooltip references

* Fixed the last syntax error for tooltip references
2019-01-18 13:25:35 -08:00
Kaitlyn Barnard 32aa50359a Adding volume snapshot post (#12271) 2019-01-18 08:50:06 -08:00
Misty Linville 6ca1563931 Add helpful queries for PR wranglers (#12231)
* Add helpful queries for PR wranglers

* Fix typo

Co-Authored-By: mistyhacks <mistyhacks@google.com>
2019-01-17 09:48:36 -08:00
Takeaki Matsumoto 96f2bfa9b0 Update the hyperlinks of Admission Controllers (#12241) 2019-01-17 07:46:29 -08:00
shibataka000 65ca8e69f2 Replace NO-BREAK SPACE to SPACE. (#10878) 2019-01-17 03:20:28 -08:00
Nick Veitch 87f0a72dda Add correct styling for MicroK8s in docs (#12248) 2019-01-16 17:27:45 -08:00
Luc Perkins 49dfdd8c0a Convert all Sass to line spacing (#11463) 2019-01-16 10:13:05 -08:00
Kaitlyn Barnard 52daf4d171 Adding CSI blog post (#12232) 2019-01-16 08:59:08 -08:00
Claudia J.Kang 848a46a3b7 Fourth Korean l10n work for release-1.13 (#12242)
* ko-trans: Fix broken page index for concepts/overview (#11533)

* ko-trans: Update outdated files in dev-1.13-ko.4 (#11544)

* 1. Translate naturally (#11759)

2. Fix markdown error

* ko-trans: Translate building-from-source.md (#11893)

* ko-trans: Translate building-from-source.md

* Address comments

* Update etcd.md (#11976)

* ko-trans: Translate ko/_index.html into Korean (#11937)

* ko-trans: Translate ko/_index.html into Korean.

* Reflect a translation comment. Translate ko/_index.html into Korean

* ko-trans: Translate online-training/overview.md (#11932)

* ko-trans: Translate node-conformance.md (#11907)

* ko-trans: Translate node-conformance.md

* Replace 명세 with 매니페스트.

* Address comments

* ko-trans: Translate tutorials/configuration (#11933)

* ko-trans: Translate `tutorials/configuration` directory

* Address comments

* ko-trans: content/ko/docs/reference/glossary/controller.md (#11994)

* ko-trans: Controller

ko-trans: Controller

* the feedback applied.

the feedback applied.

* minor edit

minor edit

* minor edit #2

minor edit #2

* ko-trans: reference/glossary/kube-apiserver.md (#12024)

ko-trans: reference/glossary/kube-apiserver.md

* Translate tutorials/stateless-application/ in Korean (#12008)

* Translate tutorials/stateless-application/ in Korean

* Apply comments

* Fix deployment related typos

* Translate content/ko/docs/concepts/architecture/nodes in Korean #11748 (#11850)

* Translate content/ko/docs/concepts/architecture/nodes in Korean #11748

* Translate content/ko/docs/concepts/architecture/nodes in Korean #11748

* Translate content/ko/docs/concepts/architecture/nodes in Korean #11748

* Translate concepts/workloads/pods/pod-lifecycle in Korean (#12054)

* Translate concepts/workloads/pods/pod-lifecycle in Korean

* apply review ko-translate concepts/.../pod-lifecycle

* ko-trans: kube-controller-manager.md (#12077)

ko-trans: docs/reference/glossary/kube-controller-manager.md

* fix Italic syntax markdown error (#12128)

* Translate tasks/_index.md in Korean (#12126)

* Translate tasks/_index.md in Korean

* Apply review for Translate tasks/_index.md in Korean

Apply comments for Translate tasks/_index.md in Korean

* Translate setup/_index.md in Korean (#12067)

* Translate setup/_index.md in Korean

* Update setup/_index.md for Korean term consistency

* ko-trans: docs/setup/custom-cloud/kops.md (#11904)

* ko-trans: concepts/overview/working-with-objects/names (#11758)

* ko-trans: /docs/concepts/overview/working-with-objects/namespaces.md (#11773)

* Translate setup/cri.md in Korean (#12174)

* Translate setup/cri.md in Korean

* Apply review, Translate setup/cri.md in Korean

* Translate tasks/tools/install-minikube in Korean (#12176)

* Translate tasks/tools/install-minikube in Korean

* Apply review,Trans tasks/tools/install-minikube in KO
2019-01-16 03:31:18 -08:00
houjun 0f6457d5df Fix the version state of BlockVolume (#12237) 2019-01-16 01:16:04 -08:00
Namhoon Lee 2ebcf10831 Update dns-pod-service.md (#10788)
Fix pod's DNS address
2019-01-15 17:45:07 -08:00
Yaoyang d3497844cb line 77, ',' -> ',' (#12103)
',' is a fullwidth character which is not usually used in English language but in Chinese/Japanese etc.
2019-01-15 17:37:27 -08:00
Roy Lenferink 0ca5d446d9 Edit button on translated pages working as well now (#12230) 2019-01-15 12:48:55 -08:00
Luc Perkins aac7862a06 Upgrade Hugo to 0.52 (#11552)
* Update Hugo version and apply HTML minification to production builds

* Use full flag names for clarity

* Remove Hugo installation logic out of Travis config and into Makefile

* Add Hugo version checking script

* Fix Netlify config version
2019-01-15 10:56:39 -08:00
Babak "Bobby" Salamat 9c1248e467 add Priority to the list of recommended admission controllers (#12180) 2019-01-14 23:23:52 -08:00
Robin Dupret 9b55294ae4 Fix a broken anchor (#12215)
The title of this section has been changed so since the anchor is
automatically computed, links were broken.

Stems from da9722af.
2019-01-14 17:28:04 -08:00
Alan c464fd602f fix docs style (#12211)
fix docs style
2019-01-14 17:26:12 -08:00
Antoine Pelisse 778497b102 Create apiserver-dry-run-and-kubectl-diff (#12135)
* Create apiserver-dry-run-and-kubectl-diff

* Update apiserver-dry-run-and-kubectl-diff

* Update apiserver-dry-run-and-kubectl-diff

* Rename apiserver-dry-run-and-kubectl-diff to apiserver-dry-run-and-kubectl-diff.md

* Update apiserver-dry-run-and-kubectl-diff.md
2019-01-14 10:10:01 -08:00
Anh Le (Andy) ab2918bf31 Access Cluster: failed to grep on MacOS (#12200)
The related issue is here: https://github.com/kubernetes/website/issues/12199
2019-01-13 18:39:47 -08:00
Mathias Petermann b31c0039f9 Update bootstrap-token feature state on authentication page (#12197)
According to `content/en/docs/reference/access-authn-authz/bootstrap-tokens.md` bootstrap tokens are in state  `beta` but here it's still listed as `alpha`
2019-01-13 18:29:44 -08:00
Roy Lenferink aa0da8f34a Improved openshift, docker, ansible references (#12201)
* Fixed Openshift -> OpenShift

* Fixed ansible -> Ansible

* Fixed docker -> Docker
2019-01-13 18:26:49 -08:00
Roy Lenferink 1bc0d7c385 Improvements for markdown formatting (#12193)
* Fixed markdown formatting

* Resolved usage of 'shell' instead of 'yaml'

* Removed unknown 'log' keyword
2019-01-13 18:14:44 -08:00
tuanvcw 10a75e3d72 Fix issue with k8s.io/docs/reference/kubectl/cheatsheet/ (#12143) 2019-01-13 18:13:14 -08:00
Roy Lenferink 352b1ddd49 Fixed broken redirect (#12198) 2019-01-13 04:50:31 -08:00
Seokho 968f874f6a Fix broken links in reference/setup-tools/kubefed/kubefed.md (#12178) 2019-01-13 02:33:29 -08:00
zero bd3bc61115 Update assign-pod-node.md (#12159)
* Update assign-pod-node.md

Use `kubectl get nodes --show-labels` to show the labels will not show the compelte labels like this:
```
root@master:/home# kubectl get nodes --show-labels
NAME            STATUS   ROLES    AGE   VERSION   LABELS
master          Ready    master   41h   v1.13.1   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=master,node-role.kubernetes.io/master=
server01       Ready    <none>   41h   v1.13.1   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,func=database,kubernetes.io/hostname=moon-server01
```
and the command `kubectl describe node "nodename" ` will show all labels the node have.

* Update assign-pod-node.md

* Update assign-pod-node.md

add a space before the new sentence
2019-01-13 00:52:46 -08:00
yanghaichao12 6b90b6c6fc Fix some typos (#12183) 2019-01-13 00:51:11 -08:00
Vaibhav Paralikar 3dd9a44cd3 Patch 1 (#12189)
* Fixing broken link

Fixing broken link of 'The HA upgrade documentation'.

*  Fixing broken link 

Fixing broken link
2019-01-13 00:48:11 -08:00
Roy Lenferink ab1a8e8767 Fixed broken link (#12191) 2019-01-13 00:46:41 -08:00
Roy Lenferink 5c56b43456 Fixed formatting for markdown file (#12192)
* Fixed formatting for markdown file

File updated: define-environment-variable-container.md
Language: zh

* Fixes to markdown formatting
2019-01-13 00:40:55 -08:00
caiyixiang 3466056184 zh-update: kubeadm-overview (#12169) 2019-01-11 01:13:35 -08:00
Nikhita Raghunath 1b90aecda2 Update status of CRD-related feature gates (#12155) 2019-01-11 01:12:05 -08:00
tuanvcw fc2968d876 Fix issue with k8s.io/docs/concepts/workloads/controllers/replicaset/ (#12147) 2019-01-09 19:01:01 -08:00
sashaPM 42c57bded9 Update daemonset.md (#12154)
Added link to AppDynamics agent implementation as a Daemon set to the list of existing APM providers
2019-01-09 18:56:40 -08:00
Sasoki 23fb1b3ff2 Correction on command (#12107) 2019-01-09 18:35:09 -08:00
Dan Kelly 417981f38b Add Containership to pick-right-solution.md (#11836)
* Add Containership to pick-right-solution.md

I would like to add Containership to Hosted and Turnkey solutions

* Update pick-right-solution.md
2019-01-09 18:33:39 -08:00
Lubomir I. Ivanov 4ff6bbbfff kubeadm-upgrade-1.13: add workaround for join control-plane (#12145) 2019-01-09 17:48:39 -08:00
Alan ff564dc7a3 fix a typo (#11957)
* fix a typo

fix a typo

* better describe

better describe

* better describe

better describe

* fix format error

fix format error
2019-01-09 07:34:03 -08:00
Jim Angel 396a1a6b8b adding feature state snip (#12134)
* adding feature state snip

Adding in the feature state to indicate when this feature was introduced.

* adding in "stable"

Didn't know it defaulted to alpha.
2019-01-08 19:30:13 -08:00
June Yi c4bd999b2f Add ianychoi to sig-docs-ko-owners (#11746)
* Add ianychoi to sig-docs-ko-owners

* noop
2019-01-08 19:28:38 -08:00
tuanvcw a0975dae25 Update for fixing broken download URL in k8s.io/docs/tasks/tools/install-minikube (#12137) 2019-01-08 19:08:14 -08:00
tuanvcw ee2f708b0b Fix broken download url in k8s.io/docs/tasks/tools/install-minikube (#12124) 2019-01-08 18:00:53 -08:00
Qiming a4ddd33889 Move sample YAML files to the correct place (#12123)
This PR is also an attempt to fix #12117.

Closes: #12117
2019-01-09 09:16:10 +08:00
Prashanth Rajaram 771b789399 chore(doc): Add DigitalOcean to list (#11979)
Add DigitalOcean Kubernetes service to the list of hosted solutions - https://www.digitalocean.com/products/kubernetes/
2019-01-08 05:11:45 -08:00
j-u-e-f 6bf50a4e9a fix a typo (#11923) 2019-01-08 05:08:23 -08:00
Sebass van Boxel 0a0655c646 Removed colon and made description consistent (#11984) 2019-01-08 05:06:39 -08:00
shavidissa 9e9eb8108f Updated a link (#12027)
* Updated a link

The section was directing to Kubernetes Objects for more information about the Kubernetes APIs. I updated the link so it directs to the Kubernetes API page.

* Added a missing / to the link.

* Updated as per the comment.
2019-01-08 04:28:29 -08:00
Steven E. Harris ef3c9ec370 Correct ResourceQuota PriorityClass config example (#12055)
The LimitedResource type has the field "MatchScopes" as a sibling to
the field "Resource," but the YAML document in the example showed the
"MatchScopes" field as a child of the top-level Configuration
type. Correct the example to match the actual schema.

While we're here, swap the order of the "scopeName" and "operator"
fields used in the YAML, to make it clearer in infix style that the
operator binds the scope name to a (possibly empty) set of values.
2019-01-08 04:21:44 -08:00
Maciej Szulik 610418b261 Fix CronJob's timezone information (#12073) 2019-01-08 04:18:21 -08:00
Fladrif 5e96f9ad77 Fix mismatched hostnames in documentation (#12026)
Match hostnames in description to example. `service2` in the description matches `second.foo.com` in the example.
2019-01-08 04:10:02 -08:00
Jason Hu 4f189afac1 Update dns-debugging-resolution.md (#12012)
There is a document error in the subsection named "Check for Errors in the DNS pod" , where the pod selector should coredns but not kube-dns.
2019-01-08 04:08:18 -08:00
tallaxes a14ce37044 Update kubeadm-certs.md - remove prow link (#12119)
Left in by accident?
2019-01-08 03:55:02 -08:00
Rajakavitha1 043b0ccaf3 Update storage-classes.md (#11855)
* Update storage-classes.md

Fixed the formatting issues that were incorrectly showing the variables as hyperlink texts that resulted in 404 errors

* Update storage-classes.md

Incorporated the changes

* Update storage-classes.md

removed the </strong tag that was not required.

* Update storage-classes.md

replaced <em> with `.
2019-01-08 03:53:18 -08:00
Karen Bradshaw e0e71eded2 format cmd in prereq section (#12057) 2019-01-07 23:31:15 -08:00
yanghaichao12 fb914af4b2 Fix a typos in persistent-volumes.md (#12084) 2019-01-07 23:11:23 -08:00
Qiming 7d8fdc5f9f Revert "zh-trans: add 2018-10-26-tips-for-first-kubecon-presentation-part-2.md (#12111)" (#12122)
This reverts commit 19160d7305.
2019-01-08 13:12:56 +08:00
wwkcherry 19160d7305 zh-trans: add 2018-10-26-tips-for-first-kubecon-presentation-part-2.md (#12111) 2019-01-07 20:05:00 -08:00
Suraj Deshmukh 9b66c1acc1 Use staticPodPath in KubeletConfiguration (#11916)
Alongwith the kubelet flag you can also use the `KubeletConfiguration`'s
`staticPodPath` to specify the path to pick up the static pod configs.

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2019-01-07 09:29:47 -08:00
bitbucket90 c13587f997 Updating pick-right-solution.md with Nirmata (#12080)
Added Nirmata to both Hosted and On-Prem to display both our offerings
2019-01-07 09:22:26 -08:00
Karen Bradshaw fd82826476 Add template for tool reference docs (#11618)
* [WIP] Add template for tool reference docs

- provide a template for generating tool reference docs.
- use in reference-docs/gen-compdocs/generators to create
  consist looking markdown files for the tools.

* Fix lines

* remove test page
2019-01-07 07:40:53 -08:00
shavidissa 6c96f7c100 Removed a redundant sentence. (#12096)
* Removed redundant sentence.

The intro line was repeated twice. Therefore, removed the one under the Synopsis section. 
Updated the command from " " to ` ` based on the style guide.

* Updated master to control plane.
2019-01-07 07:34:48 -08:00
wangyamei 7416c427b8 fix spelling mistake (#12113) 2019-01-07 07:31:44 -08:00
Karen Bradshaw 5422655bed fix link color in ui-widget-content (#11845) 2019-01-07 01:57:45 -08:00
xiaotuanyu120 ea9e5ef7eb Add base64 encoded data configuration (#11793)
for the issue [11774](https://github.com/kubernetes/website/issues/11774)
2019-01-07 01:56:11 -08:00
AdamDang 2953a2366d Typo fix: 'kubadm init'->'kubeadm init' (#12049)
Typo fix: 'kubadm init'->'kubeadm init'
2019-01-07 01:46:53 -08:00
MengZeLee 2317f4c82b patch-reset (#11978)
* patch-reset

We should reset IPVS tables do so manually when reset kubernetes cluster by kubeadm.

* Modify reset ipvs description

* Update create-cluster-kubeadm.md
2019-01-07 01:09:14 -08:00
Suraj Deshmukh b03912667f Remove --experimental-server-print flag docs (#11917)
This flag does not exists anymore so remove this from the docs.

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2019-01-06 23:12:32 -08:00
June Yi 7c00d0dfef update PULL_REQUEST_TEMPLATE to include ko-i18n info (#11720)
* update PULL_REQUEST_TEMPLATE to include ko-i18n info

* Remove non-English text from the template
2019-01-04 07:40:57 -08:00
Jennifer Rondeau ca5740fd25 add Jim Angel to approvers list (#12025) 2019-01-03 10:46:35 -08:00
Becca Powell 3478ef2a01 add cni-ipvlan-vpc-k8s (#11929)
* add cni-ipvlan-vpc-k8s

* Update networking.md
2019-01-03 10:08:42 -08:00
Baptiste Gauduchon 8f00655971 Update proposal for configure-liveness-readiness-probes.md (#11613)
* Update proposal for configure-liveness-readiness-probes.md

Proposal regarding [issue 11587](https://github.com/kubernetes/website/issues/11587)

* ✏️ corrected typo

* ✏️ corrected sentence

* Update configure-liveness-readiness-probes.md
2019-01-03 07:10:35 -08:00
Lubomir I. Ivanov ffa36a9251 kubeadm: fix some issues in the upgrade-1.13 doc (#11629)
- use "control plane" instead of "master".
- upgrade a kubelet on the CP node only after the CP was upgraded.
- also instruct the user to update to the latest patch version of 1.13.
2019-01-02 16:59:47 -08:00
Becca Powell 1e736d9555 Clarify preStop hooks in Termination of Pods (#11821)
* Update pod.md

* capitalize Pod
2019-01-02 15:52:48 -08:00
DrmagicE 1576c12e70 Fix #11982 (#11983)
* Update deployment.md

* Update nginx-deployment.yaml
2019-01-02 13:21:36 -08:00
Raul Gonzales 578b006360 docs: uses mostly kubectl to demonstrate (#11699)
Simplify to run `kubectl` to obtain the desired values from resources

Changes: access-cluster-api.md
2019-01-02 11:19:21 -08:00
Luc Perkins bcaef52219 Update Minikube installation docs (#11417)
* Add Minikube latest version shortcode and update installation doc

* Rework Minikube install instructions and remove unnecessary shortcode

* Re-add the --ignoreCache flag to make serve
2019-01-02 05:50:11 -08:00
Yang Li a467484456 zh-trans: Added the blog post about NCW Shanghai (#11896) 2019-01-02 01:14:56 -08:00
Suraj Deshmukh 4eb78ea11a Update nodes to show the system reserved resources (#11908)
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2018-12-28 07:57:05 -08:00
Ryan McGinnis 129328d05d Merge pull request #11928 from bradjones1/patch-1
Remove devstub/kubernetes-api-php-client
2018-12-27 16:23:14 -08:00
Brad Jones 69521bd355 Remove devstub/kubernetes-api-php-client
This project looks to be abandoned. See https://github.com/devstub/kubernetes-api-php-client/issues/1
2018-12-27 14:28:15 -07:00
Dan Kohn fb7f32dd8d Fix Interactive Landscape references (#11905) 2018-12-26 16:12:27 -08:00
David Lovitch c8838cda7d Fix typo privelages->privileges (#11887) 2018-12-25 21:38:47 -08:00
Rajakavitha1 6b083d5339 Update cri.md (#11853)
I removed the instruction regarding the installation of docker (1.13.1) as listed in #11779 and updated the instructions for Docker CE (1.18.1) because the official Docker documents only have instructions for Docker CE and Docker EE as listed in https://github.com/docker/docker.github.io/blob/master/install/linux/docker-ce/ubuntu.md. It may not be a good idea to have instructions for Docker 1.13 in our documents considering that the Official Docker Install guide recommends uninstalling older versions.
2018-12-25 01:32:20 -08:00
lIuDuI 2448c0152c ZH-trans: Update content/en/docs/tasks/inject-data-application/... (#11860)
* ZH-trans: Update content/en/docs/tasks/inject-data-application/...

ZH-trans: Update content/en/docs/tasks/inject-data-application/...

* Update define-command-argument-container.md

* Update distribute-credentials-secure.md
2018-12-24 05:11:47 -08:00
makocchi a33ae0f00c remove command prompts and separate commands from output (#11847) 2018-12-22 17:20:33 -08:00
makocchi 950bcbef2b remove command prompts and separate commands from output (#11848) 2018-12-22 17:18:36 -08:00
makocchi a52dfece47 use warning shortcodes (#11849) 2018-12-22 17:07:48 -08:00
makocchi 7fa4ff6310 Remove command prompts and separate commands from output [Authenticating] (#11851)
* remove command prompts and separate commands from output

* tweak comment
2018-12-22 17:05:56 -08:00
Linus Lee 8af53351d1 Update mysql-wordpress-persistent-volume.md (#11852) 2018-12-22 16:36:59 -08:00
nuistzyw 0af727ef4f link (#11808)
Signed-off-by: Zhao Yuwei <zhaoyw-fnst@cn.fujitsu.com>
2018-12-21 17:44:38 -08:00
Paulo caabac594c Update web-ui-dashboard.md (#11833)
wrong

```sh
$ kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
error: unable to read URL "https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml", server reported 404 Not Found, status code=404
```

right

```sh
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml
```

github page

```sh
https://github.com/kubernetes/dashboard/blob/master/aio/deploy/recommended/kubernetes-dashboard.yaml
```
2018-12-20 21:50:42 -08:00
Philip Brown 6285545a24 Add note about need for lxd init (#11822)
* Add note about need for lxd init

As a first time user, I got a little lost, doing google searches for how to get lxd basically functional on my box. 
There were a lot of hand edits and tweaks suggested on various pages, until I discovered that all I had to do is run "lxd init" and follow the prompts.

* Update local.md
2018-12-21 13:46:01 +08:00
Jordan Liggitt 0e7b66a8f8 Fix --runtime-config syntax (#11835) 2018-12-20 17:30:23 -08:00
Jim Angel 885aaa4af3 removing non-supported versions (#11834) 2018-12-20 17:28:26 -08:00
Jintao Zhang 0838faec0a Fix cosConfigureHelper script address. (#11819)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2018-12-20 02:08:29 -08:00
Qiming cfb3ceb091 Fix links to javascripts referenced in 1.11 apiref doc (#11828)
Closes: #11826
2018-12-20 16:05:20 +08:00
Qiming f437990f61 Fix links to javascripts referenced in 1.13 apiref doc (#11827)
Related: #11826
2018-12-20 15:38:01 +08:00
Tim Hockin 701ebb2474 Update docs on labels and annotations (#11719)
Be clearer about character set and a couple minor tweaks on words.
2018-12-19 22:39:39 -08:00
Karen Bradshaw 8378cab0eb Clean up extra Note text (#11805) 2018-12-19 18:17:40 -08:00
Rajakavitha1 18e2376fcc Update cloud-providers.md (#11815)
Update the definition of monitor-delay and monitor-timeout as a fix for:  https://github.com/kubernetes/website/issues/11217
2018-12-19 18:03:25 -08:00
kohei acbac5661a fix link to flexvolume (#11800) 2018-12-18 17:26:44 -08:00
Ian Y. Choi 88822f3e99 ko-trans: localizing README.md with local contact point (#11786)
- Create README-ko.md by translating README.md
- Add a link to README-ko.md in README.md
- Specify a local maintainer contact point on both files
2018-12-18 14:25:23 -08:00
Michael Vorburger ⛑️ e10ae8de4d add OCP also to On-Premises VMs and Bare Metal on pick-right-solution.md (#11772) 2018-12-18 05:04:55 -08:00
James Peach 1d1ccd974d Minor grammar fix to agent OOM handling description. (#11797) 2018-12-17 21:55:37 -08:00
Iko 53f797b5d1 Fix "typo" and clearing CSS (#10246)
* Dev: clearing and fixing typo

* Def: fixing "Typo"

* Update style_user_journeys.css

Change ".docscoltitle" padding-top:0%; to padding-top:0;

* (Fix Minor) Fix writing space in @media.

* Update style_case_studies.css

Clearing white space

* (Fix Minor)Improving spaces inside *.CSS. (prettier)
2018-12-17 16:59:46 -08:00
Ian Chakeres c79b4728ae Include Kubernetes abbreviation k8s (#11794)
I was at Kubecon last week, and a few times I encountered people who did not know that k8s == Kubernetes. Therefore, we should mention this abbreviation on the front page.
2018-12-17 16:57:53 -08:00
Niko Pen 8f6f6731c5 ExternalName cleanup (#11326)
* Remove old kube-dns note

* ExternalName IP clarification

* Add minor edits for clarity

* corrections

Co-Authored-By: nikopen <42466421+nikopen@users.noreply.github.com>
2018-12-17 11:03:04 -08:00
WanLinghao 3ccbb12585 cAdvisor web UI port has been deprecated since v1.10. This patch updates the description about it. (#11426)
* cAdvisor web UI port has been deprecated since v1.10. This patch update the description about it.

* Update resource-usage-monitoring.md

* Update resource-usage-monitoring.md
2018-12-16 21:28:43 -08:00
Allan Sun ff3d1b2024 Added new PHP client libr (#11465) 2018-12-16 21:16:30 -08:00
mdshoaib707 7c68269c80 Updated the word from "you" to "your" (#11469)
Updated the line from "Add you scheduler name" to "Add your scheduler name"
2018-12-16 21:11:01 -08:00
Karen Bradshaw 854ee5779c clean-up yaml variables surrounded by <> (#11490) 2018-12-16 21:09:09 -08:00
WanLinghao 7269c416ca Add description about local http proxy setting's effect on liveness probe (#11567)
* Add description about local http proxy setting's effect on liveness probe

* Update configure-liveness-readiness-probes.md
2018-12-16 21:07:12 -08:00
Chao Wang fe3032c56e Improve explanation of feature-gates/component relationship and usage (#11562) 2018-12-16 20:54:54 -08:00
Srinivas R Kulkarni 7ecf764f34 Use latest image for ubuntu (#11592)
14.04 does not work anymore. Gives socket error when connecting with rabbitmq
2018-12-16 20:49:43 -08:00
WanLinghao a213182b10 Add description about BoundServiceAccountTokenVolume feature in serviceaccount admission controller (#11643)
* Add description about BoundServiceAccountTokenVolume feature in serviceaccount admission controller

* Update service-accounts-admin.md

* Update service-accounts-admin.md
2018-12-16 20:42:45 -08:00
shavidissa 5f7300c5fe Removed the TOC added into the MD (#11669)
Removed the TOC that was added manually as the TOC is generated by default now (else, there are two levels of the TOC on the page).
2018-12-16 19:43:34 -08:00
Eric Briand c1e07bcb96 Fix formatting of schedule part (#11665)
* Fix formatting of schedule part

* Update automated-tasks-with-cron-jobs.md
2018-12-16 19:41:46 -08:00
Lentil Sun 8b264e3fcc Fix: API version of 1.11.x to v1alpha2 and 1.12.x to v1alpha3 (#11662) 2018-12-16 19:39:58 -08:00
¯\_(ツ)_/¯ 9962142993 Add Rust client (#11657) 2018-12-16 19:38:15 -08:00
Dustin Decker 125927e87c remove reference to non-existent documentation (#11655) 2018-12-16 19:36:22 -08:00
Jim Angel e4994dc47c Ui dashboard docs refresh (#11653)
* updating docs for Dashboard

* removing old images
2018-12-16 19:34:39 -08:00
Hiroki tktk ea03ca2a0b update --kubeconfig description (#11704) 2018-12-16 19:03:49 -08:00
Naoki Oketani 074a3cdad2 GCE: cluster/kube-up.sh creates 3 nodes by default (#11694) 2018-12-16 19:02:06 -08:00
Zach Corleissen 475ffbdd6c Clarify language for concept templates (#11737)
Clearer intro line

More edits
2018-12-16 19:00:13 -08:00
Joseph Irving 7f9e1d59fc clarify Job behaviour once active deadline seconds is exceeded (#11745) 2018-12-16 18:33:00 -08:00
Karen Bradshaw 6202a635bd fix kubeadm-init, extra caution text (#11762) 2018-12-16 18:00:18 -08:00
William Chia 55a483022c move port flag to expose (#11778)
moved `--port=8080` from `kubectl create` to `kubectl expose`
2018-12-16 17:34:16 -08:00
Michael Vorburger ⛑️ b04c6f58dd add minishift to pick-right-solution.md (#11770) 2018-12-16 04:45:04 -08:00
Michael Vorburger ⛑️ a115b10aff add OpenShift Container Platform (OCP) to pick-right-solution.md (#11771) 2018-12-16 03:28:34 -08:00
zhangx501 db9ea3c03f zh-trans website/content/zh/docs/tasks/access-application-cluster/configure-cloud-provider-firewall.md (#11741)
增加了英文注释,同时针对更新的英文文档做了中文补充,修改了部分译文是阅读更加流畅
2018-12-15 01:17:15 -08:00
MengZeLee a2919a91a8 update kubeadm reset (#11734)
* update kubeadm reset

The reset process does not  clean up iptables rules , we should do so manually.

* add empty line and end with :
2018-12-15 00:06:27 -08:00
Gabriel Kohen fb4f9fe5cf Remove odd closing link bracket (#10775) (#10778)
* Remove odd closing link bracket

In cases were you don't have hash in the links, it's breaking the link

See Also: #10775

* Move brckets from the wrong location

See Also: #10775
2018-12-14 11:26:55 -08:00
Alex Contini 11a52d31c3 updates to kubecon banners (#11760)
* updates

* updates

* Update list.html
2018-12-14 09:36:49 -08:00
Pingan e8b9a4eace fix link in reconfigure-kubelet (#11736) 2018-12-13 03:09:04 -08:00
Zefool 5fdf928a6e Add flexVolume to list and add anchor. (#11614)
* Add flexVolume to list and add anchor.

* Update, typo fix
2018-12-13 02:15:22 -08:00
lIuDuI 0c6d4f8a66 Update install-kubeadm.md (#11731) 2018-12-12 22:07:39 -08:00
Irfan Ur Rehman 445deb5cd9 Blog post for federation v2 (#11620) 2018-12-12 14:27:58 -08:00
Lubomir I. Ivanov 5b480a8ccb kubeadm-ha: fix variables under "initial-cluster" (#11700) 2018-12-11 21:35:28 -08:00
AdamDang f1c752ae51 Typo fix: federation control plan->federation control plane (#11679)
* Typo fix: federation control plan->federation control plane

Typo fix: federation control plan->federation control plane

* Update secret.md
2018-12-11 17:35:19 -08:00
lIuDuI 7021514755 Fix Wrong document (#11697) 2018-12-11 17:31:57 -08:00
JoeWrightss 95acd44db7 Fix some typos: ips -> IPs (#11456) 2018-12-11 16:26:37 -08:00
VM Brasseur e151dab4b0 OpenContrail -> Tungsten Fabric (#11436)
* OpenContrail -> Tungsten Fabric

OpenContrail has joined the Linux Foundation Networking Fund and rebranded as Tungsten Fabric to better reflect its open community engagement separate from its Juniper Network roots.

This edit updates the doc to reflect the name change and that Tungsten Fabric is a separate entity from Juniper's Contrail product.

* Include TF in the header 

To further reinforce that Contrail and TF are different things.
2018-12-11 16:15:58 -08:00
Naoki Oketani 2e1219d1fa modified confusion of cert and key. (#11630) 2018-12-11 16:12:54 -08:00
Chao Wang 5e05d127e2 fix the command for checking dns pod (#11603) 2018-12-11 16:11:19 -08:00
lIuDuI 9833da206e Update the version in the example (#11598) 2018-12-11 16:09:45 -08:00
Chao Wang 41d8a76c3c fix audit backends decription (#11535) 2018-12-11 16:00:58 -08:00
JoeWrightss 1ed4d92bce Typo fixed: Kuberentes -> Kubernetes (#11451) 2018-12-11 15:58:03 -08:00
hongkunyoo f7cb097db4 Remove duplicated content. (#11447)
In distribute-credentials-secure.md,
It seems it has duplicated content with line from #82 to #85.
2018-12-11 15:55:07 -08:00
Joseph Heck 938881ea87 suggesting the path that works more reliably first (#10954)
Signed-off-by: Joe Heck <heckj@mac.com>
2018-12-11 14:27:13 -08:00
Gyuho Lee bcbf0c9451 blog: add etcd post for December 11, 2018 (#11524)
* blog: add etcd post for December 11, 2018

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>

* Update 2018-12-11-current-status-and-future-roadmap.md
2018-12-11 09:48:18 -08:00
Gagandeep S. Chhabra a0b1017b82 Typo: repeated words (#11640) 2018-12-11 09:41:28 -08:00
lIuDuI 9381759a14 update multiple-zones.md (#11600) 2018-12-11 06:27:58 -08:00
Harshvardhan Karn 74f4f48545 fix typo in high-availabilty (#11678)
Signed-off-by: harshvkarn <harshvkarn54@gmail.com>
2018-12-10 23:34:30 -08:00
yanghaichao12 b6db60aff1 Fix typos in add-entries-to-pod-etc-hosts-with-host-aliases (#11639) 2018-12-10 23:12:09 -08:00
chenrui a296530247 update PULL_REQUEST_TEMPLATE to include zh-i18n info (#11652)
* update PULL_REQUEST_TEMPLATE to include zh-i18n info

* Add a blank line
2018-12-10 13:30:36 -08:00
Jordan Liggitt 75ed07f716 Add information on supported version skew and upgrade order (#11060)
* Add information on supported version skew and upgrade order

* address comments

* added cloud-controller-manager

* format headers
2018-12-07 16:06:31 -08:00
Babak "Bobby" Salamat 6eeb305bbe Update docs for taints and their version promotions (#11494) 2018-12-07 11:11:10 -08:00
Louis f54578208d Update storage-classes.md (#11604) 2018-12-06 22:58:27 -08:00
David Somers-Harris 56b6053e7a [korean] replacing "run" with "create deployment" (#11437)
"run" is deprecated and "create deployment" is preferred
so the english doc was updated in #11392

this pr reflects that change in the korean translation
2018-12-06 19:38:57 -08:00
Andrew Chen 2fc30aab67 Remove distracting, superfluous links from Learn Kubernetes Basics (#11593) 2018-12-06 18:36:02 -08:00
Yang Li 838ba5c01d Blog NCW Shanghai: image captions and copyediting (#11590)
* Use Hugo figure shortcodes to display image captions

* Along with copyediting fixes
2018-12-06 08:02:26 -08:00
mdshoaib707 b9140c7500 Updated the word from "you" to "your" (#11475)
Edited the grammatical mistake from "you" to "your"
2018-12-05 21:47:30 -08:00
Yuexiao Wang 05e7c7ea72 fixe the example for dns-pod-service (#11516)
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-05 21:37:27 -08:00
Duffie Cooley c4f888efac fixed typo and clarified mitigation steps. (#11556) 2018-12-05 17:55:50 -08:00
Carolyn Van Slyck d0861dc7ab Fix link to k8s CoCC (#11548)
* Fix link to k8s CoCC

* Wordsmithing

* fiddle with mailto link
2018-12-05 15:35:21 -08:00
Lubomir I. Ivanov 1b5415d36a kubeadm-ts-guide: add entry about centos and docker 1.13.87 (#11534)
* kubeadm-ts-guide: add entry about centos and docker 1.13.87

* Copyedit for clarity
2018-12-05 14:36:15 -08:00
Josh Berkus 783226a86f Shanghai ncw post (#11550)
* Blog post about Shanghai NCW.  Submitting for website.

* Update 2018-12-05-new-contributor-shanghai.md

* Update 2018-12-05-new-contributor-shanghai.md

* Added required image credit to NCW Shanghai blog post, since image info doesn't display in the actual blog.
2018-12-05 12:56:53 -08:00
oneoneonepig 91622abbfe Update kubelet-tls-bootstrapping.md (#11547)
* Update kubelet-tls-bootstrapping.md

Typo

* Update kubelet-tls-bootstrapping.md

Capitalize K in Kubernetes
2018-12-05 10:18:50 -08:00
Josh Berkus dc39c23e0e Blog post about Shanghai NCW. Submitting for website. (#11441)
* Blog post about Shanghai NCW.  Submitting for website.

* Update 2018-12-05-new-contributor-shanghai.md

* Update 2018-12-05-new-contributor-shanghai.md
2018-12-05 10:00:14 -08:00
Kaitlyn Barnard 77c39e41df adding grpc post (#11549) 2018-12-05 09:35:24 -08:00
Yuexiao Wang eef6919e3d Minor improvements on upgrade for kubeadm (#11540)
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-05 08:42:00 -08:00
Nikhita Raghunath 6cab82306e kube-apiserver: remove merge conflict marker (#11543) 2018-12-05 08:33:41 -08:00
Nikhita Raghunath cd04d3ff71 Fix references to patchMergeKey and patchStrategy in types.go (#11546) 2018-12-05 08:19:26 -08:00
Jintao Zhang 1a43f78b63 add default enabled plugin PersistentVolumeClaimResize (#11527)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2018-12-05 06:20:33 -08:00
Pierre-Yves Aillet 037eb2460e #11431 Remove load balance access task (#11518) 2018-12-05 05:03:45 -08:00
Ismail Alidzhikov 11ab628259 Update pod ready++ link (#11525) 2018-12-04 19:35:02 -08:00
Naoki Oketani 218be4010f modified -kubeconfig option to --kubeconfig (#11529) 2018-12-04 19:26:47 -08:00
Babak "Bobby" Salamat 27f5d74234 Fix a typo in pod priority and preemption doc (#11523) 2018-12-04 17:37:21 -08:00
Kaitlyn Barnard c1191dfa10 updated Adform logo (#11507) 2018-12-04 17:32:56 -08:00
Zach Corleissen 6d1fde54bf Remove 1.13 reviewers (#11454)
* Add temporary owners for 1.13 release

* Remove temporary owners after 1.13 merges
2018-12-04 16:10:08 -08:00
Pierre-Yves Aillet 9bd11ab887 Fix coredns link (#11517) 2018-12-04 14:37:44 -08:00
Lucas Käldström 551489f196 kubeadm GA blog post (#11462)
* kubeadm GA blog post

* Change file name and add post metadata

* Update CSS for blog post tables

* More formatting and wording changes

* Change build process to allow for displaying future blog posts

* Add links to command documentation

* Change blog post date and address PR feedback

* More wording updates
2018-12-04 08:44:17 -08:00
yanghaichao12 7408605d04 Fix some grammar errors in custom-resources.md (#11476) 2018-12-04 01:36:24 -08:00
lIuDuI a64d64f5e3 Update federation-content-moved.md (#11498)
fix some Improper translation
2018-12-03 17:56:53 -08:00
Kaitlyn Barnard 91466122fa 1.13 release blog post (#11501)
* 1.13 blog post

* Update and rename 2018-12-03-kubernetes-1-13-release.md to 2018-12-03-kubernetes-1-13-release-announcement.md

* Update 2018-12-03-kubernetes-1-13-release-announcement.md

* Delete 2018-11-07-grpc-load-balancing-with-linkerd.md
2018-12-03 17:24:11 -08:00
Jim Angel 27b7b453a9 Official 1.13 Release Docs (#11401)
* Update metadata.generation behaviour for custom resources (#10705)

* update docs promoting plugins to beta (#10796)

* docs update to promote TaintBasedEvictions to beta (#10765)

* First Korean l10n work for dev-1.13 (#10719)

* Update outdated l10n(ko) contents (#10689)

fixes #10686

* Translate concepts/overview/what-is-kubernetes in Korean (#10690)

* Translate concepts/overview/what-is-kubernetes in Korean

* Feedback from ClaudiaJKang

* Translate concepts/overview/components in Korean (#10882)

* Translate concepts/overview/components in Korean #10717

* Translate concepts/overview/components in Korean

* Translate concepts/overview/components in Korean

* Apply Korean glossary: 서비스 어카운트

* Translate concepts/overview/kubernetes-api in Korean (#10773)

* Translate concepts/overview/kubernetes-api in Korean

* Applied feedback from ianychoi

* kubeadm: update the configuration docs to v1beta1 (#10959)

* kubeadm: add small v1beta1 related updates (#10988)

* ADD content/zh/docs/reference/setup-tools/kubeadm/kubeadm.md (#11031)

* ADD content/zh/docs/reference/setup-tools/kubeadm/kubeadm.md

* ADD content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md

* Update content/zh/docs/reference/setup-tools/kubeadm/kubeadm.md

Accepted

Co-Authored-By: YouthLab <tsui@highyouth.com>

* do not change 'master' or 'worker' nodes to '主从'

* Doc updates for volume scheduling GA (#10743)

* Doc updates for volume scheduling GA

* Make trivial change to kick build

* Document nodelease feature (#10699)

* advanced audit doc for ModeBlockingStrict (#10203)

* Rename EncryptionConfig to EncryptionConfiguration (#11080)

EncryptionConfig was renamed to EncryptedConfiguration and added to
the `apiserver.config.k8s.io` API group in Kubernetes 1.13.

The feature was previously in alpha and was not handling versions
properly, which lead to an originally unnoticed `v1` in the docs.

* content/zh/docs/reference/setup-tools/kubeadm/kubeadm-init.md

* trsanlate create-cluster-kubeadm.md to chinese (#11041)

* trsanlate create-cluster-kubeadm.md to chinese

* Update create-cluster-kubeadm.md

* update the feature stage in v1.13 (#11307)

* update new feature gates to document (#11295)

* refresh controller role list on rbac description page (#11290)

* node labeling restriction docs (#10944)

* Update 1.13 docs for CSI GA (#10893)

* dynamic audit documentation (#9947)

* adds dynamic audit documentation

* Copyedit for clarity

See also inline question/s

* Fix feature state shortcode

* Update feature state

* changes wording for dynamic audit flag behavior

* Minor copyedit

* fix dynamic audit yaml

* adds api enablement command to dynamic audit docs

* change ordering dynamic audit appears in

* add references to dynamic audit in webhook backend

* reword dynamic audit reference

* updates stages field for audit sink object

* changes audit sink api definition; rewords policy

* kubeadm: remove kube-proxy workaround (#11162)

* zh-trans content/en/docs/setup/independent/install-kubeadm.md (#11338)

* zh-trans content/en/docs/setup/independent/install-kubeadm.md

* Update install-kubeadm.md

* Update dry run feature to beta (#11140)

* vSphere volume raw block support doc update (#10932)

* Add docs for Windows DNS configurations (#10036)

* Update docs for fields allowed at root of CRD schema (#9973)

* Add docs for Windows DNS configurations

* add device monitoring documentation (#9945)

* kubeadm: adds upgrade instructions for 1.13 (#11138)

* kubeadm: adds upgrade instructions for 1.13

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* add minor copyedits

Addressed a couple of copyedit comments a bit more cleanly.

* kubeadm: add improvements to HA docs (#11094)

* kubeadm: add information and diagrams for HA topologies

* kubeadm: update HA doc with simplified steps

* kubeadm: update HA doc with simplified steps

* edit ha, add new topology topic, reorder by weight

* troubleshoot markdown

* fix more markdown, fix links

* more markdown

* more markdown

* more markdown

* changes after reviewer comments

* add steps about Weave

* update note about stacked topology

* kubeadm external etcd HA upgrade 1.13 (#11364)

* kubeadm external etcd HA upgrade 1.13

Signed-off-by: Ruben Orduz <rubenoz@gmail.com>

* Update stacked controlplane steps

* kubeadm cert documentation (#11093)

* kubeadm certificate API and CSR documentation

* copyedits

* fix typo

* PR for diff docs (#10789)

* Empty commit against dev-1.13 for diff documentation

* Complete Declarative maangement with diff commands

* Second Korean l10n work for dev-1.13. (#11030)

* Update outdated l10n(ko) contents (#10915)
* Translate main menu for l10n(ko) docs (#10916)
* Translate tasks/run-application/horizontal-pod-autoscale-walkthrough (#10980)
* Translate content/ko/docs/concepts/overview/working-with-objects/kubernetes-object in Korean #11104 (#11332)
* Pick-right-solution page translates into Korean. (#11340)
* ko-trans: add jd/..., sap/..., ebay/..., homeoffice/... (#11336)
* Translate concept/workloads/pods/pod-overview.md (#11092)

Co-authored-by: June Yi <june.yi@samsung.com>
Co-authored-by: Jesang Myung <jesang.myung@gmail.com>
Co-authored-by: zerobig <38598117+zer0big@users.noreply.github.com>
Co-authored-by: Claudia J.Kang <claudiajkang@gmail.com>
Co-authored-by: lIuDuI <1693291525@qq.com>
Co-authored-by: Woojin Na(Eddie) <cheapluv@gmail.com>

* Rename encryption-at-rest related objects (#11059)

EncryptionConfig was renamed to EncryptedConfiguration and added to
the `apiserver.config.k8s.io` API group in Kubernetes 1.13.

The feature was previously in alpha and was not handling versions
properly, which lead to an originally unnoticed `v1` in the docs.

Also, the `--experimental-encryption-provider-config` flag is now called
just `--encryption-provider-config`.

* Documenting FlexVolume Resize alpha feature. (#10097)

* CR webhook conversion documentation (#10986)

* CR Conversion

* Addressing comments

* Addressing more comments

* Addressing even more comments

* Addressing even^2 more comments

* Remove references to etcd2 in v1.13 since support has been removed (#11414)

* Remove etcd2 references as etcd2 is deprecated

Link back to the v1.12 version of the etcd3 doc for
the etcd2->etcd3 migration instructions.

I updated the kube-apiserver reference manually,
unsure if that is auto-generated somehow.

The federation-apiserver can still potentially
support etcd2 so I didn't touch that.

* Remove outdated {master,node}.yaml files

There are master/node yaml files that reference
etcd2.service that are likely highly out of date.
I couldn't find any docs that actually reference
these templates so I removed them

* Address review comments

* Final Korean l10n work for dev-1.13 (#11440)

* Update outdated l10n(ko) contents (#11425)

fixes #11424

* Remove references to etcd2 in content/ko (#11416)

* Resolve conflicts against master for /ko contents (#11438)

* Fix unopened caution shortcode

* kubeadm: update the reference docs for 1.13 (#10960)

* docs update to promote TaintBasedEvictions to beta (#10765)

* First Korean l10n work for dev-1.13 (#10719)

* Update outdated l10n(ko) contents (#10689)

fixes #10686

* Translate concepts/overview/what-is-kubernetes in Korean (#10690)

* Translate concepts/overview/what-is-kubernetes in Korean

* Feedback from ClaudiaJKang

* Translate concepts/overview/components in Korean (#10882)

* Translate concepts/overview/components in Korean #10717

* Translate concepts/overview/components in Korean

* Translate concepts/overview/components in Korean

* Apply Korean glossary: 서비스 어카운트

* Translate concepts/overview/kubernetes-api in Korean (#10773)

* Translate concepts/overview/kubernetes-api in Korean

* Applied feedback from ianychoi

* kubeadm: update the configuration docs to v1beta1 (#10959)

* kubeadm: add small v1beta1 related updates (#10988)

* update new feature gates to document (#11295)

* Update dry run feature to beta (#11140)

* kubeadm: add improvements to HA docs (#11094)

* kubeadm: add information and diagrams for HA topologies

* kubeadm: update HA doc with simplified steps

* kubeadm: update HA doc with simplified steps

* edit ha, add new topology topic, reorder by weight

* troubleshoot markdown

* fix more markdown, fix links

* more markdown

* more markdown

* more markdown

* changes after reviewer comments

* add steps about Weave

* update note about stacked topology

* kubeadm: update reference docs

- add section about working with phases under kubeadm-init.md
- update GA / beta status of features
- kubeadm alpha phase was moved to kubeadm init phase
- new commands were added under kubeadm alpha
- included new CoreDNS usage examples

* Generate components and tools reference

* Add generated federation API Reference (#11491)

* Add generated federation API Reference

* Add front matter to federation reference

* Remove whitespace from federation front matter

* Remove more whitespace from federation front matter

* Remove superfluous kubefed reference

* Add frontmatter to generated kubefed reference

* Fix kubefed reference page frontmatter

* Generate kubectl reference docs 1.13 (#11487)

* Generate kubectl reference docs 1.13

* Fix links in kubectl reference

* Add 1.13 API reference (#11489)

* Update config.toml (#11486)

* Update config.toml

Preparing for 1.13 release, updating the config.toml and dropping the 1.8 docs reference.

* update dot releases and docsbranch typo

* adding .Site. to Params.currentUrl (#11503)

see https://github.com/kubernetes/website/pull/11502 for context

* Add 1.13 Release notes (#11499)
2018-12-03 17:21:11 -08:00
Zach Corleissen b1dde5578c Add temporary owners for 1.13 release (#11453) 2018-12-03 09:21:23 -08:00
chenDT 0c987f419f fix Minikube 404 error. (#11461) 2018-12-02 19:17:02 -08:00
June Yi 1feb401ea2 Resolve conflicts against dev-1.13 for /ko contents (#11439) 2018-11-30 22:54:14 -08:00
David Somers-Harris 1e933a1a96 replace run with create deployment (#11392)
* replace `run` with `create deployment`

because `kubectl run` is deprecated

* korean

* removing ko files
2018-11-30 12:51:59 -08:00
Ashish Billore 1fca2fe97e Updated list all pods with -o wide comment (#11394)
Minor updates to the comment of:
// List all pods in plain-text output format and include additional information (such as node name).
$ kubectl get pods -o wide
2018-11-30 07:31:17 -08:00
Pingan d459ee4265 fix broken link for KubeletConfiguration (#11423) 2018-11-30 02:06:59 -08:00
hongkunyoo 28c2089c8d Update on pod-priority-preemption.md (#11418)
* number Pods --> number of Pods
* add comma(,) for clarity.
2018-11-29 20:53:20 -08:00
Zach Corleissen d1df4b6437 Add guidelines for working with localized content (#11415)
Clarify about where to look for specific l10n tasks

More accurate link pointer

Update link for upstream contributions
2018-11-29 19:36:59 -08:00
Kishore Chekuru a81ba11b35 Update what-is-kubernetes.md (#11399)
fat is offensive
2018-11-29 13:28:46 -08:00
chenrui 47d8c9a9fd Remove redundant close tags and little bit formatting (#11389) 2018-11-29 05:28:01 -08:00
Bastian Hofmann f16d26c375 Add SysEleven MetaKube as hosted solution (#11393) 2018-11-29 05:26:27 -08:00
chenrui daeb18f183 Add rui to sig-docs-zh team (#11391) 2018-11-29 02:29:54 -08:00
lIuDuI 4b6a0427cb fix Improper translation (#11384) 2018-11-28 21:20:22 -08:00
Wang Bing f527728f7f Add pigletfly(WangBing) as a sig-docs-zh-reviewer (#11370) 2018-11-28 18:05:40 -08:00
Ashley Schuett 5950336475 update link to CloudProvider Interface (#11228) 2018-11-28 13:56:45 -08:00
Bruno M. Custódio 333f8183f8 Fix the "my-scheduler-as-kube-scheduler" ClusterRoleBinding. (#11112)
Signed-off-by: Bruno Custodio <brunomcustodio@gmail.com>
2018-11-28 08:33:39 -08:00
Zhou Tao 09e07c9f21 fix non-existing "CloudProvider Interface" link (#10953)
minor change, just get 404 error when clicking the url and try to fix it.
2018-11-28 07:53:31 -08:00
Joost Hietbrink 795c418633 Updated ingress.md (#11213)
Typo serivceName.
2018-11-28 07:46:01 -08:00
Avi Deitcher 2067cf868c Further updates to TLS Bootstrapping (#11258)
* Further updates to TLS Bootstrapping

* Further updates
2018-11-28 07:18:57 -08:00
Ashish Billore 3b742cdfd3 Updated 'exec' description (#11365)
Minor updates to 'exec' operation's description, completed it with '.'
2018-11-28 05:20:40 -08:00
Jared 51efca2f76 Blog Issue triage (#11371)
* Blog Issue triage

SIG-Docs decided that we only maintain blog entires <1 year in age. Updating our triage guidelines to reflect this.

* Fix typo, link markup, two misplaced modifiers
2018-11-28 05:10:28 -08:00
Debugging Sparrow 898ec8f267 Update cluster-intro.html (#11373)
Added comma(,) to avoid ambiguity of a sentence.
2018-11-28 05:02:09 -08:00
Pingan c3e5b565da unneed to use flag --all (#11372) 2018-11-28 04:55:28 -08:00
chenDT bfefb311b9 fix some 404 errors (#11352) 2018-11-27 01:29:22 -08:00
Chao Wang 307ad134ad fix the Feature Gates status (#11339) 2018-11-26 21:49:46 -08:00
Ernesto Hegi 9c53721234 Update expose-intro.html (#11309)
Replaces the word fungible with an easier to read synonym like exchangeable.
2018-11-26 21:16:15 -08:00
Tongyao Si 9b34a25b5d Fix typo (#11300) 2018-11-26 21:14:31 -08:00
Ruben Orduz 5cd6a43042 rename ha upgrade doc to match non ha version (#11327)
Signed-off-by: Ruben Orduz <rubenoz@gmail.com>
2018-11-26 21:09:34 -08:00
hongkunyoo 28c96996c1 Fix typo on service.md (#11345)
* he --> The
* my-service.prod.svc.CLUSTER --> my-service.prod.svc.cluster.local
2018-11-26 20:51:52 -08:00
zqm19941101 14eb3e0e92 fix typo: controlle->controller (#11342) 2018-11-26 20:34:10 -08:00
Orlando 7c04f85d15 Fix typo on serviceName (#11329) 2018-11-26 17:42:52 -08:00
Linus Lee 26368ca74b Fix concept directory display problem (#11317) 2018-11-26 06:05:40 -08:00
RA489 b8b71b6845 fix ssh-tunneling link (#11299)
* Update master-node-communication.md

* Update master-node-communication.md
2018-11-26 14:33:51 +08:00
chenrui 95cff3894f Remove comment-out lines and fix closing tag (#11281) 2018-11-25 18:56:31 -08:00
Chao Wang 2dff910ab9 add DynamicAuditing to feature gate document (#11292) 2018-11-26 10:24:02 +08:00
Vladimir Rutsky a628a0595b Fix link on DaemonSet AppArmor loader example (#11288)
It was moved from kubernetes/contrib to kubernetes/kubernetes repository in
https://github.com/kubernetes/contrib/commit/c7b70969bc31f7551bc2d8a6717d4d0532073cb4
2018-11-25 18:11:00 -08:00
Liuduii d3c21344b5 ko-trans: add includes/index.md (#11199)
ko-trans: add includes/index.md
2018-11-25 15:12:57 -08:00
Liuduii fdadff5dfa zh-trans: add comcast/..., concur/..., homeoffice/... (#11274) 2018-11-25 04:43:19 -08:00
Liuduii 6db7b50f28 zh-trans: add ebay/..., jd/..., sap/... (#11273) 2018-11-25 04:41:40 -08:00
June Yi fb624c10b4 Delete untranslated contents in the l10n(ko) directory (#11267) 2018-11-25 01:17:31 -08:00
Joseph Heck 8a7254c0b8 follow up from https://github.com/kubernetes/website/pull/10958 (#11039)
* follow up from https://github.com/kubernetes/website/pull/10958

and a bit of additional example work

Signed-off-by: Joe Heck <heckj@mac.com>

* Update ingress.md
2018-11-24 23:28:46 -08:00
Hongzhi 7ff9425768 The link should refer to the current website (#11171)
Change the link from official site to current site
2018-11-24 18:51:52 -08:00
André Martins 41a042feef admin-cluster/network-policy-provider: update Cilium documentation (#11214)
Signed-off-by: André Martins <aanm90@gmail.com>
2018-11-24 08:17:45 -08:00
Liuduii 2cd64045ba zh-trans: add user-guide-migration-notice.md (#11218)
* zh-trans: add user-guide-migration-notice.md

* Update user-guide-migration-notice.md

* Update user-guide-migration-notice.md
2018-11-25 00:13:06 +08:00
Niko Pen f0711ca742 bigger or equal kubeadm version (#11226) 2018-11-24 08:07:28 -08:00
Rostislav M. Georgiev 4f675f3052 kubeadm: Warn about overlapping networks (#11225)
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-11-24 08:05:36 -08:00
Luc Perkins 4a6a022e61 Update Git info CSS (#10496) 2018-11-24 08:03:52 -08:00
Liuduii 207aa49500 zh-trans: add case-studies/_index.html (#11245)
* zh-trans: add case-studies/_index.html

* Update _index.html
2018-11-24 23:59:08 +08:00
Liuduii ea9146210e zh-trans: add annotation.md (#11220) 2018-11-24 07:55:24 -08:00
Liuduii fdf980c788 zh-trans: add case-studies/zulily/... (#11246) 2018-11-24 07:42:21 -08:00
WanLinghao c23d8f6531 fix a 404 error in kubeadm desription page (#11244) 2018-11-24 07:37:24 -08:00
SataQiu fe9b5443b9 zh-trans: add docs/concepts/storage/_index.md (#11232) 2018-11-23 18:17:54 -08:00
SataQiu 0eef26a574 zh-trans: add docs/getting-started-guides/fedora/_index.md (#11194) 2018-11-23 05:27:07 -08:00
SataQiu 0472f65131 zh-trans: add docs/concepts/workloads/_index.md (#11195) 2018-11-23 05:22:06 -08:00
Avi Deitcher 4d30a79573 Revamp TLS bootstrapping doc (#11181)
* Revamp TLS bootstrapping doc

* Add capitalization, remove Latin abbreviations, clarify intro

* minor intro tweak
2018-11-23 04:53:45 -08:00
SataQiu 6537726ebe zh-trans: add docs\home\_index.md (#11201) 2018-11-23 04:51:57 -08:00
Liuduii ebac89ef49 zh-trans: add _index.md (#11205)
* zh-trans: add _index.md

zh-trans: add _index.md

* Update _index.md
2018-11-23 20:17:44 +08:00
Liuduii 752ad6471e zh-trans: add federation-content-moved.md (#11209) 2018-11-23 03:28:33 -08:00
xiezongzhe a7a88c9163 fix typo (#11152) 2018-11-21 22:23:27 -08:00
RoopSai Krishna f9071fd916 document nodeAffinity field for PersistentVolume (#10617) 2018-11-21 20:43:46 -08:00
Shaw Ho a55ae93c84 Add kube-scheduler secure options usage (#10269) 2018-11-21 19:21:57 -08:00
yanghaichao12 fa7916a469 Fix an error in cloud-providers.md (#11147) 2018-11-20 22:50:36 -08:00
svetkars f4957353b6 Fix links and info about the Rackspace solution. (#11139) 2018-11-20 17:24:34 -08:00
houjun 192c693c0a fix control aspect of PodSecurityPolic to include RunAsGroup (#11108) 2018-11-20 17:01:37 -08:00
Liuduii b5b8539a8e Remove excess Spaces (#11106) 2018-11-20 07:10:46 -08:00
Sunghoon Kang fd6db18d1d Change ReplicaSets example in service networking (#11110) 2018-11-20 06:54:52 -08:00
Kayce Basques 59c4712807 add feedback widget to bottom of docs (#11037) 2018-11-20 05:44:49 -08:00
AdamDang 0b05bbbbc7 zh_trans: add quota-memory-cpu-namespace.md (#11047)
* zh_trans: add quota-memory-cpu-namespace.md

zh_trans: add quota-memory-cpu-namespace.md

* Create quota-mem-cpu.yaml

* Create quota-mem-cpu-pod.yaml

* Create quota-mem-cpu-pod-2.yaml

* Fixes due to review
2018-11-19 21:31:55 -08:00
AdamDang 6fb9a555a7 zh-trans: add memory-constraint-namespace.md (#11045)
* zh-trans: add memory-constraint-namespace.md

zh-trans: add memory-constraint-namespace.md

* Update memory-constraint-namespace.md

* Create memory-constraints.yaml

* Create memory-constraints-pod.yaml

* Create memory-constraints-pod-2.yaml

* Create memory-constraints-pod-3.yaml

* Create memory-constraints-pod-4.yaml
2018-11-19 21:30:21 -08:00
gparvind db774186b5 yaml code formatting fix for v1.12.0-rc.1 changelog (#11105) 2018-11-19 20:55:24 -08:00
Qiming be76ba37ef Merge pull request #11058 from AdamDang/patch-44
zh_trans: add automated-tasks-with-cron-jobs.md
2018-11-20 12:53:08 +08:00
Daniel Bastos 703336cacd Improve overall sentence clearness and understanding (#11102) 2018-11-19 19:34:24 -08:00
AdamDang 27ce5a8c8f zh-trans: Add manage-resources/cpu-constraint-namespace.md (#11042)
* zh-trans: Add zh/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace.md

zh-trans: Add zh/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace.md

* Fixes due to review.

Fixes due to review.

* fix due to review

最为-》做为

* Update cpu-constraint-namespace.md

* Create cpu-constraints.yaml

* Create cpu-constraints-pod.yaml

* Create cpu-constraints-pod-2.yaml

* Create cpu-constraints-pod-3.yaml

* Create cpu-constraints-pod-4.yaml

* Update cpu-constraint-namespace.md
2018-11-19 19:32:49 -08:00
Qiming 1a32c06228 Delete cronjob.yaml 2018-11-20 11:32:34 +08:00
AdamDang 58737dff9b zh-trans: add workloads/controllers/_index (#11089)
zh-trans: add workloads/controllers/_index
2018-11-19 19:16:10 -08:00
AdamDang 090695a109 zx-trans: add pods/_index.md (#11090)
zx-trans: add pods/_index.md
2018-11-19 19:08:13 -08:00
AdamDang 2e6b158841 Create cronjob.yaml 2018-11-20 10:07:20 +08:00
Karen Bradshaw 9a34fa470d fix typo ref contrib (#11096) 2018-11-19 17:54:07 -08:00
Qiming d3eaeef3fc Reorder concepts sections (#11032)
Order after this PR:

overview: 20
architecture: 30
containers: 40
workloads: 50
service-networking: 60
storage: 70
configuration: 80
policy: 90
cluster-administration: 100
extend-kubernetes: 110

Closes: #8570
2018-11-19 13:05:13 -08:00
JoeWrightss cc6a7fdc4e fix typo and update punctuation (#11028) 2018-11-19 13:03:29 -08:00
Joseph Heck 486f5d01b0 making list of hosts under TLS more explicit, fixes #11065 (#11066) 2018-11-19 10:23:49 -08:00
yongsong you 9ceb6650d6 add a missing step in kubeadm-upgrade flow. (#10722)
In case of external etcd, we should also modify `kubeadm-config.yaml` to set `api.advertiseAddress` to the local node's IP address.
2018-11-19 10:21:47 -08:00
AdamDang c405c01039 zh-trans: Add manage-resources/cpu-default-namespace.md (#11043)
* zh-trans: Add manage-resources/cpu-default-namespace.md

zh-trans: Add manage-resources/cpu-default-namespace.md

Add manage-resources/cpu-default-namespace.md

Add manage-resources/cpu-default-namespace.md

* Create cpu-defaults.yaml

* Create cpu-defaults-pod.yaml

* Create cpu-defaults-pod-2.yaml

* Create cpu-defaults-pod-3.yaml
2018-11-19 05:00:52 -08:00
AdamDang c2bae6e414 zh-trans:Add manage-resources/memory-default-namespace.md (#11044)
* zh-trans:Add manage-resources/memory-default-namespace.md

zh-trans:Add manage-resources/memory-default-namespace.md

* Fix due to reviewing

Fix due to reviewing

* Update memory-default-namespace.md

* Create memory-defaults.yaml

* Create memory-defaults-pod.yaml

* Create memory-defaults-pod-2.yaml

* Create memory-defaults-pod-3.yaml

* Add yaml files

Add yaml files

* Delete cpu-constraints-pod-2.yaml

* Delete cpu-constraints-pod-3.yaml

* Delete cpu-constraints-pod-4.yaml

* Delete cpu-constraints-pod.yaml

* Delete cpu-constraints.yaml

* Delete cpu-defaults-pod-2.yaml

* Delete cpu-defaults-pod-3.yaml

* Delete cpu-defaults-pod.yaml

* Delete cpu-defaults.yaml

* Delete memory-constraints-pod-2.yaml

* Delete memory-constraints-pod-3.yaml

* Delete memory-constraints-pod-4.yaml

* Delete memory-constraints-pod.yaml

* Delete memory-constraints.yaml

* Delete quota-pod.yaml

* Delete quota-pod-deployment.yaml

* Delete quota-objects.yaml

* Delete quota-objects-pvc.yaml

* Delete quota-objects-pvc-2.yaml

* Delete quota-mem-cpu.yaml

* Delete quota-mem-cpu-pod.yaml

* Delete quota-mem-cpu-pod-2.yaml
2018-11-19 04:58:50 -08:00
AdamDang aa53d02161 Delete quota-mem-cpu.yaml 2018-11-19 20:24:25 +08:00
AdamDang 38c19cb17b Delete quota-mem-cpu-pod.yaml 2018-11-19 20:24:12 +08:00
AdamDang 5c996f2dae Delete quota-mem-cpu-pod-2.yaml 2018-11-19 20:24:02 +08:00
AdamDang b7df8ae71d Create quota-mem-cpu-pod-2.yaml 2018-11-19 20:19:51 +08:00
AdamDang 21a03f300d Create quota-mem-cpu-pod.yaml 2018-11-19 20:19:14 +08:00
AdamDang dc9e3d93b9 Create quota-mem-cpu.yaml 2018-11-19 20:18:18 +08:00
AdamDang 930d838898 Create cronjob.yaml 2018-11-19 20:12:09 +08:00
AdamDang 3ef3427128 Update automated-tasks-with-cron-jobs.md 2018-11-19 16:49:05 +08:00
yanghaichao12 07d156a483 Fix some errors in certificates.md (#11075) 2018-11-19 00:35:58 -08:00
AdamDang 835a457e58 zh_trans: add network-policy-provider/_index.md (#11049)
* zh_trans: add network-policy-provider/_index.md

zh_trans: add network-policy-provider/_index.md

* Update _index.md
2018-11-19 00:10:05 -08:00
AdamDang 074666cd3b Update automated-tasks-with-cron-jobs.md 2018-11-19 15:32:37 +08:00
Qiming 1ed481281f Merge pull request #11073 from tengqm/revert-11067
Manual revert 11067
2018-11-19 15:07:46 +08:00
Qiming Teng 810f3a910c Manual revert 11067 2018-11-19 07:03:03 +00:00
Qiming b77e4f3125 Merge pull request #11072 from kubernetes/revert-11061-zh_transkubeadm_alpha_phase_addon.md
Revert "zh_trans:kubeadm_alpha_phase_addon.md"
2018-11-19 14:56:55 +08:00
Qiming 2c59a5f2de Merge pull request #11071 from kubernetes/revert-11040-zh_trans_kubeadm_alpha_phase_selfhosting
Revert "zh_trans_kubeadm_alpha_phase_selfhosting.md"
2018-11-19 14:56:27 +08:00
Qiming ebbcd2e926 Revert "zh_trans:kubeadm_alpha_phase_addon.md (#11061)"
This reverts commit 6b819a8eb5.
2018-11-19 14:51:25 +08:00
Qiming 6800d24ec2 Revert "zh_trans_kubeadm_alpha_phase_selfhosting.md (#11040)"
This reverts commit 91bc09fd68.
2018-11-19 14:51:25 +08:00
Qiming c7eae63160 Revert "zh_trans:kubeadm_alpha_phase_kubeconfig_user.md (#11067)"
This reverts commit 9f8f3fe43f.
2018-11-19 14:51:25 +08:00
Qiming 166927c580 Revert "zh_trans_kubeadm_alpha_phase_selfhosting.md (#11040)"
This reverts commit 91bc09fd68.
2018-11-19 14:48:53 +08:00
Qiming 0ba188f5da Revert "zh_trans:kubeadm_alpha_phase_kubeconfig_user.md (#11067)"
This reverts commit 9f8f3fe43f.
2018-11-19 14:48:53 +08:00
congfairy 9f8f3fe43f zh_trans:kubeadm_alpha_phase_kubeconfig_user.md (#11067)
* zh_trans:kubeadm_alpha_phase_kubeconfig_user.md

* Update kubeadm_alpha_phase_kubeconfig_user.md
2018-11-18 22:33:34 -08:00
congfairy 91bc09fd68 zh_trans_kubeadm_alpha_phase_selfhosting.md (#11040)
* zh_trans_kubeadm_alpha_phase_selfhosting.md

* zh_trans:kubeadm_alpha_phase_selfhosting.md
2018-11-18 21:23:22 -08:00
congfairy 6b819a8eb5 zh_trans:kubeadm_alpha_phase_addon.md (#11061) 2018-11-18 19:06:11 -08:00
Takuya N 51c602d017 Use hugo in Travis CI pipeline (#10606)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-18 18:41:58 -08:00
adisky b82bf96203 Redirect to decoding a secret (#10594)
In this Document Encrypting Secret data at REST, the example to verify
decrypt secret is bit confusing, on running
$ kubectl describe secret secret1 -n default
"should match mykey: mydata" never match because data is enoded,
This commit redirects it to decoding the secret
2018-11-18 18:40:10 -08:00
Cliff Burdick b5a09f68de Fixing yaml (#10541)
The current YAML doesn't work since hugepages requires you to include memory and/or CPU limits as well, or you get the error: "HugePages require cpu or memory".
2018-11-18 18:38:22 -08:00
Anastas Dancha 8790759a24 add examples using "rollout" (#10583)
* add examples using "rollout"

since "rolling-update" is deprecated, add example using "rollout"

* better deprecation reference

Referenced version where `rolling-update` was deprecated
Separated `rollout` example into it's own block
2018-11-18 18:36:34 -08:00
AdamDang d02fc8de3f zh_trans: add debug-application-cluster/_index.md (#11054)
* zh_trans: add debug-application-cluster/_index.md

zh_trans: add debug-application-cluster/_index.md

* minor fix

minor fix

* minor  fix

, 改为 、
2018-11-18 18:29:44 -08:00
Karen Bradshaw 9b1d77e07f clean-up jsonpath additional functions list (#11027) 2018-11-18 18:27:56 -08:00
Benedikt Franke 4f6f159dcb The FlexVolume plugin supports ReadWriteMany depending on the driver (#11014)
I was able to successfully use https://github.com/juliohm1978/kubernetes-cifs-volumedriver to mount a SMB share from multiple nodes. The current docs are misleading, as it is generally possible.
2018-11-18 18:26:08 -08:00
Stig Otnes Kolstad c8050aa0d9 Update scratch.md (#11038)
The files are automatically extracted after downloading in release v1.12.2.
2018-11-18 18:19:23 -08:00
AdamDang d9550a836a zh_trans: add dminister-federation/_index.md (#11051)
* zh_trans: add dminister-federation/_index.md

zh_trans: add dminister-federation/_index.md

* Update _index.md
2018-11-18 17:47:13 -08:00
AdamDang 901441a0ec zh_trans: add inject-data-application/_index.md (#11056)
* zh_trans: add inject-data-application/_index.md

zh_trans: add inject-data-application/_index.md

* Update _index.md
2018-11-18 17:00:52 -08:00
Xiaolong He e06a76830b Merge pull request #11052 from AdamDang/patch-39
zh_trans: add configure-pod-container/_index.md
2018-11-19 00:00:45 +08:00
AdamDang 608cad5a33 zh_trans: add automated-tasks-with-cron-jobs.md
zh_trans: add job/automated-tasks-with-cron-jobs.md
2018-11-18 23:55:45 +08:00
Xiaolong He baafa4a3ed Merge pull request #11055 from AdamDang/patch-41
zh_trans: add federation/_index.md
2018-11-18 23:44:34 +08:00
Xiaolong He 454c270d0d Merge pull request #11057 from AdamDang/patch-43
zh_trans: add job/_index.md
2018-11-18 23:39:35 +08:00
AdamDang 2499016947 zh_trans: add job/_index.md
zh_trans: add job/_index.md
2018-11-18 21:50:20 +08:00
AdamDang cbd79c8609 zh_trans: add federation/_index.md
zh_trans: add federation/_index.md
2018-11-18 21:42:49 +08:00
AdamDang a3febf53dc zh_trans: add configure-pod-container/_index.md
zh_trans: add configure-pod-container/_index.md
2018-11-18 21:33:46 +08:00
AdamDang eb2177c1bf zh_trans: add manage-resources/_index.md (#11048)
zh_trans: add manage-resources/_index.md
2018-11-18 02:24:34 -08:00
JoeWrightss 1d9698d079 Typo fix "availabe" -> "available" (#11036)
fix "availabe" -> "available" in line 13
2018-11-17 18:20:40 -08:00
wangyamei f7ed1eee55 delete-stateful-set (#10817) 2018-11-17 17:37:37 -08:00
Zheng Xi Zhou a6913a97ab Change ReplicationController to ReplicaSets (#11011)
`ReplicaSets` is more recommended for manipulating pods than `ReplicationController`.
2018-11-17 00:11:53 -08:00
Karen Bradshaw f7d235cf64 update ol ul li bullet to disc (#10714)
* update ol ul li bullet to disc

- update ol ul li bullet to disc
- move note out of list so that list numbers are correct
- fix typo

* futher clean-up
2018-11-16 14:38:29 -08:00
Qiming 9d5eae7b79 Rename block entries as workaround for content types (#10625)
As reported by issue #8953, we currently cannot properly handle dots in
the file name for blogs. These dots are causing problems in links for
many pages. This PR renames the blog entries to remove dots in file
names.

Closes: #8953
2018-11-16 14:12:00 -08:00
Joseph Heck fe46040b2e rewrite of ingress (#10958)
* rewrite of ingress

- reset and rewritten to provide more clarity and directness on what
  ingress is and does.

* cleanup from review

- also normalized Ingress -> ingress through-out
2018-11-16 12:37:21 -08:00
Sandeep Rajan 6f3b8cbd9b Update documentation on CoreDNS (#10923)
* update documentation on CoreDNS

* Update dns-custom-nameservers.md

Fixed nit noted in comments and cleaned up a few more things while I was in there. This whole topic needs a complete redo, but this PR is an iterative improvment. Thanks!
2018-11-16 12:35:38 -08:00
Adam Connelly 2bfdd42aa7 Added documentation about stringData (#10938)
* Added documentation about stringData

I've added some documentation about the stringData field, including a simple example showing how it can be used.

* fixup! Added documentation about stringData

* fixup! Added documentation about stringData
2018-11-16 11:37:48 -08:00
yanghaichao12 c174445858 Fix some errro in kubelet.md (#11010) 2018-11-16 11:34:26 -08:00
Bernat Moix a0fd05ce41 Fix typo in ip-masq-agent user guide (#11023) 2018-11-16 11:27:50 -08:00
Luc Perkins 95953bbe8e Remove resources/ folder from Git (#10561) 2018-11-16 11:22:53 -08:00
Takuya N 62608749e1 Fix customized CSS for case study (#10531)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-16 11:21:09 -08:00
CaoShuFeng 28f02d5121 fix audit config format (#9970) 2018-11-16 11:05:29 -08:00
JoeWrightss 1dd231b8c3 fix typo error: Paricipate -> Participate (#11025) 2018-11-16 10:31:17 -08:00
yanghaichao12 3154c260e9 Fix an error in custom-resources.md (#11020) 2018-11-16 10:29:24 -08:00
Jordan Liggitt bcae10b195 Fix vsphere node name docs (#11017) 2018-11-16 10:27:41 -08:00
Will Beason 2c3438919c Fix ResourceQuota doc (#11016)
We don't support multiple ResourceQuota definitions in the same namespace.
2018-11-16 10:25:57 -08:00
Quy Le Ngoc 905588105a Fix typo in kubectl-plugins.md (#11015)
`kubectk-foo-bar-baz-arg1` => `kubectl-foo-bar-baz-arg1`
2018-11-16 10:24:00 -08:00
shavidissa a24381103a Minor updates (#11021)
- Added a missing full stop.
- Separated the details on the --type flag under the respective section. 
- Linked to the page on setting up Minikube locally.
- Introduced the VM abbreviation when used for the first time on the page.
2018-11-16 10:22:21 -08:00
hongkunyoo cb88b43438 Adding name arguement in kubeadm-config.yaml (#10948)
In AWS cloud platform, omitting the name while initializing etcd cluster
causes "Couldn't find local name "$HOSTNAME in the initial cluster configuration"

It seems that the etcd tries to find short hostname, not the FQDN hostname.
To avoid this, passing the name explicitly to etcd configuration solved the problem.

[related issue1](https://github.com/coreos/bugs/issues/2054)
[related issue2](https://github.com/kubernetes/kubeadm/issues/653)
2018-11-16 09:16:57 -08:00
June Yi 34b6eef1b8 Add Korean language alternatives setting (#10996) 2018-11-16 07:06:50 -08:00
Aivars Sterns 7875c40544 Update kubespray.md (#10992)
* Update kubespray.md

Add note about vault discontinuation and upgrade ansible minimal requirements

* fix typo
2018-11-16 07:05:11 -08:00
Rohit Agarwal 41319e8059 Update NVIDIA GPU instructions for GCP (#10970) 2018-11-16 07:02:02 -08:00
shavidissa cfb257146f Copy-edit (#10966)
- The intro section had repeated text on visiting the community page. Refactored this content.
- Minor changes to content.
- Added links to Slack and the SIG docs mailing list.
2018-11-16 07:00:23 -08:00
Chao Wang 6aa48f841e fix bad request for community file (#10963) 2018-11-16 06:58:44 -08:00
shavidissa 210b5ddb09 Copy-edit based on the style guide (#11003)
* Copy-edit based on the style guide

Made the following changes:
- Used present tense.
- Removed latin phrases
- {{< tab name=“Content File #1” include=“example1” />}} was not shown as code. Updated it.
- Copy-edited the description for include under Tabs.

* Updated the text based on the comments
2018-11-16 06:31:12 -08:00
Chao Wang e91aba3b45 cleanup k8s101/201 resource left (#11008) 2018-11-15 05:33:54 -08:00
Chao Wang b2c893ee22 fix the display of Downloading Kubernetes title in docs/setup (#11012) 2018-11-15 05:25:03 -08:00
Liuduii f866725ba8 Update 2016-07-00-Cross-Cluster-Services.md (#11009) 2018-11-15 05:00:36 -08:00
hintss ecfdcf643f Fix 3 links that were pointing at blog.kubernetes.io (#10731)
* fix 3 links that were pointing at the old blog URL

* Fix the 4th blog link
2018-11-14 18:01:44 -08:00
nepomucen d69f6b2353 Fix missing selector subcommand (#10982)
For accuracy the second command "kubectl set" in the pipeline under the example`s breakdown should contain subcommand: selector
2018-11-14 17:45:18 -08:00
Jay 3d8f4a2e73 Kubernetes Repository URL HTTPS (#10983) 2018-11-14 17:39:18 -08:00
shavidissa 4f1198c270 Minor change (#10990)
Minor typo: Content template to concept template.
2018-11-14 17:16:48 -08:00
Mumshad Mannambeth d9cfd8b6f3 Add KodeKloud online training for CKAD Preparation course (#10991)
* Add KodeKloud online training

* Add KodeKloud online training
2018-11-14 17:15:14 -08:00
Stéphane Este-Gracias 73190caeca Fix typo (#10993) 2018-11-14 16:14:02 -08:00
Karen Bradshaw ccac3c19b8 clean up conventions toc (#10939)
- clean up toc
- update with a table
2018-11-14 14:59:56 -08:00
Indradhanush Gupta cb8aae1b0d Fix instructions to start minikube with RBAC (#11002)
When starting minikube with
`--extra-config=apiserver.Authorization.Mode=RBAC`, the apiserver
container exits with the following error:

```
error: unknown flag: --Authorization.Mode
```

Starting it with `--extra-config=apiserver.authorization-mode=RBAC`
instead fixes the issue.
2018-11-14 14:34:12 -08:00
Pierre-Yves Aillet 8879db8080 Add Container lifecycle hooks to glossary (#10984)
* Add Container lifecycle hooks to glossary

* Add container definition tooltip

* Fixes after review
2018-11-14 14:28:39 -08:00
Nikhita Raghunath cb11cce55c Update current state of features for custom resources (#10994) 2018-11-14 14:27:09 -08:00
Karen Bradshaw b38adb0075 update, remove third party resource links (#11001) 2018-11-14 14:25:39 -08:00
erganzi 4514602b29 Update debug-service.md (#10760)
-q is quiet, nothing will output.
2018-11-13 18:04:23 -08:00
Patrick Lang 420685b976 Fix Makefile and README for make docker-serve on Windows (#10810) 2018-11-13 17:43:59 -08:00
Pingan f15d772569 Mark rkt as deprecated in kubelet flags(--container-runtime) (#10895) 2018-11-13 17:42:24 -08:00
Kenichi Omichi 8359d2013c Remove unnecessary kubelet as upgraded package (#10941)
The first step of [1], kubeadm is necessary to be upgraded because we
need to run kubeadm upgrade plan. Then, the line shows `upgrade kubeadm:`.
However, the commandline contains kubelet also. That seens copy&paste
mistake and unnecessary. This removes it.
In addition, the format of another tab is broken. This fixes it also by
naming another tab.

[1]: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-12/#upgrade-the-control-plane
2018-11-13 17:40:50 -08:00
William Zhang 7975b282da Fix the link to repo kubernetes/cloud-provider (#10912)
Signed-off-by: William Zhang <warmchang@outlook.com>
2018-11-13 17:39:15 -08:00
Daniel M Barlow 2f3cf662b1 Rename 'Reusing Docker' section (#10885)
May make it easier to see the importance of this section
2018-11-13 17:37:41 -08:00
June Yi 76c65a8418 Use absolute URLs and avoid aliases in the tutorial (#10924) 2018-11-13 17:36:06 -08:00
Chenrui.He 08dd5440d7 To prevent downtime for the api-server, when the two commands are run in far seccession (#10961) 2018-11-13 17:27:24 -08:00
Chao Wang 08dc520a41 remove community.yml (#10955) 2018-11-13 17:25:50 -08:00
Eyal Levin 5992f5180a Minor text edit (#10981)
Using "The" indicates that the question mark was already discussed previously, which is not the case.
2018-11-13 17:24:15 -08:00
shavidissa 11b9854296 Corrected a minor issue in linking to Slack (#10967)
The current document had a minor issue: " Ask for sponsorship in the #sig-docs channel on the Kubernetes Slack instance](https://kubernetes.slack.com) "

I am assuming you wanted to link #sig-docs channel on the Kubernetes Slack instance to https://kubernetes.slack.com. Therefore, corrected it.
2018-11-13 17:18:20 -08:00
Zach Corleissen 10cdddada9 Remove shanghai sprint owners (#10973)
* Add sprint organizers temporarily to sig-docs-zh-owners

* Remove temporary sprint owners
2018-11-13 00:04:36 -08:00
chenrui 28828ede59 Add Chinese language alternatives setting (#10976)
* Add Chinese language alternatives setting

* Add timestamp format (`YYYY-MM-DD`) for the blog
Add comment for lang alternative config

* Remove comments
2018-11-12 19:45:24 -08:00
Luc Perkins d95a36a9af Modify top comment in zh.toml (#10977) 2018-11-12 19:31:45 -08:00
chenrui 7994529a27 Create i18n/zh.toml (#10975) 2018-11-12 18:53:39 -08:00
Zach Corleissen 499ef50c76 Add sprint organizers temporarily to sig-docs-zh-owners (#10972) 2018-11-12 18:38:39 -08:00
W Technologist 8a099ce6a9 add missing pictures in the Chinese homepage (#10952) 2018-11-11 19:06:51 -08:00
Kevin Morgan 897c02e36e Update for clarity (#10909)
We receive a lot of customer queries around HPA not communicating with metrics-server where the core issue is that metrics-server is not installed. Feedback has been that this wasn't explicitly clear, suggesting this change in wording to assist.
2018-11-11 19:05:26 -08:00
Stig Otnes Kolstad 8d8c55a8d5 Disable line wrapping base64 output (#10724) 2018-11-11 17:39:51 -08:00
Clyde D'Souza b17c9018f1 Fixed typo (#10950)
Removed extra parenthesis ')' from linked item.
2018-11-11 17:22:50 -08:00
Liuduii e992177e2c Remove some extra Spaces (#10949) 2018-11-11 17:21:29 -08:00
Shuo Li e68f05793f zh_trans_docs_concepts_index (#10744) 2018-11-10 22:29:21 -08:00
Bily Zhang aa4ea8d95b Fix issues in content (#10943)
* Fix issues in content

Signed-off-by: mooncake <xcoder@tenxcloud.com>

* rollback file
2018-11-10 19:56:21 -08:00
Bily Zhang cc763d4692 Fix typos: kubele -> kubelet (#10947)
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-10 19:55:00 -08:00
Steve Wong f555cbd467 Add VMware Cloud PKS to solutions list (#10900) 2018-11-10 11:35:35 -08:00
Pingan 71656718c9 Remove redundant feature state (#10933) 2018-11-09 09:14:06 -08:00
xiezongzhe c9bc8278a6 fix typo (#10814) 2018-11-08 13:22:33 -08:00
Bily Zhang 23d434254c Fix typos: functionizing -> functionalizing (#10925)
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-08 11:18:30 -08:00
Cody Clark e74e9394cd Fix numbered lists (#10887)
* Fix numbered lists

* Update hello-minikube.md

* Update hello-minikube.md

* Update hello-minikube.md

* Update hello-minikube.md

* Update hello-minikube.md

* Update hello-minikube.md

* Update hello-minikube.md

* remove redundant note labels
2018-11-08 11:13:04 -08:00
Zach Corleissen c34ef23f3c Add blog post for l10n update (#10874)
* Add blog post for l10n update

Minor tweaks

More minor tweakS

Still more tweaks

Yet more tweaks

typo fix

Add link to Shanghai KC+CNC

Change date to 8 Nov

* Update 2018-11-08-kubernetes-docs-update-i18n.md

* Update 2018-11-08-kubernetes-docs-update-i18n.md
2018-11-08 10:51:39 -08:00
MengZeLee d929d4fff4 Fix wrong parameters (#10905) 2018-11-08 09:48:30 -08:00
bhack 656a8373f0 Update Kompose version (#10908) 2018-11-08 09:47:00 -08:00
TaoBeier cdffeb267f Rename experimental-bootstrap-token-auth to enable-bootstrap-token-auth (#10907)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2018-11-08 09:45:30 -08:00
Karen Bradshaw 80f1d57912 toc clean-up (#10918) 2018-11-08 09:43:55 -08:00
David Xia 6c0d7300d5 Remove redundant "Note:" prefixes (#10920)
Hugo shortcodes already create prefixes as [explained here][1].

  [1]: https://github.com/kubernetes/website/blob/master/content/en/docs/contribute/style/style-guide.md#shortcodes
2018-11-08 04:44:05 -08:00
Silvia Teresa Sandy Martinez 0347d2388f Added feature-gates deprecation guidelines and policy as per discussi… (#10294)
* Added feature-gates deprecation guidelines and policy as per discussion: SIG-architecture meeting

* Update deprecation-policy.md

Fixes and initial feedback incorporated.

* Removed unneeded sentence

Removed complicated sentence that is better phrased one sentence later.

* Incorporated feedback - Sept 22nd.

Re-structured following key ideas from the feedback.

* Fixed nits 7th October

Fixed nits 7th October

* Incorporated feedback Oct 25th

Incorporated 'invocation triggers warning' and what to do when disabling a no-op.

*  fixed "tide"

Announced for completed

* Incorporated feedback from sig docs
2018-11-08 02:57:43 -08:00
Leah Hanson 273ae81ff3 Correct formatting of note on creating a secret. (#10919)
Note should not be code-formatted and command should be inside note
block.

Signed-off-by: Leah Hanson <lhanson@pivotal.io>
2018-11-07 18:53:40 -08:00
AdamDang 0cbcf91878 Typo fix: Kubeernetes->Kubernetes (#10921)
Kubeernetes->Kubernetes

Typo fix: Kubernets->Kubernetes

Typo fix: Kubernets->Kubernetes
2018-11-07 18:52:06 -08:00
William Morgan 08d0e1b93c add "grpc load balancing on kubernetes without tears" blog post (#10891)
* add grpc load balancing with linkerd blog post

* remove date from filenames

I can follow instructions.

* update links with new date-less paths

* Update grpc-load-balancing-with-linkerd.md
2018-11-07 09:17:10 -08:00
Luc Perkins d65e1790ff Add admonition type to shortcode (#9482)
* Change existing admon blocks

* Fix includes issue
2018-11-06 11:33:04 -08:00
David Rubin e839031292 Update officially supported client libraries (#10792) 2018-11-06 10:31:11 -08:00
Dennis Schridde 2f395f1ded Fix formatting of Kubernetes Meets High Performance blog post (#10901) 2018-11-06 10:01:52 -08:00
Tim Bannister 07d043b3f1 Fix typos in kubeadm impl details (#10898) (#10899) 2018-11-06 00:08:23 -08:00
Aleks fd7a788fe7 Update HAProxy ingress line (#10794)
* Update HAProxy ingress line

HAProxy Technologies offers support for the free available haproxy ingress controller

* Updated the haproxy wording from feedback

Updated the haproxy wording from feedback of @tengqm

* Remove doc artefacts
2018-11-06 00:01:29 -08:00
Pingan f922e3f2e9 -output -> --output (#10897) 2018-11-05 23:54:35 -08:00
AdamDang f850885f4c Typo fix in docker-cli-kubectl.md (#10892)
kubeclt->kubectl
2018-11-05 23:53:19 -08:00
Andrew Chen 2a114ab085 Revert "Add i18n/OWNERS" (#10886)
* Revert "Update tutorial to work with Katacoda, No Install (#10797)"

This reverts commit a0b97a3e5d.

* Revert "clean-up minikube toc (#10873)"

This reverts commit 18343eb44b.

* Revert "Tutorial cleanup: Delete K8s 101 and 201 (#10786)"

This reverts commit e0168fd8dc.

* Revert "fix word err in Disruption (#10884)"

This reverts commit d01b76d080.

* Revert "Fix typo (#10877)"

This reverts commit 15518689c7.

* Revert "add note informing users of env var updates (#10819)"

This reverts commit 795de19c07.

* Revert "Fix typo in word repositories (#10883)"

This reverts commit 6d7f27ea45.

* Revert "Add i18n strings for Korean translation (#10611)"

This reverts commit a9d8c54e6d.

* Revert "Modified into appropriate words (#10768)"

This reverts commit 7ebdd661d7.

* Revert "Update tools.md (#10753)"

This reverts commit 2d8bc158a2.

* Revert "Enable reviews/approvers for localized site strings (#10811)"

This reverts commit 81b2562f77.
2018-11-05 11:41:32 -08:00
Cody Clark a0b97a3e5d Update tutorial to work with Katacoda, No Install (#10797)
* Update tutorial to work with Katacoda, No Install

* Update hello-minikube.md
2018-11-05 11:31:11 -08:00
Karen Bradshaw 18343eb44b clean-up minikube toc (#10873)
* clean-up minikube toc

- clean-up minikube toc
- clean-up localkube link

* update sub-headers

* added link to kubeadm

- added link to kubeadm
- clean-up link to kubectl config set-context
2018-11-05 10:01:07 -08:00
Cody Clark e0168fd8dc Tutorial cleanup: Delete K8s 101 and 201 (#10786)
* Delete k8s201.md

* Delete k8s101.md
2018-11-05 09:29:14 -08:00
zhangmingld d01b76d080 fix word err in Disruption (#10884) 2018-11-05 06:17:32 -08:00
Wang Bing 15518689c7 Fix typo (#10877) 2018-11-05 03:35:37 -08:00
Juan Vallejo 795de19c07 add note informing users of env var updates (#10819) 2018-11-04 21:45:58 -08:00
Jake Crawford 6d7f27ea45 Fix typo in word repositories (#10883) 2018-11-04 21:32:19 -08:00
June Yi a9d8c54e6d Add i18n strings for Korean translation (#10611) 2018-11-03 23:07:38 -07:00
MengZeLee 7ebdd661d7 Modified into appropriate words (#10768)
* Modified into appropriate words

* Modified into appropriate words
2018-11-03 04:37:07 -07:00
AdamDang 2d8bc158a2 Update tools.md (#10753) 2018-11-03 04:34:25 -07:00
Zach Corleissen 81b2562f77 Enable reviews/approvers for localized site strings (#10811)
Remove unintentional changes from a different branch

Correct English alias
2018-11-02 13:03:13 -07:00
Tjeerd Jan van der Molen c5b28b7e81 Update install-minikube.md (#10793)
Clarify that the --vm-driver none option only works on a linux environment
2018-11-02 10:45:53 -07:00
Robert de Bock 1749327bf1 Describe what file to edit (#10790)
It was not clear where the yaml blob should be saved in. Added a single like that clears up what file to edit.
2018-11-02 10:44:37 -07:00
Pingan eac1cb6d34 remove node condition ConfigOK (#10772) 2018-11-02 10:43:25 -07:00
Iain Foulds b9ffbb1eba Update naming for Azure Kubernetes Service (#10799) 2018-11-01 15:39:53 -07:00
Casey Davenport a9abd82512 Update version of Calico/Canal in kubeadm docs (#10802) 2018-11-01 15:35:01 -07:00
Zach Corleissen 2c9690d512 Add markthink to zh- teams (#10683) 2018-11-01 15:32:23 -07:00
Moonhyuk Choi a9c6b4dba0 Update default 'image-gc-high-threshold' (#10703)
When I check the kubelet option document and actual kubelet config value, default is 85 instead of 90.
2018-11-01 14:03:26 -07:00
Shivam Khandelwal 5c4646c92b Updated broken link to Issue Template (#10781)
This links seems to be broken after the kubernetes/kubernetes#68774 merge.
2018-11-01 13:42:44 -07:00
Zach Corleissen 310576fe00 Allow subfolders to inherit OWNERS from parent folders (#10809)
Remove redundant line for kbarnard10
2018-11-01 13:12:58 -07:00
Andrew Chen 6cd8128475 Fix secondary nav to use Home (#10800) 2018-11-01 05:44:44 -07:00
Andrew Chen 781eb3055a Add back IBM png logo (#10798) 2018-10-31 14:59:22 -07:00
Robin Rakowski 2123433ed7 update to start.md fixing broken links (#10787)
Changed the two previously-broken links in the "Sign the CLA" section of the page to point to current working pages.
2018-10-30 16:54:33 -07:00
Cody Clark ee54cf3e88 Update OWNERS_ALIASES (#10785) 2018-10-30 15:06:26 -07:00
Cody Clark 354d497eed Update OWNERS_ALIASES (#10782) 2018-10-30 14:50:35 -07:00
Alex Contini 4ef17b6612 svg logo test (#10619)
* Add files via upload

* Update index.html

* Delete ibm_featured_logo.png
2018-10-30 14:35:44 -07:00
Cody Clark a4131ec661 Merge pull request #10759 from shiveshabhishek/typo-fix
Minor typo-fix in 2018-05-29-announcing-kustomize.md
2018-10-30 12:33:13 -07:00
Cody Clark 5257e132e9 Merge pull request #10770 from zqm19941101/patch-1
fix typo
2018-10-30 12:06:23 -07:00
RaviSantosh Gudimetla 315c716774 Deprecate critical pod annotation (#10733) 2018-10-30 10:17:58 -07:00
erganzi 19dbe8d584 Update ingress.md (#10752)
Fix a small mistake
2018-10-30 10:05:08 -07:00
erganzi d607ce8541 Update hpa.md (#10749)
not rs
2018-10-30 10:03:51 -07:00
Sapphire Mason-Brown 034c600993 Correct '--output' flag in cheatsheet (#10758) 2018-10-30 10:02:30 -07:00
KevinTHU 46c75bcf19 need create /etc/docker directory first for adding /etc/docker/daemon.json (#10769)
otherwise there will be an error, and the file /etc/docker/daemon.json will not be added.
2018-10-30 09:57:47 -07:00
Rui Cao f8179c11a7 Fix typo: preferrable -> preferable (#10774)
Signed-off-by: Rui Cao <ruicao@alauda.io>
2018-10-30 09:53:08 -07:00
NoNE 36c0aa21eb Added an explanation for using the double dash symbol (#10661)
* Added an explanation for using the double dash symbol

* Changing to note block.

* Update get-shell-running-container.md
2018-10-30 09:50:44 -07:00
zqm19941101 d698035dfa fix typo (#10771) 2018-10-30 09:47:13 -07:00
LiuDui 654a589167 Delete some extra space (#10741)
Delete some extra space
2018-10-30 09:45:56 -07:00
Caio 5bab86b2b3 Code style not working on kubernetes.io (#10727)
* Code style not working on kubernetes.io

Code style based on tab works on github markdown, but it is not working on kubernetes.io. In addition to that, `<your-pv-name>` argument on line 50 is hidden on kubernetes.io, because it is being processed as a HTML tag.

* Update change-pv-reclaim-policy.md

Indentation fix
Language of the code specified
2018-10-30 09:44:40 -07:00
cewuandy 9de1d6eb7e fix docker-cli-to-kubectl.md (#10711)
* fix docker-cli-to-kubectl.md

* remove shortcode toc

* edit kubectl for Docker Users Overview
2018-10-30 09:42:16 -07:00
Gergely Csatari 54279883d4 Adding DANM (#10679)
* Adding DANM

Adding a new item to the list of cluster networking
solutions.

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>

* Corrections of received comments

for https://github.com/kubernetes/website/pull/10679

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
2018-10-30 09:34:05 -07:00
zqm19941101 8bc6c001be fix typo 2018-10-30 17:05:52 +08:00
Yuexiao Wang 7b183afad4 add case with systemd MountFlags for kubeadm troubleshooting (#10742)
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-29 19:25:23 -07:00
erganzi 6f3eabd240 Update federated/job.md and federated/namespaces.md (#10762)
* Update namespaces.md

fix it.

* Update job.md

fix it
2018-10-28 23:10:23 -07:00
W Technologist d40d92f67b Optimise translations (#10755) 2018-10-28 19:37:23 -07:00
Shivesh Abhishek a96eb2c2ff Minor typo-fix in 2018-05-29-announcing-kustomize.md
Signed-off-by: Shivesh Abhishek <shivesh.abhishek@mayadata.io>
2018-10-29 02:36:15 +05:30
kvaps a2fa50fc9a ltsp post: not officially supported note (#10754)
* add: not officially supported note

* fix: networking explanation
2018-10-27 09:57:14 -07:00
erganzi c3dee1ed7f Update deployment.md (#10748)
fixed a small mistake
2018-10-27 02:22:20 -07:00
AdamDang 509a4e15e9 Update pod-security-policy.md (#10740) 2018-10-27 00:14:22 -07:00
Michael 7c21f17cf3 Blog Post: Tips first KubeCon Presentation (Pt. 2) (#10510)
* Blog Post: Tips first KubeCon Presentation (Pt. 2)

Part 2 about experiences from my first KubeCon presentation. Probably delay by 1w before approving.
Pre-review and collaboration with @kbarnard10 and @parispittman.

**Note:** needs fix for the link to part 1 after the first one has been released.

First part PR here: https://github.com/kubernetes/website/pull/10509

* Update Tips-For-First-KubeCon-Presentation-Part-2.MD

* Update and rename Tips-For-First-KubeCon-Presentation-Part-2.MD to 2018-10-26-tips-for-first-kubecon-presentation-part-2.md
2018-10-26 09:33:38 -07:00
William Zhang 5d592fbee3 fix spelling errors in doc repo (#10434)
* fix spelling errors in content/en/docs/concepts/containers/

Signed-off-by: William Zhang <warmchang@outlook.com>

* fix spelling errors in HPA, StatefulSet, SA

Signed-off-by: William Zhang <warmchang@outlook.com>
2018-10-26 09:07:21 -07:00
Francois Tur 140b3da098 - remove the mention to survey. It is about to close. (#10735) 2018-10-25 14:55:54 -07:00
Karen Bradshaw 90e5647ce0 Fix typo (#10734) 2018-10-25 14:31:54 -07:00
Lee Gaines 65eac71489 Updated the numbering of instructions (#10401)
* Updated the numbering of instructions

All of the instructions were numbered like this:
1. do something
1. then do this
1. finally, do this.

I just changed them accordingly to be 1-2-3. There was also a case typo in the `LOG_LEVEL=info` which should be `LOG_LEVEL=INFO` based on the data in the yaml file.

* Update numbered list formatting

* [WIP] test snippet fix

* more numbered list/snippet fixes
2018-10-25 14:08:57 -07:00
Pierre-Yves Aillet 6a812006f0 Add Aggregation Layer to glossary (#10535)
* Add Aggregation Layer to glossary

* Fix after review

* Adjustments after review
2018-10-25 14:04:32 -07:00
Florian Arthofer 84e3e3a7b2 Added link for Dynatrace (#10629)
Added link to Dynatrac k8s monitoring info page
2018-10-25 12:47:08 -07:00
wangxy518 61afa0380f Update baseof.html (#10696) 2018-10-25 11:28:37 -07:00
MengZeLee 04163e9a7c removing toc shortcode. (#10720) 2018-10-25 11:02:31 -07:00
meirlaker 8f2bb3d6ad Fix typo: update --> updated (#10726) 2018-10-25 10:50:40 -07:00
William Zhang bf9cdf7a60 Enable volume limit feature by default (#10728)
Signed-off-by: William Zhang <warmchang@outlook.com>
2018-10-25 10:17:35 -07:00
James George b30e28e2c6 Minor UI fix (#10729)
* Fixes 👍

* Minor fix 👍
2018-10-25 10:08:57 -07:00
李永信 91e8ad433f typo fix about further (#10723)
Signed-off-by: Yongxin Li <yxli@alauda.io>
2018-10-24 06:26:08 -07:00
James George 9cd91a59e5 Fixes 👍 (#10688) 2018-10-24 06:25:14 -07:00
Martin Hoefling da3fbcf3ed Fix incorrect naming of the flag (#10713)
The flag is called --resolv-conf.
2018-10-23 20:25:18 -07:00
Claudia J.Kang 8eaf56e8f1 Update l10n READMEs link (#10669)
* New link about Localizing Kubernetes Documentation

This commit adds a link about Localizing Kubernetes Documentation in
README.md's Contributing to the docs section.

Fixed : #10485, #10622

Signed-off-by: Claudia J. Kang <claudiajkang@gmail.com>

* Update l10n guide about adding l10n README files.

This commit adds a link process about the l10n README files in
localization.md.

Fixed : #10485, #10622

Signed-off-by: Claudia J. Kang <claudiajkang@gmail.com>
2018-10-23 15:56:57 -07:00
Stephan Fabel 0e46d4682d remove "recommended" from Minikube description (#10701)
Now that there are multiple predictable and stable upstream solutions to deploy Kubernetes, we should not express an opinion as to which one to recommend without also mentioning the reasons for it.
2018-10-23 15:07:36 -07:00
SataQiu 60293a7717 fix some typos (#10704)
* fix some typos

* s/they/there
2018-10-23 15:06:24 -07:00
Jordan Liggitt 6705b17ebc Update instructions for viewing rbac denials in the log (#10674) 2018-10-23 11:30:38 -07:00
Chao Wang 255d95da31 fix a clerical error in audit truncate description (#10651) 2018-10-23 08:44:29 -07:00
Xinzhao Xu e8362f9401 reference: fix dead links in extensible-admission-controllers (#10672) 2018-10-23 08:41:30 -07:00
David T. Crosby 809741c478 Update overview.md (#10665) 2018-10-23 08:39:31 -07:00
W. Trevor King e8e61870c9 content/en/docs/setup/multiple-zones: Fix "pods in some pods" typo (#10664)
The previous version is from cbbf1fa6 (Multizone: docs, 2016-03-16, #140).
2018-10-23 07:34:32 -07:00
Karen Bradshaw f0bcb80dd4 [WIP] css updates for ol,ul,li (#10684) 2018-10-23 07:23:35 -07:00
Rui Cao 1f1ab6576e Fix typo: assoications -> associations (#10708)
Signed-off-by: Rui Cao <ruicao@alauda.io>
2018-10-23 07:19:32 -07:00
LiuDui d565f7de6a Remove excess Spaces (#10706) 2018-10-23 04:32:44 -07:00
Nikhita Raghunath 712f463ba1 Remove docs for migration from TPRs to CRDs (#10707)
* Add sttts as a reviewer to CRD docs

* Remove docs for migration to CRDs as TPRs are not relevant anymore

TPRs were removed in 1.8
2018-10-23 04:24:29 -07:00
Yuexiao Wang 1046a70d43 remove redundant for Jaguar (#10694)
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-22 18:31:36 -07:00
takonomura f82237f061 Fix a broken link in /docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha/ (#10693) 2018-10-22 12:40:19 -07:00
likeXXxx 776485e2f7 fix a typo (#10695)
* fix a typo

* fix a typo
2018-10-22 11:25:26 -07:00
Stewart-YU 0b34cec135 update Deployment.md (#10649)
both `extension.vabeta1` and `apps.v1` in deployments, when run `kubectl ` op about `deploy`, we should add apiversion
2018-10-19 13:00:01 -07:00
Michael 940d089d30 Blog Post: Tips first KubeCon Presentation (Pt. 1) (#10509)
* Blog Post: Tips first KubeCon Presentation (Pt. 1)

Part 1 about experiences from my first KubeCon presentation.
Pre-review and collaboration with @kbarnard10 @parispittman.

* Update Tips-For-First-KubeCon-Presentation-Part-1.MD

* Update and rename Tips-For-First-KubeCon-Presentation-Part-1.MD to 2018-10-18-tips-for-first-kubecon-presentation-part-1.md
2018-10-18 13:56:30 -07:00
Chao Wang c9c236c4bf fix the output for rolling back a deployment (#10597) 2018-10-17 23:31:36 -07:00
Gregory Hanson 548b538f72 Bug in coredns ConfigMap spec (#10585)
Missing the `data` label in configmap spec.  Attempting to create the file as is results in:
```
error: error validating "STDIN": error validating data: ValidationError(ConfigMap): unknown field "Corefile" in io.k8s.api.core.v1.ConfigMap; if you choose to ignore these errors, turn validation off with --validate=false
```
2018-10-17 17:27:28 -07:00
Sam Fleming 544e9e4089 Show clusterIP in Services diagrams instead of ServiceIP (#10663)
* Use clusterIP instead of ServiceIP in graphs and documentation

Using ServiceIP instead of clusterIP in images can be confusing when
they're showing the clusterIP.

Since the SVGs are updated, the "Note" is now redundant.

* Update out-dated service diagram PNGs
2018-10-17 17:16:31 -07:00
Karen Bradshaw 5e1579a199 fix glossary entry for quantity (#10653) 2018-10-17 17:13:00 -07:00
kvaps 11e438a270 Blog Post: Network bootable servers farm with LTSP (some fixes) (#10466)
* upd: small changes, bump docker version

* Update 2018-10-02-network-bootable-farm-with-ltsp.md

* add: why not coreos

* add: why not coreos
2018-10-17 17:08:00 -07:00
Brandon Philips fe40954ebd tasks-with-cron-jobs: explain the steps expression (#10540)
The `/` steps expression is used throughout this doc but is never explained. Worse, it isn't actually part of the "normal" Cron spec linked in Wikipedia and is an extension added to vixiecron
2018-10-17 16:51:00 -07:00
Rob Hirschfeld caf3defcad Adding Kubernetes Kubeadm + Digital Rebar integration for On-Prem installs (#10118)
* add Digital Rebar KRIB to installer lists

* second review, minor cleanups

* address corrections flagged by @neolit123

* resolve merge - fix table

* add Digital Rebar KRIB to installer lists

* second review, minor cleanups

* address corrections flagged by @neolit123
2018-10-17 12:28:23 -07:00
bsky 4b9882f84c Fix tryKubernetes button (#10642) 2018-10-17 07:32:07 -07:00
Chao Wang d0173320b8 audit api version has been updated to v1 (#10647) 2018-10-17 00:48:05 -07:00
Bob Killen a6b876a9d4 fix kubecon event name in contrib summit blog post (#10640) 2018-10-16 13:29:04 -07:00
Bob Killen f386a59fc8 Add NA contributor Summit Blog Post (#10630)
* add NA contrib summit blog post

* Update 2018-10-16-kubernetes-2018-north-american-contributor-summit.md
2018-10-16 11:58:59 -07:00
Takuya N ad54de449f Improve mobile user experience on pages under /docs (#10072)
Force #docs #vendorStrip elements to use overflow-x: scroll in CSS.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-16 04:34:55 -07:00
AdamDang df90172c3b Update implementation-details.md (#10626) 2018-10-16 00:16:50 -07:00
Miguel David ca8728f850 Change deb repo from http to https (#10173)
* Change deb repo from http to https

Given that http://apt.kubernetes.io/ is redirecting to https://packages.cloud.google.com/apt/ which is secure, then the suggestion is to change the source list to point to the correct destination.

* change apt source to https with apt.kubernetes.io
2018-10-15 18:56:40 -07:00
Takuya N f5f80ff508 Use masked white logo for ancestry (#10544)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-15 18:55:19 -07:00
Kaitlyn Barnard 12732a6910 Revert "Typo Fix" (#10624)
* Revert "Use CoCC email for reporting CoC violations (#10621)"

This reverts commit 612f9c2aa4.

* Revert "Fix broken links for Korean tutorial pages (#10519)"

This reverts commit 9b4acdf940.

* Revert "Added CSS height property to #oceanNodes main to fix spacing in Firefox (#10169)"

This reverts commit 49ee537481.

* Revert "fix some typos (#10614)"

This reverts commit 98d2144036.

* Revert "Typo Fix (#10620)"

This reverts commit 4a0f0889fb.
2018-10-15 18:50:17 -07:00
LiuDui 09f15723b3 Update 2018-10-08-support-for-azure-vmss.md (#10572) 2018-10-15 18:44:26 -07:00
Qiming 45d3960599 Fix javascript reference in API docs (#10553)
The versions of javascripts used have been updated so the references in
the generated API docs should be updated as well.

Closes: #10385
2018-10-15 18:42:02 -07:00
LiuDui 7a12b9ed1c Fixed typo (#10425) 2018-10-15 18:38:31 -07:00
Mike Wilson 078fb57fe9 Fixing a small issue (#10392)
The docs say to backup, start a new application called new-etcd, but then to restore to etcd/0 and not new-etcd/0. Fixing that so it restores to that newly created unit.
2018-10-15 18:37:14 -07:00
Tommy Hobin 5b29044902 Added Giant Swarm to On-Prem and Turnkey (#10193)
Please contact me with questions or concerns.
2018-10-15 18:34:50 -07:00
Carolyn Van Slyck 612f9c2aa4 Use CoCC email for reporting CoC violations (#10621)
* Use CoCC email for reporting CoC violations

* Direct CoC concerns to the new committee
2018-10-15 16:33:34 -07:00
June Yi 9b4acdf940 Fix broken links for Korean tutorial pages (#10519) 2018-10-15 14:42:29 -07:00
Chris Keele 49ee537481 Added CSS height property to #oceanNodes main to fix spacing in Firefox (#10169)
* Changed CSS property for browser consistency.

* Moved height property into tablet media query to fix issue on smaller screens.

* Add changed to two more .content files.

* Updated generated resources files, this time using Hugo extended.
2018-10-15 14:17:13 -07:00
SataQiu 98d2144036 fix some typos (#10614) 2018-10-15 13:51:25 -07:00
Kaitlyn Barnard 4a0f0889fb Typo Fix (#10620)
* blog post for azure vmss

* blog post

* blog post

* typo fix
2018-10-15 11:21:07 -07:00
Paris 208216d46e Blog Post: 2018 Steering Committee Election Results (#10616)
* Blog Post: 2018 Steering Committee Election Results

* Update and rename 2018-10-00-Steering-Election-Results to 2018-10-15-Steering-Election-Results

* Update 2018-10-15-Steering-Election-Results

* Rename 2018-10-15-Steering-Election-Results to 2018-10-15-steering-election-results.md
2018-10-15 09:08:44 -07:00
Jeff Billimek c8ce7c3b18 adding missing step for additional control plane nodes (#10600)
There appears to be a missing step instructing the user to apply the kubeadm-config on each of the additional control plane nodes
2018-10-15 06:40:46 -07:00
Stewart-YU 05f4c8ab7a Update deployment.md (#10615)
fix the wrong comments
2018-10-15 00:44:13 -07:00
Yang Li 34d06b1054 Add idealhack as a reviewer (#10592) 2018-10-14 20:09:43 -07:00
Stewart-YU 9def6050d7 Add stewart-yu into sig-docs-en-owners group (#10570)
Add stewart-yu into sig-docs-en-owners group
2018-10-14 18:42:43 -07:00
António Meireles bb29bc897d missing 'kubelet config annotate-cri' phase on additional controller nodes (#10598)
Hi all,

AFAICT and after reading
[this](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-alpha/)
`kubeadm alpha phase kubelet config annotate-cri` should invoked for
consistency in all joining controller nodes (to match what is already
done by default in the seed/initial one).

best regards,

António

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2018-10-14 17:36:16 -07:00
June Yi 462f4553e2 Fix build failure by adding example and include files (#10610)
Signed-off-by: June Yi <gochist@gmail.com>
2018-10-14 04:58:41 -07:00
Takuya N d14b898a91 Fix Hugo config.toml as valid (#10605)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-12 18:16:50 -07:00
Tim Fogarty 9abeb8bfa1 Update PR template for 1.13 release (#10603)
* Update PR template for 1.13 release

Also updates links to documentation for submitting PRs

* Update contributing docs for new branch strategy

Branches for upcoming releases are now dev-X.Y instead of
release-X.Y
2018-10-12 18:00:20 -07:00
Zach Corleissen abcee2dccd Update localization guidelines (#10485)
* Update localization guidelines for language labels

Continuing work

Continuing work

Continuing work

More work in progress

Add local OWNERS folders

Add an OWNERS file to Chinese

Remove shortcode for repos

Add Japanese

Alphabetize languages, change weights accordingly

More updates

Add Korean in Korean

Add English to languageName

Feedback from gochist

Move Chinese content from cn/ to zh/

Move OWNERS from cn/ to zh/

Resolve merge conflicts by updating from master

Add files back in to prep for resolution

After rebase on upstream/master, remove files

Review and update localization guidelines

Feedback from gochist, tnir, cstoku

Add a trailing newline to content/ja/OWNERS

Add a trailing newline to content/zh/OWNERS

Drop requirement for GH repo project

Clarify language about forks/branches

Edits and typos

Remove a shortcode specific to a multi-repo language setup

Update aliases and owners

Add explicit OWNERS for content/en

Migrate content from Chinese repo, update regex in config.toml

Remove untranslated strings

Add trailing newline to content/en/OWNERS

Add trailing newlines to OWNERS files

add Jaguar project description (#10433)

* add Jaguar project description

[Jaguar](https://gitlab.com/sdnlab/jaguar) is an open source solution for Kubernetes's network based on OpenDaylight.
Jaguar provides overlay network using vxlan and Jaguar CNIPlugin provides one IP address per pod.

* Minor newline tweak

blog post for azure vmss (#10538)

Add microk8s to pick-right-solution.md (#10542)

* Add microk8s to pick-right-solution.md

Microk8s is a single-command installation of upstream Kubernetes on any Linux and should be included in the list of local-machine solutions.

* capitalized Istio

Add microk8s to foundational.md (#10543)

* Add microk8s to foundational.md

Adding microk8s as credible and stable alternative to get started with Kubernetes on a local machine. This is especially attractive for those not wanting to incur the overhead of running a VM for a local cluster.

* Update foundational.md

Thank you for your suggestions! LMK if this works now?

* Rewrote first paragraph

And included a bullet list of features of microk8s

* Copyedit

fix typo (#10545)

Fix the kubectl subcommands links. (#10550)

Signed-off-by: William Zhang <warmchang@outlook.com>

Fix command issue (#10515)

Signed-off-by: mooncake <xcoder@tenxcloud.com>

remove imported community files per issue 10184 (#10501)

networking.md: Markdown fix (#10498)

Fix front matter, federation command-line tools (#10500)

Clean up glossary entry (#10399)

update slack link (#10536)

typo in StatefulSet docs (#10558)

fix discription about horizontal pod autoscale (#10557)

Remove redundant symbols (#10556)

Fix issue #10520 (#10554)

Signed-off-by: William Zhang <warmchang@outlook.com>

Update api-concepts.md (#10534)

Revert "Fix command issue (#10515)"

This reverts commit c02a7fb9f9.

Update memory-constraint-namespace.md (#10530)

update memory request to 100MiB corresponding the yaml content

Blog: Introducing Volume Snapshot Alpha for Kubernetes (#10562)

* blog post for azure vmss

* snapshot blog post

Resolve merge conflicts in OWNERS*

Minor typo fix (#10567)

Not sure what's supposed to be here, proposing removing it.

* Feedback from gochist

Tweaks to feedback

* Feedback from ClaudiaJKang
2018-10-12 14:25:01 -07:00
nownabe 753f57f0e6 Tweak Horizontal Pod Autoscaler documentation (#10596)
* Use consistent terms

* Fix typo
2018-10-12 06:21:18 -07:00
Yang Li 9936ea6552 Fix a typo in OWNERS_ALIASES (#10593) 2018-10-11 20:58:03 -07:00
Quan Tian aa3c5e89f6 Fix ingress class annotation example links (#10580) 2018-10-11 19:44:51 -07:00
chenDT e6611e3100 Fix some "capture prerequisites" errors in docs/tasks. (#10270)
Multiple "capture prerequisites" can only display the last one, so we need to
merge multiple "capture prerequisites".
2018-10-11 14:21:04 -07:00
Jim Angel 6ac500f2ad adding jimangel as reviewer (#10587)
* adding jimangel as reviewer

* Alphabetize new entry
2018-10-11 11:17:24 -07:00
Kaitlyn Barnard 36a9a9aeee Blog Post: Topology Aware Volume Provisioning (#10586)
* blog post for azure vmss

* blog post

* blog post
2018-10-11 10:41:10 -07:00
Eamon Bauman ec82aed8cf Remove links for older versions of kubernetes (#10523)
* Fix broken links for older versions of kubernetes

Upgrade paths listed on this page (1.7, etc) had broken links. Referred those links to the last working copy, which was in v1.11 docs.

* Removed older links
2018-10-10 20:12:40 -07:00
atoato88 54861ba19c Update Flannel manifest URL (#10571)
Current manifest of flannel is old for Kubernetes v1.12 .
Deployment cluster is failed at installing pod network add-on.
This PR update flannel manifest URL.
2018-10-10 18:04:52 -07:00
ahawtho 8e38104f87 Fixes typo in resource-quotas.md (#10575) 2018-10-10 17:59:37 -07:00
Kaitlyn Barnard 9e4ff3de82 Blog Post: RuntimeClass (#10576)
* blog post for azure vmss

* blog post
2018-10-10 08:56:28 -07:00
Chazzledazzle1 b96ee7d8c4 Additional Documentation (#10480)
* [Kubernetes the Hard Way (LinuxAcademy.com)](https://linuxacademy.com/linux/training/course/name/kubernetes-the-hard-way)
2018-10-10 06:15:04 -07:00
John Roach e949373d68 Removed duplication of spec: (#10568)
Removed duplicate of `spec:` in example.
2018-10-09 23:08:19 -07:00
Brandon Philips fac5780553 security: use security@kubernetes.io alias (#10516)
See https://github.com/kubernetes/sig-release/issues/326 for context on
the change.
2018-10-09 20:38:46 -07:00
Juan Vallejo 275c8c6721 address additional comments from pr #10259 (#10539) 2018-10-09 18:10:03 -07:00
Luc Perkins 462b8ed2a2 Update README instructions and Docker image (#10537) 2018-10-09 18:08:28 -07:00
Brian-Williams 69632fc481 Remove unneeded move page (#10563)
As is this links you to a page, which simply links to the resources current location. Better to simply link to the resources current location.
2018-10-09 18:04:03 -07:00
Scott Brenner a7e41d80db Minor typo fix (#10567)
Not sure what's supposed to be here, proposing removing it.
2018-10-09 14:52:03 -07:00
Zach Corleissen 170c412377 Update OWNERS* files to set permissions by alias (#10566)
Add tfogo
2018-10-09 14:41:33 -07:00
Kaitlyn Barnard 48c6f5445b Blog: Introducing Volume Snapshot Alpha for Kubernetes (#10562)
* blog post for azure vmss

* snapshot blog post
2018-10-09 11:05:19 -07:00
erganzi 27202920f3 Update memory-constraint-namespace.md (#10530)
update memory request to 100MiB corresponding the yaml content
2018-10-09 05:15:31 -07:00
Qiming e43029bff9 Merge pull request #10559 from kubernetes/revert-10515-fix_commands
Revert "Fix command issues of apply-resource-quota-limit"
2018-10-09 20:11:46 +08:00
Qiming 66b5e5c457 Revert "Fix command issue (#10515)"
This reverts commit c02a7fb9f9.
2018-10-09 20:07:16 +08:00
Qiming aa5cba0b4e Revert "remove imported community files per issue 10184 (#10501)"
This reverts commit 1b7fe798da.
2018-10-09 20:07:16 +08:00
Qiming 2b6f888804 Revert "networking.md: Markdown fix (#10498)"
This reverts commit cd5393ce91.
2018-10-09 20:07:16 +08:00
Qiming 4e1ec8f07c Revert "Fix front matter, federation command-line tools (#10500)"
This reverts commit 9c8a188385.
2018-10-09 20:07:16 +08:00
Qiming 5f7553668f Revert "Clean up glossary entry (#10399)"
This reverts commit 60a2be00f2.
2018-10-09 20:07:16 +08:00
Qiming 34bc402b4e Revert "update slack link (#10536)"
This reverts commit 0d3104940a.
2018-10-09 20:07:16 +08:00
Qiming 5fe491dc73 Revert "typo in StatefulSet docs (#10558)"
This reverts commit 8f6c9e6f81.
2018-10-09 20:07:16 +08:00
Qiming 35b43c314a Revert "fix discription about horizontal pod autoscale (#10557)"
This reverts commit cf73622b61.
2018-10-09 20:07:16 +08:00
Qiming d9a58bc5bc Revert "Remove redundant symbols (#10556)"
This reverts commit 1f8d278456.
2018-10-09 20:07:16 +08:00
Qiming 59002df02c Revert "Fix issue #10520 (#10554)"
This reverts commit 83fc9324e1.
2018-10-09 20:07:16 +08:00
Qiming 92a99d834b Revert "Update api-concepts.md (#10534)"
This reverts commit 20dc612859.
2018-10-09 20:07:16 +08:00
KevinTHU 20dc612859 Update api-concepts.md (#10534) 2018-10-09 04:51:27 -07:00
William Zhang 83fc9324e1 Fix issue #10520 (#10554)
Signed-off-by: William Zhang <warmchang@outlook.com>
2018-10-09 04:50:06 -07:00
LiuDui 1f8d278456 Remove redundant symbols (#10556) 2018-10-09 04:48:45 -07:00
CaoShuFeng cf73622b61 fix discription about horizontal pod autoscale (#10557) 2018-10-09 04:42:09 -07:00
Patrick Nordahl 8f6c9e6f81 typo in StatefulSet docs (#10558) 2018-10-09 04:40:44 -07:00
123tap 0d3104940a update slack link (#10536) 2018-10-09 02:40:12 -07:00
Karen Bradshaw 60a2be00f2 Clean up glossary entry (#10399) 2018-10-09 01:39:27 -07:00
Karen Bradshaw 9c8a188385 Fix front matter, federation command-line tools (#10500) 2018-10-09 01:15:13 -07:00
Gianpaolo Macario cd5393ce91 networking.md: Markdown fix (#10498) 2018-10-09 01:13:52 -07:00
Jennifer Rondeau 1b7fe798da remove imported community files per issue 10184 (#10501) 2018-10-09 01:12:31 -07:00
Bily Zhang c02a7fb9f9 Fix command issue (#10515)
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-09 01:09:54 -07:00
William Zhang dbf12eb672 Fix the kubectl subcommands links. (#10550)
Signed-off-by: William Zhang <warmchang@outlook.com>
2018-10-09 01:07:18 -07:00
fqsghostcloud fac3b102a7 fix typo (#10545) 2018-10-09 00:20:48 -07:00
Stephan Fabel 0478f4e565 Add microk8s to foundational.md (#10543)
* Add microk8s to foundational.md

Adding microk8s as credible and stable alternative to get started with Kubernetes on a local machine. This is especially attractive for those not wanting to incur the overhead of running a VM for a local cluster.

* Update foundational.md

Thank you for your suggestions! LMK if this works now?

* Rewrote first paragraph

And included a bullet list of features of microk8s

* Copyedit
2018-10-08 18:06:58 -07:00
Stephan Fabel 797db720dc Add microk8s to pick-right-solution.md (#10542)
* Add microk8s to pick-right-solution.md

Microk8s is a single-command installation of upstream Kubernetes on any Linux and should be included in the list of local-machine solutions.

* capitalized Istio
2018-10-08 16:34:34 -07:00
Kaitlyn Barnard ae0f2b6a95 blog post for azure vmss (#10538) 2018-10-08 10:32:19 -07:00
PONOUBA 6d8830309a add Jaguar project description (#10433)
* add Jaguar project description

[Jaguar](https://gitlab.com/sdnlab/jaguar) is an open source solution for Kubernetes's network based on OpenDaylight.
Jaguar provides overlay network using vxlan and Jaguar CNIPlugin provides one IP address per pod.

* Minor newline tweak
2018-10-06 20:06:40 -07:00
CaoShuFeng cdd25ae6ef update description about cron jobs (#10183)
* update description about cron jobs

Fixes: https://github.com/kubernetes/website/issues/10177

* grammar edits
2018-10-05 15:20:55 -07:00
Andrew Chen 58aa2d5c30 Fix edit page button at bottom of pages. (#10517) 2018-10-05 15:13:03 -07:00
Bily Zhang 5f34b71022 Fix doc issues (#10513)
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-05 15:11:37 -07:00
Zach Corleissen bf9e3f7713 Add jaredbhatti as an approver (#10497) 2018-10-05 09:46:48 -07:00
SataQiu f34ea06e60 fix typo: remove redundant space (#10455) 2018-10-05 01:32:15 -07:00
SataQiu 6a192c85c6 fix typo: remove duplicate words (#10508) 2018-10-05 01:29:46 -07:00
SataQiu 4473d1f56d fix typo: remove duplicate 'the' (#10505) 2018-10-05 01:28:30 -07:00
SataQiu d95e10708b fix typo (#10491) 2018-10-05 01:27:13 -07:00
SataQiu a6bc890899 fix typo (#10413) 2018-10-05 01:24:45 -07:00
SataQiu 3b4c3ae640 fix the broken link in 2016-05-00-Hypernetes-Security-And-Multi-Tenancy-In-Kubernetes.md (#10316) 2018-10-05 01:23:28 -07:00
Van Driessche Vincent fcb2123efb Fixes typo (#10474)
Small typo found in the "Foreground cascading deletion" section. In the indicative present form, "to delete" should become "he/she/it deletes".
2018-10-04 23:57:58 -07:00
SataQiu f26054afb7 fix typo: remove duplicate words (#10506) 2018-10-04 20:32:28 -07:00
Kaitlyn Barnard 147537bb2e Update to newsletter signup (#10499)
* update to newsletter signup

* Update en.toml
2018-10-04 13:10:21 -07:00
Jennifer Rondeau c211958a24 add myself and remove Jared from security contacts (#10495) 2018-10-04 12:13:57 -07:00
123tap 8e2fa042b7 fix capitalization (#10494) 2018-10-04 11:48:31 -07:00
njain1985 e4dcc4682b Update resource-usage-monitoring.md (#9980)
* Update resource-usage-monitoring.md

Add New Relic Kubernetes monitoring integration

* Update resource-usage-monitoring.md

Implemented the suggested changes, thanks for pointing out.

* Remove unneeded toc and add punctuation
2018-10-04 10:50:15 -07:00
Stanislav Zapolsky 7076a878dd fixed a typo in docs/concepts/configuration/pod-priority-preemption.md (#10376)
* fixed a typo

"Pod may by scheduled" > "Pod may be scheduled"

* and another typo

"sooner that" > "sooner than"
2018-10-04 10:39:13 -07:00
Jonas Rosland 807fae7aec Adding Non-Code Contributions blog post (#10484)
* Adding Non-Code Contributions blog post

Signed-off-by: Jonas Rosland <jrosland@vmware.com>

* Update 2018-10-04-non-code-contributors-guide.md
2018-10-04 09:00:31 -07:00
CaoShuFeng ff85cba909 fix typo in runtime class (#10490) 2018-10-04 06:32:06 -07:00
SataQiu ada41a995a fix typo (#10487) 2018-10-03 22:13:39 -07:00
LiuDui 94e108b15c Change the version information in the page to v1.12.0 (#10411) 2018-10-03 21:33:31 -07:00
Kaitlyn Barnard 5bace02455 newseltter signup (#10304) 2018-10-03 21:07:34 -07:00
Luc Perkins 48aa30df96 Add og:image meta tag to non-blog pages (#10213)
* Add og:image meta tag to non-blog pages

* Fix other minor OpenGraph issues
2018-10-03 20:57:18 -07:00
Kenny Ho 11e937be26 Add support information for AMD GPUs (#10436) 2018-10-03 20:55:57 -07:00
JJ Asghar ba3615dd22 Update minikube.md (#10439)
The output has changed since the last update. This is what the example looks like now.
2018-10-03 20:54:36 -07:00
bobs-bits ed1b47f552 Update hello-minikube.md (#10182)
added powershell equivalent for  eval $(minikube docker-env), and added some text to help a beginner understand in more concrete terms the difference between the local docker registry, and the one in minikube (might only be an issue for newbs, but I am a newb :) and limited to powershell :().
2018-10-03 20:50:42 -07:00
Miguel Angel Medina Mondragon ea5a16952f improved and updated rollout history information (#10175)
* improved and updated rollout history information

* minor change, manifest.yaml > manifest

* tweaks to the change-cause section

* annotation command typo

* redundancy fix

* removing the --record flag as it may be misleading
2018-10-03 20:46:43 -07:00
Tim Allclair (St. Clair) dc5b70d328 Fix link formatting (#10424) 2018-10-03 20:45:22 -07:00
LiuDui ab96cc7b25 The version information displayed on the page is outdated (#10407) 2018-10-03 20:42:22 -07:00
tanshanshan 8801499792 fix the command output (#10307) 2018-10-03 20:40:57 -07:00
jay vyas 35cc6ed576 resolve some semantics around ABAC and RBAC (#10256)
* resolve some semantics around ABAC and RBAC 

some minor tweaks for readability.

* Update abac.md

* Update abac.md

* Update abac.md

* Update abac.md

* Update abac.md
2018-10-03 20:37:03 -07:00
Justin Santa Barbara f39bc10631 Rewrite links for environment-variable-expose-pod-information to new location (#10209)
We have a redirect, so these links aren't broken, but we shouldn't
rely on the redirect - that ends up with long chains of complicated
redirects and makes validating the markdown harder.
2018-10-03 20:35:42 -07:00
alex-libre 24c8ed25da Capitalized "Pod" in multiple locations (#10199)
* Capitalized "Pod" in multiple locations

This style guide states to always capitalize Pod, but in the next section it was written in lowercase in a couple places. I've capitalized them.

* Capitalized two additional instances of "Pod" as recommended by @neolit123
2018-10-03 20:34:21 -07:00
DennyZhang - DevOps & Cloud Native 946f0d081f Add community kubectl cheatsheet (#10453) 2018-10-03 19:54:27 -07:00
JJ Asghar afbb7092c5 Update hello-minikube.md (#10440)
Added `shell` highlighting.
2018-10-03 19:53:01 -07:00
Preston Holmes c456e3180f update link for cri-containerd (#10435)
built in cri plugin for containerd now GA, replaces cri-containerd shim

https://kubernetes.io/blog/2018/05/24/kubernetes-containerd-integration-goes-ga/
2018-10-03 19:51:36 -07:00
tanshanshan e1459f2a71 fix the command output (#10417) 2018-10-03 19:50:10 -07:00
PONOUBA c22d8d42a8 add Jaguar project description (#10429)
[Jaguar](https://gitlab.com/sdnlab/jaguar) is an open source solution for Kubernetes's network based on OpenDaylight.
Jaguar provides overlay network using vxlan and Jaguar CNIPlugin provides one IP address per pod.
2018-10-03 19:48:45 -07:00
Shen Yuanyu 12e898b6ad minimum spell error (#10412) 2018-10-03 19:47:19 -07:00
Denis Salamanca af2207017f Removed "touch" on sources.list.d (#10427)
touch is not necessary as the "tee" command will create the file regardless if it exists or not
2018-10-03 19:45:58 -07:00
Thomas Strömberg 559c5778eb Remove reference to minikube get-k8s-versions (#10423)
This command was removed as part of the 'localkube' purge. You can now specify free-form which version you would like to install.

This PR addresses https://github.com/kubernetes/minikube/issues/3179
2018-10-03 19:44:37 -07:00
Florian Breisch 4e0ee8b5c6 Fix misspelled plugin configuration option (#10421) 2018-10-03 19:43:16 -07:00
CaoShuFeng 4c9dcf0717 fix description about cri (#10418) 2018-10-03 19:41:55 -07:00
SataQiu f950f0977e update version info (#10408) 2018-10-03 19:40:34 -07:00
LiuDui 96e18455cf Modified version information (#10406) 2018-10-03 19:39:13 -07:00
Justin Clift a628b58096 Trivial typo fixes (#10386) 2018-10-03 19:37:52 -07:00
Morten Torkildsen b9e2f86503 Update description of StatefulSet behavior on delete (#10380)
StatefulSet deletion does not have any guarantees of orderly termination of pods as is suggested by the documentation. Prior to 1.11 kubectl did scale down StatefulSets before deleting them, but this went away after the removal of reapers. Ref discussion in #68627.
This change updates the documentation to reflect this.
2018-10-03 19:36:31 -07:00
Karen Bradshaw 0ea9225760 Fix link to deploy node.js app (#10372)
- Update deploy instructions to link to hello-minikube
  node.js app create, deploy.

- See issue #10362.
2018-10-03 19:35:10 -07:00
Robert Edström b30adb4242 Clarify pod.md (#10327)
Wording is confusing to beginners - in the sentence before, it is just being explained that containers in the same pod are indeed run on the same physical host. Hopefully this clarifies that.
2018-10-03 19:33:49 -07:00
LiuDui d9eecfdfc8 Cancel the invalid hyperlink (#10297)
Cancel the invalid hyperlink

Cancel the invalid hyperlink

Cancel the invalid hyperlink

Cancel the invalid hyperlink

Cancel the invalid hyperlink

Cancel the invalid hyperlink
2018-10-03 19:32:28 -07:00
caberdoz ade133f06d Update update-daemon-set.md (#10290)
The default strategy for the update changed from 'OnDelete' to 'RollingUpdate' since Kubernetes 1.8:
https://v1-8.docs.kubernetes.io/docs/api-reference/v1.8/#daemonsetupdatestrategy-v1beta2-apps
2018-10-03 19:31:07 -07:00
SataQiu 32fdce6f64 fix some 404 links (#10287) 2018-10-03 19:29:33 -07:00
Misty Linville 65cdd253a0 Add pointer to k8s community site (#10286)
* Add pointer to k8s community site

* Copyedit

* Add the actual link

😂
2018-10-03 19:28:07 -07:00
Kaitlyn Barnard c912efd383 updating dates on China banner (#10268) 2018-10-03 19:26:42 -07:00
Luc Perkins 7631d38534 Add missing font imports (#10263) 2018-10-03 19:25:16 -07:00
Arnaud M 1be2a77449 bump version of event-exporter (#10191) 2018-10-03 19:19:30 -07:00
Rostislav M. Georgiev a69ac0bfbe install-kubeadm: Extend set SELinux in permissive mode (#10150)
The CentsOS/RHEL/... section mentiones that SELinux must be put in permissive
mode, but the supplied command does the job only for the current boot. Once
the system is restarted SELinux can again enter enforcing mode thus breaking
a Kubernetes cluster.

Fix this by adding a sed command that permanently changes the SELinux mode to
permissive.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-10-03 19:18:00 -07:00
Zach Corleissen 31517d13ee Fix broken link, fix & add redirects (#10122) 2018-10-03 19:16:34 -07:00
makocchi 20b1dd242d update and reorder sub contents (#10112) 2018-10-03 19:07:30 -07:00
Dennis Czombera 9c2f4b7123 Fix typos in concept pages (#10481)
* Remove unnecessary bracket

* Remove unnecessary parenthesis and add line break for easier reading flow.

* Fix typos
2018-10-03 18:06:00 -07:00
JJ Asghar 2d27384e3e Update deployment.md (#10443)
Update to `1.15.4` works in tandem with https://github.com/kubernetes/website/pull/10442
2018-10-03 17:30:09 -07:00
JJ Asghar dd1509fa1b Update Dockerfile (#10441)
Updated the `node` version.
2018-10-03 17:28:52 -07:00
JJ Asghar 0efa984ce2 Update nginx-deployment.yaml (#10442)
Updated the `nginx` version docker container.
2018-10-03 17:27:36 -07:00
Kevin Kelani 075de6be40 Fixes typo (#10444)
I believe the sentence meant to explain that you can use the pre-built packages but you can also build them from source for other OSes.
2018-10-03 17:25:12 -07:00
Eyal Levin d7917b51d6 Update RestartPolicy issue note (#10447)
* Update RestartPolicy issue note

As far as I understand this issue should be resolved in v1.12.0

* Update text
2018-10-03 17:23:55 -07:00
stephan lindauer 40972e0c6a Fix "compared compared" (#10456) 2018-10-03 17:15:49 -07:00
Chao Wang 54ee48eeda fix the CRI-installation in install-kubuadm (#10475) 2018-10-03 17:14:28 -07:00
Takuya N b45fd9cca4 Fix CSS for case study (#10463)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-03 17:13:12 -07:00
Takuya N b980de0edd Fix links to featured case studies (#10461)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-03 17:11:55 -07:00
Luc Perkins 977cab9252 Fix spacing error in CSS (#10478) 2018-10-03 17:09:31 -07:00
Pieter Vogelaar 86c0e43a0c Added cron job monitoring (#10336)
* Added cron job monitoring

Added cron job monitoring with the Kubernetes job monitor

* Update resource-usage-monitoring.md
2018-10-03 13:50:24 -07:00
PatMaz f42caf6e33 add for turney on-premise: GKE On-Prem | Google Cloud (#9944)
GKE On-Prem | Google Cloud
https://cloud.google.com/gke-on-prem/
Containerize on-premises applications and be cloud-ready. With GKE On-Prem, you get the Google Kubernetes Engine (GKE) experience directly in your data center. ... GKE On-Prem also registers your cluster with Google Cloud Console in order to have a single-pane-of-glass view for managing all your clusters.
2018-10-03 13:25:03 -07:00
Claudia J.Kang 612006c920 Add: Korean translation initialized (#10471)
Korean translation of Home, Setup, Tutorials-Kubernetes Basics, and Hello Minikube has been added.

* Initial translation of documentation home (kubernetes/kubernetes-docs-ko#9)
* 번역할 원본 파일 추가 (kubernetes/kubernetes-docs-ko#11)
* Translate tutorials/kubernetes-basics/create-cluster (kubernetes/kubernetes-docs-ko#15)
* Translate tutorials/kubernetes-basics/deploy-app in Korean (kubernetes/kubernetes-docs-ko#16)
* Translate tutorials/kubernetes-basics/expose in Korean (kubernetes/kubernetes-docs-ko#26)
* Translate tutorials/kubernetes-basics/scale in Korean (kubernetes/kubernetes-docs-ko#24)
* Fix typo from 세트 to 셋 according to 외래어 표기법 3.1.1 (kubernetes/kubernetes-docs-ko#31)
* Setup page's header and subheader translate into Korean. (kubernetes/kubernetes-docs-ko#33)
* Translated the welcome page in Korean (kubernetes/kubernetes-docs-ko#32)
* Translate tutorials/kubernetes-basics/update in Korean (kubernetes/kubernetes-docs-ko#35)
* Translate concepts/_index.md in Korean (kubernetes/kubernetes-docs-ko#30)
* Translate tutorials/kubernetes-basics/index.html in Korean (kubernetes/kubernetes-docs-ko#29)
* Translate /tutorials/hello-minikube.md in Korean (kubernetes/kubernetes-docs-ko#18)
* Translate tutorials/kubernetes-basics/explore in Korean (kubernetes/kubernetes-docs-ko#36)
* up-to-date on content/ko (kubernetes/kubernetes-docs-ko#42)
* up-to-date on _index.html (kubernetes/kubernetes-docs-ko#41)
* Translate tutorials/_index.md in Korean (kubernetes/kubernetes-docs-ko#44)
* Update translation on tutorials/hello-minikube.md (kubernetes/kubernetes-docs-ko#45)
* Setup page's header and subheader translate into Korean. (kubernetes/kubernetes-docs-ko#51)
* Update tutorials for consistency (kubernetes/kubernetes-docs-ko#48)
* up-to-date on content/ko (kubernetes/kubernetes-docs-ko#53)

Co-authored-by: June Yi <june.yi@samsung.com>
Co-authored-by: Claudia J.Kang <claudiajkang@gmail.com>
Co-authored-by: zerobig <38598117+zer0big@users.noreply.github.com>
Co-authored-by: Lawlait <sixarasi@gmail.com>
Co-authored-by: Ian Y. Choi <ianyrchoi@gmail.com>
2018-10-03 13:11:23 -07:00
Luc Perkins 57584f982d Add header-checking function (#9880)
* Add basic header-checking function

* Add Slack notification logic

* Modify Netlify Functions setup

* Rework function logic

* Add missing dependencies

* Remove package-lock.json from Git

* Separate header checking function

* Isolate env check into a separate function
2018-10-03 13:04:39 -07:00
Stanislas 09c4ae5f1d Warn LXD users with an IPv6-enabed bridge (#10206) 2018-10-03 12:34:07 -07:00
Chazzledazzle1 e088e3f26f Update overview.md (#10185) 2018-10-03 12:29:28 -07:00
SataQiu 1f4962fd44 update version info (#10409) 2018-10-03 11:42:18 -07:00
Kaitlyn Barnard 272c3ca030 Blog post: KubeDirector (#10467)
* blog post

* Update 2018-10-03-kubedirector.md

* Update 2018-10-03-kubedirector.md

* Update 2018-10-03-kubedirector.md

* Update 2018-10-03-kubedirector.md
2018-10-03 08:00:45 -07:00
Rui Cao e401866efe Fix typo: folllowing -> following (#10457)
Signed-off-by: Rui Cao <ruicao@alauda.io>
2018-10-02 16:31:03 -07:00
shutefan c3d7e61a92 Fix sentences (#10465)
Signed-off-by: shutefan <shutefan@gmail.com>
2018-10-02 16:25:39 -07:00
Luc Perkins 4547f89359 Remove Sass assets (#10464) 2018-10-02 12:49:12 -07:00
Lubomir I. Ivanov 1fce6ed3da kubeadm-init: update link about v1alpha3 example (#10459) 2018-10-02 12:47:51 -07:00
Jim Angel 8588d175cd Remove Dynatrace per PR 9504 (#10458) 2018-10-02 12:45:13 -07:00
kvaps cadae06402 Blog Post: Network bootable servers farm with LTSP (#10335)
* adding ltsp post

* fix: modules.tar.gz

* fix: small mistakes

* del: not necessary steps

* add: corrections from neolit123

* add: diskless nodes note

* upd: registry name

* upd: bump date

* Update and rename 2018-10-01-network-bootable-farm-with-ltsp.md to 2018-10-02-network-bootable-farm-with-ltsp.md

Copy edits

* Update 2018-10-02-network-bootable-farm-with-ltsp.md
2018-10-02 12:25:48 -07:00
Nilekh Chaudhari 8c60d4517e Added api version in authn and authz example. (#9696)
* Added api version in authn and authz example.

* Fixed comment

* Feedback from neolit123

* Feedback from neolit123
2018-10-01 15:59:15 -07:00
Luc Perkins 4c2b56625c Temporarily remove Hugo Pipes Sass conversion (#10373)
* Add new Sass generation system

* Remove resources folder

* Add develop Sass command and sourcemaps

* Add Hugo version shortcode for use in docs

* Add OWNERS file to ./sass folder
2018-10-01 13:38:01 -07:00
Bjørn Erik Pedersen 32014f94b3 Merge missing translations (#10355)
* Merge missing translations

* Disable Norwegian
2018-10-01 12:38:37 -07:00
Zach Corleissen 4b77af7466 Move sass OWNERS to source instead of output (#10215) 2018-10-01 12:17:30 -07:00
Ahmet Alp Balkan b0de40f874 blog: health-checking-grpc (#10393)
* blog: health-checking-grpc

date in the markdown and file/dir names will be updated later

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

* Update 2018-09-30-health-checking-grpc.md

* Update and rename 2018-09-30-health-checking-grpc.md to 2018-10-01-health-checking-grpc.md

* Update 2018-10-01-health-checking-grpc.md

* Update 2018-10-01-health-checking-grpc.md
2018-10-01 09:33:49 -07:00
LiuDui 54ba69b5fb Remove excess 'and' (#10446) 2018-09-30 05:22:43 -07:00
Tim Fogarty 48382f44be Add link to 1.12 API docs in reference index (#10405) 2018-09-29 10:39:13 -07:00
Steve Perry 38a4187f15 Update kubectl command ref docs for 1.12. (#10426)
* Update kubectl command ref docs for 1.12.

* Create diff for kubectl commands 1.11, 1.12.

* Add explanation and white space to diff file.
2018-09-29 10:37:57 -07:00
LiuDui 3d27ae5a76 You remove the extra 'If' (#10414)
* You remove the extra 'If'

* Update 2017-02-00-Postgresql-Clusters-Kubernetes-Statefulsets.md
2018-09-28 08:37:45 -07:00
SataQiu 56c011bae1 fix typo (#10410) 2018-09-28 01:03:15 -07:00
Zach Arnold 5e71c712b3 1.12 ref docs (#10404)
* update link location

* api docs
2018-09-27 21:35:48 -07:00
Zach Arnold 754793ac06 update link location (#10403) 2018-09-27 17:35:08 -07:00
Kaitlyn Barnard 13db0b7ab8 1.12 blog post (#10402) 2018-09-27 17:27:47 -07:00
Jim Angel 786d314da5 [Do Not Merge] Release 1.12 (#10292)
* Update docs for fields allowed at root of CRD schema (#9973)

* add plugin docs and examples (#10053)

* docs update to promote TaintNodesByCondition to beta (#9626)

* HPA Specificity Improvements (#8757)

Updated the HPA docs to reference the `autoscaling/v2beta2` API version,
and added documentation about the new fields.

* adjust docs for pod ready++ (#10049)

* Remove --cadvisor-port - has been deprecated since v1.10 (#10023)

Change-Id: Id2a685473a243aef492a98ff450759f39e362557

* Add Documentation for Snapshot Feature (#9948)

* Add documentation for snapshot feature

* Update volume-snapshots.md

* Add dry-run to api-concepts (#10033)

* kubeadm-init: Update the offline support section (#10062)

The update includes the following things (in mind with Kubernetes 1.12):

- Remove the 1.8 image versions
- Add the 1.10 image versions that were missing until now
- Include a comment for the missing arch suffixes in 1.12

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>

* Say bye to `DynamicProvisioningScheduling` (#10157)

The mentioned feature gate is now collapsed into `VolumeScheduling`.

xref: kubernetes/kubernetes#67432

* Update ResourceQuota per PriorityClass state for 1.12 (#10229)

* TokenRequest and TokenRequestProjection now beta (#10161)

xref: kubernetes/kubernetes#67349

* Change feature state for kms provider to beta. (#10230)

KMS Provider will be graduating to beta in v1.12, reflecting this change on the website.

* coredns default (#10200)

* Promote ShareProcessNamespace to beta in docs (#9996)

* Add CoreDNS details to DNS Debug docs (#10201)

* add coredns details

* address nits, add query logging section

* Update docs with topology aware dynamic provisioning (#9939)

* Document topology aware volume binding feature

* update for readability

* Update storage-classes.md

* comma splice

* don't abbreviate

* HPA Algorithm Information Improvements (#9780)

* Update HPA docs with more algorithm details

The HPA docs pointed to an out-of-date document for information on the
algorithm details, which users were finding confusing.  This sticks a
section on the algorithm in the HPA docs instead, documenting both
general behavior and corner cases.

* Add glossary info, HPA docs on quantities

People often ask about the quantity notation when working with the
metrics APIs, so this adds a glossary entry on quantities (since they're
used elsewhere in the system), and a short explantation in the HPA walkthough.

* Information about HPA readiness and stabilization

This adds information about the new changes to HPA readiness and
stabilization from kubernetes/features#591, and other minor changes that
landed in Kubernetes 1.12.

* Update horizontal-pod-autoscale.md

* Audit 1.12 doc (#9953)

* audit 1.12 document

* remove legacy audit feature

https://github.com/kubernetes/kubernetes/pull/65862

* update feature gate doc

* MountPropagation is now GA (#10090)

* RuntimeClass documentation (#10102)

* RuntimeClass documentation

* Update runtime-class.md

* Add documentation for Scheduler performance tuning (#10048)

* Add documentation for Scheduler performance tuning

* Update scheduler-perf-tuning.md

* TTL controller for cleaning up finished resources (#10064)

* TTL controller for cleaning up finished resources

* Address comments

* Update ttlafterfinished.md

* Bump quota configuration api version (#10217)

* Incremental update from master (#10278)

* fix invalid href of cloud controller manager (#10240)

* fix invalid yaml format (#10238)

* update storage-limits doc with Azure disk part (#10224)

update storage-limits doc with Azure disk part

fix comments

* Update kubelet-config-file.md (#10222)

Update link to KubeletConfiguration struct.

* fix a trivial misspelling (#10244)

* Fix cassandra-statefulset.yaml indent level (#10243)

* Mention minimum etcd versions (#10208)

Source: https://groups.google.com/d/msg/kubernetes-dev/jMPA4JzKiY4/HIx2ugvLBAAJ

* fix 404 error (#10250)

* Small verb tweak (#10190)

Present participle, ftw.

* Add AnchorJS logic for header links (#10155)

* Add AnchorJS JavaScript

* Remove existing inpage_heading logic

* Remove underline from anchor tags

* Use single icon and add touch visibility

* Use paragraph link icon for AnchorJS

* Update Sass to use code formatting in docsContent headers

* Update header size coverage to H3-H6

* fix broken link in kubefed.md (#10254)

* Update the version numbers for the X-Remote-Extra- and Impersonate-Extra- key fixes (#9827)

The fix was cherry picked into 1.11.3, 1.10.7, and 1.9.11:

https://github.com/kubernetes/kubernetes/pull/67162
https://github.com/kubernetes/kubernetes/pull/67163
https://github.com/kubernetes/kubernetes/pull/67164

* fix typo (#10168)

* fix typo

* addressing comments.

* Update setup-ha-etcd-with-kubeadm.md

* fix typos (#10252)

* fix description of contribute guide (#10253)

* describe truncate feature about advanced audit (#10236)

* describe truncate feature about advanced audit

* Update audit.md

* docs update to promote ScheduleDaemonSetPods to beta (#9923)

* Dynamic volume limit updates for 1.12 (#10211)

* add a placeholder commit

* Update docs for csi volume limits

* Update storage-limits.md

* Add "MayRunAs" value among other GroupStrategies (#9888)

* Add CoreDNS details to the customize DNS doc (#10228)

* Add CoreDNS details to the customize DNS doc

Rewrite the document to include more details about CoreDNS, since it's now the default from v1.12

* Address comments

* Improve doc wording

* Fix link

* Update dns-custom-nameservers.md

* Update dns-custom-nameservers.md

* Fix secrets docs in 1.12 branch (#10056)

* Fix secrets docs

* Update secret.md

* Revert CoreDNS Docs (#10319)

* Revert "Add CoreDNS details to DNS Debug docs (#10201)"

This reverts commit 462817a674.

* Revert "Add CoreDNS details to the customize DNS doc (#10228)"

This reverts commit e7319eeb8c.

* Revert "coredns default (#10200)"

This reverts commit 698e93b441.

* Add CRI installation instructions page

Added cri-installation page with CRI installation instructions
Referenced it from kubeadm-init and install-kubeadm pages.

* kubeadm: update API types documentation for 1.12 (#10283)

v1alpha2 -> v1alpha3
MasterConfiguration -> [new-api-types]

* TokenRequest feature documentation (#10295)

* AdvancedAuditing is now GA (#10156)

xref: kubernetes/kubernetes#65862

`AdvancedAuditing` feature is GA in 1.12. This PR adjusts the related
docs.

* update runtime-class.md (#10332)

* update runtime-class.md

* Update runtime-class.md

* Document cross-authorizer permissions for creating RBAC roles (#10015)

* Document cross-authorizer permissions for creating RBAC roles

* Update rbac.md

* kubeadm: update authored content for 1.12 (reference docs and cluster creation) (#10348)

* kubeadm: update authored content in reference docs for 1.12

* kubeadm: add time frame in create-cluster-kubeadm for 1.12

* add AllowedProcMountTypes and ProcMountType to docs (#9911)

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* kubeadm: add new command line reference (#10306)

Add:
- placeholder files
- include place holder files
- include "renew" sub command
- add missing tabs for "alpha phase kubelet"

* Documenting SCTP support in Kubernetes (#10279)

* Documenting SCTP support in Kubernetes Service, Endpoint, NetworkPolicy and Pod

* Updates based on comments on the PR

* kubectl expose update with SCTP support

* Updated according to comments in the PR

* Revert "kubectl expose update with SCTP support"

This reverts commit 0d5a1e6720a012390cf100c83e16b4a8c0782356.

* TLS Bootstrap and Server Cert Rotation feature documentation (#10232)

* TokenRequest feature documentation

* line wrapping to make review not insane

* update content for GA without major refactor

* Update kubelet-tls-bootstrapping.md

* Add clarifications for volume snapshots (#10296)

* Update kubadm ha installation for 1.12 (#10264)

* Update kubadm ha installation for 1.12

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* update stable version

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* Update stacked control plane for v1.12 (#2)

* use v1alpha3

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* more v1alpha3 (#4)

* updates

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* Document how to run in-tree cloud providers with kubeadm (#10357)

Change-Id: Iab6b996a830503d74a6eb0c507c5f8ca7a39235b

* kubeadm reference doc for release 1.12 (#10359)

* Revert "Revert "Add CoreDNS details to DNS Debug docs (#10201)""

This reverts commit bb30f4d1fcd6fba2fe6190778ead99f8010033b7.

* Revert "Revert "Add CoreDNS details to the customize DNS doc (#10228)""

This reverts commit bc23d45c09d7b83cac130fe22a0bd91e72435862.

* Revert "Revert "coredns default (#10200)""

This reverts commit 7f4350d6ab7fc554ee53126d3875e845d2e43d1f.

* add missing instruction for ha guide (#10374)

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* kubeadm - Ha upgrade updates (#10340)

* Update HA upgrade docs

* Adds external etcd HA upgrade guide

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* copyedit

* more edits

* add runasgroup in psp (#10076)

* update KubeletPluginsWatcher feature gate (#10205)

* generated 1.12 docs

* Building Multi-arch images with Manifests (#10379)

In 1.12, a variety of images used in a typical kubernetes installation
have started to using manifests to better support environments with arm
or ppc64le architectures. For example all images used with kubeadm by
default have manifests, another would be all the tests in the
conformance test suite. Here we capture the best practices for everyone
to start using manifests in their own workflows.

Change-Id: I5ba4c5fe55ffc9486a8251760f3352be4f2e1494

* Upgrade docs for v1.12 (#10344)

* generated assets and docs

* remove 1.7

* update 1.12

* update plugin documentation under docs>tasks>extend-kubectl (#10259)

* update plugin documentation under docs>tasks>extend-kubectl

* Update kubectl-plugins.md
2018-09-27 16:41:39 -07:00
wangxy518 593b631522 Update config.toml (#10396) 2018-09-27 12:18:56 -07:00
Rui Cao de82a8820e Fix typo: speficied -> specified (#10395)
Signed-off-by: Rui Cao <ruicao@alauda.io>
2018-09-27 07:08:57 -07:00
Cody Clark 5752bacbfa Make Setup Landing Page More Useful (#10260)
* Added content to Setup index

* Alphabetized providers

* Update _index.md

* Make Turnkey Cloud Solutions a H2 for toc

* Updated from Andrew's Comments

* fixing headings
2018-09-25 15:10:18 -07:00
Luc Perkins 0ceeb7a1bd Remove unused scripts (#10152) 2018-09-25 09:04:23 -07:00
Cody Clark 67e52e9576 Removing raw and endraw tags (#10358) 2018-09-25 06:34:23 -07:00
Brad Topol 039f654189 add new turnkey cloud solution to setup: ICP on multiple clouds (#10034)
* add new turnkey cloud solution to setup: ICP on
multiple clouds

Signed-off-by: Brad Topol <btopol@us.ibm.com>

* Updated ICP Multiple Cloud URL and IBM Cloud table entry

* small tweak to kick off redeploy
2018-09-24 21:29:21 -07:00
Tomokatsu Iguchi 79104cb55c fix JSON syntax (#9899)
when i hit the command
`kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"myregistrykey\"}]}'`
then i got this error
`Error from server (BadRequest): invalid character '\\' looking for beginning of object key string`

But i stripped all back slashes, and it worked.

If this issue is caused only in my specific environment, 
close this pull-request.

My environment is ...
- Docker for Mac: Version 18.06.0-ce-mac70 (26399), Kubernetes: v1.10.3
2018-09-24 21:26:39 -07:00
Dan Winship c6a4252444 Clarify certain NetworkPolicy behavior (#10151)
* Clarify certain NetworkPolicy behavior

* Update network-policies.md
2018-09-24 21:25:14 -07:00
Xinhai Wang 5214bdf112 Update persistent-volumes.md (#10311)
Change unusable docker image
2018-09-24 20:04:27 -07:00
Kaitlyn Barnard 722b88c614 updating Okta reference (#10378) 2018-09-24 19:57:56 -07:00
Aleks 71bf38069f Add HAProxy and istio ingress controller (#9841)
Add HAProxy and istio ingress controller
2018-09-24 15:58:45 -07:00
Nate Bhurinat Wangsutthitham f9addd8fe1 Update weave-network-policy.md -- fixing typo. (#9825)
* Update weave-network-policy.md

Fix typo.

* Update weave-network-policy.md

- Added note on abbreviation

* Remove note about abbreviation
2018-09-24 15:50:39 -07:00
Chao Wang 777d0757b6 Add default enabled admission control plugins (#9784)
* Add default enabled admission control plugins

* Docs feedback from zacharysarah
2018-09-24 15:35:25 -07:00
LiuDui 1cf4f5375d The fix clicks the error hyperlink that 'here' appears (#10315)
* The fix clicks the error hyperlink that 'here' appears

The fix clicks the error hyperlink that 'here' appears

The fix clicks the error hyperlink that 'here' appears

* Update link path to k/examples
2018-09-24 14:38:34 -07:00
Tomáš Kukrál 1564ef769f update calico instructions (#10368)
Calico CALICO_IPV4POOL_CIDR must match pod-network-cidr every time, not
only for network policy.
2018-09-24 14:19:00 -07:00
Justin Nauman e2e8fb58b8 Update overview.md (#10364)
small change to adjust formatting to properly block notes independently
2018-09-22 01:48:21 -07:00
Rong Zhang a78aa46ff9 Update kubespray documents (#10163) 2018-09-22 01:33:35 -07:00
Qiming 26f0a81b65 Rework tool/doc for updating reference docs (#10123)
* WIP - rework update imported docs

* Rework tool/doc for updating reference docs

This PR reimplement the reference docs generator in Python and fixes
some outdated docs and data:

- Do docs import using Python because the GoLang version of tool has
  some following drawbacks:
  * its not convenient for handling YAML config files
  * it has to be compiled to binaries to run on different platforms
  * for every tiny changes you need to compile a new version and check in
- The reference docs we use in website are actually not coming directly
  from `kubernetes/kubernetes`. Most of them come from the `reference-docs`
  project. The configuration files are thus changed to avoid confusion.
- We have changed the location of generated docs so the default configuration
  files and the docs are updated.
2018-09-21 14:08:50 -07:00
Chao Wang 7b33ce4825 remove the left bits of salt (#10248) 2018-09-21 07:54:03 -07:00
Justin Nauman d73e26c75b Updating docs around default ImagePullPolicy (#10284)
* Updating docs around default ImagePullPolicy

This is an attempt to clear up a bit of the wording around an image's tag and how that impacts the ImagePullPolicy.

The wording to me presently suggests *all* you need to do is use `:latest` as an image tag and that will change the `ImagePullPolicy` to latest.

This is not the case that I've observed.  As it stands now, `:latest` only affect the `ImagePullPolicy` if that attribute is not present on the pod's specification.

https://github.com/kubernetes/kubernetes/blob/7f23a743e8c23ac6489340bbb34fa6f1d392db9d/pkg/apis/core/v1/defaults.go#L78
https://github.com/kubernetes/kubernetes/blob/7f23a743e8c23ac6489340bbb34fa6f1d392db9d/pkg/kubelet/images/image_manager_test.go#L63

* Addressing feedback

- Thanks for the super valuable feedback @Bradamant3.  It reads a *lot* better now!
2018-09-21 07:43:29 -07:00
Gerald Haydtner e743d4032f resize screenshot (#10360)
* update URL, add screenshot

* resize screenshot

* Revert "resize screenshot"

This reverts commit 54e0d347958fb863e9bcb5865773c94c16bad985.

* Revert "Revert "resize screenshot""

This reverts commit f22cb97ab9e17be6218cbf7be26990e3a18a304f.

* resize screenshot
2018-09-21 07:24:03 -07:00
Alex Contini 796e9f85eb add IBM, NAIC and Ocado case studies (#10343)
* add IBM, NAIC and Ocado case studies

* update

* update
2018-09-20 14:03:59 -07:00
Heng WU c93cba5938 Update notes.md (#10258) 2018-09-20 10:54:14 -07:00
Damien Duportal c22f068daa Fix Markdown on documentation for install-kubectl (#9975)
* Fix Markdown on documentation for install-kubectl 

Section modified: "Install with Powershell from PSGallery"

* Update install-kubectl.md

* Feedback from PR review with gramamtically incorect sentence and markdown rendering in install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md

Update install-kubectl.md
2018-09-20 10:43:53 -07:00
Heng WU f20ce9df64 add a link to CCM (#10271)
* update cloud-controller.md

* update cloud-controller.md
2018-09-20 05:59:29 -07:00
WanLinghao 77db7a1152 Fix a command error in configure-service-account.md file. (#10289) 2018-09-20 04:53:38 -07:00
Gerald Haydtner 352217b7c7 update URL, add screenshot (#10313) 2018-09-20 04:47:29 -07:00
CaoShuFeng a5c670943b fix Dockerfile (#10312) 2018-09-20 04:46:08 -07:00
Bob Killen 3e33d3f9e0 Replace kusers links with discuss forum link (#10321) 2018-09-20 04:41:02 -07:00
Matthias Lübken a900da9990 Update daemonset.md (#10341)
Adding Instana as another example for an agent running as a DaemonSet.
2018-09-20 04:39:41 -07:00
Matheus Neder c08e934a9d Fixed anchor link for vsphereVolume session. (#10320)
* Update volumes.md

* Update volumes.md
2018-09-20 04:37:08 -07:00
Sunny 4e1e5fd2d3 PV: Add StorageOS in the mount options supported list (#10334)
* PV: Add StorageOS in the mount options supported list

StorageOS in-tree storage plugin uses the mount options specified in the volume spec https://github.com/kubernetes/kubernetes/blob/v1.13.0-alpha.0/pkg/volume/storageos/storageos.go#L139

* Mount options volume list sort alphabetically
2018-09-20 04:23:16 -07:00
Karen Bradshaw 95da1ca48f Fix inline markup in headers, links (#10099)
* Clean up inline markup and links

- Clean up inline markup in html headers
- Fix links on page and related page
- Clean up some wording and add links to tutorial and concepts

* Update scale-stateful-set.md
2018-09-19 20:32:20 -07:00
Quan Tian 02c38e5180 Fix dns doc about inheriting DNS from nodes (#9214)
Kubelet doesn't prepend the cluster DNS server to the nodes's DNS
settings, neither for Pods with "ClusterFirst" dnsPolicy nor Pods with
"default" dnsPolicy.

Only pods with "default" dnsPolicy inherit DNS from nodes, without the
cluster DNS server prepended.
2018-09-19 20:30:05 -07:00
Karen Bradshaw dd703440b6 Fix formatting of kubeadm join config file (#10262) 2018-09-19 20:24:41 -07:00
Misty Linville 92dd5f0236 Add info about feature gates, fix formatting problem (#10273) 2018-09-19 20:09:41 -07:00
Shida Qiu 5e858b3ddc Fix the wrong link address (#10300)
Fix the wrong link address
2018-09-19 19:59:29 -07:00
Sam Foo 5e1367bfb7 Remove extra spacing in code blocks (#10347)
Signed-off-by: GuessWhoSamFoo <sfoohei@gmail.com>
2018-09-19 19:52:36 -07:00
Jake Sanders 0c39f4fed7 Call out CRDs in default discovery roles (#10346) 2018-09-19 19:51:19 -07:00
zhanggaogong 7027195d46 fix a 404 error page in ingress.md (#10314)
* fix a 404 error page in ingress.md

* fix typo in fix
2018-09-19 19:50:02 -07:00
Jim Angel c3f4f94337 fixed link for godoc.org kublet componentconfig (#10339) 2018-09-19 19:02:39 -07:00
Sapphire Mason-Brown 0bddc54f36 Fix minor typo in 'Debugging Kubernetes nodes with crictl (#10338) 2018-09-19 19:01:22 -07:00
CaoShuFeng 6ec94ae97f fix release 1.11 release note format (#10251) 2018-09-19 15:02:11 -07:00
Kaitlyn Barnard ed35e6d9dd Linkerd 2.0 post (#10329)
* linkerd 2.0 post

* Update 2018-09-18-2018-linkerd-2.0.md

* Update 2018-09-18-2018-linkerd-2.0.md

* Delete styles.sass_a6e533854c4de092afe9278041939937.json

* Delete styles.sass_a6e533854c4de092afe9278041939937.json

* Delete styles.sass_a6e533854c4de092afe9278041939937.content

* Delete styles.sass_a6e533854c4de092afe9278041939937.content
2018-09-19 10:28:44 -07:00
Ryan McGinnis c844ce73e3 Merge pull request #10162 from riverzhang/kubeadm-ipvs
Add use ipvs to kubeadm-init doc
2018-09-19 13:19:53 -04:00
Maciej Kwiek d329f9a12b Cilium CNI docs for kubeadm quickstart guide (#9889)
Signed-off-by: Maciej Kwiek <maciej@covalent.io>
2018-09-19 09:04:58 -07:00
Jim Angel 1774347e71 Adding a back button on last module (#10089)
Closes: https://github.com/kubernetes/website/issues/10073
2018-09-19 08:45:46 -07:00
James Adarich c71303c70a remove duplicate stack overflow icon (#10318) 2018-09-18 06:16:26 -07:00
Kevin Lefevre f5b05a4e4e Update configure-aggregation-layer.md (#10119) 2018-09-16 00:39:50 -07:00
Bjørn Erik Pedersen 1b5ff98a44 Make the home page into reusable and translatable blocks (#10071)
* Make navigation and UI strings i18n friendly

This commit

* Extracts most UI strings into i18n bundles so they can be translated
* Makes a proper Hugo menu out of the hardcoded menu that is shown on smaller screens
* Changes the language selector logic to navigate to the current page in the other language if possible (e.g. the translation). If not possible, it takes you to the home page for that language.

For testing, this commit also adds Norwegian as a new language. This is turned off.

* Make the home page into reusable and translatable blocks

This commit adds a set of block type shortcodes that is then used to build the home page.

* These shortcodes gets common image resources from a new headless bundle. These resources can be inherited or overridden by translations.
* The hardcoded case studies section on the home page is replaced with a query and a loop.
* The hardcoded feature list on the home page is replaed qith a query and a loop.
2018-09-14 14:47:24 -07:00
Tim Fogarty 0df6621652 Add tfogo to OWNERS (#10301) 2018-09-14 11:12:32 -07:00
Keith Schaab 6c451b301a Fixing example text typo (#10282) 2018-09-13 20:40:03 -07:00
tanshanshan e4e7da3010 fix the command output (#10285) 2018-09-13 20:30:27 -07:00
Cody Clark 1a9b307b4e Add Katacoda Embedded Live Environment (#10276)
* Create kat-button

* Update test.md

* Update test.md

* Update test.md

* Update style-guide.md

* Update style-guide.md

* Update style-guide.md

* Update style-guide.md

* Update style-guide.md

* code highlight fix
2018-09-13 15:45:54 -07:00
Zach Corleissen ee35f4518d Fixes from review of PR #10278 (#10280)
Feedback from mistyhacks

Update configure-upgrade-etcd.md

Update configure-upgrade-etcd.md
2018-09-12 14:35:43 -07:00
CaoShuFeng 00c0cda728 describe truncate feature about advanced audit (#10236)
* describe truncate feature about advanced audit

* Update audit.md
2018-09-11 21:19:12 -07:00
CaoShuFeng e47cb8da42 fix description of contribute guide (#10253) 2018-09-10 18:37:35 -07:00
Chao Wang a0c831a498 fix typos (#10252) 2018-09-10 18:36:14 -07:00
Duffie Cooley 4a15ba58b5 fix typo (#10168)
* fix typo

* addressing comments.

* Update setup-ha-etcd-with-kubeadm.md
2018-09-10 14:09:00 -07:00
Jake Sanders 068edf5c31 Update the version numbers for the X-Remote-Extra- and Impersonate-Extra- key fixes (#9827)
The fix was cherry picked into 1.11.3, 1.10.7, and 1.9.11:

https://github.com/kubernetes/kubernetes/pull/67162
https://github.com/kubernetes/kubernetes/pull/67163
https://github.com/kubernetes/kubernetes/pull/67164
2018-09-10 14:03:27 -07:00
WanLinghao 6f221d8763 fix broken link in kubefed.md (#10254) 2018-09-10 13:11:11 -07:00
Luc Perkins 9ce0cd0906 Add AnchorJS logic for header links (#10155)
* Add AnchorJS JavaScript

* Remove existing inpage_heading logic

* Remove underline from anchor tags

* Use single icon and add touch visibility

* Use paragraph link icon for AnchorJS

* Update Sass to use code formatting in docsContent headers

* Update header size coverage to H3-H6
2018-09-10 13:09:36 -07:00
John O'Neill c038d8909c Small verb tweak (#10190)
Present participle, ftw.
2018-09-10 05:11:52 -07:00
Chao Wang a4b1b7c1de fix 404 error (#10250) 2018-09-10 02:17:52 -07:00
Eric Tune 726ce50f4a Mention minimum etcd versions (#10208)
Source: https://groups.google.com/d/msg/kubernetes-dev/jMPA4JzKiY4/HIx2ugvLBAAJ
2018-09-10 02:16:53 -07:00
KUAN Hsuan-Tso 53b5165c7b Fix cassandra-statefulset.yaml indent level (#10243) 2018-09-10 02:05:52 -07:00
WanLinghao ee9a6c9c79 fix a trivial misspelling (#10244) 2018-09-09 22:06:51 -07:00
vsoutherner c75060883e Update kubelet-config-file.md (#10222)
Update link to KubeletConfiguration struct.
2018-09-09 18:35:41 -07:00
Andy Zhang bbc815d1f5 update storage-limits doc with Azure disk part (#10224)
update storage-limits doc with Azure disk part

fix comments
2018-09-09 18:33:41 -07:00
CaoShuFeng 37d8c7bf8d fix invalid yaml format (#10238) 2018-09-09 18:25:40 -07:00
CaoShuFeng 4423ff8f6b fix invalid href of cloud controller manager (#10240) 2018-09-09 18:23:41 -07:00
Michelle Au e79d0cc9b1 Add GCE PD limit link and update wording (#10233) 2018-09-07 19:05:15 -07:00
Art 8ed6d2e332 Updating docs to include IKS in various places (#10047)
* Change product name

From IBM Cloud Container Service to IBM Cloud Kubernetes Service

* Adding IKS to the table of solutions

Not sure about where in the table it should be placed. The note said,
“The above table is ordered by version test/used in nodes, followed by
support level.”

* Adding IKS to Cloud Providers page

* Adding IBM Cloud Container Registry to private registry topic

* Updating language on cloud provider page

* Revising text for the registry entry

* Specifying that it's calico network policies
2018-09-07 08:57:19 -07:00
Brandon Philips 47d4c63bfd rbac: add information on unauthenticated discovery roles (#10212)
The Product Security Team got a report about these unauthenticated
discovery roles. The reporter was surprised about getting 200 requests
when unauthenticated. And given the light documentation on the intention
of these roles it is justifiable.

Increase documentation on these roles.
2018-09-06 18:28:08 -07:00
Tim Hockin 2917c69b2d Add google site verification for k8s.io DNS (#10214) 2018-09-06 16:13:10 -07:00
Kaitlyn Barnard 707e4d3951 adding SC elections blog post (#10210) 2018-09-06 13:25:40 -07:00
Michael Schubert 949a1ff541 Improve --requestheader-client-ca-file warning (#10093)
It's important to use a distinct CA (unless you exactly know what you
are doing) but not clear from the current documentation and warning.
2018-09-05 23:55:13 -07:00
alex-libre 9ff4313339 Fixed typo that combined two separate sentences without a period (#10196)
Moved second sentence ("Each...") to bottom of section
2018-09-05 23:47:34 -07:00
tanshanshan 148d40ee2e column STORAGECLASS is missed (#10204) 2018-09-05 23:44:16 -07:00
Kaitlyn Barnard bf343d81e9 changing featured case studies (#10092) 2018-09-05 15:09:14 -07:00
Ajay Kemparaj 5336022bef keep consistency with the kubectl commands (#10197) 2018-09-05 14:46:40 -07:00
Zach Corleissen 5d7babd6df Add an OWNERS file for changes to resources (#10198)
Update list of approvers/reviewers
2018-09-05 13:46:22 -07:00
Joseph Ruane edeb6a42b7 fix the suffix in the system-reserved example (#10136) 2018-09-05 06:26:02 -07:00
Robert Bailey 2cf465ed0c Remove 'Configuring Kubernetes with Salt' since the final bits of (#10192)
salt were removed from Kubernetes in January.
2018-09-05 06:24:55 -07:00
Michael Taufen e30e4c2e63 fix url for 1.11 docs (#10087)
The URL was not updated to point to release-1.11 branch when 1.11 was released.
This PR updates it to use the docsbranch param, so we don't have to
update it for every release.
2018-09-04 23:51:33 -07:00
Alois Mayr 133239d553 Add Dynatrace as an example of DaemonSet usage (#10077) 2018-09-04 23:22:33 -07:00
CaoShuFeng e9a08613a2 use new api version of scheduling.k8s.io (#10107) 2018-09-04 22:45:33 -07:00
linyouchong 91e3697aa5 Update command output (#10109) 2018-09-04 22:44:32 -07:00
Xinhai Wang 4fcfde8901 Update assign-cpu-resource.md (#10176)
fix typo
2018-09-04 20:54:23 -07:00
swatisehgal 3c21dc5e5b Indicate QuickAssist support in Intel Device plugin repo (#10180) 2018-09-04 20:52:17 -07:00
Eyal Levin 630c39e182 Update jobs link (#10179) 2018-09-03 05:42:23 -07:00
Diego Fagundes 88a76d7632 china verification at search improve (#10166) 2018-08-31 12:08:34 -07:00
rongzhang 93482e5783 Add use ipvs to kubeadm-init doc 2018-09-01 00:50:02 +08:00
Yuanbin Chen 2bb5538bdf Fix monitor node health "running as a cluster addon" link error (#10165)
Fixes #10164

Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-08-31 04:39:37 -07:00
Luc Perkins e25a377509 Use local assets over CDN assets (#10153)
* Use local assets over CDN assets

* Add versions to JS filenames
2018-08-30 20:24:28 -07:00
CaoShuFeng 75ce5615e8 fix invalid rendered character in header (#10110) 2018-08-30 15:15:40 -07:00
Andrew Chen ca175df615 Remove unnecessary link (#10154) 2018-08-30 15:02:19 -07:00
Sunil Arora b36eb90499 fixed a typo in kubebuilder blog post (#10140) 2018-08-30 08:40:44 -07:00
tanshanshan 526f3b9a39 fix the command output (#10143)
I have verified on version v1.11
2018-08-30 07:43:21 -07:00
Kazuki Suda c072b9b205 Prevent to send all files to docker daemon (#10129) 2018-08-30 06:25:07 -07:00
Junichi Yoshise 8d227191fe add link to 1.10 to 1.11 upgrades (#10148) 2018-08-30 05:09:54 -07:00
Kazuki Suda 964cb2654a Fix not to escape html in in-page headers (#10130) 2018-08-30 05:08:33 -07:00
Joey 3769a1bb1a Fix a typo in api concept doc. (#10146) 2018-08-30 05:07:12 -07:00
tanshanshan cd7b1898f9 fix the command output (#10142)
I have verified on version v1.11
2018-08-29 22:48:18 -07:00
Austin Adams 02aba0ffd5 Update Quote (#10134)
* Update Quote

The Previous quote was not actually in our case study, makes me thing it was just a miss. 
I'm proposing we change to a quote from within the case study, doesn't have to be this one.

* Update index.html
2018-08-29 12:28:21 -07:00
Nikhita Raghunath 881d7368a8 Fix formatting for the recent blogpost (#10133)
* fix formatting in blogpost

* Update 2018-08-29-kubernetes-testing-ci-automating-contributor-experience.md
2018-08-29 11:36:09 -07:00
Kaitlyn Barnard e82abae695 Blog Post: The Machines Can Do the Work, a Story of Kubernetes Testing, CI, and Automating the Contributor Experience (#10125)
* blog post

* Update 2018-08-29-kubernetes-testing-ci-automating-contributor-experience.md
2018-08-29 11:03:54 -07:00
Xinzhao Xu 61e95da349 storageclasses: update parameters in Ceph RBD (#10113) 2018-08-29 10:35:24 -07:00
Piotr Gospodarek 9076c397f2 Update images.md (#10116) 2018-08-29 10:34:03 -07:00
Masahito Zembutsu b8877a00c5 Change RedSpread link (#10124) 2018-08-29 10:29:06 -07:00
CaoShuFeng a936d465fb fix several misspelling (#10126) 2018-08-29 10:26:33 -07:00
欧林宝 d79087cb91 Update master-node-communication.md (#10127)
> is converted to &gt;
2018-08-29 10:25:07 -07:00
AdamDang 80d4b6faea Typo fix: Kubnetes->Kubernetes (#10128)
Typo fix: Kubnetes->Kubernetes
2018-08-29 10:18:04 -07:00
makocchi 0ecb825b22 Update ingress outputs (#10052)
* Update ingress outputs

* ing -> ingress

* Feedback from @cmluciano

* update describe outputs

* update output description
2018-08-29 00:09:41 -07:00
Shen Yuanyu 6f4f97b9fb fix note format (#10105) 2018-08-29 00:08:44 -07:00
Diógenes Rettori ea3f475e5b Fixing location of Pivotal Container Service - PKS (#10028)
PKS should not be in the 'hosted list' and should be on the turnkey lists.
2018-08-28 19:43:48 -07:00
Luc Perkins ce91acfe4c New netlify.toml link (#10098) 2018-08-28 14:53:53 -07:00
Yaniv Oliver 42a3d1b2f2 Added missing whitespace (#10114) 2018-08-28 09:16:54 -07:00
Marko Mudrinić 55eee978cd Remove references to imported for Contributing guides (#10084) 2018-08-27 17:26:10 -07:00
Shen Yuanyu bde5b1409b fix note format error (#10088) 2018-08-27 10:33:43 -07:00
Paul f908017276 add some hyperlink (#10070) 2018-08-27 07:04:42 -07:00
AdamDang 8f71dca836 Typo fix: kubeadmin->kubeadm (#10078)
Typo fix: kubeadmin->kubeadm
2018-08-27 07:02:43 -07:00
Alex Contini dd4d1dd607 add Ygrene case study (#9943)
* add Ygrene case study

* Update ygrene.html

* Update ygrene.html

* add Adform case study

* update to have logo show

* Update and rename adform.html to index.html
2018-08-24 17:45:10 -07:00
Luc Perkins ce5ab624c8 Merge pull request #9824 from lucperkins/lperkins/hugo-version-readme
Add Hugo info to README
2018-08-24 13:18:39 -07:00
Kenichi Omichi 34abe546e1 Remove the volume type "fast" from sample (#10031)
The original doc contained "type: fast" which means the volume type
"fast" should exist on OpenStack/Cinder side.
However there is not any standard volume type name and most people
face the StorageClass issue when specifying this volume type.
In addition, the issue is hard to be debugged because the error
message which explains the nonexistent volume type is not output
on debugging information. Then external cloud-provider-openstack
doesn't contain the volume type "fast" today as [1].
This removes it for avoiding confusions for users who still use
the deprecated internal provisioner.

[1]: https://github.com/kubernetes/cloud-provider-openstack/blob/master/examples/persistent-volume-provisioning/cinder/cinder-storage-class.yaml
2018-08-24 05:51:46 -07:00
linyouchong b66879d387 Update png link at case-studies/wikimedia/index.html page (#10054) 2018-08-23 20:14:07 -07:00
Alexey Volkov f5965fb40e fix: typo in declarative config overview (#10063) 2018-08-23 19:49:00 -07:00
David Young cbf9e1d872 Fixed typo s/SERVCEPORT/SERVICEPORT/ (#10066) 2018-08-23 19:00:37 -07:00
lucperkins 5d48c500a2 Adjust wording 2018-08-23 11:40:11 -07:00
yan xuean d1ce97f4c2 add doc for supporting containerd in minikube (#10037)
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2018-08-23 11:32:07 -07:00
makocchi b1cb9a97df replace tabs with spaces (#10060) 2018-08-23 11:30:55 -07:00
makocchi 490dc84413 wrap contents by shortcodes (#10058) 2018-08-23 11:28:40 -07:00
shavidissa 1b69db5c92 Minor update (#10059)
Fixed a minor typo.
2018-08-23 09:45:42 -07:00
Misty Linville c3b86b28ce Fix inconsistencies in Flexvolume docs (#9706)
* Fix inconsistencies in Flexvolume docs

* remove code highlighting for Flexvolume and CSI
2018-08-22 16:39:55 -07:00
makocchi e4c4652a31 Add fsType to aws-ebs (#10041)
* Add fsType to aws-ebs

* trivial changes to kick redeploy
2018-08-22 14:38:12 -07:00
Tim Fogarty 80715640b3 Add instructions for staging site using Docker (#9217)
* Add instructions for staging site using Docker

Adds a condensed version of the instructions in the README to
the intermediate contribution page.

* Format code blocks
2018-08-22 13:49:36 -07:00
Lubomir I. Ivanov 02ac5b8241 troubleshooting-kubeadm: add guide for fixing stale CoreDNS pods (#9872) 2018-08-22 13:30:33 -07:00
Misty Linville c12cdf8eb6 Update membership process (#9924)
* Update membership process

* Address feedback

* Feedback from spiffxp
2018-08-22 12:19:54 -07:00
Geoff 3f257efaa3 Remind folk cron uses UTC. (#9778)
* Remind folk cron uses UTC.

* Formatting and copy edit
2018-08-22 12:14:21 -07:00
ocofaigh bccb6a6602 Update high-availability.md - Fix value of kubernetesVersion in the kubeadm-config.yaml (#9613)
* Update high-availability.md

Fix for https://github.com/kubernetes/website/issues/9594#

Changed the value of `kubernetesVersion` to `v1.11.1` in the kubeadm-config.yaml so it pulls the correct server images for the latest v1.11 release.

I don't like the idea of having to change this value for every point release. Maybe someone can come up with a better solution that submitting a change to the documentation for every minor release?

* Update high-availability.md
2018-08-22 12:11:57 -07:00
Kaitlyn Barnard 3f8fe0768c Updating links for KubeCon China (#9709)
* updated links

* Update 2018-06-26-kubernetes-1.11-release-announcement.md
2018-08-22 12:06:28 -07:00
Julie Bruce 7210c0e99a Applied Technical Writer Edits to the Top Portion (#10001)
Edited the file with Technical Writer edits through the Install kubectl binary using curl section. Will finish more later.
2018-08-22 12:03:06 -07:00
Francois Tur ab7a57815c Add a chapter to existing blog for filling survey "CoreDNS adoption" (#9731)
* - add a chapter for filling survey "CoreDNS adoption"
- fix typo.

* - address review comments
2018-08-22 12:00:42 -07:00
Julie Bruce cf8f500891 Removed apostrophe and capitalized CPU (#10045) 2018-08-22 11:40:00 -07:00
Julie Bruce 338265ee3f Style updates (#10046) 2018-08-22 11:37:45 -07:00
Dwai Banerjee 4f13f11e0b Changed Azure Container Service names and doc link (#10040)
* Changed Azure Container Service names and to Azure Kubernetes Service
* Changed docs link
* Service link redirects to aks link and remains unchanged.
2018-08-22 09:00:25 -07:00
Julie Bruce 5752cde1fa Made CPU usage consistent and removed apostrophes (#10044)
* Made CPU usage consistent and removed apostrophes

* Update assign-cpu-resource.md
2018-08-22 08:58:09 -07:00
Julie Bruce 6d3d89198e Added short code around include statement (#10006) 2018-08-22 08:51:24 -07:00
Julie Bruce 1d7e329fd9 Applied Style Changes (#10043)
* Applied Style Changes

* Add a few more light edits
2018-08-22 08:49:09 -07:00
Sam Foo 22f1f28bfa Remove imported/ references (#10004)
Signed-off-by: GuessWhoSamFoo <sfoohei@gmail.com>
2018-08-21 15:54:33 -07:00
Lele aaa8d7e3f3 Removed spurious <strong> tag in one Title (#10032)
Removed spurious <strong> tag in "Test the cluster and flannel configuration" title
2018-08-21 14:58:13 -07:00
shavidissa 94db355ef7 Copyedit and update with escape characters (#10003)
* Copyedit and update with escape characters

- Use escape characters for {{< toc >}}.
- Copyedit the content.

* Remove the {{< toc >}} reference

The template does not need a {{< toc >}} as the TOC will be generated by default. Therefore, removed this info from the doc.
2018-08-21 14:55:58 -07:00
shavidissa b8b6477344 Copyedit and update the page (#10024)
- Minor updates.
- Added a link to permalinks for more info.
- Copyedit the content.
- Formatted the notes.
2018-08-21 14:48:42 -07:00
Julie Bruce c39d5d8097 Added info about include issues with short codes (#10025)
* Added info about include issues with short codes

* Minor style edits

* fix sample shortcode rendering
2018-08-21 14:44:30 -07:00
Julie Bruce 54aebcde1a Applied Note Tags and Removed Latinisms (#10026) 2018-08-21 14:25:49 -07:00
shavidissa 42bfecfad4 Minor updates (#10027)
Copyedit the content.
2018-08-21 14:19:49 -07:00
Julie Bruce 1aa22b4a32 Applied Technical Writer Edits (#10022) 2018-08-21 13:04:13 -07:00
Julie Bruce 1bf7a29a23 Added short code around include statement (#10020) 2018-08-21 13:01:58 -07:00
Julie Bruce 9c5ad32648 Added short code around include statement (#10019) 2018-08-21 12:59:43 -07:00
Julie Bruce 633ce80671 Added short code around include statement (#10018) 2018-08-21 12:57:33 -07:00
Julie Bruce 9c7cbacb9e Added short code around include statement (#10017) 2018-08-21 12:55:27 -07:00
Julie Bruce ecd5d920ab Added include statement around include statement (#10016) 2018-08-21 12:53:21 -07:00
Luc Perkins b6bb3a60a0 Add _headers file checking logic (#9879)
* Add _headers file checking logic

* Remove netlify_noindex_headers.txt file
2018-08-21 12:51:15 -07:00
Julie Bruce 7360a0c10c Added short code around include statement (#10014) 2018-08-21 12:49:09 -07:00
Julie Bruce 5a8c697b5e Added short code around include statement (#10013) 2018-08-21 12:47:03 -07:00
Julie Bruce f89178e88b Added short code around include statement (#10012) 2018-08-21 12:44:57 -07:00
Julie Bruce 335a9cfb58 Added short code around include statement (#10011) 2018-08-21 12:42:42 -07:00
Julie Bruce 15cfa0b7fd Added short code around include statement (#10010) 2018-08-21 12:40:36 -07:00
Fan Zhang 39a8f1b5fe Fix CSI doc. Document fsType default value change (#9869) 2018-08-21 12:38:30 -07:00
Kilian Ries 859ed30ae8 Update Container Linux kubeadm install instructions for crictl (#9798)
* Update Container Linux kubeadm install instructions for crictl

* fixed crictl install instructions
2018-08-21 12:36:06 -07:00
caishan2018 f653d151b6 Add phase in Option section consistent to apiserver (#9583)
In Options section, "--feature-gates mapStringBool"
option was given as a "feature=true|false" format.
While in other cli-ref pages, like kube-apiserver,
it's like "feature=true|false (BETA - default=true)".

Make it consistent to be "feature=true|false (phase - default=true or false)"
like kube-apiserver, scheduler, etc.
2018-08-21 12:33:42 -07:00
Lubomir I. Ivanov 822372f882 kubeadm-token-create: fix wrong flag name for ttl (#9762) 2018-08-21 12:31:18 -07:00
Ken'ichi Ohmichi 3d308a6b6c Add NOTE for deprecated in-tree openstack-cloud-provider (#9828)
As the release note of v1.11[1], in-tree openstack-cloud-provider is
deprecated. So this adds the note for explaining it and recommending
to use the external openstack-cloud-provider.

[1]: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#new-deprecations
2018-08-21 12:28:54 -07:00
Julie Bruce 72d8417caa Added short codes around include statement (#10009) 2018-08-21 12:26:39 -07:00
wangxy518 c06564991d Update header.html (#9863) 2018-08-21 12:24:24 -07:00
Julie Bruce 653642b90a Added short code around inlcude statement (#10005) 2018-08-21 12:22:09 -07:00
CaoShuFeng 47d7800691 update garbage collector info in replicaset (#9616)
* update garbage collector info in replicaset

* update wording

* remove will and need to
2018-08-21 12:19:54 -07:00
Julie Bruce 4566d54b8a Added short code around include statement (#10008) 2018-08-21 12:17:39 -07:00
Julie Bruce b7a0c2ce1f Added short code around include statement (#10007) 2018-08-21 12:15:24 -07:00
Gao Wen 93b544505d Update code render and format auto-generate list (#9070)
* Update the code render

* Update the generate catalog and formate code rendering

* Fix heading levels for template
2018-08-21 12:13:09 -07:00
Li Zebang a3db9fb85d something wrong in kubelet-integration.md (#9974)
* Propogating

not "Propogating", is "Propagating"

* `kubelet init` and `kubelet join`

`kubeadm init` and `kubeadm join`, not `kubelet init` and `kubelet join`
2018-08-21 11:49:27 -07:00
shavidissa a5ec4953a5 Minor updates (#9995)
Suggested a few minor updates to the file.
2018-08-21 11:45:46 -07:00
shavidissa 16e08c43c9 Minor updates (#9992)
This PR updates some minor issues.
2018-08-21 11:43:13 -07:00
JuleeB1 b75c7322b7 WIP: Adding shortcodes to includes (#10002)
Testing the ability to add shortcodes to includes
2018-08-21 11:28:58 -07:00
JuleeB1 996e4df38b Added Note Formatting (#9991)
Added note tags to the text
2018-08-21 11:26:25 -07:00
JuleeB1 60bceedce9 Added Note Formatting (#9990)
Added note tags to the text.
2018-08-21 11:24:01 -07:00
JuleeB1 21aba02a76 Added Note Formatting (#9989)
Added note tags to the text
2018-08-21 11:21:37 -07:00
JuleeB1 acf6aab1f6 Added Note Formatting (#9988)
Added note tags to the text
2018-08-21 11:19:13 -07:00
JuleeB1 06babcbf86 Fixed Run-on Sentences (#9982)
* Added Note Formatting and Fixed Run-on Sentences

Added note tags to the text and fixed run-on setences.

* Backed out changes to the Includes File
2018-08-21 11:16:49 -07:00
shavidissa d234191f0b Copyedit the page (#9999)
* Copyedit the page

A few minor updates were made.

* Update conjuction

Three options. The first (original) was OK, the second (change in this PR) was ambiguous, the third is a bit clearer.
2018-08-21 11:12:10 -07:00
lucperkins bbb321b1f5 Change opening header to h1 2018-08-21 11:10:06 -07:00
lucperkins 84f736ecf4 Merge remote-tracking branch 'upstream/master' into lperkins/hugo-version-readme 2018-08-21 11:09:00 -07:00
JuleeB1 b28981e7ab Added Note Formatting (#9986)
Added note tags to the text.
2018-08-21 10:52:58 -07:00
JuleeB1 2919058ac8 Added Note Formatting (#9985)
* Added Note Formatting

Added note tags to the text.

* Add minor copyedit
2018-08-21 10:50:21 -07:00
JuleeB1 76d992a452 Added Note Formatting (#9984)
Added note tags to the text.
2018-08-21 10:41:03 -07:00
JuleeB1 121501c540 Added Note Formatting and Removed Contractions (#9983)
Added the note tag to the text and revised text to remove contractions
2018-08-21 10:36:25 -07:00
tvshc ec88957960 Added title case capitalization to the page title (#9997) 2018-08-21 10:31:45 -07:00
tvshc 0ff0d79243 Format security note with proper highlighting (#9942)
* Format security note with proper callout

The information about security of ssh keys might benefit from standing out more. Thus included it in a caution shortcode. Formatting is now more aligned with the style guide.

* close caution tag
2018-08-21 10:29:16 -07:00
tvshc d81c0c3cd5 Removed gerund from page title (#9993)
Page titles are in the verb's infinitive form throughout the d11n. Changed the title from the gerund form to infinitive to align it with the other page titles.
2018-08-21 10:26:39 -07:00
JuleeB1 8a0fcb1716 Moved the closing note tag (#9979)
Included the "where" statement in the note
2018-08-21 10:24:06 -07:00
tvshc eee3a97b35 Added title case capitalization to the page title (#9998) 2018-08-21 10:21:33 -07:00
lucperkins 9006595b99 Merge remote-tracking branch 'upstream/master' into lperkins/hugo-version-readme 2018-08-21 10:06:04 -07:00
Bjørn Erik Pedersen 886514b9e3 netlify: Update to Hugo 0.47.1 (#9910)
The relevant fix for kubernetes.io is the "Page last modified on" line (Git revision info), which in this version now works correctly across languages.
2018-08-21 09:52:13 -07:00
makocchi 814da53cd7 tweak code snippets (#9977) 2018-08-21 07:52:36 -07:00
makocchi 82ffe60269 apply template (#9972) 2018-08-21 07:50:03 -07:00
tanshanshan 6566eefe20 fix the command output (#9966)
I have verified on version v1.11
2018-08-21 07:47:30 -07:00
makocchi be5ee84760 apply template (#9964) 2018-08-21 07:44:57 -07:00
makocchi cc93648377 apply template and update requirements (#9963) 2018-08-21 07:42:24 -07:00
makocchi dc4efc3198 apply template (#9962) 2018-08-21 07:39:51 -07:00
makocchi c52554240d apply template (#9961) 2018-08-21 07:37:18 -07:00
makocchi d23f768491 apply template (#9960) 2018-08-21 07:34:45 -07:00
tanshanshan 51f39b6554 fix the command output (#9958)
I have verified on version v1.11
2018-08-21 07:32:12 -07:00
tanshanshan 4302fc7b13 fix the command output (#9957)
I have verified on version v1.11
2018-08-21 07:29:39 -07:00
tanshanshan 4ce34fc6c0 fix the command output (#9956)
I have verified on version v1.11
2018-08-21 07:27:06 -07:00
tanshanshan c5a07419f2 fix the command output (#9955)
I have verified on version v1.11
2018-08-21 07:24:33 -07:00
tanshanshan d895efe24e fix the command output (#9954)
I have verified on version v1.11
2018-08-21 07:22:00 -07:00
makocchi 7e7f677fd4 Prevent hugo's wrong yaml rendering (#9851)
* Prevent hugo's wrong yaml rendering

* moved a couple of yaml descriptions to examples directory
* remove command prompt
* split each code snippet into command and output

* revert newline character

* add new test in examples_test.go

* change kind to ResourceQuota from List

* revert using examples/quota-objects-priority.yaml

* fix indent number

* unify file extension to yaml
2018-08-21 07:19:27 -07:00
tanshanshan a6411149a1 fix the command output (#9951)
I have verified on version v1.11
2018-08-21 07:16:54 -07:00
tanshanshan 1f56be2d06 fix the command output (#9950)
I have verified on version v1.11
2018-08-21 07:14:21 -07:00
tanshanshan 640b488794 fix the command output (#9949)
I have verified on version v1.11
2018-08-21 07:11:48 -07:00
tanshanshan 3d48ea5a52 fix the command output (#9946)
I have verified on version v1.11
2018-08-21 07:09:15 -07:00
tanshanshan 87b6b0dfe2 fix the command output (#9952)
I have verified on version v1.11
2018-08-21 07:06:42 -07:00
tanshanshan 3162ce42a0 fix the command output (#9965)
I have verified on version v1.11
2018-08-21 07:04:04 -07:00
tanshanshan 2c7810f658 fix the command output (#9969)
I have verified on version v1.11
2018-08-21 06:49:09 -07:00
lucperkins 9568a05089 Modify README to provide more in-depth instructions on Hugo 2018-08-20 16:30:26 -07:00
krmayankk 0ddaff7224 fix gc documentation (#9857)
* fix gc documentation

* review comments
2018-08-20 14:27:51 -07:00
JuleeB1 23dcd8db04 Added Note Formatting (#9940)
* Added Note Formatting

Added note tags to the text

* small edits
2018-08-20 14:25:22 -07:00
Yuanbin Chen 0dac0300c9 Add pod list in all namespaces example (#9886)
This patch fix content "List existing nodes, pods, services and more,
in all namespaces, or in just one:" lost pod list.

Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-08-20 14:12:37 -07:00
Marshall Ford 973e6b8bd0 Pin busybox to 1.28 (#9901) 2018-08-20 14:06:28 -07:00
Miguel Angel Medina Mondragon 4c65b13e6b --previous flag example added to the cheatsheet (#9900) 2018-08-20 14:03:55 -07:00
shavidissa e3f0158b5d Minor changes (#9938)
Minor fix and added the html escapes for <>.
2018-08-20 14:01:22 -07:00
Andrew Chen 1bebbfcbff Fix position of Home in subnav (#9937) 2018-08-20 13:56:25 -07:00
Arnaud M 13591f4ad8 update link to metrics-server repo (#9912) 2018-08-20 13:53:52 -07:00
Cody Clark 09602a17a9 Minor Fixes - Style Guide, Numbered Lists (#9934) 2018-08-20 13:47:30 -07:00
JuleeB1 0dadc1eaf3 Added Note Formatting (#9933)
Added the Note tag to the text
2018-08-20 13:44:48 -07:00
JuleeB1 c78e452551 Applied Note Formatting (#9931)
* Applied Note Formatting

Added note tags, converted text to active voice, made text consistent

* fix note syntax

* add bold note
2018-08-20 13:42:06 -07:00
makocchi e64c61e4f7 change the way to create ConfigMap (#9903) 2018-08-20 13:39:33 -07:00
Qiming 4050303130 Fix inline YAML in resource quota (#9906)
Closes: #9905
2018-08-20 13:36:46 -07:00
JuleeB1 1089ebbf41 Added Note Formatting (#9932)
Added note tags to the text
2018-08-20 13:34:13 -07:00
Ben Hall dc58333e85 The Kubernetes Basics link title was confusing (#9936) 2018-08-20 13:31:40 -07:00
Cody Clark f1271818c1 Added shortcode callouts and removed future tense (#9920)
* Added shortcode callouts and removed future tense

* Added colons according to the style guide

* Add a few more copyedits

@cody-clark inspired me. More to do, but progress is being made!
2018-08-20 13:27:55 -07:00
makocchi d52544c181 fix code snippets and tweak a heading (#9909) 2018-08-20 13:18:33 -07:00
JuleeB1 c78633e97e Applied Note Formatting (#9930)
* Applied Note Formatting

Added the note style tags.

* Add line breaks
2018-08-20 13:13:54 -07:00
Lion-Wei d790e3ec3b cni networking plugin now support portmapping and bandwidth (#9797)
* cni networking plugin now support portmapping and bandwidth

* minor language edits

* additional language edits

* small edits

* typo
2018-08-20 12:57:10 -07:00
David Glasser 6e92a7032a assign-pod-node: pod affinity can't apply to all namespaces (#9876)
See kubernetes/kubernetes#67475
2018-08-20 12:55:58 -07:00
Ben Hall 4c581ee74b Fixes #9787. Be explicit with page name for Hugo to find section (#9874)
* Fixes #9787. Be explicit with page name for Hugo to find section

* Revert "Fixes #9787. Be explicit with page name for Hugo to find section"

This reverts commit b3f4d5be107149777173ac345a2cadcaf8b0c5ff.

* Follow @bep suggestions to fix #9787
2018-08-20 12:42:10 -07:00
shavidissa 7353abde4b Minor grammar edit (#9921)
Changed "were configured by using a
[ReplicationController]" to were configured using a
[ReplicationController] (removed "by").
2018-08-20 12:39:55 -07:00
fqsghostcloud daff9bdaf6 Update configure-pod-configmap.md (#9846)
* Update configure-pod-configmap.md

i think environmental variables belong to container level, not pod level

* Lower case "container"
2018-08-20 12:38:43 -07:00
tvshc d480a54d81 Fix sentence style capitalization in title (#9922)
* Fix sentence style capitalization in title

Capitalization of topic title was inconsistent with other titles. Fixed to sentence style capitalization.

* Fix object name

Minor change to nice fix, thank you!
2018-08-20 12:35:25 -07:00
Gerald Haydtner 713976fe55 add Dynatrace Kubernetes monitoring (#9504)
* add Dynatrace Kubernetes monitoring

* Fix heading structure

* Shorten title

* nest headers

* refactor back heading structure

* add links to sections

* make img link https

* fix space typo
2018-08-20 12:34:13 -07:00
Sunil Arora 9d7329a54f fixed a typo in kubebuilder blogpost (#9926) 2018-08-20 12:31:58 -07:00
JuleeB1 8a42e16fa6 Note Formatting Correction (#9927)
* Note Formatting Correction

Formatted the note according to the style guide.

* Small cleanup to note cleanup

Fiddly stuff, original PR is good.
2018-08-20 12:26:30 -07:00
JuleeB1 2a3bf87b4d Applied note formatting (#9925)
Apparently, this used the old note formatting. Just swapped out the tags with the new ones.
2018-08-20 12:13:36 -07:00
shavidissa 30c3bdc5c1 Reorganized and copy-edited the content (#9928)
The ordered list of content under "Creating a Deployment" was not ordered as per the example. Since it was confusing to search for the meaning around, I reordered the content.

Replaced "we" with "you" as per the style guide.
2018-08-20 12:11:21 -07:00
Qiming 10d0c3470e Fix links in API reference docs (#9795)
This PR fixes the links generated in the API reference docs.
2018-08-20 12:09:06 -07:00
Bjørn Erik Pedersen 5d6ca9ef5c Convert case-studies to bundles (#9822) 2018-08-20 12:07:54 -07:00
JuleeB1 3c044ffc81 Applied Note Formatting (#9929)
Added the note tag to the note paragraph.
2018-08-20 12:04:36 -07:00
Jose A. Iñigo d778e1ef26 Missing code formatting (#9754)
This block of code was missing the correct formatting

Changed the formatting

Rechanged it

Sorry I got kind of mixed up with the highlighting, this is what you meant right?

three backticks formatting

Inserted newlines to fix code formatting

Re-added white space

Yet more whitespace adjustment
2018-08-20 12:00:10 -07:00
Zach Arnold f870f53d45 update configure-cloud-provider-firewall.md (#9789) 2018-08-20 11:22:58 -07:00
Bryan Boreham d5628e6944 Update advice on pinning output version of 'kubectl get' (#9165)
* Update advice on pinning output version

--output-version is deprecated.
Advice paraphrased from https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get

* add code highlighting
2018-08-20 10:33:51 -07:00
Brad Topol b9bce3bf90 fix the name of the IBM Cloud Kubernetes Service (#9897)
Signed-off-by: Brad Topol <btopol@us.ibm.com>
2018-08-20 10:28:27 -07:00
Lubomir I. Ivanov c7d62b344b create-cluster-kubeadm: update notes about flannel (#9793)
* create-cluster-kubeadm: update notes about flannel

Add note that a specific manifest can be used to support
different architectures until version 0.11.0 is released.

* Fix passive voice

Style guide compliance
2018-08-20 09:04:13 -07:00
mofelee 99b808298b Update automated-tasks-with-cron-jobs.md (#9810) 2018-08-20 08:53:34 -07:00
Nikhita Raghunath 910215288e Update status of aggregator in API overview doc (#9866)
* Update status of aggregator in API overview doc

* fix link syntax
2018-08-20 08:50:07 -07:00
Lubomir I. Ivanov 3e422bfa9e kubeadm-init: remove the deprecated --skip-preflight-checks (#9808)
Use --ignore-preflight-errors instead.
2018-08-20 08:47:52 -07:00
Dana Katz 14a995e8a0 Add note about cron job suspend behavior (#9904) 2018-08-20 08:44:43 -07:00
Ben c2b26de572 Verify Google Analytics client is accessible before sending events (#9887) 2018-08-20 08:42:37 -07:00
Andrew Chen 84abf8eacf Change Documentation and Home links in nav (#9914) 2018-08-20 08:33:42 -07:00
Andrew Chen 5db4b83a66 Refactor Setup and Imported sections (#9916)
* Fix link order in Setup section

* fix merge conflict

* Co-authored-by: Jennifer Rondeau <jennifer.rondeau@gmail>

* flip front matter order

* Remove Imported section and add Community section

* revert flip

* change section weights

* revert case study change
2018-08-20 08:31:27 -07:00
tvshc f55c7af237 Fix sentence style capitalization (#9917) 2018-08-20 08:30:15 -07:00
shavidissa 27d3092586 Update the content under versioning. (#9919)
It was not clear what "Before you begin" meant and how it needs to be added only if the task or tutorial is version specific. Therefore, added this info in.
2018-08-20 08:29:07 -07:00
shavidissa 5379e76243 Redirect /docs/contribute/foundational/ to /start (#9915)
- /docs/contribute/foundational/ does not exist. Therefore, update all the redirects that go to /foundational to /start.
- Added a redirect to redirect all links that got to /foundational to /start.
2018-08-20 07:09:51 -07:00
shavidissa 98e0405d19 Update the URL for "Create a Documentation PR" (#9913)
Currently, the doc redirects to a 404. Updated the link.
2018-08-20 07:08:30 -07:00
AdamDang 8319be2be1 Typo fix in yaml: sevice-account->service-account (#9907)
Line 759:  sevice-account->service-account
2018-08-20 06:22:09 -07:00
Misty Linville f8e4d35c5f Add JS to linkify in-page H1-H6 (#9751) 2018-08-18 07:36:42 -07:00
Jari Kolehmainen 00cb28927b Add kontena/k8s-client ruby library (#9811)
* Add ruby k8s-client library

* add https://
2018-08-18 07:30:15 -07:00
Lon Ilesanmi 6e0c644061 Update namespaces.md (#9865)
This update is to match similar content here:
https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
2018-08-18 07:05:57 -07:00
Sam Foo 13184cac84 Fix indentation and Code of Conduct link in contribute section (#9896)
Signed-off-by: GuessWhoSamFoo <sfoohei@gmail.com>
2018-08-18 06:51:06 -07:00
Karen Bradshaw 18ba9a10f4 Clean up feature state includes (#9895) 2018-08-18 06:31:00 -07:00
John Oss 73f4567c80 Fix 404 in Configure DNS Cluster (#9853)
Original Page: 

https://kubernetes.io/docs/tasks/access-application-cluster/configure-dns-cluster/

Updates to use kubernetes/examples as source
2018-08-17 19:13:00 -07:00
Slava Semushin 5f19d7ced8 Fix broken links. (#9755)
- /docs/concepts/services-networking/service/#type-nodeport => /docs/concepts/services-networking/service/#nodeport
- /docs/concepts/services-networking/service/#type-loadbalancer => /docs/concepts/services-networking/service/#loadbalancer
- https://github.com/kubernetes/ingress-nginx/blob/master/docs/ingress-controller-catalog.md => https://github.com/kubernetes/ingress-nginx/
2018-08-17 10:00:10 -07:00
Takumasa Ochi 8c02f4caa4 Insert commas between clauses for readability (#9890) 2018-08-17 07:57:09 -07:00
Herrmann Hinz ac292054cb update kops version to latest (1.10.0) (#9882)
* update kops version to latest (1.10.0) 

added a more recent version of kops. 
now also supports kubernetes 1.10.x

* more updates on the kops.md

- added links to markup files in the kops repo
- slack channel updated
2018-08-16 20:19:09 -07:00
Sam Foo a89faee491 Fix Custom Hugo Shortcodes link (#9881)
Signed-off-by: GuessWhoSamFoo <sfoohei@gmail.com>
2018-08-16 20:12:09 -07:00
chenhuan 1894eaf998 fix the command output (#9860)
I have verified on version v1.11
2018-08-16 16:30:08 -07:00
Jennifer Rondeau d971d236a4 rebase certificates PR on Hugo master (#9842)
* rebase certificates PR on Hugo master

Co-authored-by: liztio <liz@heptio.com>

* fix per comments, add note about front-proxy

* fix up key usage table and references
2018-08-16 16:14:09 -07:00
chenhuan 0523d01cdf fix the command output (#9861)
I have verified on version v1.11
2018-08-16 16:09:08 -07:00
chenhuan 65dfe58273 fix the command output (#9862)
I have verified on version v1.11
2018-08-16 16:03:08 -07:00
makocchi 073362e537 use code snippets (#9856) 2018-08-16 15:59:09 -07:00
Math Costa fcc03c3474 Bing search for China users (#9845)
* Updates readme's site building instructions

* Alters dockerfile to use extended hugo build

This is necessary for the pipes used w/ TOCSS since node-sass was dropped

* WIP for bing search implementation

* Implements Bing search instead of google

* Makes bing the default result provider and uses google and it's available

* Adds pagination to bing and replaces the $.get call with a $.ajax call

* front adjust

* bing limit pagination

* Adds break if there are less than 10 pages worth of results on bing search

* Adds proper google script ref and proper config id

* Removes console.log call
2018-08-16 11:47:07 -07:00
Igor Mameshin a2c3918a70 Added AgileStacks distribution for turnkey and on-prem (#9875) 2018-08-16 09:24:04 -07:00
Ben Hall dda3c3d4af Add Katacoda Online Training (#9873) 2018-08-16 09:20:59 -07:00
chenhuan dbedd425e1 fix the command output (#9858)
I have verified on version v1.11
2018-08-15 00:10:09 -07:00
chenhuan 647c2a705f fix the command output (#9859)
I have verified on version v1.11
2018-08-15 00:08:06 -07:00
Alex Contini b47ab0c188 update SlingTV case study (#9852) 2018-08-14 09:32:32 -07:00
makocchi 84124958c2 apply template (#9850) 2018-08-14 05:54:26 -07:00
Alex Contini 81cdab6cd9 remove workiva from case study page (#9826) 2018-08-13 17:20:41 -07:00
Misty Linville ae0c28db7c Improve the preview card when sharing to social media (#9495)
* Improve social media share sheet metadata

* Improve social media share sheet metadata

* Improve social media share sheet metadata

* Improve social media share sheet metadata
2018-08-13 14:57:35 -07:00
Sahdev Zala 8394219fdf Remove incorrect and not needed mention of datadir (#9800)
As the sentence before the changes in this PR says, member/snap/db is a file
inside the datadir. It's not where datadir is located. Also, we are already
providing link to the data directory definition.
2018-08-13 14:38:55 -07:00
Stephen Augustus 2380ba825a Update SIG Azure reviewers (#9796)
Signed-off-by: Stephen Augustus <foo@agst.us>
2018-08-13 14:04:52 -07:00
Brad Fitzpatrick fb01006ae0 Fix malformed Markdown in release notes causing missing bullets. (#9830)
Updates #9287
2018-08-13 13:17:10 -07:00
John Oss 673ce719a3 Remove self-referential link (#9840)
Removed link redirects to the current page.
2018-08-13 12:51:22 -07:00
MengZeLee 35d9876948 changed the link path to current path. (#9803) 2018-08-12 00:55:53 -07:00
MengZeLee 1cd9a98921 fix feature state snippet code block (#9804) 2018-08-12 00:51:53 -07:00
chenhuan a5fda56b3e fix the command output (#9816)
I have verified on version v1.11
2018-08-11 05:11:54 -07:00
chenhuan 094cf11b6c fix the command output (#9814)
I have verified on version v1.11
2018-08-11 05:10:54 -07:00
chenhuan c8d2f9d02e fix the command output (#9812)
I have verified on version v1.11
2018-08-11 05:09:54 -07:00
chenhuan 3f1279c3db fix the command output (#9815)
I have verified on version v1.11
2018-08-11 05:08:54 -07:00
chenhuan 3d70c1622f fix the command output (#9813)
I have verified on version v1.11
2018-08-11 05:07:54 -07:00
chenhuan 279924ef8e fix the command output (#9817)
I have verified on version v1.11
2018-08-11 05:06:53 -07:00
chenhuan a567352470 fix the command output (#9818)
I have verified on version v1.11
2018-08-11 05:04:53 -07:00
chenhuan 74b0db14bf fix the command output (#9820)
I have verified on version v1.11
2018-08-11 05:02:53 -07:00
chenhuan dbace5e84c fix the command output (#9821)
I have verified on version v1.11
2018-08-11 05:00:54 -07:00
Sunil Arora d7a6e65368 Blogpost: Kubebuilder introduction (#9773)
* Kubebuilder intro blogpost

Author details:
  Name: Sunil Arora
  Title: Software Engineer
  Company: Google Inc.
  Contact: sunilarora@google.com

* addressed review comments on kubebuilder blogpost
2018-08-10 10:23:50 -07:00
chenhuan 15c9dfb58b fix the command output (#9799)
I have verified on version v1.11
2018-08-09 20:36:58 -07:00
Chuck Ha b2c3bac9ab Update kubeadm HA etcd docs (#9802)
Fixes kubernetes/kubeadm#1045

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-08-09 18:45:58 -07:00
Misty Linville 02c6aee8dd Add info about requesting access (#9792)
* Add info about requesting access

This includes how to get a sponsor, how to be a sponsor,
how to become a reviewer, approver, and website admin.

* Address feedback
2018-08-08 18:17:18 -07:00
Andrew Chen 491cf088e4 Add comments to noindex mechanism (#9768)
* Check Netlify test

* Update netlify.toml

with the gh handle for sig docs maintainers
2018-08-08 18:07:19 -07:00
Michael Mackend f7ae911a78 Generically refer to container runtimes. (#9601)
* Generically refer to container runtimes.

Update nodes.md to refer to "container runtimes" instead of identifying Docker specifically.

* Update nodes.md link for Container Runtime to be relative to the domain.

* Update nodes.md
2018-08-08 17:10:19 -07:00
Nihanth Dara 4d8c488a3b Fix kubectl top for memory-demo pod (#9667)
Fixed command for accessing metrics(top) for memory-demo pod.
2018-08-08 17:00:34 -07:00
Logan Rakai 8eec4566a5 Minor corrections (#9771) 2018-08-08 16:44:06 -07:00
Bas Tichelaar a02d9b8558 Added Instruqt hands-on tutorials (#9723)
* Added Instruqt hands-on tutorials

Instruqt offers hands-on tutorials that are free to play for anyone.

* Update overview.md
2018-08-08 16:24:18 -07:00
Ahmet Alp Balkan 81e53020cb Fix netlify "mixed content detected" warning (#9683)
Fixes #9682.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-08-08 16:22:03 -07:00
chenhuan 63fb7ac88c fix the command output (#9774)
I have verified on version v1.11
2018-08-08 16:19:48 -07:00
Victor 382110f202 Update expose-external-ip-address.md (#9775) 2018-08-08 15:18:09 -07:00
Junichi Yoshise 2e24a0e5c2 Remove linefeed so that the page does not break (#9776) 2018-08-08 15:14:51 -07:00
chenhuan e6888722ec fix the command output (#9777)
I have verified on version v1.11
2018-08-08 15:10:30 -07:00
Math Costa f313a39e9e Update README and Dockerfile (#9781)
* Updates readme's site building instructions

* Alters dockerfile to use extended hugo build

This is necessary for the pipes used w/ TOCSS since node-sass was dropped
2018-08-08 13:54:45 -07:00
Kaitlyn Barnard 3b9678cfda updated cncf logo and KubeCon china dates (#9782) 2018-08-08 13:43:03 -07:00
Karen Bradshaw afafa01a90 Escape capture template commands (#9788) 2018-08-08 10:17:14 -07:00
Chen Hong 6ac1441e25 add some step (#9743)
* modify shell

* Please remove the -y for apt-get install
2018-08-07 17:57:08 -07:00
Lubomir I. Ivanov 4a11d640fa tasks/administer-cluster: fix typo in PNG image (#9763)
Fix typo `cluser` -> `cluster`.
2018-08-07 16:27:35 -07:00
Pradheep Shrinivasan 82ba3f119b Add details of how to use https (#9770)
Currently the documentation does not specify how to access https service. 
This change will make sure that the user knows how to use the same
2018-08-07 08:34:24 -07:00
Alex Contini 966843c4e1 add SlingTV and Workiva case studies (#9769)
* add SlingTV and Workiva case studies

* update

* updates

* update
2018-08-06 18:20:45 -07:00
Kaitlyn Barnard 8d74d997cb Adding Learn More Links to Partner Page (#9707)
* learn more links

* updated links
2018-08-06 16:29:50 -07:00
chenhuan d1993b72a0 fix the command output (#9753)
I have verified on version v1.11
2018-08-06 16:27:26 -07:00
Misty Linville 5ae0d0dd8d Reorganize docs contrib guide (#9510)
* Reorganize docs contrib guide

* Address first round of feedback from Brad, Jared

* Standardize on 'SIG Docs'

* Address more feedback

* Rewrites to participating.md

* Tweak navigation titles

* Document PR Wrangler

* Document SIG Docs chairperson

* Fix codeblock that shows how to use <codenew>

It was being interpreted as a Hugo shortcode.
2018-08-06 16:15:57 -07:00
Andrew Chen 4920a51665 Revert 9225, fix indexing for k8s.io (#9767) 2018-08-06 14:19:16 -07:00
Jake Sanders f7917d0212 Document the wire format for X-Remote-Extra- and Impersonate-Extra- keys (#9698)
* Document the wire format for Extra introduced in #65799

Bytes which aren't [legal in HTTP headers](https://tools.ietf.org/html/rfc7230#section-3.2.6) need to be percent-encoded over the wire.

* Update authentication.md

code review feedback

* Update authentication.md

more review feedback

* Update authentication.md

feedback

* Update authentication.md

feedback
2018-08-06 13:09:08 -07:00
Pavel Druyan a2280f5f96 Update Documentaion (#9684)
Add `--tls-cipher-suites stringSlice` option to documentation as in `kube-apiserver`
2018-08-06 07:40:45 -07:00
Duffie Cooley de9accfca3 Update service definition to bind to 127.0.0.1 (#9752)
Current service definition will result in an insecure kubelet per the example here:
https://medium.com/handy-tech/analysis-of-a-kubernetes-hack-backdooring-through-kubelet-823be5c3d67c

This change updates the kubelet configuration to bind to 127.0.0.1 so that the kubelet api does not allow unauthenticated access to the kubelet api.
2018-08-03 16:56:27 -07:00
Bobby (Babak) Salamat 5bcd5df3f3 Add a section on interactions of Pod priority and QoS (#9715)
* Add a section on interactions of Pod priority and QoS

* Copyedit
2018-08-03 10:10:20 -07:00
Ken'ichi Ohmichi ab3fd0de7e Add necessity of metrics-server for HPA (#9729)
* Add necessity of metrics-server for HPA

Current HPA doc1 mentions metrics-server like

  For resource metrics, this is the metrics.k8s.io API,
  generally provided by metrics-server. It can be launched
  as a cluster addon.

The metrics.k8s.io API is mandatory for HPA, so the above means
metrics-server needs to be launched for HPA. However it is difficult
to understand that requirement because the above seems metrics-server
as just a addon, and that is described on small section.
In addition, many people are facing HPA issue that fetching metrics
doesn't work on the internet like

  $ kubectl get hpa
  NAME      REFERENCE          TARGETS         MINPODS   MAXPODS   REPLICAS   AGE
  nginx     Deployment/nginx   <unknown>/50%   1         3         0          7s

The above sample "<unknown>" shows HPA feature cannot get current
metrics due to metrics-server doesn't work fine.

This adds necessity of metrics-server for HPA directly to solve
the problem.

fixes: #9728

* Copyedit
2018-08-03 10:00:03 -07:00
Karen Bradshaw d0582ebc94 Compute resource format (#9736)
* Update overview.md

* Fix list formatting, update capitalization
2018-08-03 09:50:09 -07:00
makocchi 3cdc80dbc0 apply template (#9733) 2018-08-03 09:48:57 -07:00
makocchi ba7332ee71 apply template (#9732) 2018-08-03 09:47:45 -07:00
makocchi 352c8e008b apply template (#9734) 2018-08-03 09:46:33 -07:00
Peter (XiangPeng) Zhao b83a258255 Add Knitter to the list of network addons. (#9742) 2018-08-03 09:45:21 -07:00
Eike Herzbach 149248c6f4 Add missing newline to fix list display on website (#9741) 2018-08-03 09:44:09 -07:00
Chen Hong 94b835987a fill ## Clean up (#9744) 2018-08-03 09:41:54 -07:00
Oleg Artenii 68a6ddfbb9 Fixed PID missmatch in zookeeper.md (#9749) 2018-08-03 09:40:42 -07:00
chenhuan 1f22824a7b fix the command output (#9745)
fix the command output
2018-08-03 09:39:30 -07:00
Shivakumar Thanikachalam 3586b9336e Update autocomplete instructions for Oh-My-Zsh (#9746)
The explanation to setup auto completion of zsh with Oh-My-Zsh is correct, however the example code is incorrectly mentioned as `source <(kubectl completion zsh)`. This pull request updates it to `plugins=(kubectl)`
2018-08-03 09:38:14 -07:00
Erik Erlandson 9c885221cc Fixes #9078 by adding note and link to table that disambiguates 'command' and 'entrypoint' (#9750) 2018-08-03 09:37:02 -07:00
Kaitlyn Barnard 4af1c1c5e3 Blog Post: Out of the Clouds onto the Ground: How to Make Kubernetes Production Grade Anywhere (#9716)
* adding blog post

* adding blog post

* Revert "adding blog post"

This reverts commit eeb113259d74e7c725f1f30dbc2bfd0cb335e4ff.

* Update 2018-08-03-make-kubernetes-production-grade-anywhere.md
2018-08-03 09:31:38 -07:00
Kaitlyn Barnard c92304b34c Blog Post: Dynamically Expand Volume with CSI and Kubernetes (#9714)
* adding blog post

* Update 2018-08-02-dynamically-expand-volume-csi.md
2018-08-03 09:14:18 -07:00
Chao Wang af771d2429 fix broken link for blog post (#9735) 2018-08-02 19:08:27 -07:00
Hongzhi 81b862e2bc typo (#9720)
* Update kubeadm-init.md

miss a "-" at the [website](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init#init-workflow) before the feature-gates

* a typo
2018-08-02 15:54:28 -07:00
Bjørn Erik Pedersen f5d28ad24b Update to Hugo 0.46 (#9703)
* Update to Hugo 0.46

This will only do the SASS building once for every languages (English and Chinese). For the Kubernetes site, this is mostly about speed.

* netlify: Simplify setup

Remove duplicate version defintions etc.
2018-08-02 15:41:27 -07:00
Chris Knowles 7acd18803a Add ExpandInUsePersistentVolumes feature gate (#9662)
* Add ExpandInUsePersistentVolumes feature gate

`ExpandInUsePersistentVolumes` is alpha in v1.11.

* Use relative link for ExpandInUsePersistentVolumes
2018-08-02 14:15:27 -07:00
Matt Rickard efd6f326f9 update owners of minikube doc (#9691) 2018-08-02 10:57:28 -07:00
Tobias Brunner 99f217bbc3 Add APPUiO to the list (#9647)
add APPUiO to the list of hosted, cloud and on-premises solutions.
2018-08-02 09:22:27 -07:00
Tair Sabirgaliev a09e9eafa3 Add instructions for Macports (#9701) 2018-08-02 09:18:27 -07:00
JasperTimm c50848ef88 Update service.md (#9702) 2018-08-02 09:17:29 -07:00
makocchi 3ee7fbd0ba change newline character to LF from CRLF (#9724) 2018-08-02 09:13:29 -07:00
Tamal Saha 878f52219c Update authorization.md (#9726) 2018-08-02 09:12:27 -07:00
Lubomir I. Ivanov 22e91df7c7 kubeadm-init: update notes related to the configuration (#9638)
- mention `kubeadm config migrate`.
- don't inline control plane flag info, but rather link
to the new dedicated page.
- mention that kuberenetesVersion controls the version of the
images.
2018-08-02 09:06:28 -07:00
Ken'ichi Ohmichi b87603b556 Trivial: Update HPA description (#9711)
* Trivial: Remove unnecessary new line

Current HPA page[1] contains unnecessary new line between
"metrics.k8s.io" and "custom.metrics.k8s.io", but that does
not have any meaning. This removes it for the readability.

[1]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale

* Trivial: Replace RC with RS for HPA doc

As RC doc[1], RS is now the recommended way to set up replication.
So this replaces RC with RS for HPA doc.

[1]: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/
2018-08-01 15:45:28 -07:00
Lubomir I. Ivanov 3098e3741e Kubeadm kubelet integration doc (#9652)
* kubeadm: Add a kubelet-kubeadm integration reference doc

* kubeadm: edits for the kubelet-kubeadm integration doc

* kubeadm: move the kubelet-kubeadm integration doc

* Apply edits to kubelet-integration.md

* Make kubelet-integration.md use a template

Also apply MD formatting fixes.

* Copyedit

* Address feedback on copyedit

* added a couple of typo fixes
2018-08-01 15:24:27 -07:00
Samuel Birocchi 8f974b4df5 Adding patch command to forceful delete stateful pod (#9627) 2018-08-01 11:27:39 -07:00
Alfonso Palacios 59554e618c Update resource-usage-monitoring.md (#9631)
Fixing a small typo for sentence to make sense.
2018-08-01 11:26:41 -07:00
Tim Fogarty 243fc84bdc Add CSI and Flexvolume to glossary (#9666) 2018-08-01 11:11:40 -07:00
chenhuan 05a559bf3e fix the command output (#9668)
I have verified on version v1.11.
2018-08-01 11:08:40 -07:00
Bjørn Erik Pedersen a1a3e1d7ed config: Get mediaTypes config in line with the Hugo version (#9704)
This gets rid of the big WARNING when building.

Note that this is only Netlify related, so it is backwards compatible.
2018-08-01 10:51:40 -07:00
Sebastiaan van Steenis 45c201201b DamonSet typo (#9705) 2018-08-01 10:50:39 -07:00
Georgios Andrianakis 7273191ab8 Fix persistentVolumeClaim link (#9700) 2018-08-01 10:49:40 -07:00
WanLinghao 1fd2490767 add link to nvidia gpu scheduling guide at end of device plugin document (#9685) 2018-08-01 10:48:40 -07:00
Xiao An 03158f870d Disable excludes when installing kube packages (#9670)
We should not exclude kubernetes packages when installing them.
2018-08-01 10:47:39 -07:00
chenhuan c83bf5fd38 fix the command output (#9697)
fix the command output
2018-07-31 19:16:39 -07:00
chenhuan 75a0e41a99 fix the command output (#9695)
I have verified on version v1.11
[root@huan40:~]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:53:20Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:43:26Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
2018-07-31 18:48:39 -07:00
Chris O'Haver 0f9262b8eb Correct minor error (#9690)
Technically speaking SRV targets are address record names, not CNAMEs.  In fact, the SRV RFC states that SRV targets must point to an address record name, and cannot be an alias (e.g. CNAME).
2018-07-31 15:14:39 -07:00
Qiming 80e659ce9f Remove redundant parenthesis (#9681)
Closes: #9665
2018-07-31 15:13:38 -07:00
Qiming 53228de1e3 Fix links to example YAMLs (#9680)
There are a few cases which were missed during previous effort on
consolidating all example YAML files. This PR fixes them all in the
English version.

Closes: #9674
2018-07-31 15:12:38 -07:00
itowlson e03f1b4a52 JSONPaths with spaces must be double-quoted on Windows (#9679) 2018-07-31 15:11:39 -07:00
CaoShuFeng 493caa56a9 fix description about custom resource (#9676) 2018-07-31 15:10:38 -07:00
Ismo Puustinen 240e91844e Add a note CPU change handling in CPU manager. (#9671)
This relates to PR https://github.com/kubernetes/kubernetes/pull/66718
which validates that CPU manager state and current set CPUs are in sync.
2018-07-31 15:09:39 -07:00
Xianglin Gao 1b444aff9f Add Alibaba Cloud in pick-right-solution.md (#9644)
Add Alibaba Cloud in pick-right-solution.md to give users more options.
2018-07-31 09:54:48 -07:00
chenhuan 4dbfd517ba fix the command output (#9636)
I have verified on version v1.10.0
[root@huan30:~]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0-1", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"archive", BuildDate:"2018-06-13T04:29:49Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0-1", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"archive", BuildDate:"2018-06-13T04:22:05Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
2018-07-31 09:53:41 -07:00
Lubomir I. Ivanov 4f2d88f215 kubeadm: fix broken link for ha-etcd doc (#9624) 2018-07-31 09:52:40 -07:00
Lubomir I. Ivanov ba746446d2 kubeadm-upgrade-1.11: fix wrong flag for feature gates (#9619) 2018-07-31 09:51:40 -07:00
miaoshixuan 5dfc96e7c0 update default value of kubelet flag pod-infra-container-image (#9611) 2018-07-31 09:45:39 -07:00
Khurram 66894191f1 Update downward-api-volume-expose-pod-information.md (#9567)
dapi-volume-resources.yaml
Added divisor field in resourceFieldRef for DownwardAPIVolumeFiles
to clarify the format in which values are returned.

Issue: https://github.com/kubernetes/kubernetes/issues/64579
2018-07-31 04:34:38 -07:00
Marky Jackson 8f0753eb58 Document update (#9675)
Adding a link to redis replicated so users of this example have a better understanding of what redis replicated is
2018-07-30 17:40:38 -07:00
meirlaker d89ed9a234 Change "dotation" to "dot notation" in two places (#9678) 2018-07-30 14:58:40 -07:00
makocchi a4d264fc37 add note shortcodes (#9673) 2018-07-30 12:03:57 -07:00
Luc Perkins e1087b52d0 Merge pull request #9196 from lucperkins/lperkins/issue-8639-cassandra-pods
Small fixes for Cassandra doc
2018-07-30 09:07:41 -07:00
Luc Perkins 0edcf1972c Merge pull request #9651 from lucperkins/lperkins/homepage-image
Fix homepage image
2018-07-30 08:53:43 -07:00
lucperkins b1de3d3ad8 Fix merge conflict 2018-07-30 08:50:10 -07:00
CaoShuFeng 20ac7e501c fix description about kubeadm (#9646) 2018-07-27 19:00:57 -07:00
Luc Perkins 1778e77165 Localization instructions (#9192)
* Begin re-working localization instructions

* Fix dangling sentence

* Re-arrange sections plus new content

* Fix TOC issue with misplaced capture directive

* Create new shortcodes for versions and language repos

* Add more translation instructions

* Remove translation docs added as an example

* Finish draft of localization doc

* Remove extraneous note
2018-07-27 17:13:56 -07:00
Andrew Chen c36098d4be change image assets to https (#9660)
* change image assets to https

* fix in docs

* fix remaining image links
2018-07-27 17:12:57 -07:00
lucperkins 5dc61780fe Merge remote-tracking branch 'upstream/master' into lperkins/issue-8639-cassandra-pods 2018-07-27 16:03:49 -07:00
lucperkins 7164d5be1e Standardize code formatting 2018-07-27 16:03:27 -07:00
Luc Perkins bf4b9377e6 Auto _headers file generation logic (#9225) 2018-07-27 15:27:57 -07:00
Zach Seils 4e0858f2d5 Update scale-intro.html (#9659)
reduce --> increase
2018-07-27 12:13:58 -07:00
Rajakavitha1 9ed9c88157 Update configure-service-account.md (#9657)
Fixed the broken link listed in : https://github.com/kubernetes/website/issues/9650
2018-07-27 12:12:56 -07:00
Alex Contini 9279ff1d57 add pinterest case study (#9633)
* add pinterest case study

* fix

* fixes
2018-07-27 12:09:58 -07:00
David Vossel 16923b5a9c Blog post, outlines KubeVirt's usage k8s extension features (#9324)
* Blog post about how KubeVirt extends Kubernetes using CRDs and other k8s extension features

* Update blog post to reflect k8s v1.11 crd versioning support

* Update and rename 2018-07-24-kubevirt-crds-for-virtualization.md to 2018-07-27-kubevirt-crds-for-virtualization.md

* Tidy up blog post to reflect reviewer feedback
2018-07-27 11:29:57 -07:00
Liz 88569b1ddc Keep packages back from package manager upgrades (#9509)
* Keep packages back from package manager upgrades

closes kubernetes/kubeadm#954

* copy edit revision
2018-07-27 10:40:58 -07:00
Bobby (Babak) Salamat 66458cde5b Add debugging information to pod priority and preemption (#9568)
* Add debugging information to Pod priority and preemption

* mdformat the page

* keep feature-state shortcodes together

* Add one more potential bug in preemption

* Addressed reviewer comments
2018-07-27 10:35:57 -07:00
Tim Fogarty f59c0e8235 Change stage target to docker-serve in Makefile (#9216)
* Change stage target to docker-serve in Makefile

docker-serve is documented in the readme (from #9128).

* Update underlying command for make docker-serve

The underlying command listed in the README wasn't exactly the
same as the command in the Makefile.

* Remove old Dockerfile for Jekyll site

PR #9128 added a new Dockerfile for the Hugo site. The old
staging container is no longer needed.
2018-07-27 10:33:57 -07:00
Yuanbin Chen 380613cdb1 Fix configure-service-account doc set permissions link error (#9653)
Issuse record: #9650

Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-07-27 01:22:57 -07:00
Vikas Choudhary (vikasc) 0ee0052fa9 Fix quota documentation (#9648) 2018-07-26 16:08:57 -07:00
lucperkins 548736d5c7 Fix homepage image loading issue 2018-07-26 15:18:26 -07:00
lucperkins ac643c204c Update CSS generation logic in css.html partial 2018-07-26 10:54:48 -07:00
Luc Perkins 1060c00b2a Use Hugo for Sass processing (#9404)
* Move all Sass into a common /assets directory

* Remove node-sass make command

* Change head partial to accommodate full Sass rules

* Bump Hugo version in Netlify config

* Use separate partial for CSS imports

* Bump Hugo version

* Remove PostCSS from the pipeline

* Un-bump version

* Update Hugo version to 0.44

* Update Hugo version in Makefile

* Update production Hugo version

* Fix misspelled variable name

* Add ./resources folder to Git

* Update Hugo version in Netlify config to 0.45.1

* Use un-cached css.html partial

* Re-work extra CSS logic for .Params.css
2018-07-26 02:53:57 -07:00
Suracheth Chawla ac493dba99 this instead of the to make it sound better. (#9629) 2018-07-25 19:52:56 -07:00
Luc Perkins 86006313e5 Update information on master node size on GKE/AWS (#9226)
* Update information on master node size on GKE/AWS

* clean up passive language
2018-07-25 15:47:56 -07:00
lucperkins 788cb238ad More language fixes 2018-07-25 15:42:33 -07:00
lucperkins 3ffa3bc8af s/bash/shell (revert to previous) 2018-07-25 15:41:34 -07:00
Kaitlyn Barnard 395aa19994 Blog Post: CPU Manager (#9632)
* adding oscon post

* CPU Manager Blog Post
2018-07-24 16:29:55 -07:00
Qiming 5472265d6f Fix contribution guide about adding code samples (#9574)
We have consolidated all YAML examples into `content/en/examples`
directory. This PR updates the contribution guide so that people know
where to put their sample YAML files when adding/changing topics.
2018-07-23 11:07:19 -07:00
Andreas Jaeger 3ce91510ed Fix display of lists in scheduling-gpus.md (#9609)
The lists are misparsed and displayed as normal paragraphs, add empty
lines so that they are parsed as proper lists.
2018-07-23 10:08:19 -07:00
CaoShuFeng 7817e90e2f fix replicaset example (#9603) 2018-07-22 08:12:17 -07:00
Michael 5d46d726e2 Note on missing/incorrect labels and scheduler behaviour with pod anti-affinity (#8973) 2018-07-20 16:14:15 -07:00
Luca Cipriani 5afc04d400 Make the command work with multiple pods too (#9454)
* Make the command work with multiple pods too

if the user has 2 or more pods the original command line give the following error:
```error: only one of -c or an inline [CONTAINER] arg is allowed
See 'kubectl logs -h' for help and examples.```

* Remove dollar sign to respect style guidelines
2018-07-20 16:13:03 -07:00
Lubomir I. Ivanov 3270da5099 kubeadm-install: modify the note about kubelet cgroup drivers (#9541) 2018-07-20 16:09:45 -07:00
Denis Salamanca a9b1cdb4e9 Updated dns-pod-service.md (#9552)
* Updated dns-pod-service.md

Added a note on A records creation

* Updated dns-pod-service.md

Added Hugo  {{ note }} shortcode

* Update dns-pod-service.md

Changed wording

* tighten up the wording
2018-07-20 16:08:33 -07:00
makocchi 487c243591 apply content_template (#9599) 2018-07-20 16:07:21 -07:00
makocchi b9b392527d apply content_template (#9598) 2018-07-20 16:06:09 -07:00
makocchi 1678936967 remove command prompts and tweak shell commands (#9597) 2018-07-20 16:04:57 -07:00
makocchi 11f38137d2 Update /docs/concepts/containers/images/ (#9596)
* wrap notes by shortcodes and remove command prompts

* tweak shell command
2018-07-20 16:03:46 -07:00
Alfonso Palacios 9a62e82ce9 Update pod-lifecycle.md (#9593)
Merging these two paragraphs, which both describe the fields included in the PodConditions. The first one mentions 6 fields, but only defines 3 of them. The second one defines two of the remaining three. The missing 6th element ("reason") has been added. Now we have the full list in one single section. Easier to understand.
2018-07-20 15:58:46 -07:00
Kaitlyn Barnard 83f9560274 adding oscon post (#9595) 2018-07-20 09:49:53 -07:00
Zach Corleissen e4ce692417 Add ICP license to the site footer (#9589) 2018-07-19 22:00:52 -07:00
Andrew Martin 95247dc140 fix: typo, reword (#9587)
Apologies @kbarnard10, made this morning's correction with a typo >.<
2018-07-19 21:59:53 -07:00
Takuya Tokuda b97002f268 Fix command highlight in port-forward-access-application-cluster (#8705)
* fix command highlight in port-forward-access-application-cluster

* Fix structure and add some sentences

* modify the wording

* update wording
2018-07-19 17:25:53 -07:00
Chandan Kumar 60ae386182 Fix pipe to base64 -d to -D (#8943)
* Fix pipe to base64 -d to -D

Mac: `-d` does not work -D does

Eg. echo "c3R...zE2" | base64 -D

* use --decode instead of -D or -d
2018-07-19 17:06:53 -07:00
michael saenz 238164c4ab update from GCE to GKE (#8881) 2018-07-19 17:04:53 -07:00
Tanvi Gupta 7b7efca2da adding cni.md (#8760)
* adding cni.md

* apply Zach's feedback
2018-07-19 17:03:53 -07:00
Jari Kolehmainen 35362f764e Add Kontena Pharos as K8s solutions (#9166) 2018-07-19 16:45:52 -07:00
Eric Staples 98c88097b0 Update cron-jobs.md (#9234)
* Update cron-jobs.md

Removed bullet point indicating that a `CronJob` can run "Once at a specified point in time", since this use case is either not possible, or not documented at all.

* change wording
2018-07-19 14:05:31 -07:00
Faisal Memon 13e1fbaa73 Add mention of NGINX Ingress Controller for Kubernetes (#9228) 2018-07-19 13:54:38 -07:00
Kaitlyn Barnard 5b40aada4a oscon post (#9586) 2018-07-19 10:37:17 -07:00
csskuber 30e76b2781 Fix deployment.md with wrong READY numbers (#9584)
The status of READY number should be 2 instead of 0, described
in the first line of table
2018-07-19 10:15:17 -07:00
Alex Contini 427ac2a59c updates to ING quotes (#9582)
* updates to ING quotes

* update
2018-07-19 10:10:53 -07:00
Kai Chen 84f9f16a33 Fix reference to install-kubeadm docs (#9573)
The install-kubeadm doc has recently been moved from tasks to setup. Fix the references and remove an incorrect redict.
2018-07-19 10:07:52 -07:00
Yuanbin Chen b8226ae376 Remove rkt-api-endpoint and rkt-path arguments in the doc (#9538) (#9576)
Kubelet help return not exist rkt-api-endpoint and rkt-path arguments,
So delete not exist arguments.

Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-07-19 09:58:53 -07:00
Qiming daa846bdd9 Trivial typo fix (#9575)
This PR takes over changes in #8980.
2018-07-19 09:57:53 -07:00
Andrew Martin c73b7d056a fix: blog post clarity (#9578)
- rephrase Istio release info
- update RBAC for GKE vs hosted
2018-07-19 08:58:53 -07:00
poothia d92f1fdcba Trivial Doc Fix (#9580)
This fixes the spelling of "default".
2018-07-19 05:22:42 -07:00
Andrew Chen 9d3c15c28b Add L10n repo branch structure info (#9206) 2018-07-18 19:21:42 -07:00
zhouhaibing089 ce190e75f8 docs/concepts: add search paths for docker config (#9085)
previous document suggests to put config to /root/.docker/config.json
which is not always the case, and only works when the HOME=/root is
set for kubelet. Besides, that's not always the most recommended way
considering the potential risk when someone overrides this config
with another `docker login` on the same node. this change explicitly
lists all the possible locations where the configuration can be put.
2018-07-18 19:20:42 -07:00
makocchi bac30c0774 fix double bullets in TOC (#9175) 2018-07-18 17:40:42 -07:00
Luc Perkins 9317dcfff0 Add new field selectors doc (#9174)
* Add new field selectors doc

* Address wording issues and remove warning

* add note on = and ==

Signed-off-by: lucperkins <lucperkins@gmail.com>
2018-07-18 17:39:42 -07:00
Lindsey Tulloch 7bed4690ad Update references to Federation-v2 progress (#9116)
* Update references to Federation-v2 progress

Added resources to the whats next section as there has been significant progress over the past few months with the alpha release of Federation-v2 expected in the next few weeks.

* remove <federation> in link
2018-07-18 17:36:42 -07:00
Luc Perkins fa657b76a9 Recommend --watch flag for obtaining external IP information (issue 8483) (#9129)
* Use --watch flag instead of checking multiple times

* Wording changes
2018-07-18 17:34:42 -07:00
André Aubin 269e3fd37b inline code block is not displayed (#8940)
* inline code block is not displayed

Using `kubectl get storageclass` instead of 

```
       kubectl get storageclass
```

correctly shows the code markup.

* Update change-default-storage-class.md

* reformat markdown for nested list
2018-07-18 17:24:41 -07:00
Luc Perkins 7f97e02779 Supplement documentation of ExternalName service types (#9435)
* Re-organize doc

* Remove section on multiple namespaces

* add NOTE to callout
2018-07-18 17:06:42 -07:00
Hesham Massoud 5f7068243d Enhance documentation of .spec.startingDeadlineSeconds (#9296)
* Update cron-jobs.md

* Update automated-tasks-with-cron-jobs.md

* Update cron-jobs.md

* Reword added documentation and add info about error message.

* Fix grammatical typo.

* adjust grammar and punctuation

* adjust grammar and punctuation

* adjust tense
2018-07-18 17:01:42 -07:00
makocchi 8b00a588c4 tweak crictl.md (#9349) 2018-07-18 16:50:49 -07:00
p_mx 28fb41f012 fix-manage-compute-resources-container-view (#9402)
* Fix typo in example script (#9381)

Variable reference should be $ETCDHOSTS, not $ETCDHOST

* fix html

* add a space
2018-07-18 16:48:48 -07:00
Chao Wang 41cc078015 update the go client usage to prevent common error. (#9414) 2018-07-18 16:43:06 -07:00
jw-networking 700446d3da Update fedora_manual_config.md (#9416)
removal of 
  # Add your own!
  KUBELET_ARGS=""
this line causes line with args in it to be over writen

removal of flag "--require-kubeconfig" as it prevents the service from starting with error "F0708 18:41:17.411350   11725 server.go:145] unknown flag: --require-kubeconfig"

this is with v1.10.1
2018-07-18 16:41:54 -07:00
Benjamin Priestman 5c39bc36d4 Adding redirects for turnkey docs. (#9426)
These documents were moved in https://github.com/kubernetes/website/pull/8937.
2018-07-18 16:39:43 -07:00
makocchi 92baa2bc97 Fix dead links and apply template (#9476)
* fix dead links and apply template

* fix conflicts

* re-fix dead links

* Revert "re-fix dead links"

This reverts commit 3eb8292f45c6453c577f6fc4a49600da291d8622.
2018-07-18 16:37:46 -07:00
Kaitlyn Barnard 7c9a1987a5 Add CNCF logo to homepage (#9375)
* add CNCF logo on homepage

* edits
2018-07-18 16:36:43 -07:00
Kaitlyn Barnard 34fb7339e0 Adding anchor links to partner page (#9411)
* adding anchor links

* updating link names
2018-07-18 16:35:43 -07:00
Luc Perkins 22ec331d41 Add env var example (#9486) 2018-07-18 16:29:58 -07:00
Luc Perkins c5f6b391a1 Change formatting of Stackpoint turnkey doc (#9493)
* Change formatting of Stackpoint turnkey doc

* s/Running/Run

* fix formatting glitch

* use template
2018-07-18 16:26:54 -07:00
makocchi b773f9f7cd apply templates/concept and fix code snippets (#9542) 2018-07-18 16:12:07 -07:00
Emily N fd37837488 The command to copy the decoded certificate to the server.crt (#9448)
* The command to copy the decoded certificate to the server.crt

* -D to --decode
2018-07-18 15:55:42 -07:00
Bob Killen 2c50177af5 Update admission controller links (#9386)
* update admission-controller links

(cherry picked from commit 37043991a61e5e6f4ac1c463b14c65430b192553)

* updated links found using greedier regex

(cherry picked from commit 45c6d4cf7430245a3b4e81eae245000beea88841)

* correct link in cn/docs/admin/authorization/_index.md

* fix incorrect changes introduced in eac3619

* undo update of cn content

* fix link

* fix admission webhook link
2018-07-18 15:54:21 -07:00
Jennifer Rondeau 1e554ef725 reorganize kubeadm files, part 1 (#9439)
* reorganize kubeadm files, part 1

* edit troubleshooting kubeadm for layout and content
2018-07-18 15:49:37 -07:00
Bob Killen 2ee2e9d5bb Update authorization-rbac links (#9463)
* update authorization-rbac links

* fix broken links

* undo modification of cn content
2018-07-18 15:32:04 -07:00
Ken'ichi Ohmichi 76b7f9cb1a Trivial: Make the authentication doc consistent (#9472)
On the content, user categories are defined as service account and
normal user. However regular user is written at one place instead
of normal user. This replaces the regular user with normal user
for the consistency.

The option --authentication-token-webhook-config-file is for specifying
the configuration file which uses the kubeconfig file format, so this
replaces kubeconfig with configuration for avoiding confusions.

The last change is updating the order of 'clusters' and 'users' for
fitting the following example to read easily.
2018-07-18 15:26:55 -07:00
Bob Killen c0af4f7a4a update service-accounts-admin links (#9461) 2018-07-18 15:25:38 -07:00
makocchi e472159b5f apply templates/concept (#9539) 2018-07-18 15:25:24 -07:00
Chris Morgan 764a751c5b Fix the semantically very broken search box (#9408)
This was very annoyingly very broken. *Very* broken.

Two primary issues:

1. Autofocus. Autofocus should only be used on a field when it is the
   expected action on the page, because it steals keyboard events such
   as the arrow keys and Space for navigation, and causes users of
   screen readers confusion as they’re thrown into a strange place.

   It’d be just barely OK to use it on search pages, but used on
   *every* page in the documentation, it’s just *super* annoying.

2. Not being a form. I have *no* idea why anyone would ever have
   written it the way it was—it’s just awful from end to end, a bad
   reimplementation of a subset of native browser functionality.
   It’s a form, let it *be* a form.

   Possibly the most baffling part of it was the use of location.replace
   which breaks the back button. I just… why!?

   While I was at it, I gave the search box an aria-label for good
   measure, but I didn’t change its type to "search" because that has
   UI implications on some platforms that I’m too lazy to deal with.

This is still pretty bad, because that magnifying glass is done in CSS
rather than being a fair dinkum submit button, but I just wanted a
quick fix because the autofocus issue is annoying me *so much*.
2018-07-18 15:24:12 -07:00
craigbox f0e2876848 Fixes to example for connecting with curl (#9337)
* Fixes to example for connecting with curl

Example for getting cluster token
- does not work with multiple entries in kubeconfig
- does not work with Istio installed

Fix both

* also need to change the tr from tabs to spaces
2018-07-18 15:22:56 -07:00
Philippe Pepiot 05da38fafa Drop {% raw %} block in manage-compute-resources-container (#9428)
This was breaking rendering the end of the page.
2018-07-18 15:22:12 -07:00
Matt Brannock ddf1e9cdf7 Environment variable for etcd quorum is singular (#9302)
See
https://github.com/kubernetes/kubernetes/blob/f8c4907bec4fcb7d86d955c06b9c362b61e58933/cluster/gce/config-default.sh#L109
2018-07-18 15:18:48 -07:00
makocchi 4a37596980 apply content template (#9232) 2018-07-18 15:17:22 -07:00
Yujun Zhang f9ce82e840 Add guide for getting token and discovery-token-ca-cert-hash (#9017)
* Add guide for getting token and discovery-token-ca-cert-hash

* Fix code snippet style
2018-07-18 15:16:01 -07:00
daemon e017d92e2e Add note for fluentd plugin installation (#9451)
* Add note for fluentd plugin installation

Fluentd plugin installation is different from fluentd installation,
so we need to tell user how to solve it.

Signed-off-by: pengdake <19921207pq@gmail.com>

* add space in note

* add period
2018-07-18 15:13:37 -07:00
Luc Perkins bb818a9b41 Make macOS standard usage (#9422) 2018-07-18 15:12:16 -07:00
Bob Killen 78eafc7c22 update bootstrap-token links (#9456) 2018-07-18 15:08:40 -07:00
Bob Killen bf109b4dfa Update authorization links (#9465)
* update authorization links

* remove cn content and fix link targets
2018-07-18 15:07:24 -07:00
Mary Camp f140cbc6f2 Update create-pull-request.md (#9488)
Remove link to stage-documentation-change. 
(@Misty says: The old page doesn't exist anymore and is now redirected to the current page.)
2018-07-18 15:06:12 -07:00
hidekif 2d086cb032 include supported version skew (#9501) 2018-07-18 15:04:51 -07:00
Bob Killen d82f928033 update authorization-node links (#9462) 2018-07-18 15:03:39 -07:00
Kai Chen 179701e179 Fix doc references to Kubernetes services provided by AWS, Azure and GCE (#9508) 2018-07-18 14:57:43 -07:00
michael saenz c4396fd117 Update authentication.md (#9565)
minor grammar correction
2018-07-18 14:50:04 -07:00
Tejal Desai edec8a8fb6 Fix type in docs (#8939)
* Fix type in docs

* Address code review comments.
2018-07-18 14:39:25 -07:00
daemon eb0d63e871 Fix some error about fluentd config file (#9528)
1.Fix error about source path is not equal to autdit-log-path
2.Fix error about filter type set

Signed-off-by: pengdake <19921207pq@gmail.com>
2018-07-18 14:30:53 -07:00
Erik Sundell da8fa820b3 statefulset.md - Beta remnants removed (#9522) 2018-07-18 14:29:45 -07:00
Oleg Atamanenko 78cdd215e4 Add kublr to list of solutions (#9544) 2018-07-18 14:28:33 -07:00
Bob Killen 836629cb11 Update extensible admission controller links (#9459)
* update extensible-admission-controller links

* correct what-are-initializers link
2018-07-18 14:10:28 -07:00
Jianfeng Li 7960161b30 fix some dumplication_problem (#9235) 2018-07-18 14:08:13 -07:00
Alex Contini c8636e689f updates to order of case studies (#9545)
* updates to order of case studies

* update
2018-07-18 14:05:59 -07:00
makocchi 7aa07a4602 apply templates/concept and fix code snippets (#9540) 2018-07-18 14:04:46 -07:00
Alex Contini 78a92480b6 updates to Pearson case study content (#9483)
* updates to Pearson case study content

* updates to Pearson
2018-07-18 14:03:34 -07:00
Andrew Martin 44b3e5b42b Blog: 11 Ways (Not) to Get Hacked (#8914)
* feat: add 11 Ways (Not) to Get Hacked

* Update and rename 2018-06-05-11-ways-not-to-get-hacked.md to 2018-07-18-11-ways-not-to-get-hacked.md
2018-07-18 13:50:45 -07:00
Christian b1c3af7799 Fix link to website in Airflow Blogpost (#9338) 2018-07-18 13:47:27 -07:00
Kaitlyn Barnard 3ecba1eea1 changing button spacing (#8963) 2018-07-18 13:29:22 -07:00
makocchi 85a239145c change to "host namespaces" and remove command prompts (#9553) 2018-07-18 13:22:56 -07:00
Jamie Zhuang bee35a3e6c Fix issues in configure-volume-storage (#9521)
* ps command not found

Signed-off-by: Jamie Zhuang <lanchongyizu@gmail.com>
2018-07-18 13:21:39 -07:00
Chris Knowles 40f4082328 Add when storage key name changed (#9532)
It seems the name changed in k8s 1.8 which was reflected in https://github.com/kubernetes/website/pull/5490 but the last section still mentions the old name without saying it has changed.
2018-07-18 13:17:22 -07:00
Alfonso Palacios d8861f9a4b Update service.md (#9562)
I think the writer means "reuse" here instead of "replace". Since the idea behind choosing your own IP is to avoid having to make any changes to the DNS.
2018-07-18 11:48:19 -07:00
Matheus Neder 4da4a6dcd7 Fix doc (#9564)
Added line break to: "KUBECONFIG=/etc/kubernetes/admin.conf [NEWLINE HERE] kubectl ..."; Also added export to variables declaration.
2018-07-18 11:45:19 -07:00
Leonardo Carreiro 1f90f0602e Replacing the example IP address by something that could exists. (#9120)
The example `123.45.678.9` was an invalid IP address.
2018-07-18 00:25:19 -07:00
Stewart-YU 4aaa353244 Update feature-gates.md (#9320) 2018-07-17 18:14:18 -07:00
Alfonso Palacios 3c33dcb298 Update horizontal-pod-autoscale.md (#9546)
Small typo. Missing "from" for sentence to make sense.
2018-07-17 15:24:18 -07:00
Karen Bradshaw 71c8b9625a Fix id string for kube-proxy glossary term (#9551)
-Added hyphen to id string so that glossary term displays
extension text.
2018-07-17 15:19:19 -07:00
azEf c05bf93558 Fix typo in persistent-volumes.md (#9550) 2018-07-17 15:15:18 -07:00
Qiming 4c9b297fb8 Reworked API reference doc (#9536)
This PR contains API reference docs generated from the reworked
generator (see:
https://github.com/kubernetes-incubator/reference-docs/pull/53).
The main purpose is to rework the way how examples are shown.
When we are happy with the revised version, we can move the CSS and
fonts file to the static directory. We only need to change the HTML
and the `navData.js` file in the future.

Related Issues: #9271, #4015
2018-07-17 14:49:18 -07:00
Jim Angel 08d06e02b3 very minor change to url syntax (#9543)
The URL for k/k included the text after ("repo"). This PR formats it to not include the text after.
2018-07-17 07:27:40 -07:00
makocchi 1b03b19dc1 apply content_template (#9136)
* apply task template

* change content_template to task from concept
2018-07-17 05:55:38 -07:00
Gao Wen 6f55bb02c5 Format code style (#9055)
* Add code format

* Format code display

* Render style error
2018-07-17 00:45:38 -07:00
Alex Contini 5874f9986e update homepage banner so it's less cropped (#9391) 2018-07-17 00:40:38 -07:00
Jonas Mellquist c56ff5834f Update training overview (#9378)
Added Pluralsight getting started course
2018-07-17 00:37:39 -07:00
Scott Jungwirth 0cbbc12d07 Update manage-compute-resources-container.md (#9326)
Fix formatting that is thrown off by starting at "```shell{% raw %}"
2018-07-17 00:34:39 -07:00
adisky 7e9709220b Fix a typo in running cloud controller doc (#9325) 2018-07-17 00:33:38 -07:00
makocchi df5e5019d2 set anchor links in "Types of Volumes" section (#9294) 2018-07-17 00:30:40 -07:00
spinside 624037a6cd Fixed broken Link to Salt setup documentation (#9264) 2018-07-17 00:29:38 -07:00
Stewart-YU 8cdb5ac998 fix some broken link in /docs/setup (#9256) 2018-07-17 00:28:38 -07:00
Gao Wen cfc62f0717 Format the auto-generate list(catalog) and update the render style (#9069) 2018-07-17 00:22:38 -07:00
Leonardo Carreiro 037af6075b Fix some notes for Azure users (#9159)
* Fix some notes for Azure users

As is said in the docs (https://docs.microsoft.com/en-us/azure/aks/static-ip#create-static-ip-address), it must be the cluster node's resource group, not the cluster's resource group.

* A few minor changes to adhere to the style guide
2018-07-17 00:14:38 -07:00
Tim Zhang b4cc1b2edd Update k8s101.md (#9043) 2018-07-16 23:53:39 -07:00
ningning54321 f6b6dc75ee Update extensible-admission-controllers.md (#8975)
* Update extensible-admission-controllers.md

* update per review comments

update the url to the final redirect to url.
2018-07-16 23:47:38 -07:00
Xiangyu Hè 69531f6b9e Add another Lisp client library (#8994) 2018-07-16 23:45:38 -07:00
zhanglingwei a84aab824b Fix:direct link in tasks/configure-pod-container/translate-compose-kubernetes (#9369)
* change direct link to relative link

* Update translate-compose-kubernetes.md
2018-07-16 23:03:38 -07:00
Luc Perkins 292d4dfa67 Remove download steps (#9494) 2018-07-16 23:00:38 -07:00
Samir Patel 6fc5f4b989 Update pull-image-private-registry.md (#9153)
`-d` does not work on mac, `--decode` should work cross platform
2018-07-16 22:57:39 -07:00
Tanzeeb Khalili af689cd6bf Fix --allow-privileged and --alsologtostderr descriptions (#9507) 2018-07-16 22:48:39 -07:00
Heinz Peter Hippenstiel de644fbd24 removed backtick that was breaking the format (#9530) 2018-07-16 22:41:38 -07:00
Mary Camp 6c895b329d Update device-plugins.md to add Example link (#9531)
Added link to Intel device plugins repo. 
Minor grammar/punctuation edits to make Example bullets parallel.
2018-07-16 22:36:38 -07:00
lovejoy 7c8fe61558 fix relative link and remove redirect link (#9468) 2018-07-16 22:32:39 -07:00
WanLinghao 202905c7aa Add descripitons of --service-account-max-token-expiration option (#9500) 2018-07-16 22:25:37 -07:00
Logan Rakai 1147aeab0e Fix broken link in note (#9535) 2018-07-16 22:21:37 -07:00
Luc Perkins 5c43e1e40f Merge pull request #9437 from lucperkins/lperkins/kubectl-cheat-sheet-resources
Add the "kubectl api-resources" command to the kubectl cheat sheet
2018-07-16 19:02:00 -07:00
craigbox 3e69bd992c Add Kubernetes 1.11 release manager interview (#9496)
* Add Kubernetes 1.11 release manager interview

* fix typo

* add Adam's surname

* apply suggested fixes

* apply suggested fixes

* apply suggested fixes

* apply suggested fixes
2018-07-16 11:30:52 -07:00
Dr. Stefan Schimanski 1c8aba5c51 Document CustomResourceDefinition additionalPrinterColumns (#9143) 2018-07-16 09:40:55 -07:00
Philippe Pepiot ae9c6fd243 Fix NetworkPolicy api link (#9427) 2018-07-15 03:02:55 -07:00
Ryan McGinnis e8d351b9e5 Adds ryanmcginnis to OWNERS (#9513) 2018-07-13 15:07:26 -07:00
Zach Corleissen 953b9624a1 Revert "Add me to the OWNERS file (#9511)" (#9512)
This reverts commit fe9d5b6dd4.
2018-07-13 14:58:26 -07:00
Ryan McGinnis fe9d5b6dd4 Add me to the OWNERS file (#9511) 2018-07-13 14:53:27 -07:00
Lubomir I. Ivanov a4b5772407 update OWNER_ALIASES with respect to sig-cluster-lifecycle (#9497)
Added a couple of separate aliases:
- sig-cluster-lifecycle-kubeadm-approvers
- sig-cluster-lifecycle-kubeadm-reviewers

At the same time update the list SIG participants.
2018-07-13 13:52:26 -07:00
Lucian Maly ebb19326b8 Target docker-serve does not exist + removed $ (#9450) 2018-07-13 13:31:26 -07:00
Zach Corleissen 8315bd0a08 Update list of sig-docs-pr-reviewers (#9249)
* Update list of sig-docs-pr-reviewers

* Add kbarnard10 and zparnold

* Small update
2018-07-13 12:05:26 -07:00
Andrew Chen 3fccec89e0 Add Google Customer Survey code (#9132) 2018-07-13 10:42:26 -07:00
Andrew Chen 13bc6ffd22 Add current version of Google Analytics code, Global Site Tag (gtag.js). (#9131) 2018-07-13 10:34:26 -07:00
Kaitlyn Barnard ad6e65d6c3 Add Blog Post on Resizing Persistent Volumes using Kubernetes (#9474)
* adding storage blog post

* update series

* edits
2018-07-13 08:29:26 -07:00
Sudhakar Rayavaram 7c7a993b66 Fixing the typo in the shell script (#9503)
Instead of using host variable, some undefined CONTROL_PLANE_IP is used. Fixed it
2018-07-13 03:53:26 -07:00
Misty Linville 0e327ce9a0 Add Atom snippets file (#9158)
* Add Atom snippets file

* Add more snippets, rename file, address feedback
2018-07-12 15:01:26 -07:00
Luc Perkins 5603809c43 Add .editorconfig to .gitignore (#9484) 2018-07-12 14:05:26 -07:00
lucperkins 9a6089d73f Change code block type to bash from console 2018-07-12 14:02:01 -07:00
lucperkins f24c3a37b3 Merge with upstream master 2018-07-12 14:00:53 -07:00
Luc Perkins 2b44b0385a Merge pull request #9436 from lucperkins/lperkins/issue-8675-no-namespace
Clarify how to find out which resources are and aren't namespaced
2018-07-12 13:56:40 -07:00
Kai Chen 05397e5fcb Fix references to docs for the turnkey Kubernetes services (#9442) 2018-07-12 13:44:27 -07:00
Luc Perkins 8e65419ce1 Remove extraneous .gitkeep file (#9485) 2018-07-12 13:41:25 -07:00
Lucian Maly cb38f16566 Autocomplete clarification + removed $ (#9455)
* Autocomplete clarification + removed $

* Added content template

* Removed toc_hide as it is default
2018-07-12 13:35:26 -07:00
Bob Killen 42decf8cf7 Update accessing-the-api links (#9441)
* update accessing-the-api links

* undo update of cn content
2018-07-11 21:45:25 -07:00
ASaiun f2276c22cd Update cluster-administration-overview.md (#9449)
* Update cluster-administration-overview.md

 remove the sentence "If you are using a guide involving Salt, see [Configuring Kubernetes with Salt](/docs/admin/salt/)."
 because the website can be find ,it will return 404

* update the cluster-administration-overview.md

change the sentence "-If you are using a guide involving Salt, see [Configuring Kubernetes with Salt](/docs/admin/salt/)."
to "-If you are using a guide involving Salt, see [Configuring Kubernetes with Salt](/docs/setup/salt/)."

* Update cluster-administration-overview.md
2018-07-11 21:44:26 -07:00
Chandan Kumar edeeac6368 Fix the content inside docs/home (#9458)
- fix button inside `I am` section in docs/home
- fix content inside `I want to` section in docs/home

Signed-off-by: chandan kumar <chandan.kr404@gmail.com>
2018-07-11 20:13:25 -07:00
Junseong Lee 5d40fe87f8 Fix typo on daemonset.md (#9419) 2018-07-11 17:38:26 -07:00
Jihyuk Bok c40fe8a8a0 Fixed wrong value in exmaple (#9278)
`zk-hs` should be just `zk` in this case.
2018-07-11 17:18:26 -07:00
Bob Killen 09e5db0724 Update authentication links (#9452)
* update authentication links

* undo cn updates
2018-07-11 13:43:26 -07:00
Kaitlyn Barnard 95449873d6 Adding Blog Post on Dynamic Kubelet Configuration (#9457)
* adding blog post

* updating date for tomorrow
2018-07-11 10:52:25 -07:00
craigbox c35bc3677b Make the RSS refer to Kubernetes, not Hugo. (#9471)
* Make the RSS refer to Kubernetes, not Hugo.

* Update index.rss.xml
2018-07-11 10:42:25 -07:00
makocchi 854bda0353 remove too old note from "Garbage Collection" (#9444)
* wrap by shortcodes

* remove too old note
2018-07-11 10:16:25 -07:00
Qiming 6c80860a75 Improve examples test (#9467)
This PR moves the examples test to where it belongs and also include the
following improvements:

- Removed test cases defined for non-existent files;
- Add guard against ineffective tests against missing files;
- Remove the special case for scheduler-policy-config which is no longer
  an example, the dependency on the related go module is thus
  eliminated;
- Updated the .tavis.yml file to use the new test case: the instruction
  sequence is adjusted to ensure the correct version of kubernetes is
  fully prepared before we do `go get -v -t`.
- The examples_test.go is formatted using `gofmt`;
- Verbose output during test has been added.
- A separate test case is added for CN translation.

Related: #9285
2018-07-11 08:43:25 -07:00
Benjamin Priestman c53e6cf7a4 Minikube tutorial: Updating mac vm-driver. (#9384)
The recommended vm-driver for mac is now hyperkit, not xhyve.
Updating Minikube tutorial to reflect this.
2018-07-11 08:17:26 -07:00
Misty Linville 6632f380f1 Fix typo in upgrade guide (#9460) 2018-07-10 18:09:25 -07:00
Bob Killen d0ca0ca6e8 update authorization-webhook links (#9464) 2018-07-10 18:07:25 -07:00
makocchi f8aec3cff8 apply template (#9445) 2018-07-10 14:36:25 -07:00
Luc Perkins 559509f170 Add IBM Cloud CPU terminology (#9443)
* Modify Resource Types section in kubectl cheat sheet

* Fix error in command syntax

* Change header level

* Add IBM Cloud terminology
2018-07-10 14:17:26 -07:00
Kenneth Bergquist d77b4f59b6 Switches the blurb and link for case studies to match the company logos on the homepage. (#9406) 2018-07-10 13:50:25 -07:00
Jim Angel 3dae51ad23 Add additional kubelet flags to cli ref (#9344)
* updating kubelet flags

* updating kubelet flags fixes
2018-07-10 11:08:25 -07:00
John Belamaric 2886339021 Coredns GA Blog (#9440)
* CoreDNS GA Blog

* Review comments
2018-07-10 10:41:25 -07:00
Kaitlyn Barnard 75d0a55695 Adding Meet Our Contributors Blog Post (#8934)
* MOC blog post

* changing dates
2018-07-10 10:21:25 -07:00
lucperkins b93e8b9941 Undo changes accidentally imported from another branch 2018-07-10 10:16:52 -07:00
lucperkins f5b5d2baed Add note on kubectl api-resources command 2018-07-10 10:16:52 -07:00
lucperkins 8910ac886f Remove section on multiple namespaces 2018-07-10 10:16:52 -07:00
lucperkins 5391d054e4 Re-organize doc 2018-07-10 10:16:52 -07:00
Qiming 472be9a374 Consolidate YAML files [part-15] (#9380)
This is the last PR for moving the YAML/JSON sample files. There still
need some follow up PRs to:
- rename the `codenew` shortcode to `code`.
- move the examples_test.go to where it really belongs.
2018-07-10 09:09:26 -07:00
Qiming 99a77ff368 Consolidate YAML files [part-13] (#9377)
This PR deals with YAML files referenced by the following two topics:
- concepts:object management
- concepts:service networking

When scanning references to the YAML files to be moved, some trivial
editings were applied to the markdown files. None of this editing should
break the build or ruin the doc otherwise.
2018-07-10 08:56:25 -07:00
dineshb-jnpr f9901e7a8f List JunperContrail CNI as Pod networking provider. (#9387)
This change is to list JuniperContrail/TungstenFabric as a provider
of Pod networking for a Kubernetes cluster.

Juniper's CNI solution has been available as a open source product
for couple of years now. It is a mature solution that has been
deployed in live clusters.
2018-07-10 00:20:06 -07:00
John Ward 6163038ca4 Update wordpress-deployment url (#9447) 2018-07-09 22:24:04 -07:00
Zach Corleissen 0e6210f3e9 Add maintainers, organize all by alpha (#9438)
Remove comment
2018-07-09 14:09:17 -07:00
lucperkins 801c9d5765 Change header level 2018-07-09 13:54:58 -07:00
lucperkins 202ff3b15d Fix error in command syntax 2018-07-09 13:52:42 -07:00
lucperkins adb630d88e Modify Resource Types section in kubectl cheat sheet 2018-07-09 13:49:23 -07:00
Jim Angel 11b28cc7c5 clarifying kubectl prereq wording (#9156)
* simplifying the kubectl prereqs

* unforeseen spelling fix

* made readability corrections

* minor phrasing change
2018-07-09 13:23:17 -07:00
Misty Linville 85e3040dfa Use static content for code of conduct (#9355)
Move the code of conduct page under /community
Add redirect
Use text from CNCF COC and note the revision we imported it at
Add note to top of imported file not to edit it directly
2018-07-09 12:12:17 -07:00
Matt Farina c9fe098230 Adding documentation on recommended labels and annotations (#8703)
* Adding documentation on recommended labels and annotations

This content was developed as part of the App Def WG

* Updates per feedback from editing and to remove annotations per WG

* Adding app instance to the recommended labels
2018-07-09 11:51:16 -07:00
Kaitlyn Barnard 22f5f71f40 Adding IPVS blog post (#9431)
* adding IPVS blog post

* updating link in blog announcement

* edits
2018-07-09 11:20:17 -07:00
AdamDang cf3fd1d463 Typo fix: "Add Cluste r"->"Add Cluster" (#9424)
Line 74: "Add Cluste r"->"Add Cluster"
2018-07-09 08:14:18 -07:00
daemon 8d9c9531d0 Fix format error about common shortcode (#9421)
Because of indenting not four spaces, Shortcodes is interrupt numbered lists

Signed-off-by: pengdake <19921207pq@gmail.com>
2018-07-08 22:13:18 -07:00
Ben Chelli de230667ca Fix typo (#9418) 2018-07-08 20:28:17 -07:00
Tony Li 4914901e9b State the default update strategy (#9394)
* state the default update strategy

* update to RollingUpdate
2018-07-08 03:34:18 -07:00
Bob Killen 7b6d15f7e1 Correct internal behavior list in admission-controllers doc (#9409)
* correct internal behavior list in admission-controllers doc

* remove leading indentation in ordered list
2018-07-07 06:52:18 -07:00
CaoShuFeng bede69948e fix describtion about crd (#9407) 2018-07-07 06:20:18 -07:00
Alex Contini 30acbfad12 add Capital One and ING case studies (#9371)
* add Capital One and ING case studies

* updates to styling

* fixes to feature image sizing and link on ING case study

* updates to spacing

* updates
2018-07-06 12:52:20 -07:00
Di Xu 8c33a9b582 kubeadm ports updates (#8886)
* disable the kubelet readonly port

* add doc for required port source
2018-07-06 04:56:18 -07:00
lucperkins 67b6569098 Fix merge conflicts, plus some more cleanup 2018-07-05 13:50:44 -07:00
AgentK a0ec957fde Fix typo in example script (#9381)
Variable reference should be $ETCDHOSTS, not $ETCDHOST
2018-07-05 08:19:22 -07:00
daemon fee1cfafdd Fix example error about selector duplicated #8199 (#9388) 2018-07-05 02:04:19 -07:00
Ben Chelli 3d01d17b69 Swap memory-demo by cpu-demo in the assign-cpu-resource page (#9376)
* Swap memory-demo by cpu-demo

* Make the number match
2018-07-04 00:02:21 -07:00
Qiming 3dd65e4e95 Consolidate YAML files [part-14] (#9379)
This PR deals with the getting started guides (windows) and tutorials
sections. Since the YAML files in the windows directory currently are not
referenced at all, this PR refactored the markdown file to correct this
problem. When appropriate, we use the YAML content from the markdown in
the extracted version.
2018-07-03 23:58:20 -07:00
Qiming ea6004bd4f Consolidate YAML files [part-12] (#9364)
* Consolidate YAML files [part-12]

Relocate YAML files referenced by the accessing application topic
and the rest of cluster administration.

* Adjust json shortcodes.
2018-07-03 23:19:23 -07:00
Jim Angel aed6732b4e adding discuss kubernetes link to community page (#9133)
* adding discuss kubernetes link to community page

addressing https://github.com/kubernetes/website/issues/8578

* moving to bullet list and changing caps

* removing caps

* resetting back to original PR and removing caps
2018-07-03 14:46:20 -07:00
Qiming 4962ffabbf Consolidate YAML files [part-11] (#9363)
This PR relocates some of the YAML files used by the administer cluster
topic. One yaml file not used is deleted.
2018-07-03 13:39:21 -07:00
Qiming 9b81aa7ccd Consolidate YAML files [part-10] (#9362)
* Consolidate YAML files [part-10]

This PR relocates the YAML files used by the pod configuration topic.

* Update examples_test.go

* Update examples_test.go

* Update examples_test.go

* Update examples_test.go

* Update examples_test.go
2018-07-03 13:31:20 -07:00
Alex Contini 0f5f027aee update content for Northwestern Mutual case study (#9372) 2018-07-03 12:04:20 -07:00
Qiming 1228689b1d Consolidate YAML files [part-9] (#9361)
This PR relocates the YAML files referenced by the data injection topic.
2018-07-03 11:50:19 -07:00
Kyle Larose 81bc804e9a Update link to the NetworkPlugin interface (#9298)
* Update link to the NetworkPlugin interface

Link was broken during some refactoring (commit 42398825ed7fac58fc6c4027c8be730398b6d2be).
Change the link to reflect the new location.
This fixes Issue #9297

* Remove extra line

Somehow the fixed link was pasted at the end of the modified paragraph.
Remove it.

* Add back linebreak

I'll get this right... I swear.
2018-07-03 11:49:20 -07:00
Chuck Ha 429d01e95b Updates HA etcd with kubeadm (#9227)
Adds a missing instruction on how to configure the kubelet. Reported in slack in the #kubeadm channel.

Fixes #9222

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-07-03 07:37:21 -07:00
Jim Angel e342dd50bf fixing api ref docs for prev versions (#9343) 2018-07-03 06:29:20 -07:00
jay vyas ea94cedbda Update resource-usage-monitoring.md (#9370) 2018-07-03 05:40:21 -07:00
max8899 168998f4d3 fix broken link (#9365)
fix the bad link for cluster-large has moved to setup folder
2018-07-03 01:17:20 -07:00
blaedj 2fbc23f9c2 Document name restrictions for multi-port services (#9282)
* Document name restrictions for multi-port services

Add note in documentation about port name restrictions.

* fix whitespace 

undo unrelated whitespace deletion
2018-07-02 18:01:19 -07:00
Misty Linville f53bc94d85 Fix CSS for edit buttons and page history (#9360) 2018-07-02 17:56:17 -07:00
makocchi af6cdabe9b use official homebrew package name (#9255) 2018-07-02 17:53:19 -07:00
Qiming f00ec1b044 Fix links to relocated kubelet TLS bootstrapping topic (#9332)
Fixes: #9330
2018-07-02 17:36:19 -07:00
Qiming b5f6df9926 Consolidate YAML files [part-8] (#9347)
* Consolidate YAML files [part-8]

This PR exacts the YAML files referenced from the following subdirs:

- docs/concepts/workloads
- docs/concepts/configuration
- docs/concepts/policy

The following problems are fixed:

- docs/concepts/workloads/controllers/ doesnt have a 'cronjob.yaml for
  test
- the exactly same `pod.yaml` was used in both the task/config-pod-container
  topic and the concepts/configuration topics.

* Update examples_test.go

* Add missing yaml file.
2018-07-02 17:35:20 -07:00
Misty Linville 1b914f4ac7 Add Git info to per-page template (#9309)
* Add per-page Git commit info

* Try moving the buttons down below the page TOC

* Add page history to page footer
2018-07-02 16:17:19 -07:00
Qiming 48897cc47d Consolidate YAML files [part-7] (#9262)
* Consolidate YAML files [part-7]

This PR relocates YAML files used by Job/CronJob examples.

* Update examples_test.go
2018-07-02 13:54:17 -07:00
Qiming 3a0c618734 Consolidate YAML files [part-6] (#9261)
* Consolidate YAML files [part-6]

This PR relocates the YAML files used by the stateful application
examples.

* Update examples_test.go
2018-07-02 13:37:18 -07:00
Qiming ea11ae29ac Consolidate YAML files [part-5] (#9258)
* Consolidate YAML files [part-5]

This PR relocates the yaml files used in stateless application
guestbook. This PR also fixes the list numbering and code block
problems in the page.

Note that neither code blocks nor note callouts live happily inside a
numbered list, so this PR moves them out of such lists.

* Update examples_test.go
2018-07-02 13:06:18 -07:00
Qiming 59e626e056 Set up examples gate job for 1.11 (#9345)
There were things changed upstream which have blocked the examples test
from running correctly:

- PodSecurityPolicy has been MOVED from extensions API group into
  policy. All samples that are using this resource type needs a change.
- The 'GetCodecForObject()' function in testapi/testapi package was
  removed in 1.11 for unknown reasons. This change has broken our job as
  well as the test code in the kubernetes/examples project.
- Kubernetes is now using 1.10.2+ verion of Go for compilation so we
  have to change the .travis.yml accordingly.

This PR fixes the above problems.

Note also, the `TestReadme` function is **removed** for two reasons:

- It is only testing the snippets in the `volumes.md` file which is now
  broken because of the introduction of service account token injection.
- It is regarded as too aggressive/restrictive a test. We cannot
  guarantee that YAML snippets in the markdown files are complete and
  can be used as is. Instead I believe we should encourage people to use
  template snippets that contain the **key** information for a topic.
  When we see a need for a full template that can be used directly, we
  may want to extract the YAML contents into the `examples`
  subdirectory.
2018-07-02 12:53:18 -07:00
Qiming d15da5a726 Consolidate YAML files [part-4] (#9241)
This PR consolidates YAML files used in the
`tasks/debug-application-cluster` subdirectory.

Depends-On: #9236
2018-07-02 11:17:19 -07:00
Qiming a11e02d575 Consolidate YAML files [part-3] (#9237)
This PR consolidates YAML files used in `tasks/run-application`
subdirectory.
2018-07-02 11:15:20 -07:00
Peter Greczner 378e061cd3 Update _index.md (#9352)
Fix the path for v1.10 docs.
2018-07-02 10:53:19 -07:00
Jim Angel 7b313cd302 fixing feature flag in client-go docs (#9341) 2018-07-02 07:14:18 -07:00
Will Thames 88cf97994a Fix closing note markup (#9346)
Remove extraneous curly brackets
2018-07-02 00:24:18 -07:00
makocchi c53b351379 add note shortcodes (#9348) 2018-07-02 00:23:18 -07:00
Shivesh Abhishek e17a6d8517 Fix redirection to v-1.10 docs in website (#9336)
- fix clicking on v-1.10 redirection to v-1.10 of the k8s docs

Signed-off-by: Shivesh <shankeyshivesh@gmail.com>
2018-07-01 21:36:16 -07:00
Deirdre Storck 16b00693fc added link to spec.minReadySeconds and maxUnavailable for clarity (#9194)
* added link to minReadySeconds

* link for max unavailable

* used relative path
2018-06-29 18:37:20 -07:00
Bob Killen e0dd309c4e correct capitalization across docs (#9327) 2018-06-29 17:57:20 -07:00
Zach Corleissen 94e3d092d1 One character fix to unbreak Netlify (#9331) 2018-06-29 14:36:20 -07:00
Sarjeet Singh b9f9d1ef70 Fix typo for kubeadm in instruction for upgrading (#9328) 2018-06-29 13:48:20 -07:00
Quan Tian 58e96edbd5 Fix invalid anchors and typos (#9293) 2018-06-29 12:02:20 -07:00
Vikas Choudhary (vikasc) 34d230aca7 Add doc for limiting resources by priority (#9086)
* Add doc for limiting resources by priority

* Copyedit
2018-06-29 12:01:20 -07:00
Misty Linville 5179df5a96 Update pull request template (#9311) 2018-06-29 10:53:21 -07:00
Andreas Jaeger b2a94550b1 Fix syntax of setup-ha-etcd-with-kubeadm (#9318)
This page used wrong syntax, initially use ${ETCDHOST[i]}, so use
that subsequentially as well. Fix also wrong HOST1.

Closes: #9315
2018-06-29 10:52:19 -07:00
Kaitlyn Barnard de59a85534 Updating case studies on homepage (#9303)
* updating case studies on homepage

* updated images
2018-06-28 22:17:21 -07:00
Daniel Imberman e2c03f96cc Post-release fixes (#9308)
* post-release edits

* added Bloomberg Shoutout
2018-06-28 19:18:19 -07:00
WanLinghao 6d39150d1f add description for service account token (#9314)
ref:https://github.com/kubernetes/kubernetes/pull/63819
    https://github.com/kubernetes/website/pull/9182
2018-06-28 18:48:20 -07:00
Kaitlyn Barnard 8549c510e0 Blog Post: Date Fix (#9304)
* date fix

* Rename 2018-05-25-Airflow-Kubernetes-Operator.md to 2018-06-28-Airflow-Kubernetes-Operator.md
2018-06-28 12:53:21 -07:00
Daniel Imberman fc010952e9 Airflow Kubernetes Operator Article (#8681)
* Airflow Kubernetes Operator Article

* Update 2018-05-23-Airflow-Kubernetes-Operator.md

* Update 2018-05-23-Airflow-Kubernetes-Operator.md

* Update 2018-05-23-Airflow-Kubernetes-Operator.md

* @kbarnard changes

* formatting

* updated date to 5-25-2018

* Added a call for action cc: @foxish

* Updated get involved section

* removed "What is kubernetes" section

* Added description of Airflow Operator

* Changed intro to better describe operator

* Anirudh + Chaim edits

* added section on uploading DAGs
:

* s/5/6

* chaim edits

* anirudh edits 1

* more anirudh edits

* formatting issue

* changed title

* title attempt 2
2018-06-28 11:09:24 -07:00
Deirdre Storck 5da5c49950 removed caveat for 1.5 rolling update (#9270) 2018-06-28 11:06:21 -07:00
Alex Contini fbbc4ec15e Add Northwestern Case Study (#9263) 2018-06-28 10:35:22 -07:00
Timothy St. Clair 47a44ab31e Add an optional step to prepull images in 1.11+ (#9001) 2018-06-28 06:44:20 -07:00
Misty Linville 5294779969 Add release notes for 1.11 (#9287) 2018-06-27 17:13:46 -07:00
Misty Linville 5f30e7d4c3 Release docs for Kubernetes 1.11 (#9171)
* Seperate priority and preemption (#8144)

* Doc about PID pressure condition. (#8211)

* Doc about PID pressure condition.

Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>

* "so" -> "too"

* Update version selector for 1.11

* StorageObjectInUseProtection is GA (#8291)

* Feature gate: StorageObjectInUseProtection is GA

Update feature gate reference for 1.11

* Trivial commit to re-trigger Netlify

* CRIContainerLogRotation is Beta in 1.11 (#8665)

* Seperate priority and preemption (#8144)

* CRIContainerLogRotation is Beta in 1.11

xref: kubernetes/kubernetes#64046

* Bring StorageObjectInUseProtection feature to GA (#8159)

* StorageObjectInUseProtection is GA (#8291)

* Feature gate: StorageObjectInUseProtection is GA

Update feature gate reference for 1.11

* Trivial commit to re-trigger Netlify

* Bring StorageObjectInUseProtection feature to GA

StorageObjectInUseProtection is Beta in K8s 1.10.

It's brought to GA in K8s 1.11.

* Fixed typo and added feature state tags.

* Remove KUBE_API_VERSIONS doc (#8292)

The support to the KUBER_API_VERSIONS environment variable is completely
dropped (no deprecation). This PR removes the related doc in
release-1.11.

xref: kubernetes/kubernetes#63165

* Remove InitialResources from admission controllers (#8293)

The feature (was experimental) is dropped in 1.11.

xref: kubernetes/kubernetes#58784

* Remove docs related to in-tree support to GPU (#8294)

* Remove docs related to in-tree support to GPU

The in-tree support to GPU is completely removed in release 1.11.
This PR removes the related docs in release-1.11 branch.

xref: kubernetes/kubernetes#61498

* Update content updated by PR to Hugo syntax

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* Update the doc about extra volume in kubeadm config (#8453)

Signed-off-by: Xianglin Gao <xianglin.gxl@alibaba-inc.com>

* Update CRD Subresources for 1.11 (#8519)

* coredns: update notes in administer-cluster/coredns.md (#8697)

CoreDNS is installed by default in 1.11.
Add notes on how to install kube-dns instead.

Update notes about CoreDNS->CoreDNS upgrades as in 1.11
the Corefile is retained.

Add example on upgrading from kube-dns to CoreDNS.

* kubeadm-alpha: CoreDNS related changes (#8727)

Update note about CoreDNS feature gate.

This change also updates a tab as a kubeadm sub-command
will change.

It looks for a new generated file:
generated/kubeadm_alpha_phase_addon_coredns.md
instead of:
generated/kubeadm_alpha_phase_addon_kube-dns.md

* Update cloud controller manager docs to beta 1.11 (#8756)

* Update cloud controller manager docs to beta 1.11

* Use Hugo shortcode for feature state

* kubeadm-upgrade: include new command `kubeadm upgrade diff` (#8617)

Also:
- Include note that this was added in 1.11.
- Modify the note about upgrade guidance.

* independent: update CoreDNS mentions for kubeadm (#8753)

Give CoreDNS instead of kube-dns examples in:
- docs/setup/independent/create-cluster-kubeadm.md
- docs/setup/independent/troubleshooting-kubeadm.md

* update 1.11 --server-print info (#8870)

* update 1.11 --server-print info

* Copyedit

* Mark ExpandPersistentVolumes feature to beta (#8778)

* Update version selector for 1.11

* Mark ExpandPersistentVolumes Beta

xref: kubernetes/kubernetes#64288

* fix shortcode, add placeholder files to fix deploy failures (#8874)

* declare ipvs ga (#8850)

* kubeadm: update info about CoreDNS in kubeadm-init.md (#8728)

Add info to install kube-dns instead of CoreDNS, as CoreDNS
is the default DNS server in 1.11.

Add notes that kubeadm config images can be used to list and pull
the required images in 1.11.

* kubeadm: update implementation-details.md about CoreDNS (#8829)

- Replace examples from kube-dns to CoreDNS
- Add notes about the CoreDNS feature gate status in 1.11
- Add note that the service name for CoreDNS is also
called `kube-dns`

* Update block device support for 1.11 (#8895)

* Update block device support for 1.11

* Copyedits

* Fix typo 'fiber channel' (#8957)

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* kubeadm-upgrade: add the 'node [config]' sub-command (#8960)

- Add includes for the generated pages
- Include placeholder generated pages

* kubeadm-init: update the example for the MasterConfiguration (#8958)

- include godocs link for MasterConfiguration
- include example MasterConfiguration
- add note that `kubeadm config print-default` can be used

* kubeadm-config: include new commands (#8862)

Add notes and includes for these new commands in 1.11:
- kubeadm config print-default
- kubeadm config migrate
- kubeadm config images list
- kubeadm config images pull

Include placeholder generated files for the above.

* administer-cluster/coredns: include more changes (#8985)

It was requested that for this page a couple of methods
should be outlined:
- manual installation for CoreDNS explained at the Kubernetes
section of the GitHub project for CoreDNS
- installation and upgrade via kubeadm

Make the above changes and also add a section "About CoreDNS".

This commit also lowercases a section title.

* Update CRD subresources doc for 1.11 (#8918)

* Add docs for volume expansion and online resizing (#8896)

* Add docs for volume expansion going beta

* Copyedit

* Address feedback

* Update exec plugin docs with TLS credentials (#8826)

* Update exec plugin docs with TLS credentials

kubernetes/kubernetes#61803 implements TLS client credential support for
1.11.

* Copyedit

* More copyedits for clarification

* Additional copyedit

* Change token->credential

* NodeRestriction admission prevents kubelet taint removal (#8911)

* dns-custom-namerserver: break down the page into mutliple sections (#8900)

* dns-custom-namerserver: break down the page into mutliple sections

This page is currently about kube-dns and is a bit outdated.
Introduce the heading `# Customizing kube-dns`.

Introduce a separate section about CoreDNS.

* Copyedits, fix headings for customizing DNS

Hey Lubomir,
I coypedited pretty heavily because this workflow is so much easier for docs and because I'm trying to help improve everything touching kubeadm as much as possible.

But there's one outstanding issue wrt headings and intro content: you can't add a heading 1 to a topic to do what you wanted to do. The page title in the front matter is rendered as a heading 1 and everything else has to start at heading 2. (We still need to doc this better in the docs contributing content, I know.)

Instead, I think we need to rewrite the top-of-page intro content to explain better the relationship between kube-dns and CoreDNS. I'm happy to write something, but I thought I'd push this commit first so you can see what I'm doing.

Hope it's all clear -- ping here or on Slack with any questions ~ Jennifer

* Interim fix for talking about CoreDNS

* Fix CoreDNS details

* PSP readOnly hostPath (#8898)

* Add documentation for crictl (#8880)

* Add documentation for crictl

* Copyedit

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* Final copyedit

* VolumeSubpathEnvExpansion alpha feature (#8835)

* Note that Heapster is deprecated (#8827)

* Note that Heapster is deprecated

This notes that Heapster is deprecated, and migrates the relevant
docs to talk about metrics-server or other solutions by default.

* Copyedits and improvements

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* Address feedback

* fix shortcode to troubleshoot deploy (#9057)

* update dynamic kubelet config docs for v1.11 (#8766)

* update dynamic kubelet config docs for v1.11

* Substantial copyedit

* Address feedback

* Reference doc for kubeadm (release-1.11) (#9044)

* Reference doc for kubeadm (release-1.11)

* fix shortcode to troubleshoot deploy (#9057)

* Reference doc for kube-components (release-1.11) (#9045)

* Reference doc for kube-components (release-1.11)

* Update cloud-controller-manager.md

* fix shortcode to troubleshoot deploy (#9057)

* Documentation on lowercasing kubeadm init apiserver SANs (#9059)

* Documentation on lowercasing kubeadm init apiserver SANs

* fix shortcode to troubleshoot deploy (#9057)

* Clarification in dynamic Kubelet config doc (#9061)

* Promote sysctls to Beta (#8804)

* Promote sysctls to Beta

* Copyedits

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* Review comments

* Address feedback

* More feedback

* kubectl reference docs for 1.11 (#9080)

* Update Kubernetes API 1.11 ref docs (#8977)

* Update v1alpha1 to v1beta1.

* Adjust left nav for 1.11 ref docs.

* Trim list of old ref docs.

* Update Federation API ref docs for 1.11. (#9064)

* Update Federation API ref docs for 1.11.

* Add titles.

* Update definitions.html

* CRD versioning Public Documentation (#8834)

* CRD versioning Public Documentation

* Copyedit

Signed-off-by: Misty Stanley-Jones <mistyhacks@google.com>

* Address feedback

* More rewrites

* Address feedback

* Update main CRD page in light of versioning

* Reorg CRD docs

* Further reorg

* Tweak title

* CSI documentation update for raw block volume support (#8927)

* CSI documetation update for raw block volume support

* minor edits for "CSI raw block volume support"

Some small grammar and style nits.

* minor CSIBlockVolume edits

* Update kubectl component ref page for 1.11. (#9094)

* Update kubectl component ref page for 1.11.

* Add title. Replace stevepe with username.

* crd versioning doc: fix nits (#9142)

* Update `DynamicKubeletConfig` feature to beta (#9110)

xref: kubernetes/kubernetes#64275

* Documentation for dynamic volume limits based on node type (#8871)

* add cos for storage limits

* Update docs specific for aws and gce

* fix some minor things

* Update storage-limits.md

* Add k8s version to feature-state shortcode

* The Doc update for ScheduleDaemonSetPods (#8842)

Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>

* Update docs related to PersistentVolumeLabel admission control (#9109)

The said admission controller is disabled by default in 1.11
(kubernetes/kubernetes#64326) and scheduled to be removed in future
release.

* client exec auth: updates for 1.11 (#9154)

* Updates HA kubeadm docs (#9066)

* Updates HA kubeadm docs

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* kubeadm HA - Add stacked control plane steps

* ssh instructions and some typos in the bash scripts

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* Fix typos and copypasta errors

* Fix rebase issues

* Integrate more changes

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* copyedits, layout and formatting fixes

* final copyedits

* Adds a sanity check for load balancer connection

Signed-off-by: Chuck Ha <ha.chuck@gmail.com>

* formatting fixes, copyedits

* fix typos, formatting

* Document the Pod Ready++ feature (#9180)

Closes: #9107
Xref: kubernetes/kubernetes#64057

* Mention 'KubeletPluginsWatcher' feature (#9177)

* Mention 'KubeletPluginsWatcher' feature

This feature is more developers oriented than users oriented, so simply
mention it in the feature gate should be fine.
In future, when the design doc is migrated from Google doc to the
kubernetes/community repo, we can add links to it for users who want to
dig deeper.

Closes: #9108
Xref: kubernetes/kubernetes#63328, kubernetes/kubernetes#64605

* Copyedit

* Amend dynamic volume list docs (#9181)

The dynamic volume list feature has been documented but the feature gate
related was not there yet.

Closes: #9105

* Document for service account projection (#9182)

This adds docs for the service account projection feature.

Xref: kubernetes/kubernetes#63819, kubernetes/community#1973
Closes: #9102

* Update pod priority and preemption user docs (#9172)

* Update pod priority and preemption user docs

* Copyedit

* Documentation on setting node name with Kubeadm (#8925)

* Documentation on setting node name with Kubeadm

* copyedit

* Add kubeadm upgrade docs for 1.11 (#9089)

* Add kubeadm upgrade docs for 1.11

* Initial docs review feedback

* Add 1-11 to outline

* Fix formatting on tab blocks

* Move file to correct location

* Add `kubeadm upgrade node config` step

* Overzealous ediffing

* copyedit, fix lists and headings

* clarify --force flag for fixing bad state

* Get TOML ready for 1.11 release

* Blog post for 1.11 release (#9254)

* Blog post for 1.11 release

* Update 2018-06-26-kubernetes-1.11-release-announcement.md

* Update 2018-06-26-kubernetes-1.11-release-announcement.md

* Update 2018-06-26-kubernetes-1.11-release-announcement.md
2018-06-27 15:26:18 -07:00
lucperkins 2e2ba42667 convert unnecessary note admonition to normal text 2018-06-27 09:49:06 -07:00
lucperkins 3edad5889f Fix indentation issues 2018-06-25 10:54:12 -07:00
lucperkins 8c95be965a Syntax fixes for Cassandra doc 2018-06-21 17:00:30 -07:00
4279 changed files with 654658 additions and 101319 deletions
+1
View File
@@ -0,0 +1 @@
**
+17
View File
@@ -0,0 +1,17 @@
[*]
end_of_line = lf
insert_final_newline = false
charset = utf-8
max_line_length = 80
trim_trailing_whitespace = true
[*.{html,js,json,sass,md,mmark,toml,yaml}]
indent_style = space
indent_size = 2
[*.{sh}]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab
-22
View File
@@ -1,22 +0,0 @@
<!-- Thanks for filing an issue! Before submitting, please fill in the following information. -->
<!--Required Information-->
**This is a...**
<!-- choose one by changing [ ] to [x] -->
- [ ] Feature Request
- [ ] Bug Report
**Problem:**
**Proposed Solution:**
**Page to Update:**
https://kubernetes.io/...
<!--Optional Information (remove the comment tags around information you would like to include)-->
<!--Kubernetes Version:-->
<!--Additional Information:-->
+23
View File
@@ -0,0 +1,23 @@
---
name: Bug Report
about: Report a bug encountered with Kubernetes Website
labels:
- kind/bug
---
**This is a Bug Report**
<!-- Thanks for filing an issue! Before submitting, please fill in the following information. -->
<!-- See https://kubernetes.io/docs/contribute/start/ for guidance on writing an actionable issue description. -->
<!--Required Information-->
**Problem:**
**Proposed Solution:**
**Page to Update:**
https://kubernetes.io/...
<!--Optional Information (remove the comment tags around information you would like to include)-->
<!--Kubernetes Version:-->
<!--Additional Information:-->
+18
View File
@@ -0,0 +1,18 @@
---
name: Feature Request
about: Suggest a/an feature/enhancement to the Kubernetes Website project
labels:
- kind/feature
---
**This is a Feature Request**
<!-- Please only use this template for submitting feature/enhancement requests -->
<!-- See https://kubernetes.io/docs/contribute/start/ for guidance on writing an actionable issue description. -->
**What would you like to be added**
<!-- Describe as precisely as possible how this feature/enhancement should work from the user perspective. What should be changed, etc. -->
**Why is this needed**
**Comments**
<!-- Any additional related comments that might help. Drawings/mockups would be extremely helpful (if required). -->
+19
View File
@@ -0,0 +1,19 @@
---
name: Support Request
about: Support request or question relating to Kubernetes Website project
labels:
- triage/support
---
**This is Support**
<!--
STOP -- PLEASE READ!
GitHub is not the right place for support requests.
If you're looking for help, check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes)
You can also post your question on the [Kubernetes Slack](http://slack.k8s.io/) or the [Discuss Kubernetes](https://discuss.kubernetes.io/) forum.
If the matter is security related, please disclose it privately via https://kubernetes.io/security/.
-->
+15 -6
View File
@@ -1,8 +1,17 @@
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> For 1.11 Features: set Milestone to 1.11 and Base Branch to release-1.11
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> NOTE: After opening the PR, please *un-check and re-check* the ["Allow edits from maintainers"](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) box so that maintainers can work on your patch and speed up the review process. This is a temporary workaround to address a known issue with GitHub.>
> Remember to delete this note before submitting your pull request.
>
> For pull requests on 1.17 Features: set Milestone to 1.17 and Base Branch to dev-1.17
>
> For pull requests on Chinese localization, set Base Branch to release-1.16
> Feel free to ask questions in #kubernetes-docs-zh
>
> For pull requests on Korean Localization: set Base Branch to dev-1.16-ko.\<latest team milestone>
>
> If you need Help on editing and submitting pull requests, visit:
> https://kubernetes.io/docs/contribute/start/#improve-existing-content.
>
> If you need Help on choosing which branch to use, visit:
> https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Please delete this note before submitting the pull request.
![Allow edits from maintainers checkbox](https://help.github.com/assets/images/help/pull_requests/allow-maintainers-to-make-edits-sidebar-checkbox.png)
+6 -1
View File
@@ -1,7 +1,6 @@
**/.DS_Store
**/desktop.ini
_site/**
.sass-cache/**
CNAME
.travis.yml
.idea/
@@ -29,3 +28,9 @@ nohup.out
# Hugo output
public/
resources/
# Netlify Functions build output
package-lock.json
functions/
node_modules/
-22
View File
@@ -1,22 +0,0 @@
language: go
go:
- 1.9.3
# Don't want default ./... here:
install:
- export PATH=$GOPATH/bin:$PATH
- mkdir -p $HOME/gopath/src/k8s.io
- mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/website && cd $HOME/gopath/src/k8s.io/website
# Fetch dependencies for us to run the tests in test/examples_test.go
- go get -t -v k8s.io/website/test
# Make sure we are testing against the correct branch
- pushd $GOPATH/src/k8s.io/kubernetes && git checkout release-1.10 && popd
# Simplified deduplication of dependencies.
- cp -L -R $GOPATH/src/k8s.io/kubernetes/vendor/ $GOPATH/src/
- rm -r $GOPATH/src/k8s.io/kubernetes/vendor/
script:
# TODO(bep)
- go test -v k8s.io/website/test #fixed by https://github.com/kubernetes/website/pull/8388
#- ./verify-docs-format.sh
+2 -1
View File
@@ -9,7 +9,8 @@ These are just guidelines, not rules. Use your best judgment, and feel free to p
### Code of Conduct
Kubernetes follows the [Cloud Native Computing Foundation (CNCF) Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to Sarah Novotny [sarahnovotny@google.com](mailto:sarahnovotny@google.com) and/or Dan Kohn [dan@linuxfoundation.org](mailto:dan@linuxfoundation.org).
Kubernetes follows the [Cloud Native Computing Foundation (CNCF) Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to the
[Kubernetes Code of Conduct Committee](https://github.com/kubernetes/community/tree/master/committee-code-of-conduct) <conduct@kubernetes.io>.
### Documentation and Site Decisions
+4 -4
View File
@@ -12,16 +12,16 @@ RUN apk add --no-cache \
curl \
git \
openssh-client \
rsync
rsync \
build-base \
libc6-compat
ARG HUGO_VERSION
RUN mkdir -p /usr/local/src && \
cd /usr/local/src && \
curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tar.gz | tar -xz && \
curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | tar -xz && \
mv hugo /usr/local/bin/hugo && \
curl -L https://bin.equinox.io/c/dhgbqpS8Bvy/minify-stable-linux-amd64.tgz | tar -xz && \
mv minify /usr/local/bin && \
addgroup -Sg 1000 hugo && \
adduser -Sg hugo -u 1000 -h /src hugo
+30 -14
View File
@@ -1,27 +1,36 @@
DOCKER = docker
HUGO_VERSION = 0.40.3
HUGO_VERSION = 0.59.1
DOCKER_IMAGE = kubernetes-hugo
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(PWD):/src
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(CURDIR):/src
NODE_BIN = node_modules/.bin
NETLIFY_FUNC = $(NODE_BIN)/netlify-lambda
.PHONY: all build sass build-preview 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)
all: build ## Build site with production settings and put deliverables in _site.
all: build ## Build site with production settings and put deliverables in ./public
sass: # Rebuild the SASS source into CSS
node-sass --output-style compact ./src/sass/styles.sass ./static/css/styles.css
node-sass --output-style compact ./src/sass/case_study_styles.sass ./static/css/case_study_styles.css
build: ## Build site with production settings and put deliverables in ./public
hugo --minify
build: ## Build site with production settings and put deliverables in _site.
hugo
build-preview: ## Build site with drafts and future posts enabled
hugo --buildDrafts --buildFuture
build-preview: ## Build site with drafts and future posts enabled.
hugo -D -F
functions-build:
$(NETLIFY_FUNC) build functions-src
check-headers-file:
scripts/check-headers-file.sh
production-build: check-hugo-versions build check-headers-file ## Build the production site and ensure that noindex headers aren't added
non-production-build: check-hugo-versions ## Build the non-production site, which adds noindex headers to prevent indexing
hugo --enableGitInfo
serve: ## Boot the development server.
hugo server
hugo server --buildFuture
docker-image:
$(DOCKER) build . --tag $(DOCKER_IMAGE) --build-arg HUGO_VERSION=$(HUGO_VERSION)
@@ -29,5 +38,12 @@ docker-image:
docker-build:
$(DOCKER_RUN) $(DOCKER_IMAGE) hugo
stage:
$(DOCKER_RUN) -p 1313:1313 $(DOCKER_IMAGE) hugo server --watch --bind 0.0.0.0
docker-serve:
$(DOCKER_RUN) -p 1313:1313 $(DOCKER_IMAGE) hugo server --buildFuture --bind 0.0.0.0
test-examples:
scripts/test_examples.sh install
scripts/test_examples.sh run
check-hugo-versions:
scripts/hugo-version-check.sh $(HUGO_VERSION)
+13 -16
View File
@@ -1,19 +1,16 @@
# Reviewers can /lgtm /approve but not sufficient for auto-merge without an
# approver
# See the OWNERS docs at https://go.k8s.io/owners
reviewers:
- zhangxiaoyu-zidif
- xiangpengzhao
- stewart-yu
- Rajakavitha1
# Approvers have all the ability of reviewers but their /approve makes
# auto-merge happen if a /lgtm exists, or vice versa, or they can do both
# No need for approvers to also be listed as reviewers
- sig-docs-en-reviews # Defined in OWNERS_ALIASES
approvers:
- heckj
- bradamant3
- bradtopol
- steveperry-53
- zacharysarah
- sig-docs-en-owners # Defined in OWNERS_ALIASES
emeritus_approvers:
- chenopis
- mistyhacks
- tengqm
- jaredbhatti
# stewart-yu, you're welcome to return when you're ready to resume PR wrangling
- stewart-yu
labels:
- sig/docs
+185 -192
View File
@@ -1,199 +1,192 @@
aliases:
sig-api-machinery: #Team: API Server; GH: sig-api-machinery-pr-reviews; e.g. Annotations, Labels
- lavalamp
- sttts
- liggitt
- smarterclayton
- deads2k
sig-apps: #Team: Workloads; GH: sig-apps-pr-reviews; e.g. ConfigMaps, CronJobs, CustomResourceDefinitions, DaemonSets, Deployments, Jobs, Secrets, StatefulSets
- enisoc
- erictune
- foxish
- janetkuo
- kow3ns
- lukaszo
- mfojtik
- smarterclayton
- soltysh
- tnozicka
sig-architecture: #GH: sig-architecture-pr-reviews
- smarterclayton
- bgrant0607
sig-auth: #GH: sig-auth-pr-reviews
- php-coder
- liggitt
- mikedanese
- ericchiang
- mattmoyer
- enj
- deads2k
- davidopp
sig-autoscaling: #GH: sig-autoscaling-pr-reviews
- DirectXMan12
- bskiba
- aleksandra-malinowska
- MaciekPytel
- davidopp
- mwielgus
sig-aws: #Amazon AWS
- justinsb
- kris-nova
- chrislovecnm
- mfburnett
sig-azure: #Microsoft Azure
- slack
- colemickens
- jdumars
sig-big-data: #GH: sig-big-data-pr-reviews
- foxish
sig-cli: #Team: CLI; GH: sig-cli-pr-reviews; e.g. kubectl
- adohe
- deads2k
- derekwaynecarr
- dims
- dshulyak
- eparis
- ericchiang
- ghodss
- mengqiy
- rootfs
- shiywang
- smarterclayton
- soltysh
- sttts
sig-cluster-lifecycle: #GH: sig-cluster-lifecycle-pr-reviews
sig-cluster-lifecycle-kubeadm-approvers: # Approving changes to kubeadm documentation
- timothysc
- lukemarsden
- luxas
- roberthbailey
- fabriziopandini
sig-cluster-ops:
- zehicle
- jdumars
sig-contribex: #aka Contributor Experience; GH: sig-contributor-experience-pr-reviews
- rmmh
- cblecker
- apelisse
- grodrigues3
- spxtr
sig-contributor-experience: #GH: sig-contributor-experience-pr-reviews
- rmmh
- cblecker
- apelisse
- grodrigues3
- spxtr
sig-docs: #Team: documentation; GH: sig-docs-pr-reviews
- fabriziopandini
sig-cluster-lifecycle-kubeadm-reviewers: # Reviewing kubeadm documentation
- timothysc
- lukemarsden
- luxas
- fabriziopandini
- kad
- xiangpengzhao
- stealthybox
- liztio
- chuckha
- detiber
- dixudx
sig-docs-blog-owners: # Approvers for blog content
- castrojo
- kbarnard10
- zacharysarah
sig-docs-blog-reviewers: # Reviewers for blog content
- cody-clark
- mrbobbytables
- onlydole
- parispittman
- vonguard
sig-docs-de-owners: # Admins for German content
- bene2k1
- mkorbi
- rlenferink
sig-docs-de-reviews: # PR reviews for German content
- bene2k1
- mkorbi
- rlenferink
sig-docs-en-owners: # Admins for English content
- bradamant3
- bradtopol
- daminisatya
- gochist
- jaredbhatti
- jimangel
- kbarnard10
- kbhawkey
- makoscafee
- rajakavitha1
- ryanmcginnis
- simplytunde
- steveperry-53
- xiangpengzhao
- zacharysarah
- zparnold
sig-docs-en-reviews: # PR reviews for English content
- rajakavitha1
- sftim
- tengqm
sig-docs-es-owners: # Admins for Spanish content
- raelga
- alexbrand
sig-docs-es-reviews: # PR reviews for Spanish content
- raelga
- alexbrand
# glo-pena
- electrocucaracha
sig-docs-fr-owners: # Admins for French content
- remyleone
- perriea
- rekcah78
- yastij
- smana
- rbenzair
- abuisine
- erickhun
- jygastaud
- awkif
- oussemos
sig-docs-fr-reviews: # PR reviews for French content
- remyleone
- perriea
- rekcah78
- yastij
- smana
- rbenzair
- abuisine
- erickhun
- jygastaud
- awkif
- oussemos
sig-docs-hi-owners: # Admins for Hindi content
- avidLearnerInProgress
- daminisatya
- mittalyashu
- Rajakavitha1
sig-docs-hi-reviews: # PR reviews for Hindi content
- avidLearnerInProgress
- daminisatya
- mittalyashu
- Rajakavitha1
sig-docs-id-owners: # Admins for Indonesian content
- girikuncoro
- irvifa
sig-docs-id-reviews: # PR reviews for Indonesian content
- girikuncoro
- irvifa
sig-docs-it-owners: # Admins for Italian content
- mattiaperi
- micheleberardi
- rlenferink
sig-docs-it-reviews: # PR reviews for Italian content
- mattiaperi
- micheleberardi
- rlenferink
sig-docs-ja-owners: # Admins for Japanese content
- cstoku
- inductor
- nasa9084
sig-docs-ja-reviews: # PR reviews for Japanese content
- cstoku
- inductor
- makocchi-git
- MasayaAoyama
- nasa9084
- oke-py
sig-docs-ko-owners: # Admins for Korean content
- ClaudiaJKang
- gochist
- ianychoi
- seokho-son
- zacharysarah
sig-docs-ko-reviews: # PR reviews for Korean content
- ClaudiaJKang
- gochist
- ianychoi
- seokho-son
sig-docs-maintainers: # Website maintainers
- bradamant3
- jimangel
- kbarnard10
- pwittrock
- steveperry-53
- zacharysarah
- bradtopol
- heckj
sig-federation: #Team: Federation; e.g. Federated Clusters
- csbell
sig-gcp: #Google Cloud Platform; GH: sig-gcp-pr-reviews
- abgworrall
sig-instrumentation: #GH: sig-instrumentation-pr-reviews; e.g. metrics, logging, events
- DirectXMan12
- x13n
- kawych
- brancz
- fabxc
- loburm
- piosz
- fgrzadkowski
sig-multicluster: #GH: sig-multicluster-pr-reviews; e.g. resiliency against availability zone outages; hybrid clouds; spanning multiple cloud providers; migration to public clouds
- madhusudancs
- marun
- jianhuiz
- shashidharatd
- nikhiljindal
- quinton-hoole
- mwielgus
- csbell
sig-network: #Team: Network; GH: sig-network-pr-reviews; e.g. Ingress, Network Policies, Services
- bowei
- caseydavenport
- danwinship
- dcbw
- dnardo
- freehan
- mrhohn
- nicksardo
- thockin
sig-node: #Team: Node; GH: sig-node-pr-reviews; e.g. Containers, Docker, Images, OS images, Pods, Registries
- Random-Liu
- dashpole
- zparnold
sig-docs-zh-owners: # Admins for Chinese content
- chenopis
- chenrui333
- dchen1107
- derekwaynecarr
- dims
- feiskyer
- mtaufen
- ncdc
- pmorie
- resouer
- sjpotter
- tallclair
- tmrts
- vishh
- yifan-gu
- yujuhong
sig-onprem: #On-premises; GH: sig-onprem-pr-reviews
- zen
- idvoretskyi
- pigmej
- feiskyer
- nebril
sig-openstack: #GH: sig-openstack-pr-reviews
- hogepodge
- dklyle
- rjmorse
sig-pm: #aka Product Management
- apsinha
- idvoretskyi
- calebamiles
sig-product-management:
- apsinha
- idvoretskyi
- calebamiles
sig-release: #GH: sig-release-pr-reviews
- calebamiles
- enisoc
- pwittrock
sig-rktnetes:
- calebamiles
sig-scalability: #GH: sig-scalability-pr-reviews
- jbeda
- spiffxp
- lavalamp
- countspongebob
sig-scheduling: #Team: Sharing; GH: sig-scheduling-pr-reviews; e.g. Scheduler
- bsalamat
- davidopp
- jayunit100
- k82cn
- resouer
- timothysc
- wojtek-t
sig-service-catalog: #GH: sig-service-catalog-pr-reviews; e.g. Service Broker
- pmorie
- jessfraz
- pwittrock
- droot
- seans3
sig-storage: #Team: Storage; GH: sig-storage-pr-reviews; e.g. Volumes
- childsb
- jsafrane
- rootfs
- saad-ali
- matchstick
- msau42
sig-testing: #GH: sig-testing-pr-reviews
- fejta
- ixdy
- rmmh
- spiffxp
- spxtr
sig-ui: #User Interface
- danielromlein
- floreks
sig-windows:
- michmike
- haibinxie
- hanjiayao
- lichuqiang
- markthink
- SataQiu
- xiangpengzhao
- xichengliudui
- zacharysarah
- zhangxiaoyu-zidif
sig-docs-zh-reviews: # PR reviews for Chinese content
- chenrui333
- idealhack
- markthink
- SataQiu
- tengqm
- xiangpengzhao
- xichengliudui
- zhangxiaoyu-zidif
- pigletfly
sig-docs-pt-owners: # Admins for Portuguese content
- femrtnz
- jcjesus
- devlware
sig-docs-pt-reviews: # PR reviews for Portugese content
- femrtnz
- jcjesus
- devlware
sig-docs-vi-owners: # Admins for Vietnamese content
- huynguyennovem
- ngtuna
- truongnh1992
sig-docs-vi-reviews: # PR reviews for Vietnamese content
- huynguyennovem
- ngtuna
- truongnh1992
sig-docs-ru-owners: # Admins for Russian content
- msheldyakov
- aisonaku
- potapy4
- dianaabv
sig-docs-ru-reviews: # PR reviews for Russian content
- msheldyakov
- aisonaku
- potapy4
- dianaabv
+81
View File
@@ -0,0 +1,81 @@
# Kubernetes Dokumentation
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Herzlich willkommen! Dieses Repository enthält alle Assets, die zur Erstellung der [Kubernetes-Website und Dokumentation](https://kubernetes.io/) erforderlich sind. Wir freuen uns sehr, dass Sie dazu beitragen wollen!
## Beiträge zur Dokumentation
Sie können auf die Schaltfläche **Fork** im oberen rechten Bereich des Bildschirms klicken, um eine Kopie dieses Repositorys in Ihrem GitHub-Konto zu erstellen. Diese Kopie wird als *Fork* bezeichnet. Nehmen Sie die gewünschten Änderungen an Ihrem Fork vor. Wenn Sie bereit sind, diese Änderungen an uns zu senden, gehen Sie zu Ihrem Fork und erstellen Sie eine neue Pull-Anforderung, um uns darüber zu informieren.
Sobald Ihre Pull-Anfrage erstellt wurde, übernimmt ein Rezensent von Kubernetes die Verantwortung für klares, umsetzbares Feedback. Als Eigentümer des Pull-Request **liegt es in Ihrer Verantwortung Ihren Pull-Reqest enstsprechend des Feedbacks, dass Sie vom Kubernetes-Reviewer erhalten haben abzuändern.** Beachten Sie auch, dass Sie am Ende mehr als einen Rezensenten von Kubernetes erhalten, der Ihnen Feedback gibt, oder dass Sie Rückmeldungen von einem Rezensenten von Kubernetes erhalten, der sich von demjenigen unterscheidet, der ursprünglich für das Feedback zugewiesen wurde. In einigen Fällen kann es vorkommen, dass einer Ihrer Prüfer bei Bedarf eine technische Überprüfung von einem [Kubernetes Tech-Reviewer](https://github.com/kubernetes/website/wiki/tech-reviewers) anfordert. Reviewer geben ihr Bestes, um zeitnah Feedback zu geben, die Antwortzeiten können jedoch je nach den Umständen variieren.
Weitere Informationen zum Beitrag zur Kubernetes-Dokumentation finden Sie unter:
* [Mitwirkung beginnen](https://kubernetes.io/docs/contribute/start/)
* [Ihre Dokumentationsänderungen bereitstellen](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Seitenvorlagen verwenden](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Dokumentationsstil-Handbuch](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Übersetzung der Kubernetes-Dokumentation](https://kubernetes.io/docs/contribute/localization/)
## `README.md`'s Localizing Kubernetes Documentation
### Deutsch
Die Betreuer der deutschen Lokalisierung erreichen Sie unter:
* Benedikt Rollik ([@bene2k1](https://github.com/bene2k1))
* Max Körbächer ([@mkorbi](https://github.com/mkorbi))
* [Slack Kanal](https://kubernetes.slack.com/messages/kubernetes-docs-de)
## Site lokal mit Docker ausführen
Um die Kubernetes-Website lokal laufen zu lassen, empfiehlt es sich, ein spezielles [Docker](https://docker.com) Image auszuführen, das den statischen Site-Generator [Hugo](https://gohugo.io) enthält.
> Unter Windows benötigen Sie einige weitere Tools, die Sie mit [Chocolatey](https://chocolatey.org) installieren können.
`choco install make`
> Wenn Sie die Website lieber lokal ohne Docker ausführen möchten, finden Sie weitere Informationen unter [Website lokal mit Hugo ausführen](#Die-Site-lokal-mit-Hugo-ausführen).
Wenn Sie Docker [installiert](https://www.docker.com/get-started) haben, erstellen Sie das Docker-Image `kubernetes-hugo` lokal:
```bash
make docker-image
```
Nachdem das Image erstellt wurde, können Sie die Site lokal ausführen:
```bash
make docker-serve
```
Öffnen Sie Ihren Browser unter http://localhost:1313, um die Site anzuzeigen. Wenn Sie Änderungen an den Quelldateien vornehmen, aktualisiert Hugo die Site und erzwingt eine Browseraktualisierung.
## Die Site lokal mit Hugo ausführen
Hugo-Installationsanweisungen finden Sie in der [offiziellen Hugo-Dokumentation](https://gohugo.io/getting-started/installing/). Stellen Sie sicher, dass Sie die Hugo-Version installieren, die in der Umgebungsvariablen `HUGO_VERSION` in der Datei [`netlify.toml`](netlify.toml#L9) angegeben ist.
So führen Sie die Site lokal aus, wenn Sie Hugo installiert haben:
```bash
make serve
```
Dadurch wird der lokale Hugo-Server an Port 1313 gestartet. Öffnen Sie Ihren Browser unter http://localhost:1313, um die Site anzuzeigen. Wenn Sie Änderungen an den Quelldateien vornehmen, aktualisiert Hugo die Site und erzwingt eine Browseraktualisierung.
## Community, Diskussion, Beteiligung und Unterstützung
Erfahren Sie auf der [Community-Seite](http://kubernetes.io/community/) wie Sie mit der Kubernetes-Community interagieren können.
Sie können die Betreuer dieses Projekts unter folgender Adresse erreichen:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Verhaltensregeln
Die Teilnahme an der Kubernetes-Community unterliegt dem [Kubernetes-Verhaltenskodex](code-of-conduct.md).
## Vielen Dank!
Kubernetes lebt vom Community Engagement und wir freuen uns sehr über Ihre Beiträge zu unserer Website und unserer Dokumentation!
+76
View File
@@ -0,0 +1,76 @@
# La documentación de Kubernetes
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Bienvenido!
Este repositorio contiene todos los recursos necesarios para construir el [sitio web de Kubernetes y su documentación](https://kubernetes.io/). ¡Estamos encantados de que quiera contribuir!
## Contribuyendo con la documentación
Puede hacer clic en el botón **Fork** situado en la esquina superior derecha de la pantalla para crear una copia de este repositorio en su cuenta de GitHub. A ese tipo de copia se le llama **Fork** (bifurcación) y le permite editar el contenido del repositorio en su copia personal. Realice los cambios que quiera en su **fork** y, cuando esté listo para enviarnos esos cambios, vaya a **fork** en repositorio en su GitHub y cree una nueva **pull request** para que tengamos constancia de la propuesta de cambios.
Una vez la **pull request** ha sido creada, un revisor de Kubernetes asumirá la responsabilidad de proporcionar comentarios claros y prácticos sobre como continuar. Como propietario de la PR, **es su responsabilidad modificar la pull request para abordar los comentarios proporcionados por el revisor de Kubernetes.** Tenga en cuenta que algunas veces puede terminar teniendo más de un revisor de Kubernetes participando en la revisión, por lo que es posible que reciba comentarios de más revisores a parte del asignado originalmente en la creación de la **pull request**. Además, en algunas ocasiones, es posible que uno de sus revisores solicite una revisión técnica por parte de un [revisor técnico de Kubernetes](https://github.com/kubernetes/website/wiki/Tech-reviewers) si lo considera necesario.
Los revisores harán todo lo posible para proporcionar toda la información necesaria para que la **pull request** siga adelante en un tiempo razonable, pero este tiempo de respuesta puede variar según las circunstancias.
Para obtener más información sobre cómo contribuir a la documentación de Kubernetes, puede consultar:
* [Empezando a contribuir](https://kubernetes.io/docs/contribute/start/)
* [Visualizando sus cambios en su entorno local](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Utilizando las plantillas de las páginas](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Guía de estilo de la documentación](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Traduciendo la documentación de Kubernetes](https://kubernetes.io/docs/contribute/localization/)
## Levantando el sitio web kubernetes.io en su entorno local con Docker
El método recomendado para levantar una copia local del sitio web kubernetes.io es utilizando la imagen de [Docker](https://docker.com) que incluye el generador de sitios estáticos [Hugo](https://gohugo.io).
> Para Windows, algunas otras herramientas como Make son necesarias. Puede instalarlas utilizando el gestor [Chocolatey](https://chocolatey.org). `choco install make` o siguiendo las instrucciones de [Make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm).
> Si prefiere levantar el sitio web sin utilizar **Docker**, puede seguir las instrucciones disponibles en la sección [Levantando kubernetes.io en local con Hugo](#levantando-kubernetes.io-en-local-con-hugo).
Una vez tenga Docker [configurado en su máquina](https://www.docker.com/get-started), puede construir la imagen de Docker `kubernetes-hugo` localmente ejecutando el siguiente comando en la raíz del repositorio:
```bash
make docker-image
```
Una vez tenga la imagen construida, puede levantar el sitio web ejecutando:
```bash
make docker-serve
```
Abra su navegador y visite http://localhost:1313 para acceder a su copia local del sitio. A medida que vaya haciendo cambios en el código fuente, Hugo irá actualizando la página y forzará la actualización en el navegador.
## Levantando kubernetes.io en local con Hugo
Revise la [documentación oficial de Hugo](https://gohugo.io/getting-started/installing/) para obtener las instrucciones de instalación en su sistema operativo. Asegúrese de instalar la versión de Hugo especificada en la variable de entorno `HUGO_VERSION` del fichero [`netlify.toml`](netlify.toml#L9).
Para levantar el sitio localmente una vez Hugo está instalado en su sistema, puede ejecutar el siguiente comando:
```bash
make serve
```
Este comando levantará un servidor de Hugo en el puerto **1313** al que podrá acceder visitando http://localhost:1313 y dónde podrá visualizar su copia local del sitio web. A medida que vaya haciendo cambios en el código fuente, Hugo irá actualizando la página y forzará la actualización en el navegador.
## Comunidad, discusión, contribuir y soporte
Aprenda como participar en la comunidad de Kubernetes visitando la [página de comunidad](http://kubernetes.io/community/).
Puede ponerse en contacto con los mantenedores de este proyecto en:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Código de conducta
La participación en la comunidad de Kubernetes está regulada por el [Código de Conducta de Kubernetes](code-of-conduct.md).
## ¡Muchas gracias!
Kubernetes es posible gracias a la participación de la comunidad y la documentación es vital para facilitar el acceso al proyecto.
Agradecemos muchísimo sus contribuciones a nuestro sitio web y nuestra documentación.
+83
View File
@@ -0,0 +1,83 @@
# Documentation de Kubernetes
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Bienvenue !
Ce référentiel contient toutes les informations nécessaires à la construction du site web et de la documentation de Kubernetes.
Nous sommes très heureux que vous vouliez contribuer !
## Contribuer à la rédaction des docs
Vous pouvez cliquer sur le bouton **Fork** en haut à droite de l'écran pour créer une copie de ce dépôt dans votre compte GitHub.
Cette copie s'appelle un *fork*.
Faites tous les changements que vous voulez dans votre fork, et quand vous êtes prêt à nous envoyer ces changements, allez dans votre fork et créez une nouvelle pull request pour nous le faire savoir.
Une fois votre pull request créée, un examinateur de Kubernetes se chargera de vous fournir une revue claire et exploitable.
En tant que propriétaire de la pull request, **il est de votre responsabilité de modifier votre pull request pour tenir compte des commentaires qui vous ont été fournis par l'examinateur de Kubernetes.**
Notez également que vous pourriez vous retrouver avec plus d'un examinateur de Kubernetes pour vous fournir des commentaires ou vous pourriez finir par recevoir des commentaires d'un autre examinateur que celui qui vous a été initialement affecté pour vous fournir ces commentaires.
De plus, dans certains cas, l'un de vos examinateur peut demander un examen technique à un [examinateur technique de Kubernetes](https://github.com/kubernetes/website/wiki/Tech-reviewers) au besoin.
Les examinateurs feront de leur mieux pour fournir une revue rapidement, mais le temps de réponse peut varier selon les circonstances.
Pour plus d'informations sur la contribution à la documentation Kubernetes, voir :
* [Commencez à contribuer](https://kubernetes.io/docs/contribute/start/)
* [Apperçu des modifications apportées à votre documentation](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Utilisation des modèles de page](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Traduction de la documentation Kubernetes](https://kubernetes.io/docs/contribute/localization/)
## Exécuter le site localement en utilisant Docker
La façon recommandée d'exécuter le site web Kubernetes localement est d'utiliser une image spécialisée [Docker](https://docker.com) qui inclut le générateur de site statique [Hugo](https://gohugo.io).
> Si vous êtes sous Windows, vous aurez besoin de quelques outils supplémentaires que vous pouvez installer avec [Chocolatey](https://chocolatey.org). `choco install install make`
> Si vous préférez exécuter le site Web localement sans Docker, voir [Exécuter le site localement avec Hugo](#running-the-site-locally-using-hugo) ci-dessous.
Si vous avez Docker [up and running](https://www.docker.com/get-started), construisez l'image Docker `kubernetes-hugo' localement:
```bash
make docker-image
```
Une fois l'image construite, vous pouvez exécuter le site localement :
```bash
make docker-serve
```
Ouvrez votre navigateur à l'adresse: http://localhost:1313 pour voir le site.
Lorsque vous apportez des modifications aux fichiers sources, Hugo met à jour le site et force le navigateur à rafraîchir la page.
## Exécuter le site localement en utilisant Hugo
Voir la [documentation officielle Hugo](https://gohugo.io/getting-started/installing/) pour les instructions d'installation Hugo.
Assurez-vous d'installer la version Hugo spécifiée par la variable d'environnement `HUGO_VERSION` dans le fichier [`netlify.toml`](netlify.toml#L9).
Pour exécuter le site localement lorsque vous avez Hugo installé :
```bash
make serve
```
Le serveur Hugo local démarrera sur le port 1313.
Ouvrez votre navigateur à l'adresse: http://localhost:1313 pour voir le site.
Lorsque vous apportez des modifications aux fichiers sources, Hugo met à jour le site et force le navigateur à rafraîchir la page.
## Communauté, discussion, contribution et assistance
Apprenez comment vous engager avec la communauté Kubernetes sur la [page communauté](http://kubernetes.io/community/).
Vous pouvez joindre les responsables de ce projet à l'adresse :
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Code de conduite
La participation à la communauté Kubernetes est régie par le [Code de conduite de Kubernetes](code-of-conduct.md).
## Merci !
Kubernetes prospère grâce à la participation de la communauté, et nous apprécions vraiment vos contributions à notre site et à notre documentation !
+84
View File
@@ -0,0 +1,84 @@
# कुबरनेट्स प्रलेखन
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
स्वागत हे! इस रिपॉजिटरी में [कुबरनेट्स वेबसाइट और दस्तावेज](https://kubernetes.io/) बनाने के लिए आवश्यक सभी संपत्तियां हैं। हम बहुत खुश हैं कि आप योगदान करना चाहते हैं!
## डॉक्स में योगदान देना
आप अपने GitHub खाते में इस रिपॉजिटरी की एक copy बनाने के लिए स्क्रीन के ऊपरी-दाएँ क्षेत्र में **Fork** बटन पर क्लिक करें। इस copy को *Fork* कहा जाता है। अपने fork में कोई भी परिवर्तन करना चाहते हैं, और जब आप उन परिवर्तनों को हमारे पास भेजने के लिए तैयार हों, तो अपने fork पर जाएं और हमें इसके बारे में बताने के लिए एक नया pull request बनाएं।
एक बार जब आपका pull request बन जाता है, तो एक कुबरनेट्स समीक्षक स्पष्ट, कार्रवाई योग्य प्रतिक्रिया प्रदान करने की जिम्मेदारी लेगा। pull request के मालिक के रूप में, **यह आपकी जिम्मेदारी है कि आप कुबरनेट्स समीक्षक द्वारा प्रदान की गई प्रतिक्रिया को संबोधित करने के लिए अपने pull request को संशोधित करें।**
यह भी ध्यान दें कि आप एक से अधिक कुबरनेट्स समीक्षक आपको प्रतिक्रिया प्रदान कर सकते हैं या आप एक कुबरनेट्स समीक्षक से प्रतिक्रिया प्राप्त कर सकते हैं जो मूल रूप से आपको प्रतिक्रिया प्रदान करने के लिए दिए गए एक से भिन्न है। इसके अलावा, कुछ मामलों में, आपका एक समीक्षक जरूरत पड़ने पर [कुबेरनेट्स टेक समीक्षक](https://github.com/kubernetes/website/wiki/Tech-reviewers) से तकनीकी समीक्षा प्राप्त कर सकता है। समीक्षक समय पर प्रतिक्रिया देने के लिए पूरी कोशिश करेंगे, लेकिन परिस्थितियों के आधार पर प्रतिक्रिया समय अलग-अलग हो सकता है।
कुबरनेट्स प्रलेखन में योगदान देने के बारे में अधिक जानकारी के लिए, देखें:
* [योगदान देना शुरू करें](https://kubernetes.io/docs/contribute/start/)
* [परिवर्तनों को अंतिम चरण में लेजाएं](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [पेज टेम्पलेट](http://kubernetes.io/docs/contribute/style/page-templates/)
* [प्रलेखन शैली गाइड](http://kubernetes.io/docs/contribute/style/style-guide/)
* [स्थानीयकरण कुबरनेट्स प्रलेखन](https://kubernetes.io/docs/contribute/localization/)
## `README.md`'s स्थानीयकरण कुबरनेट्स प्रलेखन
आप पर हिंदी स्थानीयकरण के maintainers तक पहुँच सकते हैं:
* Yashu Mittal ([Twitter](https://twitter.com/mittalyashu77), [GitHub](https://github.com/mittalyashu))
* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-hi)
## स्थानीय रूप से डॉकर का उपयोग करके साइट चलाना
कुबरनेट्स वेबसाइट को स्थानीय रूप से चलाने के लिए अनुशंसित तरीका एक विशेष [डॉकर](https://docker.com) image को चलाना है, जिसमें [Hugo](https://gohugo.io) स्टेटिक साइट जनरेटर शामिल है।
> यदि आप विंडोज पर हैं, तो आपको कुछ और टूल्स की आवश्यकता होगी जिन्हें आप [Chocolatey](https://chocolatey.org) के साथ इंस्टॉल कर सकते हैं।
> यदि आप डॉकर के बिना स्थानीय रूप से वेबसाइट चलाना पसंद करते हैं, तो नीचे Hugo का उपयोग करके स्थानीय रूप से साइट चलाना देखें।
यदि आप डॉकर के बिना स्थानीय रूप से वेबसाइट चलाना पसंद करते हैं, तो नीचे दिए गए Hugo का उपयोग करके स्थानीय रूप से [साइट को चलाने](#running-the-site-locally-using-hugo) का तरीका देखें।
यदि आप [डॉकर](https://www.docker.com/get-started) चला रहे हैं, तो स्थानीय रूप से `कुबेरनेट्स-ह्यूगो` Docker image बनाएँ:
```bash
make docker-image
```
एक बार image बन जाने के बाद, आप साइट को स्थानीय रूप से चला सकते हैं:
```bash
make docker-serve
```
साइट देखने के लिए अपने browser को `http://localhost:1313` पर खोलें। जैसा कि आप source फ़ाइलों में परिवर्तन करते हैं, Hugo साइट को अपडेट करता है और browser को refresh करने पर मजबूर करता है।
## Hugo का उपयोग करते हुए स्थानीय रूप से साइट चलाना
Hugo निर्देशों के लिए [आधिकारिक Hugo प्रलेखन](https://gohugo.io/getting-started/installing/) देखें। [`Netlify.toml`](netlify.toml#L9) फ़ाइल में `HUGO_VERSION` environment variable द्वारा निर्दिष्ट Hugo version को install करना सुनिश्चित करें।
जब आप Hugo को install करते हैं तो स्थानीय रूप से साइट को चलाने के लिए:
```bash
make serve
```
यह पोर्ट `1313` पर Hugo सर्वर को शुरू करेगा। साइट देखने के लिए अपने browser को `http://localhost:1313` पर खोलें। जैसा कि आप source फ़ाइलों में परिवर्तन करते हैं, Hugo साइट को अपडेट करता है और एक browser को refresh करने पर मजबूर करता है।
## समुदाय, चर्चा, योगदान और समर्थन
[Community page](http://kubernetes.io/community/) पर कुबरनेट्स समुदाय के साथ जुड़ना सीखें।
आप इस परियोजना के स्थानीयकरण तक पहुँच सकते हैं:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
## कोड ओफ़ कंडक्ट
कुबरनेट्स समुदाय में भागीदारी [कुबरनेट्स कोड ओफ़ कंडक्ट](https://github.com/cncf/foundation/blob/master/code-of-conduct-languages/hi.md) द्वारा शासित है.
## धन्यवाद!
कुबरनेट्स सामुदायिक भागीदारी पर पनपती है, और हम वास्तव में हमारी साइट और हमारे प्रलेखन में आपके योगदान की सराहना करते हैं!
कुबरनेट्स आपकी भागीदारी पर निर्भर है, और हम हमारी साइट और प्रलेखन में आपके योगदान का मान करते हैं!
+72
View File
@@ -0,0 +1,72 @@
# Dokumentasi Kubernetes
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Selamat datang! Repositori ini merupakan wadah bagi semua komponen yang dibutuhkan untuk membuat [dokumentasi Kubernetes](https://kubernetes.io/). Kami merasa sangat senang apabila kamu berminat untuk menjadi kontributor!
## Kontribusi pada dokumentasi
Pertama, kamu dapat menekan tombol **Fork** yang berada pada bagian atas layar, untuk menyalin repositori pada akun Github-mu. Salinan ini disebut sebagai **fork**. Kamu dapat menambahkan konten pada **fork** yang kamu miliki, setelah kamu merasa cukup untuk menambahkan konten yang kamu miliki dan ingin memberikan konten tersebut pada kami, kamu dapat melihat **fork** yang telah kamu buat dan membuat **pull request** untuk memberi tahu kami bahwa kamu ingin menambahkan konten yang telah kamu buat.
Setelah kamu membuat sebuah **pull request**, seorang **reviewer** akan memberikan masukan terhadap konten yang kamu sediakan serta beberapa hal yang dapat kamu lakukan apabila perbaikan diperlukan terhadap konten yang telah kamu sediakan. Sebagai seorang yang membuat **pull request**, **sudah menjadi kewajiban kamu untuk melakukan modifikasi terhadap konten yang kamu berikan sesuai dengan masukan yang diberikan oleh seorang reviewer Kubernetes**. Perlu kamu ketahui bahwa kamu dapat saja memiliki lebih dari satu orang **reviewer Kubernetes** atau dalam kasus kamu bisa saja mendapatkan **reviewer Kubernetes** yang berbeda dengan **reviewer Kubernetes** awal yang ditugaskan untuk memberikan masukan terhadap konten yang kamu sediakan. Selain itu, seorang **reviewer Kubernetes** bisa saja meminta masukan teknis dari [reviewer teknis Kubernetes](https://github.com/kubernetes/website/wiki/Tech-reviewers) jika diperlukan.
Untuk informasi lebih lanjut mengenai tata cara melakukan kontribusi, kamu dapat melihat tautan di bawah ini:
* [Petunjuk Melakukan Kontribusi](https://kubernetes.io/docs/contribute/start/)
* [Melakukan Tahap Staging pada Konten Dokumentasi yang telah Kamu Sediakan](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Petunjuk Menggunakan Page Templates](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Petunjuk untuk Documentation Style](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Petunjuk untuk Melakukan Lokalisasi Dokumentasi Kubernetes](https://kubernetes.io/docs/contribute/localization/)
## Menjalankan Dokumentasi Kubernetes pada Mesin Lokal Kamu
Petunjuk yang disarankan untuk menjalankan Dokumentasi Kubernetes pada mesin lokal kamus adalah dengan menggunakan [Docker](https://docker.com) **image** yang memiliki **package** [Hugo](https://gohugo.io), **Hugo** sendiri merupakan generator website statis.
> Jika kamu menggunakan Windows, kamu mungkin membutuhkan beberapa langkah tambahan untuk melakukan instalasi perangkat lunak yang dibutuhkan. Instalasi ini dapat dilakukan dengan menggunakan [Chocolatey](https://chocolatey.org). `choco install make`
> Jika kamu ingin menjalankan **website** tanpa menggunakan **Docker**, kamu dapat melihat tautan berikut [Petunjuk untuk menjalankan website pada mesin lokal dengan menggunakan Hugo](#petunjuk-untuk-menjalankan-website-pada-mesin-lokal-denga-menggunakan-hugo) di bagian bawah.
Jika kamu sudah memiliki **Docker** [yang sudah dapat digunakan](https://www.docker.com/get-started), kamu dapat melakukan **build** `kubernetes-hugo` **Docker image** secara lokal:
```bash
make docker-image
```
Setelah **image** berhasil di-**build**, kamu dapat menjalankan website tersebut pada mesin lokal-mu:
```bash
make docker-serve
```
Buka **browser** kamu ke http://localhost:1313 untuk melihat laman dokumentasi. Selama kamu melakukan penambahan konten, **Hugo** akan secara otomatis melakukan perubahan terhadap laman dokumentasi apabila **browser** melakukan proses **refresh**.
## Petunjuk untuk menjalankan website pada mesin lokal dengan menggunakan Hugo
Kamu dapat melihat [dokumentasi resmi Hugo](https://gohugo.io/getting-started/installing/) untuk mengetahui langkah yang diperlukan untuk melakukan instalasi **Hugo**. Pastikan kamu melakukan instalasi versi **Hugo** sesuai dengan versi yang tersedia pada **environment variable** `HUGO_VERSION` pada **file**[`netlify.toml`](netlify.toml#L9).
Untuk menjalankan laman pada mesin lokal setelah instalasi **Hugo**, kamu dapat menjalankan perintah berikut:
```bash
make serve
```
Buka **browser** kamu ke http://localhost:1313 untuk melihat laman dokumentasi. Selama kamu melakukan penambahan konten, **Hugo** akan secara otomatis melakukan perubahan terhadap laman dokumentasi apabila **browser** melakukan proses **refresh**.
## Komunitas, Diskusi, Kontribusi, dan Bantuan
Kamu dapat belajar bagaimana tata cara untuk ikut terlibat dalam komunitas Kubernetes melalui [laman komunitas](http://kubernetes.io/community/).
Kamu dapat berinteraksi dengan **maintainers** project ini melalui:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Etika dalam Berkontribusi
Partisipasi dalam komunitas Kubernetes diatur dalam [Etika dalam Berkontribusi pada Kubernetes](code-of-conduct.md).
## Terima Kasih!
Kubernetes sangat menjunjung tinggi partisipasi dari komunitas, dan kami sangat mengapresiasi kontribusi kamu pada laman dan dokumentasi kami!
+75
View File
@@ -0,0 +1,75 @@
# Kubernetesのドキュメント
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
ようこそ!このリポジトリには、[KubernetesのWebサイトとドキュメント](https://kubernetes.io/)をビルドするために必要な全アセットが格納されています。貢献に興味を持っていただきありがとうございます!
## ドキュメントに貢献する
GitHubの画面右上にある**Fork**ボタンをクリックすると、お使いのGitHubアカウントに紐付いた本リポジトリのコピーが作成され、このコピーのことを*フォーク*と呼びます。フォークリポジトリの中ではお好きなように変更を加えていただいて構いません。加えた変更をこのリポジトリに追加したい任意のタイミングにて、フォークリポジトリからPull Reqeustを作成してください。
Pull Requestが作成されると、レビュー担当者が責任を持って明確かつ実用的なフィードバックを返します。
Pull Requestの所有者は作成者であるため、**ご自身で作成したPull Requestを編集し、フィードバックに対応するのはご自身の役目です。**
また、状況によっては2人以上のレビュアーからフィードバックが返されたり、アサインされていないレビュー担当者からのフィードバックが来ることがある点もご注意ください。
さらに、特定のケースにおいては、レビュー担当者が[Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers)に対してレビューを依頼することもあります。
レビュー担当者はタイムリーにフィードバックを提供するために最善を尽くしますが、応答時間は状況に応じて異なる場合があります。
Kubernetesのドキュメントへの貢献に関する詳細については以下のページをご覧ください:
* [貢献のはじめ方](https://kubernetes.io/docs/contribute/start/)
* [ドキュメントの変更をステージする](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [ページテンプレートの使い方](http://kubernetes.io/docs/contribute/style/page-templates/)
* [ドキュメントのスタイルガイド](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Kubernetesドキュメントの翻訳方法](https://kubernetes.io/docs/contribute/localization/)
## Dockerを使ってローカル環境でWebサイトを動かす
ローカル環境で本ページを動かすのに推奨される方法は、静的サイトジェネレータの[Hugo](https://gohugo.io)を動かすのに特化した[Docker](https://docker.com)イメージを使うことです。
> Windows上で環境を作る場合は[Chocolatey](https://chocolatey.org)を使ってインストール可能な追加のツールが必要になります。 `choco install make`
> Dockerを使わずに環境を構築したい場合は、[Hugoをローカル環境で動かす](#hugoをローカル環境で動かす)をご覧ください。
既に[Dockerが動いている環境](https://www.docker.com/get-started)であれば、以下のコマンドを使って`kubernetes-hugo`イメージをローカルでビルドします:
```bash
make docker-image
```
イメージが作成されたら、以下のコマンドを使ってWebサイトをローカル上で動かすことができます:
```bash
make docker-serve
```
お使いのブラウザにて http://localhost:1313 にアクセスすることでWebサイトが開きます。リポジトリ内のソースファイルに変更を加えると、HugoがWebサイトの内容を更新してブラウザに反映します。
## Hugoをローカル環境で動かす
Hugoのインストール方法については[Hugoの公式ドキュメント](https://gohugo.io/getting-started/installing/)をご覧ください。このとき、[`netlify.toml`](netlify.toml#L9)ファイルに記述されている`HUGO_VERSION`と同じバージョンをインストールするようにしてください。
Hugoがインストールできたら、以下のコマンドを使ってWebサイトをローカル上で動かすことができます:
```bash
make serve
```
これで、Hugoのサーバーが1313番ポートを使って開始します。 お使いのブラウザにて http://localhost:1313 にアクセスしてください。リポジトリ内のソースファイルに変更を加えると、HugoがWebサイトの内容を更新してブラウザに反映します。
## コミュニティ内での議論、貢献、サポートなどについて
[コミュニティのページ](http://kubernetes.io/community/)をご覧になることで、Kubernetesコミュニティとの関わり方を学ぶことができます。
本プロジェクトのメンテナーには以下の方法で連絡することができます:
- [Slack](https://kubernetes.slack.com/messages/kubernetes-docs-ja)
- [メーリングリスト](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### 行動規範
Kubernetesコミュニティへの参加については、[Kubernetesの行動規範](code-of-conduct.md)によって管理されています。
## ありがとうございます!
Kubernetesはコミュニティの参加によって成長しています。Webサイトおよびドキュメンテーションへの皆さんの貢献に感謝します!
+69
View File
@@ -0,0 +1,69 @@
# 쿠버네티스 문서화
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
환영합니다! 이 저장소는 쿠버네티스 웹사이트 및 문서화를 만드는 데 필요로 하는 모든 asset에 대한 공간을 제공합니다. 여러분이 기여를 원한다는 사실에 매우 기쁩니다!
## 문서에 기여하기
이 저장소에 대한 복제본을 여러분의 GitHub 계정에 생성하기 위해 화면 오른쪽 위 영역에 있는 **Fork** 버튼을 클릭 가능합니다. 이 복제본은 *fork* 라고 부릅니다. 여러분의 fork에서 원하는 임의의 변경 사항을 만들고, 해당 변경 사항을 보낼 준비가 되었다면, 여러분의 fork로 이동하여 새로운 풀 리퀘스트를 만들어 우리에게 알려주시기 바랍니다.
여러분의 풀 리퀘스트가 생성된 이후에는, 쿠버네티스 리뷰어가 명료하고 실행 가능한 피드백을 제공하는 책임을 담당할 것입니다. 풀 리퀘스트의 오너로서, **쿠버네티스 리뷰어로부터 제공받은 피드백을 수용하기 위해 풀 리퀘스트를 수정하는 것은 여러분의 책임입니다.** 또한, 참고로 한 명 이상의 쿠버네티스 리뷰어가 여러분에게 피드백을 제공하는 상황에 처하거나, 또는 여러분에게 피드백을 제공하기로 원래 할당된 사람이 아닌 다른 쿠버네티스 리뷰어로부터 피드백을 받는 상황에 처할 수도 있습니다. 그뿐만 아니라, 몇몇 상황에서는, 필요에 따라 리뷰어 중 한 명이 [쿠버네티스 기술 리뷰어](https://github.com/kubernetes/website/wiki/Tech-reviewers)로부터의 기술 리뷰를 요청할지도 모릅니다. 리뷰어는 제시간에 피드백을 제공하기 위해 최선을 다할 것이지만, 응답 시간은 상황에 따라 달라질 수도 있습니다.
쿠버네티스 문서화에 기여하기와 관련된 보다 자세한 정보는, 다음을 살펴봅니다:
* [기여 시작하기](https://kubernetes.io/docs/contribute/start/)
* [문서화 변경 사항 스테이징하기](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [페이지 템플릿 사용하기](http://kubernetes.io/docs/contribute/style/page-templates/)
* [문서화 스타일 가이드](http://kubernetes.io/docs/contribute/style/style-guide/)
* [쿠버네티스 문서화 로컬라이징](https://kubernetes.io/docs/contribute/localization/)
## `README.md`에 대한 쿠버네티스 문서화 번역
### 한국어
`README.md` 번역 및 한국어 기여자를 위한 보다 자세한 가이드를 [한국어 README](README-ko.md) 페이지 혹은 [쿠버네티스 문서 한글화 가이드](https://kubernetes.io/ko/docs/contribute/localization_ko/)에서 살펴봅니다.
한국어 번역 메인테이너에게 다음을 통해 연락 가능합니다.
* 이덕준 ([GitHub - @gochist](https://github.com/gochist))
* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-ko)
## 도커를 사용하여 사이트를 로컬에서 실행하기
쿠버네티스 웹사이트를 로컬에서 실행하기 위한 추천하는 방식은 [Hugo](https://gohugo.io) 정적 사이트 생성기를 포함하는 특별한 [도커](https://docker.com) 이미지를 실행하는 것입니다.
> Windows에서 실행하는 경우, [Chocolatey](https://chocolatey.org)로 설치할 수 있는 명명 추가 도구를 필요로 할 것입니다. `choco install make`
> 도커를 사용하지 않고 웹사이트를 로컬에서 실행하기를 선호하는 경우에는, 아래 [Hugo를 사용한 로컬 사이트 실행하기](#hugo를-사용한-로컬-사이트-실행하기)를 살펴봅니다.
도커 [동작 및 실행](https://www.docker.com/get-started) 환경이 있는 경우, 로컬에서 `kubernetes-hugo` 도커 이미지를 빌드 합니다:
```bash
make docker-image
```
해당 이미지가 빌드 된 이후, 사이트를 로컬에서 실행할 수 있습니다:
```bash
make docker-serve
```
브라우저에서 http://localhost:1313 를 열어 사이트를 살펴봅니다. 소스 파일에 변경 사항이 있을 때, Hugo는 사이트를 업데이트하고 브라우저를 강제로 새로고침합니다.
## Hugo를 사용한 로컬 사이트 실행하기
Hugo 설치 안내를 위해서는 [공식 Hugo 문서화](https://gohugo.io/getting-started/installing/)를 살펴봅니다. [`netlify.toml`](netlify.toml#L9) 파일에 있는 `HUGO_VERSION` 환경 변수에서 지정된 Hugo 버전이 설치되었는지를 확인합니다.
Hugo가 설치되었을 때 로컬에서 사이트를 실행하기 위해 (다음을 실행합니다):
```bash
make serve
```
이를 통해 로컬 Hugo 서버를 1313번 포트에 시작합니다. 브라우저에서 http://localhost:1313 를 열어 사이트를 살펴봅니다. 소스 파일에 변경 사항이 있을 때, Hugo는 사이트를 업데이트하고 브라우저를 강제로 새로고침합니다.
## 감사합니다!
쿠버네티스는 커뮤니티 참여와 함께 생존하며, 우리는 사이트 및 문서화에 대한 여러분의 컨트리뷰션에 대해 정말 감사하게 생각합니다!
+76
View File
@@ -0,0 +1,76 @@
# A documentação do Kubernetes
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Bem vindos! Este repositório abriga todos os recursos necessários para criar o [site e documentação do Kubernetes](https://kubernetes.io/). Estamos muito satisfeitos por você querer contribuir!
## Contribuindo com os documentos
Você pode clicar no botão **Fork** na área superior direita da tela para criar uma cópia desse repositório na sua conta do GitHub. Esta cópia é chamada de *fork*. Faça as alterações desejadas no seu fork e, quando estiver pronto para enviar as alterações para nós, vá até o fork e crie uma nova solicitação de pull para nos informar sobre isso.
Depois que seu **pull request** for criado, um revisor do Kubernetes assumirá a responsabilidade de fornecer um feedback claro e objetivo. Como proprietário do pull request, **é sua responsabilidade modificar seu pull request para abordar o feedback que foi fornecido a você pelo revisor do Kubernetes.** Observe também que você pode acabar tendo mais de um revisor do Kubernetes para fornecer seu feedback ou você pode acabar obtendo feedback de um revisor do Kubernetes que é diferente daquele originalmente designado para lhe fornecer feedback. Além disso, em alguns casos, um de seus revisores pode solicitar uma revisão técnica de um [revisor de tecnologia Kubernetes](https://github.com/kubernetes/website/wiki/Tech-reviewers) quando necessário. Os revisores farão o melhor para fornecer feedback em tempo hábil, mas o tempo de resposta pode variar de acordo com as circunstâncias.
Para mais informações sobre como contribuir com a documentação do Kubernetes, consulte:
* [Comece a contribuir](https://kubernetes.io/docs/contribute/start/)
* [Preparando suas alterações na documentação](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Usando Modelos de Página](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Guia de Estilo da Documentação](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Localizando documentação do Kubernetes](https://kubernetes.io/docs/contribute/localization/)
Você pode contactar os mantenedores da localização em Português em:
* Felipe ([GitHub - @femrtnz](https://github.com/femrtnz))
* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-pt)
## Executando o site localmente usando o Docker
A maneira recomendada de executar o site do Kubernetes localmente é executar uma imagem especializada do [Docker](https://docker.com) que inclui o gerador de site estático [Hugo](https://gohugo.io).
> Se você está rodando no Windows, você precisará de mais algumas ferramentas que você pode instalar com o [Chocolatey](https://chocolatey.org). `choco install make`
> Se você preferir executar o site localmente sem o Docker, consulte [Executando o site localmente usando o Hugo](#executando-o-site-localmente-usando-o-hugo) abaixo.
Se você tiver o Docker [em funcionamento](https://www.docker.com/get-started), crie a imagem do Docker do `kubernetes-hugo` localmente:
```bash
make docker-image
```
Depois que a imagem foi criada, você pode executar o site localmente:
```bash
make docker-serve
```
Abra seu navegador para http://localhost:1313 para visualizar o site. Conforme você faz alterações nos arquivos de origem, Hugo atualiza o site e força a atualização do navegador.
## Executando o site localmente usando o Hugo
Veja a [documentação oficial do Hugo](https://gohugo.io/getting-started/installing/) para instruções de instalação do Hugo. Certifique-se de instalar a versão do Hugo especificada pela variável de ambiente `HUGO_VERSION` no arquivo [`netlify.toml`](netlify.toml#L9).
Para executar o site localmente quando você tiver o Hugo instalado:
```bash
make serve
```
Isso iniciará o servidor Hugo local na porta 1313. Abra o navegador para http://localhost:1313 para visualizar o site. Conforme você faz alterações nos arquivos de origem, Hugo atualiza o site e força a atualização do navegador.
## Comunidade, discussão, contribuição e apoio
Aprenda a se envolver com a comunidade do Kubernetes na [página da comunidade](http://kubernetes.io/community/).
Você pode falar com os mantenedores deste projeto:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Código de conduta
A participação na comunidade Kubernetes é regida pelo [Código de Conduta da Kubernetes](code-of-conduct.md).
## Obrigado!
O Kubernetes conta com a participação da comunidade e nós realmente agradecemos suas contribuições para o nosso site e nossa documentação!
+80
View File
@@ -0,0 +1,80 @@
# Документация по Kubernetes
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Добро пожаловать! Данный репозиторий содержит все необходимые файлы для сборки [сайта Kubernetes и документации](https://kubernetes.io/). Мы благодарим вас за старания!
## Вклад в документацию
Нажмите на кнопку **Fork** в правом верхнем углу, чтобы создать копию этого репозитория в ваш GitHub-аккаунт. Это копия называется *форк-репозиторием*. Делайте любые изменения в вашем форк-репозитории, и когда вы будете готовы опубликовать изменения, откройте форк-репозиторий и создайте новый пулреквест, чтобы уведомить нас.
После того, как вы отправите пулреквест, ревьювер Kubernetes даст по нему обратную связь. Вы, как автор пулреквеста, **должны обновить свой пулреквест после его рассмотрения ревьювером Kubernetes.** Вполне возможно, что более одного ревьювера Kubernetes оставят свои комментарии или даже может быть так, что новый комментарий ревьювера Kubernetes будет отличаться от первоначального назначенного ревьювера. Кроме того, в некоторых случаях один из ревьюверов может запросить технический обзор у [технического ревьювера Kubernetes](https://github.com/kubernetes/website/wiki/Tech-reviewers), если это будет необходимо. Ревьюверы сделают все возможное, чтобы как можно оперативно оставить свои предложения и пожелания, но время ответа может варьироваться в зависимости от обстоятельств.
Узнать подробнее о том, как поучаствовать в документации Kubernetes, вы можете по ссылкам ниже:
* [Начните вносить свой вклад](https://kubernetes.io/docs/contribute/start/)
* [Просмотр локальных изменений](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Использование шаблонов страниц](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Руководство по оформлению документации](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Руководство по локализации Kubernetes](https://kubernetes.io/docs/contribute/localization/)
## `README.md` файлы на других языках
| | |
|---|---|
|[Французский](README-fr.md)|[Корейский](README-ko.md)|
|[Немецкий](README-de.md)|[Португальский](README-pt.md)|
|[Хинди README](README-hi.md)|[Испанский](README-es.md)|
|[Индонезийский](README-id.md)|[Китайский](README-zh.md)|
|||
## Запуск сайта локально с помощью Docker
Рекомендованный способ запуска сайта Kubernetes на локальной машине - использовать специальный образ [Docker](https://docker.com), который включает статический генератор сайтов [Hugo](https://gohugo.io).
> Если вы используете Windows, вам необходимо установить дополнительные инструменты через [Chocolatey](https://chocolatey.org). `choco install make`
> Если вы хотите запустить сайт локально без Docker, обратитесь к разделу [Запуск сайта с помощью Hugo](#running-the-site-locally-using-hugo) ниже на этой странице.
Когда Docker [установлен и запущен](https://www.docker.com/get-started), соберите локально Docker-образ `kubernetes-hugo`, выполнив команду в консоли:
```bash
make docker-image
```
После того, как вы собрали образ, можно запустить сайт локально:
```bash
make docker-serve
```
Откройте браузер и перейдите по ссылке http://localhost:1313, чтобы открыть сайт. Если вы редактируете исходные файлы сайта, Hugo автоматически применит изменения и обновит страницу в браузере.
## Запуск веб-сайта с помощью Hugo {#running-the-site-locally-using-hugo}
Обратитесь к [официальной документации Hugo](https://gohugo.io/getting-started/installing/), чтобы установить Hugo. Убедитесь, что вы установили правильную версию Hugo, которая устанавливается в переменной окружения `HUGO_VERSION` в файле [`netlify.toml`](netlify.toml#L9).
После установки Hugo, чтобы запустить сайт, выполните в консоли:
```bash
make serve
```
Эта команда запустит сервер Hugo на порту 1313. Откройте браузер и перейдите по ссылке http://localhost:1313, чтобы открыть сайта. Если вы отредактируете исходные файлы сайта, Hugo автоматически применит изменения и обновит страницу в браузере.
## Сообщество, обсуждение, вклад и поддержка
Узнайте, как поучаствовать в жизни сообщества Kubernetes на [странице сообщества](http://kubernetes.io/community/).
Вы можете связаться с сопровождающими этого проекта по:
- [Канал в Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Рассылка](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Нормы поведения
Участие в сообществе Kubernetes регулируется [нормами поведения Kubernetes](code-of-conduct.md).
## Спасибо!
Kubernetes процветает благодаря сообществу и мы ценим ваш вклад в сайт и документацию!
+72
View File
@@ -0,0 +1,72 @@
# Tài liệu Kubernetes
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
Chào mừng! Kho lưu trữ này chứa tất cả các tài nguyên cần thiết để xây dựng [trang web của Kubernetes và các tài liệu](https://kubernetes.io/). Chúng tôi rất vui vì bạn muốn đóng góp.
## Đóng góp cho tài liệu
Bạn có thể click vào nút **Fork** ở góc trên bên phải màn hình để tạo bản sao của kho lưu trữ này trong tài khoản GitHub của bạn. Bản sao này được gọi là một bản *fork*. Thực hiện bất kì thay đổi nào mà bạn muốn trong bản fork của bạn và khi bạn sẵn sang gửi những thay đổi đó cho chúng tôi, hãy đến bản fork của bạn và tạo một Pull Request mới để cho chúng tôi biết về nó.
Một khi Pull Request của bạn được tạo, reviewer sẽ chịu trách nhiệm cung cấp các phản hồi rõ ràng, có thể thực hiện được. Là chủ sở hữu của pull request, **bạn có trách nhiệm sửa đổi Pull Request của mình để giải quyết các phản hồi bởi reviewer.** Ngoài ra, lưu ý rằng bạn có thể có nhiều hơn một reviewer cung cấp cho bạn các phản hồi hoặc bạn có thể nhận được phản hồi từ reviewer khác với reviewer ban đầu được chỉ định. Hơn nữa, trong một số trường hợp, một trong những reviewer của bạn có thể yêu cầu đánh giá kỹ thuật từ [Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers) khi cần. Các reviewers sẽ cố gắng hết sức để cung cấp phản hồi một cách kịp thời nhưng thời gian phản hồi có thể thay đổi tùy theo hoàn cảnh.
Để biết thêm thông tin về việc đóng góp cho tài liệu Kubernetes, hãy xem:
* [Bắt đầu đóng góp](https://kubernetes.io/docs/contribute/start/)
* [Các giai đoạn thay đổi tài liệu](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Sử dụng các trang templates](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Hướng dẫn biểu mẫu tài liệu](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Địa phương hóa tài liệu Kubernetes](https://kubernetes.io/docs/contribute/localization/)
## Chạy website cục bộ dùng Docker
Cách được đề xuất để chạy trang web Kubernetes cục bộ là dùng [Docker](https://docker.com) image chứa trình tạo web tĩnh [Hugo](https://gohugo.io).
> Nếu bạn làm việc trên môi trường Windows, bạn sẽ cần thêm môt vài công cụ mà bạn có thể cài đặt với [Chocolatey](https://chocolatey.org). `choco install make`
> Nếu bạn không muốn dùng Docker để chạy trang web cục bộ, hãy xem [Chạy website cục bộ dùng Hugo](#Chạy website cục bộ dùng Hugo) dưới đây.
Nếu bạn có Docker đang [up và running](https://www.docker.com/get-started), build `kubernetes-hugo` Docker image cục bộ:
```bash
make docker-image
```
Khi image đã được built, bạn có thể chạy website cục bộ:
```bash
make docker-serve
```
Mở trình duyệt và đến địa chỉ http://localhost:1313 để xem website. Khi bạn thay đổi các file nguồn, Hugo cập nhật website và buộc làm mới trình duyệt.
## Chạy website cục bộ dùng Hugo
Hãy xem [tài liệu chính thức của Hugo](https://gohugo.io/getting-started/installing/) cho việc hướng dẫn cài đặt Hugo. Đảm bảo cài đặt phiên bản mở rộng của Hugo được xác định bởi biến môi trường `HUGO_VERSION` trong file [`netlify.toml`](netlify.toml#L9)
Để chạy website cục bộ khi Hugo được cài đặt:
```bash
make serve
```
Câu lệnh trên sẽ khởi động server Hugo cục bộ trên cổng 1313. Mở trình duyệt và đến địa chỉ http://localhost:1313 để xem website. Khi bạn thay đổi các file nguồn, Hugo cập nhật website và buộc làm mới trình duyệt.
## Cộng đồng, thảo luận, đóng góp và hỗ trợ
Tìm hiểu cách tham gia với cộng đồng Kubernetes trên [trang cộng đồng](http://kubernetes.io/community/).
Bạn có thể tiếp cận những maintainers của dự án này tại:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Quy tắc ứng xử
Sự tham gia vào cộng đồng Kubernetes được điểu chỉnh bởi [Kubernetes Code of Conduct](code-of-conduct.md).
## Cảm ơn!
Kubernetes phát triển mạnh mẽ về sự tham gia của cộng đồng và chúng tôi đánh giá cao những đóng góp của bạn cho trang web và tài liệu của chúng tôi!
+182
View File
@@ -0,0 +1,182 @@
# Kubernetes 文档
<!--
# The Kubernetes documentation
-->
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
<!--
Welcome! This repository houses all of the assets required to build the [Kubernetes website and documentation](https://kubernetes.io/).
We're glad that you want to contribute!
-->
欢迎!本仓库包含了所有用于构建 [Kubernetes 网站和文档](https://kubernetes.io/)的内容。
我们非常高兴您想要参与贡献!
<!--
## Contributing to the docs
-->
## 贡献文档
<!--
You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account.
This copy is called a *fork*. Make any changes you want in your fork,
and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it.
-->
您可以点击屏幕右上方的 **Fork** 按钮,在您的 GitHub 账户下创建一份本仓库的副本。这个副本叫做 *fork*。您可以对 fork 副本进行任意修改,
当准备好把修改提交给我们时,您可以通过创建一个 pull request 来告知我们。
<!--
Once your pull request is created, a Kubernetes reviewer will take responsibility for providing clear, actionable feedback.
As the owner of the pull request, **it is your responsibility to modify your pull request to address the feedback that has been provided to you by the Kubernetes reviewer.**
Also, note that you may end up having more than one Kubernetes reviewer provide you feedback or you may end up getting feedback from a Kubernetes reviewer that is different than the one initially assigned to provide you feedback.
Furthermore, in some cases, one of your reviewers might ask for a technical review from a [Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers) when needed.
Reviewers will do their best to provide feedback in a timely fashion but response time can vary based on circumstances.
-->
创建 pull request 后,Kubernetes 审核人员将负责提供清晰且可操作的反馈。作为 pull request 的所有者,**您有责任修改 pull request 以解决 Kubernetes 审核者提供给您的反馈。**
另请注意,您最终可能会收到多个 Kubernetes 审核人员为您提供的反馈,也可能出现后面 Kubernetes 审核人员的反馈与前面审核人员的反馈不尽相同的情况。
此外,在某些情况下,您的某位评审员可能会在需要时要求 [Kubernetes 技术评审员](https://github.com/kubernetes/website/wiki/Tech-reviewers) 进行技术评审。
审稿人将尽最大努力及时提供反馈,但响应时间可能因情况而异。
<!--
For more information about contributing to the Kubernetes documentation, see:
* [Start contributing](https://kubernetes.io/docs/contribute/start/)
* [Staging Your Documentation Changes](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Using Page Templates](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Localizing Kubernetes Documentation](https://kubernetes.io/docs/contribute/localization/)
-->
有关为 Kubernetes 文档做出贡献的更多信息,请参阅:
* [开始贡献](https://kubernetes.io/docs/contribute/start/)
* [缓存您的文档变更](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [使用页面模版](http://kubernetes.io/docs/contribute/style/page-templates/)
* [文档风格指南](http://kubernetes.io/docs/contribute/style/style-guide/)
* [本地化 Kubernetes 文档](https://kubernetes.io/docs/contribute/localization/)
<!--
## `README.md`'s Localizing Kubernetes Documentation
-->
## `README.md` 的本地化 Kubernetes 文档
<!--
### Korean
You can reach the maintainers of Korean localization at:
* June Yi ([GitHub - @gochist](https://github.com/gochist))
* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-ko)
-->
### 中文
可以通过以下方式联系中文本地化的维护人员:
* Rui Chen ([GitHub - @chenrui333](https://github.com/chenrui333))
* He Xiaolong ([GitHub - @markthink](https://github.com/markthink))
* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-zh)
<!--
## Running the website locally using Docker
-->
## 在本地使用 docker 运行网站
<!--
The recommended way to run the Kubernetes website locally is to run a specialized [Docker](https://docker.com) image that includes the [Hugo](https://gohugo.io) static website generator.
-->
在本地运行 Kubernetes 网站的推荐方法是运行包含 [Hugo](https://gohugo.io) 静态网站生成器的专用 [Docker](https://docker.com) 镜像。
<!--
> If you are running on Windows, you'll need a few more tools which you can install with [Chocolatey](https://chocolatey.org). `choco install make`
-->
> 如果您使用的是 Windows,则需要一些工具,可以使用 [Chocolatey](https://chocolatey.org) 进行安装。`choco install make`
<!--
> If you'd prefer to run the website locally without Docker, see [Running the website locally using Hugo](#running-the-site-locally-using-hugo) below.
-->
> 如果您更喜欢在没有 Docker 的情况下在本地运行网站,请参阅下面的[使用 Hugo 在本地运行网站](#running-the-site-locally-using-hugo) 章节。
<!--
If you have Docker [up and running](https://www.docker.com/get-started), build the `kubernetes-hugo` Docker image locally:
-->
如果您已经[安装运行](https://www.docker.com/get-started)了 Docker,使用以下命令在本地构建 `kubernetes-hugo` Docker 镜像:
```bash
make docker-image
```
<!--
Once the image has been built, you can run the website locally:
-->
一旦创建了镜像,您就可以在本地运行网站了:
```bash
make docker-serve
```
<!--
Open up your browser to http://localhost:1313 to view the website. As you make changes to the source files, Hugo updates the website and forces a browser refresh.
-->
打开浏览器访问 http://localhost:1313 以查看网站。当您对源文件进行更改时,Hugo 会更新网站并强制刷新浏览器。
<!--
## Running the website locally using Hugo
-->
## 使用 Hugo 在本地运行网站
<!--
See the [official Hugo documentation](https://gohugo.io/getting-started/installing/) for Hugo installation instructions.
Make sure to install the Hugo version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L9) file.
-->
有关 Hugo 的安装说明,请参阅 [Hugo 官方文档](https://gohugo.io/getting-started/installing/)。
确保安装对应版本的 Hugo,版本号由 [`netlify.toml`](netlify.toml#L9) 文件中的 `HUGO_VERSION` 环境变量指定。
<!--
To run the website locally when you have Hugo installed:
-->
安装 Hugo 后,在本地运行网站:
```bash
make serve
```
<!--
This will start the local Hugo server on port 1313. Open up your browser to http://localhost:1313 to view the website. As you make changes to the source files, Hugo updates the website and forces a browser refresh.
-->
这将在 1313 端口上启动本地 Hugo 服务器。打开浏览器访问 http://localhost:1313 查看网站。当您对源文件进行更改时,Hugo 会更新网站并强制刷新浏览器。
<!--
## Community, discussion, contribution, and support
-->
## 社区、讨论、贡献和支持
<!--
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).
-->
在[社区页面](http://kubernetes.io/community/)了解如何与 Kubernetes 社区互动。
<!--
You can reach the maintainers of this project at:
-->
您可以通过以下方式联系该项目的维护人员:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
<!--
### Code of conduct
Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).
-->
### 行为准则
参与 Kubernetes 社区受 [Kubernetes 行为准则](code-of-conduct.md)的约束。
<!--
## Thank you!
Kubernetes thrives on community participation, and we appreciate your contributions to our website and our documentation!
-->
## 感谢!
Kubernetes 因为社区的参与而蓬勃发展,感谢您对我们网站和文档的贡献!
+63 -34
View File
@@ -1,53 +1,82 @@
## Instructions for Contributing to the Kubernetes Documentation
# The Kubernetes documentation
Welcome! We are very pleased you want to contribute to the Kubernetes documentation.
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account called a *fork*. Make any changes you want in your fork, and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it.
Welcome! This repository houses all of the assets required to build the [Kubernetes website and documentation](https://kubernetes.io/). We're glad that you want to contribute!
Once your pull request is created, a Kubernetes reviewer will take responsibility for providing clear, actionable feedback. As the owner of the pull request, **it is your responsibility to modify your pull request to address the feedback that has been provided to you by the Kubernetes reviewer.** Also note that you may end up having more than one Kubernetes reviewer provide you feedback or you may end up getting feedback from a Kubernetes reviewer that is different than the one originally assigned to provide you feedback. Furthermore, in some cases, one of your reviewers might ask for a technical review from a [Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers) when needed. Reviewers will do their best to provide feedback in a timely fashion but response time can vary based on circumstances.
## Contributing to the docs
You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account. This copy is called a *fork*. Make any changes you want in your fork, and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it.
Once your pull request is created, a Kubernetes reviewer will take responsibility for providing clear, actionable feedback. As the owner of the pull request, **it is your responsibility to modify your pull request to address the feedback that has been provided to you by the Kubernetes reviewer.** Also, note that you may end up having more than one Kubernetes reviewer provide you feedback or you may end up getting feedback from a Kubernetes reviewer that is different than the one initially assigned to provide you feedback. Furthermore, in some cases, one of your reviewers might ask for a technical review from a [Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers) when needed. Reviewers will do their best to provide feedback in a timely fashion but response time can vary based on circumstances.
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/home/contribute/create-pull-request/)
* [Writing a New Topic](http://kubernetes.io/docs/home/contribute/write-new-topic/)
* [Review Issues](http://kubernetes.io/docs/home/contribute/review-issues/)
* [Staging Your Documentation Changes](http://kubernetes.io/docs/home/contribute/stage-documentation-changes/)
* [Using Page Templates](http://kubernetes.io/docs/home/contribute/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/home/contribute/style-guide/)
* [Start contributing](https://kubernetes.io/docs/contribute/start/)
* [Staging Your Documentation Changes](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
* [Using Page Templates](http://kubernetes.io/docs/contribute/style/page-templates/)
* [Documentation Style Guide](http://kubernetes.io/docs/contribute/style/style-guide/)
* [Localizing Kubernetes Documentation](https://kubernetes.io/docs/contribute/localization/)
## Building the site using Docker
## Localization `README.md`'s
| | |
|---|---|
|[French README](README-fr.md)|[Korean README](README-ko.md)|
|[German README](README-de.md)|[Portuguese README](README-pt.md)|
|[Hindi README](README-hi.md)|[Spanish README](README-es.md)|
|[Indonesian README](README-id.md)|[Chinese README](README-zh.md)|
|[Japanese README](README-ja.md)|[Vietnamese README](README-vi.md)|
|[Russian README](README-ru.md)|
|||
If you'd like, you can build the Kubernetes docs using Docker. To get started, build the image locally:
## Running the website locally using Docker
The recommended way to run the Kubernetes website locally is to run a specialized [Docker](https://docker.com) image that includes the [Hugo](https://gohugo.io) static website generator.
> If you are running on Windows, you'll need a few more tools which you can install with [Chocolatey](https://chocolatey.org). `choco install make`
> If you'd prefer to run the website locally without Docker, see [Running the website locally using Hugo](#running-the-site-locally-using-hugo) below.
If you have Docker [up and running](https://www.docker.com/get-started), build the `kubernetes-hugo` Docker image locally:
```bash
$ make docker-image
# The underlying command:
$ docker build . \
--tag kubernetes-hugo \
--build-arg HUGO_VERSION=0.40.3
make docker-image
```
You can create an image for a different version of Hugo by changing the value of the `HUGO_VERSION` argument for the build. You *must* specify a version or the image will not build.
Once the `kubernetes-hugo` image has been built locally, you can build the site:
Once the image has been built, you can run the website locally:
```bash
$ make docker-serve
# The underlying command:
$ docker run \
--rm \
--interactive \
--tty \
--volume $(PWD):/src \
kubernetes-hugo:latest \
hugo
make docker-serve
```
As when building without using a Docker container, the results of the build will be published to the `public` directory (the default output directory for [Hugo](https://gohugo.io), the static site generator used to build this site).
Open up your browser to http://localhost:1313 to view the website. As you make changes to the source files, Hugo updates the website and forces a browser refresh.
## Running the website locally using Hugo
See the [official Hugo documentation](https://gohugo.io/getting-started/installing/) for Hugo installation instructions. Make sure to install the Hugo extended version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L9) file.
To run the website locally when you have Hugo installed:
```bash
make serve
```
This will start the local Hugo server on port 1313. Open up your browser to http://localhost:1313 to view the website. As you make changes to the source files, Hugo updates the website and forces a browser refresh.
## Community, discussion, contribution, and support
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).
You can reach the maintainers of this project at:
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
### Code of conduct
Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).
## Thank you!
Kubernetes thrives on community participation, and we really appreciate your
contributions to our site and our documentation!
Kubernetes thrives on community participation, and we appreciate your contributions to our website and our documentation!
+4 -4
View File
@@ -1,15 +1,15 @@
# Defined below are the security contacts for this repo.
#
# They are the contact point for the Product Security Team to reach out
# They are the contact point for the Product Security Committee to reach out
# to for triaging and handling of incoming issues.
#
# The below names agree to abide by the
# [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy)
# [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy)
# and will be removed and replaced if they violate that agreement.
#
# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE
# INSTRUCTIONS AT https://kubernetes.io/security/
chenopis
jaredbhatti
bradamant3
jimangel
zacharysarah
File diff suppressed because it is too large Load Diff
+302
View File
@@ -0,0 +1,302 @@
$main-max-width: 1200px
$vendor-strip-height: 44px
$video-section-height: 550px
@media screen and (min-width: 1025px)
#hamburger
display: none
ul.global-nav
display: inline-block
#docs #vendorStrip #searchBox:before
top: 15px
#vendorStrip
height: $vendor-strip-height
line-height: $vendor-strip-height
li
a.YAH
&:after
content: ""
display: block
position: absolute
left: 0
bottom: 0
width: 100%
height: 4px
background-color: $blue
#searchBox
float: right
#home
#hero
#vendorStrip
display: block
#docs
#hero
h1, h5
text-align: left
#vendorStrip
ul
float: left
#searchBox
float: right
width: 250px
#search
vertical-align: middle
.flyout-button
display: none
.logo
position: relative
float: left
display: block
width: 180px
height: 88px
top: 0
left: 0
transform: none
background-image: url(../images/nav_logo.svg)
&.flip-nav, &.open-nav
.logo
background-image: url(../images/nav_logo2.svg)
#encyclopedia
padding: 50px 50px 100px 100px
clear: both
#docsToc
position: relative
float: left
padding: 0 20px
left: 0
width: 350px
z-index: auto
.push-menu-close-button
display: none
#docsContent
width: calc(100% - 400px)
#editPageButton
right: -25px
section, header, footer
.main-section
max-width: $main-max-width
header, #vendorStrip, #encyclopedia, #hero h1, #hero h5, #docs #hero h1, #docs #hero h5,
#community #hero h1, .gridPage #hero h1, #community #hero h5, .gridPage #hero h5
padding-left: 100px
padding-right: 100px
#vendorStrip
padding-right: 10px
#home
section, header, footer
.main-section
max-width: 1000px
#oceanNodes
.main-section
position: relative
max-width: 830px
&:nth-child(1)
max-width: 1000px
padding-right: 475px
h3, p
text-align: left
.image-wrapper
position: absolute
max-width: 48%
transform: translateY(-50%)
img
width: 425px
//.content
// width: 50%
#video
height: $video-section-height
position: relative
background-position: center center
background-size: cover
#talkToUs
h4
br
display: block
#bigSocial
div
width: calc(25% - 18px)
div + div
margin-left: 20px
//
//div:nth-child(3), div:nth-child(4)
// margin-top: 0
//#home #bigSocial
// div
// width: calc(33% - 15px)
//
// div:nth-child(3)
// margin-top: inherit
// FOOTER
footer
width: 100%
background-image: url(../images/texture.png)
background-color: $dark-grey
.main-section
padding: 20px 0
nav
overflow: hidden
margin-bottom: 20px
a
width: 16.65%
float: left
font-size: 24px
font-weight: 300
white-space: nowrap
.social
padding: 0 30px
max-width: 1200px
div
float: left
div:last-child
float: right
#search, #wishField
background-color: transparent
padding: 10px
font-size: 16px
font-weight: 100
color: white
border: 1px solid white
transition: 0.3s
&:focus
background-color: $light-grey
color: $dark-grey
.social a
display: inline-block
background-image: url(../images/social_sprite.svg)
background-repeat: no-repeat
background-size: 350px
width: 50px
height: 50px
border-radius: 5px
margin-right: 10px
&:hover
background-color: #fff
span
position: absolute
display: block
height: 0
overflow: hidden
a.twitter
background-position: 0 0
&:hover
background-position: 0 100%
a.stack-overflow
background-position: -50px 0
&:hover
background-position: -50px 100%
a.slack
background-position: -100px 0
&:hover
background-position: -100px 100%
a.github
background-position: -150px 0
&:hover
background-position: -150px 100%
a.mailing-list
background-position: -200px 0
&:hover
background-position: -200px 100%
a.calendar
background-position: -250px 0
&:hover
background-position: -250px 100%
a.youtube
background-position: -300px 0
&:hover
background-position: -300px 100%
#community, .gridPage
#hero
text-align: left
h1
padding: 20px 100px
#tryKubernetes
width: auto
background-color: $blue
padding: 0 20px
#bigSocial
div
width: calc(25% - 18px)
#home #caseStudiesWrapper
div
width: 24%
min-height: 260px
@media screen and (min-width: 1300px)
#vendorStrip
padding-right: 100px
@media screen and (min-width: 456px)
#vendorStrip
li + li
margin-left: 20px
+61
View File
@@ -0,0 +1,61 @@
html, body
margin: 0
padding: 0
input, button
outline: none
button
cursor: pointer
ul, li
list-style: none
ul
margin: 0
padding: 0
a
text-decoration: none
// CONVENIENCE
.clear
display: block
clear: both
.light-text
color: white
.right
float: right
.left
float: left
.center
text-align: center
//mixins
@mixin fullScreen
position: fixed
top: 0
left: 0
width: 100vw
height: 100vh
@mixin pureCenter($left: 50%, $top: 50%)
position: absolute
top: $top
left: $left
transform: translate(-50%, -50%)
@mixin maintain-aspect-ratio ($width-factor: 16, $height-factor: 9, $target-width: 80vw, $target-height: 80vh)
width: $target-width
height: $target-width * ($height-factor / $width-factor)
max-width: $target-height * ($width-factor / $height-factor)
max-height: $target-height
+86
View File
@@ -0,0 +1,86 @@
h1
font-size: $h1-font-size
line-height: $h1-line-height
h2
font-size: $h2-font-size
line-height: $h2-line-height
h3
font-size: $h3-font-size
line-height: $h3-line-height
h4
font-size: $h4-font-size
line-height: $h4-line-height
h5
font-size: $h5-font-size
line-height: $h5-line-height
p
font-size: $p-font-size
line-height: $p-line-height
section, header, #vendorStrip
padding-left: $full-width-paddingX
padding-right: $full-width-paddingX
.main-section
width: $main-width
max-width: $main-max-width
header
height: $header-height
.nav-buttons
height: $header-height
line-height: $header-height
.button + *
margin-left: $nav-buttons-margin-left
#hamburger
width: $hamburger-size
height: $hamburger-size
#mainNav
padding: $main-nav-padding
h5
margin-bottom: $main-nav-h5-margin-bottom
h3
margin-bottom: $main-nav-h3-margin-bottom
.nav-box
width: $nav-box-width
.nav-box + .nav-box
margin-left: $nav-box-sibling-margin-left
.main-secton + .main-section
margin-top: $main-nav-main-sibling-margin-top
.left .button
height: $main-nav-left-button-size
line-height: $main-nav-left-button-size
font-size: $main-nav-left-button-font-size
.open-nav, .y-enough
#tryKubernetes
margin-left: $nav-buttons-margin-left
#hero
padding-top: $hero-padding-top
#docs
#hero
h1, h5
padding-left: $full-width-paddingX
padding-right: $full-width-paddingX
#vendorStrip
height: $vendor-strip-height
line-height: $vendor-strip-height
font-size: $vendor-strip-font-size
+25
View File
@@ -0,0 +1,25 @@
$blue: #3371e3
$light-grey: #f7f7f7
$dark-grey: #303030
$medium-grey: #4c4c4c
$white: #ffffff
$base-font: 'Roboto', sans-serif
$mono-font: 'Roboto Mono', monospace
*, .button
box-sizing: border-box
font-family: $base-font
background: none
margin: 0
border: 0
body
font-family: $base-font
h1, h2, h5, p
font-weight: 300
h3, h4
font-weight: 400
+248
View File
@@ -0,0 +1,248 @@
// TEXT
//$h1-font-size: 60px
//$h1-line-height: 80px
//
//$h2-font-size: 42px
//$h2-line-height: 60px
//
//$h3-font-size: 26px
//$h3-line-height: 32px
//
//$h4-font-size: 26px
//$h4-line-height: 40px
//
//$h5-font-size: 18px
//$h5-line-height: 36px
//
//$p-font-size: 20px
//$p-line-height: 28px
// header
$full-width-paddingX: 20px
$main-width: 100%
$main-max-width: 100%
$header-height: 80px
$logo-width: 180px
$nav-buttons-margin-left: 30px
$hamburger-size: 50px
// main nav
$main-nav-padding: 140px 0 30px
$main-nav-h5-margin-bottom: 1em
$main-nav-h3-margin-bottom: 0.6em
$nav-box-width: 20%
$nav-box-sibling-margin-left: calc(20% / 3)
$main-nav-main-sibling-margin-top: 60px
$main-nav-left-button-size: 50px
$main-nav-left-button-font-size: 18px
// hero
$hero-padding-top: 80px
$headline-wrapper-margin-bottom: 40px
$quickstart-button-padding: 0 50px
$vendor-strip-font-size: 16px
//video
$video-section-height: 400px
//features
$features-h3-margin-bottom: 40px
$feature-box-margin-bottom: 60px
$feature-box-div-margin-bottom: 0
$feature-box-div-width: 45%
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
@media screen and (min-width: 750px)
@import "size"
p
font-size: 16px
line-height: 24px
letter-spacing: 0.1px
h1
font-size: 36px
line-height: 44px
h3
font-size: 28px
line-height: 36px
h4
font-size: 24px
line-height: 40px
#home
#viewDocs, #tryKubernetes
display: inline-block
#vendorStrip
display: block
text-align: center
img
max-height: 24px
vertical-align: middle
margin: 0 30px
#docs
#vendorStrip
li
a
font-size: 1em
font-weight: normal
li + li
margin-left: 60px
#oceanNodes
h3
text-align: left
margin-bottom: 18px
main, .main-section
position: relative
clear: both
display: table
height: 160px
.content
display: table-cell
position: relative
vertical-align: middle
.image-wrapper
position: absolute
top: 50%
max-width: 25%
max-height: 100%
transform: translateY(-50%)
&:nth-child(odd)
padding-right: 210px
.image-wrapper
right: 0
&:nth-child(even)
padding-left: 210px
.image-wrapper
left: 0
&:nth-child(1)
padding-right: 0
h3, p
text-align: center
.image-wrapper
position: relative
display: block
float: none
max-width: 100%
transform: none
.content
display: block
img
width: 100%
#video
height: $video-section-height
display: block
& > .light-text
display: block
#mobileShowVideoButton
display: none
#features
padding-bottom: 60px
.feature-box
margin-bottom: 30px
&:last-child
margin-bottom: 0
h3
margin-bottom: $features-h3-margin-bottom
.feature-box
& > div
width: $feature-box-div-width
margin-bottom: $feature-box-div-margin-bottom
#talkToUs
#bigSocial
div
width: calc(50% - 15px)
div + div
margin-top: 0
div:nth-child(2)
margin-left: 20px
div:nth-child(3)
div:nth-child(4)
margin-left: 20px
a
display: inline-block
color: $blue
font-weight: 400
text-decoration: none
// FOOTER
footer
nav
text-align: center
a
width: 30%
padding: 0 20px
.social
text-align: center
div
display: inline-block
div:last-child
display: block
margin: 0
span
display: inline-block
margin-right: 10px
input
text-align: left
#home #caseStudiesWrapper
div
width: 48%
+11
View File
@@ -0,0 +1,11 @@
@import "reset"
@import "skin"
// media queries
@import "base"
@import "tablet"
@import "desktop"
{{ if .Params.case_study_styles }}
@import "case-studies"
{{ end }}
+211 -35
View File
@@ -4,10 +4,11 @@ title = "Kubernetes"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
enableRobotsTXT = true
disableBrowserError = true
disableKinds = ["taxonomy", "taxonomyTerm"]
ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$" ]
ignoreFiles = [ "^OWNERS$", "README[-]+[a-z]*\\.md", "^node_modules$", "content/en/docs/doc-contributor-tools" ]
contentDir = "content/en"
@@ -19,6 +20,14 @@ pygmentsUseClasses = false
# See https://help.farbox.com/pygments.html
pygmentsStyle = "emacs"
# Enable Git variables like commit, lastmod
enableGitInfo = true
# Norwegian ("no") is sometimes but not currently used for testing.
# Hindi is disabled because it's currently in development.
# Italian is disabled until it meets minimum standards for quality.
disableLanguages = ["hi", "it", "no"]
[blackfriday]
hrefTargetBlank = true
fractions = false
@@ -27,71 +36,98 @@ fractions = false
date = ["date", ":filename", "publishDate", "lastmod"]
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
blog = "/:section/:year/:month/:day/:slug/"
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
[outputs]
home = [ "HTML", "RSS"]
home = [ "HTML", "RSS", "HEADERS" ]
page = [ "HTML"]
section = [ "HTML"]
# Add a "text/netlify" media type for auto-generating the _headers file
[mediaTypes]
[mediaTypes."text/netlify"]
delimiter = ""
[outputFormats]
[outputFormats.RSS]
baseName = "feed"
# _headers file output (uses the template at layouts/index.headers)
[outputFormats.HEADERS]
mediatype = "text/netlify"
baseName = "_headers"
isPlainText = true
notAlternative = true
[params]
time_format_blog = "Monday, January 02, 2006"
description = "Production-Grade Container Orchestration"
showedit = true
latest = "v1.10"
latest = "v1.17"
fullversion = "v1.10.3"
version = "v1.10"
fullversion = "v1.17.0"
version = "v1.17"
githubbranch = "master"
docsbranch = "master"
deprecated = false
currentUrl = "https://kubernetes.io/docs/home/"
nextUrl = "http://kubernetes-io-vnext-staging.netlify.com/"
nextUrl = "https://kubernetes-io-vnext-staging.netlify.com/"
githubWebsiteRepo = "github.com/kubernetes/website"
githubWebsiteRaw = "raw.githubusercontent.com/kubernetes/website"
# param for displaying an announcement block on every page; see PR #16210
announcement = false
# announcement_message is only displayed when announcement = true; update with your specific message
announcement_message = "The Kubernetes Documentation team would like your feedback! Please take a <a href='https://www.surveymonkey.com/r/8R237FN' target='_blank'>short survey</a> so we can improve the Kubernetes online documentation."
[[params.versions]]
fullversion = "v1.10.3"
version = "v1.10"
githubbranch = "v1.10.3"
docsbranch = "release-1.10"
fullversion = "v1.17.0"
version = "v1.17"
githubbranch = "v1.17.0"
docsbranch = "release-1.17"
url = "https://kubernetes.io"
[[params.versions]]
fullversion = "v1.9.7"
version = "v1.9"
githubbranch = "v1.9.7"
docsbranch = "release-1.9"
url = "https://v1-9.docs.kubernetes.io"
[params.pushAssets]
css = [
"callouts",
"styles",
"custom-jekyll/tags"
]
js = [
"custom-jekyll/tags",
"script"
]
[[params.versions]]
fullversion = "v1.8.4"
version = "v1.8"
githubbranch = "v1.8.4"
docsbranch = "release-1.8"
url = "https://v1-8.docs.kubernetes.io"
fullversion = "v1.16.3"
version = "v1.16"
githubbranch = "v1.16.3"
docsbranch = "release-1.16"
url = "https://v1-16.docs.kubernetes.io"
[[params.versions]]
fullversion = "v1.7.6"
version = "v1.7"
githubbranch = "v1.7.6"
docsbranch = "release-1.7"
url = "https://v1-7.docs.kubernetes.io"
fullversion = "v1.15.6"
version = "v1.15"
githubbranch = "v1.15.6"
docsbranch = "release-1.15"
url = "https://v1-15.docs.kubernetes.io"
[[params.versions]]
fullversion = "v1.6.8"
version = "v1.6"
githubbranch = "v1.6.8"
docsbranch = "release-1.6"
url = "https://v1-6.docs.kubernetes.io"
fullversion = "v1.14.9"
version = "v1.14"
githubbranch = "v1.14.9"
docsbranch = "release-1.14"
url = "https://v1-14.docs.kubernetes.io"
[[params.versions]]
fullversion = "v1.13.12"
version = "v1.13"
githubbranch = "v1.13.12"
docsbranch = "release-1.13"
url = "https://v1-13.docs.kubernetes.io"
# Language definitions.
@@ -102,11 +138,151 @@ description = "Production-Grade Container Orchestration"
languageName ="English"
# Weight used for sorting.
weight = 1
[languages.cn]
[languages.zh]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Chinese"
languageName = "中文 Chinese"
weight = 2
contentDir = "content/cn"
contentDir = "content/zh"
[languages.zh.params]
time_format_blog = "2006.01.02"
language_alternatives = ["en"]
[languages.ko]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "한국어 Korean"
weight = 3
contentDir = "content/ko"
[languages.ko.params]
time_format_blog = "2006.01.02"
language_alternatives = ["en"]
[languages.ja]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "日本語 Japanese"
weight = 4
contentDir = "content/ja"
[languages.ja.params]
time_format_blog = "2006.01.02"
language_alternatives = ["en"]
[languages.fr]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Français"
weight = 5
contentDir = "content/fr"
[languages.fr.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.it]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Italian"
weight = 6
contentDir = "content/it"
[languages.it.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.no]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Norsk"
weight = 7
contentDir = "content/no"
[languages.no.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.de]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Deutsch"
weight = 8
contentDir = "content/de"
[languages.de.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.es]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Español"
weight = 9
contentDir = "content/es"
[languages.es.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.pt]
title = "Kubernetes"
description = "Orquestração de contêineres em nível de produção"
languageName ="Português"
weight = 9
contentDir = "content/pt"
[languages.pt.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.id]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName ="Bahasa Indonesia"
weight = 10
contentDir = "content/id"
[languages.id.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
[languages.hi]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "Hindi"
weight = 11
contentDir = "content/hi"
[languages.hi.params]
time_format_blog = "01.02.2006"
language_alternatives = ["en"]
[languages.vi]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "Vietnamese"
contentDir = "content/vi"
weight = 12
[languages.ru]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "Русский"
weight = 12
contentDir = "content/ru"
[languages.ru.params]
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
-153
View File
@@ -1,153 +0,0 @@
---
title: "生产级别的容器编排系统"
abstract: "自动化的容器部署、扩展和管理"
cid: "home"
---
<section id="oceanNodes">
<main>
<div class="image-wrapper"><img src="/images/flower.png"></div>
<div class="content">
<h3><a href="/docs/concepts/overview/what-is-kubernetes/">Kubernetes</a> 是用于自动部署,扩展和管理容器化应用程序的开源系统。</h3>
<p>它将组成应用程序的容器组合成逻辑单元,以便于管理和服务发现,Kubernetes 构建在 <a href="http://queue.acm.org/detail.cfm?id=2898444"> Google 15 年生产环境经验</a>基础之上,并结合来自社区的最佳创意和实践。</p>
</div>
</main>
<main>
<div class="image-wrapper"><img src="/images/scalable.png"></div>
<div class="content">
<h4>星际尺度</h4>
<p>根据同样的原则设计,允许 Google 每周运行数十亿个容器,Kubernetes 可以在不增加您的 ops 团队的情况下进行弹性扩展。</p>
</div>
</main>
<main>
<div class="image-wrapper"><img src="/images/blocks.png"></div>
<div class="content">
<h4>永不过时</h4>
<p>无论您应用运行在本地还是运行于全球任何地域,Kubernetes 的灵活性都可以随着您的需求复杂度不断增加,还可以持续、轻松地对外提供服务。</p>
</div>
</main>
<main>
<div class="image-wrapper"><img src="/images/suitcase.png"></div>
<div class="content">
<h4>随处运行</h4>
<p>Kubernetes 是开源的,可以让您自由地部署在企业内部,私有云、混合云或公有云基础架构,使您轻松将应用迁移至任何位置。</p>
</div>
</main>
</section>
<section id="video">
<div class="light-text">
<h2>Kubernetes: 最后&hellip; 它是真正的云平台</h2>
<p>Box 的联合创始人和服务架构师 Sam Ghods 发表了热情洋溢的演讲,随着使用 Kubernetes,我们首次有一个通用接口,可以建立真正的部署工具。</p>
<button id="desktopShowVideoButton" onclick="kub.showVideo()">观看视频</button>
</div>
<button id="mobileShowVideoButton" onclick="kub.showVideo()"></button>
</section>
<section id="features">
<main>
<h3 class="center">Kubernetes 特性</h3>
<div class="feature-box">
<div>
<h4><a href="/docs/concepts/configuration/manage-compute-resources-container/">自动包装</a></h4>
<p>根据资源需求和其他约束自动放置容器,同时不会牺牲可用性,混合关键和最大努力的工作负载,以提高资源利用率并节省更多资源。</p>
</div>
<div>
<h4><a href="/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller">自我修复</a></h4>
<p>重新启动失败的容器,在节点不可用时,替换和重新编排节点上的容器,终止不对用户定义的健康检查做出响应的容器,并且不会在客户端准备投放之前将其通告给客户端。</p>
</div>
</div>
<div class="feature-box">
<div>
<h4><a href="/docs/tasks/run-application/horizontal-pod-autoscale/">横向缩放</a></h4>
<p>使用简单的命令或 UI,或者根据 CPU 的使用情况自动调整应用程序副本数。</p>
</div>
<div>
<h4><a href="/docs/concepts/services-networking/service/">服务发现和负载均衡</a></h4>
<p>不需要修改您的应用程序来使用不熟悉的服务发现机制,Kubernetes 为容器提供了自己的 IP 地址和一组容器的单个 DNS 名称,并可以在它们之间进行负载均衡。</p>
</div>
</div>
<div class="feature-box">
<div>
<h4><a href="/docs/concepts/workloads/controllers/deployment/#what-is-a-deployment">自动部署和回滚</a></h4>
<p>Kubernetes 逐渐部署对应用程序或其配置的更改,同时监视应用程序运行状况,以确保它不会同时终止所有实例。 如果出现问题,Kubernetes会为您恢复更改,利用日益增长的部署解决方案的生态系统。</p>
</div>
<div>
<h4><a href="/docs/concepts/configuration/secret/">密钥</a><a href="/docs/tasks/configure-pod-container/configure-pod-configmap/">配置</a> 管理</h4>
<p>部署和更新密钥和应用程序配置,不会重新编译您的镜像,不会在堆栈配置中暴露密钥(secrets)。</p>
</div>
</div>
<div class="feature-box">
<div>
<h4><a href="/docs/concepts/storage/persistent-volumes/">存储编排</a></h4>
<p>自动安装您所选择的存储系统,无论是本地存储,如公有云提供商 <a href="https://cloud.google.com/storage/">GCP</a><a href="https://aws.amazon.com/products/storage/">AWS</a>, 还是网络存储系统 NFS, iSCSI,
Gluster, Ceph, Cinder, 或 Flocker。</p>
</div>
<div>
<h4><a href="/docs/concepts/workloads/controllers/jobs-run-to-completion/">批处理</a></h4>
<p>除了服务之外,Kubernetes还可以管理您的批处理和 CI 工作负载,如果需要,替换出现故障的容器。</p>
</div>
</div>
</main>
</section>
<section id="talkToUs">
<main>
<h3>实例探究</h3>
<div id="caseStudiesWrapper">
<div>
<p>使用Kubernetes来重塑世界上最大的教育公司</p>
<a href="/case-studies/pearson/">阅读更多</a>
</div>
<div>
<p>Kubernetes at Box: 微服务的最大优势</p>
<a href="https://blog.box.com/blog/kubernetes-box-microservices-maximum-velocity/">阅读更多</a>
</div>
<div>
<p>在 eBay 内部转移到 OpenStack 上的 Kubernetes 和容器</p>
<a href="https://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/">阅读更多</a>
</div>
<div>
<p>将本地的集群迁移至 Kubernetes</p>
<a href="https://www.youtube.com/watch?v=6XGUTu3WhBw">观看视频</a>
</div>
</div>
<h5 style="text-align: center"><a href="/case-studies/" style="color: #3371E3; font-weight: 400">探究所有的案例</a></h5>
</main>
</section>
<div id="videoPlayer">
<iframe data-url="https://www.youtube.com/embed/of45hYbkIZs?autoplay=1" frameborder="0" allowfullscreen></iframe>
<button id="closeButton"></button>
</div>
-4
View File
@@ -1,4 +0,0 @@
---
title: Home
weight: 5
---
-135
View File
@@ -1,135 +0,0 @@
---
approvers:
- bgrant0607
- erictune
- lavalamp
title: Kubernetes API访问控制
---
用户通过 `kubectl`、客户端库或者通过发送REST请求[访问API](/docs/user-guide/accessing-the-cluster)。 用户(自然人)和[Kubernetes服务账户](/docs/tasks/configure-pod-container/configure-service-account/) 都可以被授权进行API访问。
请求到达API服务器后会经过几个阶段,具体说明如图:
![Diagram of request handling steps for Kubernetes API request](/images/docs/admin/access-control-overview.svg)
## 传输层安全
在典型的Kubernetes集群中,API通过443端口提供服务。
API服务器会提供一份证书。 该证书一般是自签名的, 所以用户机器上的 `$USER/.kube/config` 目录通常
包含该API服务器证书的根证书,用来代替系统默认根证书。 当用户使用 `kube-up.sh` 创建集群时,该证书通常会被自动写入用户的`$USER/.kube/config`。 如果集群中存在多个用户,则创建者需要与其他用户共享证书。
## 认证
一旦 TLS 连接建立,HTTP请求就进入到了认证的步骤。即图中的步骤 **1**
集群创建脚本或集群管理员会为API服务器配置一个或多个认证模块。
更具体的认证相关的描述详见 [这里](/docs/admin/authentication/)。
认证步骤的输入是整个HTTP请求,但这里通常只是检查请求头和/或客户端证书。
认证模块支持客户端证书,密码和Plain Tokens
Bootstrap Tokens,以及JWT Tokens (用于服务账户)。
(管理员)可以同时设置多种认证模块,在设置了多个认证模块的情况下,每个模块会依次尝试认证,
直到其中一个认证成功。
在 GCE 平台中,客户端证书,密码和Plain TokensBootstrap Tokens,以及JWT Tokens同时被启用。
如果请求认证失败,则请求被拒绝,返回401状态码。
如果认证成功,则被认证为具体的 `username`,该用户名可供随后的步骤中使用。一些认证模块还提供了用户的组成员关系,另一些则没有。
尽管Kubernetes使用 "用户名" 来进行访问控制和请求记录,但它实际上并没有 `user` 对象,也不存储用户名称或其他相关信息。
## 授权
当请求被认证为来自某个特定的用户后,该请求需要被授权。 即图中的步骤 **2** 。
请求须包含请求者的用户名,请求动作,以及该动作影响的对象。 如果存在相应策略,声明该用户具有进行相应操作的权限,则该请求会被授权。
例如,如果Bob有如下策略,那么他只能够读取`projectCaribou`命名空间下的pod资源:
```json
{
"apiVersion": "abac.authorization.kubernetes.io/v1beta1",
"kind": "Policy",
"spec": {
"user": "bob",
"namespace": "projectCaribou",
"resource": "pods",
"readonly": true
}
}
```
如果Bob发起以下请求,那么请求能够通过授权,因为Bob被允许访问 `projectCaribou` 命名空间下的对象:
```json
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "projectCaribou",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
}
}
}
```
如果Bob对 `projectCaribou` 命名空间下的对象发起一个写(`create` 或者 `update`)请求,那么它的授权会被拒绝。 如果Bob请求读取(`get`) 其他命名空间,例如 `projectFish`下的对象,其授权也会被拒绝。
Kubernetes的授权要求使用通用的REST属性与现有的组织或云服务提供商的访问控制系统进行交互。 采用REST格式是必要的,因为除Kubernetes外,这些访问控制系统还可能与其他的API进行交互。
Kubernetes 支持多种授权模块,例如ABAC模式,RBAC模式和 Webhook模式。 管理员创建集群时,会配置API服务器应用的授权模块。 如果多种授权模式同时被启用,Kubernetes将检查所有模块,如果其中一种通过授权,则请求授权通过。 如果所有的模块全部拒绝,则请求被拒绝(HTTP状态码403)。
要了解更多的Kubernetes授权相关信息,包括使用授权模块创建策略的具体说明等,可参考[授权概述](/docs/admin/authorization)。
## 准入控制
准入控制模块是能够修改或拒绝请求的软件模块。
作为授权模块的补充,准入控制模块会访问被创建或更新的对象的内容。
它们作用于对象的创建,删除,更新和连接 (proxy)阶段,但不包括对象的读取。
可以同时配置多个准入控制器,它们会按顺序依次被调用。
即图中的步骤 **3** 。
与认证和授权模块不同的是,如果任一个准入控制器拒绝请求,那么整个请求会立即被拒绝。
除了拒绝请求外,准入控制器还可以为对象设置复杂的默认值。
可用的准入控制模块描述 [如下](/docs/admin/admission-controllers/)。
一旦请求通过所有准入控制器,将使用对应API对象的验证流程对其进行验证,然后写入对象存储 (如步骤 **4**)。
## API的端口和IP
上述讨论适用于发送请求到API服务器的安全端口(典型情况)。
实际上API服务器可以通过两个端口提供服务:
默认情况下,API服务器在2个端口上提供HTTP服务:
1. `Localhost Port`:
- 用于测试和启动,以及管理节点的其他组件
(scheduler, controller-manager)与API的交互
- 没有TLS
- 默认值为8080,可以通过 `--insecure-port` 标记来修改。
- 默认的IP地址为localhost, 可以通过 `--insecure-bind-address`标记来修改。
- 请求会 **绕过** 认证和鉴权模块。
- 请求会被准入控制模块处理。
- 其访问需要主机访问的权限。
2. `Secure Port`:
- 尽可能使用该端口访问
- 应用 TLS。 可以通过 `--tls-cert-file` 设置证书, 通过 `--tls-private-key-file` 设置私钥。
- 默认值为6443,可以通过 `--secure-port` 标记来修改。
- 默认IP是首个非本地的网络接口地址,可以通过 `--bind-address` 标记来修改。
- 请求会经过认证和鉴权模块处理。
- 请求会被准入控制模块处理。
- 要求认证和授权模块正常运行。
通过 `kube-up.sh`创建集群时, 对 Google Compute Engine (GCE)
和一些其他的云供应商来说, API通过443端口提供服务。 对
GCE而言,项目上配置了防火墙规则,允许外部的HTTPS请求访问API,其他(厂商的)集群设置方法各不相同。
@@ -1,156 +0,0 @@
---
approvers:
- erictune
- lavalamp
- deads2k
- liggitt
title: 概述
content_template: templates/concept
---
{{% capture overview %}}
学习有关 Kubernetes 授权的更多信息,包括有关使用支持的授权模块创建策略的详细信息。
{{% /capture %}}
{{% capture body %}}
在 Kubernetes 里,您必须经过身份验证(登录),才能授权您的请求(授予访问权限).。有关认证的信息,请参阅[访问控制概述](/docs/admin/access-the-api/)。
Kubernetes 提供通用的 REST API 请求。这意味着 Kubernetes 授权可以与现有的组织或云提供商的访问控制系统一起使用,该系统可以处理除 Kubernetes API 之外的其他 API。
## 确定请求是允许还是被拒绝
Kubernetes 使用 API 服务器授权 API 请求。它根据所有策略评估所有请求属性,并允许或拒绝请求。某些策略必须允许 API 请求的所有部分继续进行,这意味着默认情况下是拒绝权限。
(虽然 Kubernetes 使用 API ​​服务器,访问控制和依赖特定类型对象的特定领域策略由 Admission 控制器处理。)
当配置多个授权模块时,按顺序检查每个模块,如果有任何模块授权请求,则可以继续执行该请求。如果所有模块拒绝请求,则拒绝该请求(HTTP状态代码403)。
## 查看您的请求属性
Kubernetes 仅查看以下API请求属性:
* **user** - 验证期间提供的 `user` 字符串
* **group** - 认证用户所属的组名列表
* **“extra"** - 由认证层提供的任意字符串键到字符串值的映射
* **API** - 指示请求是否用于API资源
* **Request path** - 诸如`/api``/healthz`的其他非资源端点的路径(请参阅[kubectl](#kubectl)).
* **API request verb** - API 动词 `get``list``create``update``patch``watch``proxy``redirect``delete``deletecollection`用于资源请求。要确定资源 API 端点的请求动词,请参阅**确定下面的请求动词**.
* **HTTP request verb** - HTTP动词`get``post``put``delete`用于非资源请求
* **Resource** - 正在访问的资源的ID或名称(仅适用于资源请求)
--* 对于使用`get`, `update`, `patch`, 和 `delete`动词的资源请求,您必须提供资源名称。
* **Subresource** - 正在访问的子资源(仅用于资源请求)
* **Namespace** - 正在被访问的对象的命名空间(仅针对命名空间的资源请求)
* **API group** - 正在访问的API组(仅用于资源请求). 一个空字符串指定[核心 API 组](/docs/api/).
## 确定请求动词
要确定资源 API 端点的请求动词,请查看所使用的HTTP动词以及请求是否对单个资源或资源集合进行操作:
HTTP动词| 请求动词
---------- | ---------------
POST | 创建
GETHEAD | 获取(个人资源),列表(集合)
PUT | 更新
PATCH | 补丁
DELETE| 删除(个人资源),删除(收藏)
Kubernetes 有时会使用专门的动词检查授权以获得额外的权限。例如:
* [PodSecurityPolicy](/docs/concepts/policy/pod-security-policy/)在`extensions` API组中的`podsecuritypolicies`资源上检查`use`动词的授权。
* [RBAC](/docs/admin/authorization/rbac/#privilege-escalation-prevention-and-bootstrapping) 在`rbac.authorization.k8s.io` API组中的`roles``clusterroles`资源上检查`bind`动词的授权。
* [认证](/docs/admin/authentication/) 在核心API组中的`users``groups``serviceaccounts`上的`impersonate`动词的授权以及`authentication.k8s.io` API组中的`userextras`进行层次检查。
## 授权模块
* **ABAC模式** - 基于属性的访问控制(ABAC)定义了访问控制范例,通过使用将属性组合在一起的策略来授予用户访问权限。策略可以使用任何类型的属性(用户属性,资源属性,对象,环境属性等)。要了解有关使用ABAC模式的更多信息,请参阅[ABAC模式](/docs/admin/authorization/abac/)
* **RBAC模式** - 基于角色的访问控制(RBAC)是一种根据企业内个人用户的角色来调整对计算机或网络资源的访问的方法。在这种情况下,访问是单个用户执行特定任务(例如查看,创建或修改文件)的能力。要了解有关使用RBAC模式的更多信息,请参阅[RBAC模式](/docs/admin/authorization/rbac/)
*当指定 "RBAC"(基于角色的访问控制)使用 "rbac.authorization.k8s.io" API组来驱动授权决定时,允许管理员通过Kubernetes API动态配置权限策略.
.. *截至1.6 RBAC模式是测试版.
.. *要启用RBAC,请使用 `--authorization-mode=RBAC` 启动 apiserver.
* **Webhook模式** - WebHook 是HTTP回调:发生事件时发生的HTTP POST; 通过HTTP POST简单的事件通知. 实施 WebHooks 的 Web 应用程序将在某些事情发生时向URL发送消息. 要了解有关使用Webhook模式的更多信息,请参阅[Webhook模式](/docs/admin/authorization/webhook/)
* **自定义模块** - 您可以创建使用Kubernetes的自定义模块. 要了解更多信息,请参阅下面的**自定义模块**。
### 自定义模块
可以相当容易地开发其他实现,APIserver 调用 Authorizer 接口:
```go
type Authorizer interface {
Authorize(a Attributes) error
}
```
以确定是否允许每个API操作.
授权插件是实现此接口的模块.授权插件代码位于 `pkg/auth/authorizer/$MODULENAME` 中。
授权模块可以完全实现,也可以拨出远程授权服务。 授权模块可以实现自己的缓存,以减少具有相同或相似参数的重复授权调用的成本。 开发人员应该考虑缓存和撤销权限之间的交互。
#### 检查API访问
Kubernetes 将 `subjectaccessreviews.v1.authorization.k8s.io` 资源公开为允许外部访问API授权者决策的普通资源。 无论您选择使用哪个授权器,您都可以使用`SubjectAccessReview`发出一个`POST`,就像webhook授权器的`apis/authorization.k8s.io/v1/subjectaccessreviews` 端点一样,并回复一个响应。 例如:
```bash
kubectl create --v=8 -f - << __EOF__
{
"apiVersion": "authorization.k8s.io/v1",
"kind": "SubjectAccessReview",
"spec": {
"resourceAttributes": {
"namespace": "kittensandponies",
"verb": "get",
"group": "unicorn.example.org",
"resource": "pods"
},
"user": "jane",
"group": [
"group1",
"group2"
],
"extra": {
"scopes": [
"openid",
"profile"
]
}
}
}
__EOF__
--- snip lots of output ---
I0913 08:12:31.362873 27425 request.go:908] Response Body: {"kind":"SubjectAccessReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null},"spec":{"resourceAttributes":{"namespace":"kittensandponies","verb":"GET","group":"unicorn.example.org","resource":"pods"},"user":"jane","group":["group1","group2"],"extra":{"scopes":["openid","profile"]}},"status":{"allowed":true}}
subjectaccessreview "" created
```
这对于调试访问问题非常有用,因为您可以使用此资源来确定授权者授予哪些访问权限。
## 为您的授权模块使用标志
您的策略中必须包含一个标志,以指出您的策略包含哪个授权模块:
可以使用以下标志:
- `--authorization-mode=ABAC` 基于属性的访问控制(ABAC)模式允许您使用本地文件配置策略。
- `--authorization-mode=RBAC` 基于角色的访问控制(RBAC)模式允许您使用Kubernetes API创建和存储策略.
- `--authorization-mode=Webhook` WebHook是一种HTTP回调模式,允许您使用远程REST管理授权。
- `--authorization-mode=AlwaysDeny` 此标志阻止所有请求. 仅使用此标志进行测试。
- `--authorization-mode=AlwaysAllow` 此标志允许所有请求. 只有在您不需要API请求授权的情况下才能使用此标志。
您可以选择多个授权模块. 如果其中一种模式为 `AlwaysAllow`,则覆盖其他模式,并允许所有API请求。
## 版本控制
对于版本 1.2,配置了 kube-up.sh 创建的集群,以便任何请求都不需要授权。
从版本 1.3 开始,配置由 kube-up.sh 创建的集群,使得 ABAC 授权模块处于启用状态。但是,其输入文件最初设置为允许所有用户执行所有操作,集群管理员需要编辑该文件,或者配置不同的授权器来限制用户可以执行的操作。
{{% /capture %}}
{{% capture whatsnext %}}
* 要学习有关身份验证的更多信息,请参阅**身份验证**[控制访问 Kubernetes API](docs/admin/access-the-api/)。
* 要了解有关入学管理的更多信息,请参阅[使用 Admission 控制器](docs/admin/admission-controllers/)。
*
{{% /capture %}}
-18
View File
@@ -1,18 +0,0 @@
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: prometheus-node-exporter
spec:
template:
metadata:
name: prometheus-node-exporter
labels:
daemon: prom-node-exp
spec:
containers:
- name: c
image: prom/prometheus
ports:
- containerPort: 9090
hostPort: 9090
name: serverport
@@ -1,214 +0,0 @@
---
title: 构建高可用集群
---
## 简介
本文描述了如何构建一个高可用(high-availability, HA)的Kubernetes集群。这是一个非常高级的主题。
对于仅希望使用Kubernetes进行试验的用户,推荐使用更简单的配置工具进行搭建,例如:
[Minikube](/docs/getting-started-guides/minikube/),或者尝试使用[Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine/) 来运行Kubernetes。
此外,当前在我们的端到端(e2e)测试环境中,没有对Kubernetes高可用的支持进行连续测试。我们将会增加这个连续测试项,但当前对单节点master的安装测试得更加严格。
{{< toc >}}
## 概览
搭建一个正真可靠,高度可用的分布式系统需要若干步骤。这类似于穿上内衣,裤子,皮带,背带,另一套内衣和另一套裤子。我们会详细介绍每一个步骤,但先在这里给出一个总结来帮助指导用户。
相关步骤如下:
* [创建可靠的组成节点,共同形成我们的高可用主节点实现。](#可靠的节点)
* [使用etcd集群,搭建一个冗余的,可靠的存储层。](#建立一个冗余的,可靠的存储层)
* [启动具有备份和负载均衡能力的Kubernetes API 服务](#复制的API服务)
* [搭建运行master选举的Kubernetes scheduler和controller-manager守护程序](#进行master选举的组件)
系统完成时看起来应该像这样:
![High availability Kubernetes diagram](/images/docs/ha.svg)
## 初始配置
本文假设你正在搭建一个3节点的主节点集群,每个节点上都运行者某种Linux系统。
指南中的示例使用Debian发行版,但它们应该可以被轻松移植到其他发行版上。
同样的,不管在公有云还是私有云亦或是裸机上,这个配置都应该可以运行。
从一个现成的单主节点集群开始是实现一个高可用Kubernetes集群的最简单的方法。这篇指导 [https://get.k8s.io](https://get.k8s.io) 描述了在多种平台上方便的安装一个单主节点集群的方法。
## 可靠的节点
我们在每个主节点上都将运行数个实现Kubernetes API的进程。使他们可靠的第一步是保证在发生故障时,每一个进程都可以自动重启。为了实现这个目标,我们需要安装一个进程监视器。我们选择了在每个工作者节点上都会运行的`kubelet`进程。这会带来便利性,因为我们使用了容器来分发我们的二进制文件,所以我们能够为每一个守护程序建立资源限制并省查它们的资源消耗。当然,我们也需要一些手段来监控kubelete本身(在此监测监控者本身是一个有趣的话题)。对于Debian系统我们选择了monit,但也有许多可替代的工具。例如在基于systemd的系统上(如RHEL, CentOS),你可以运行 'systemctl enable kubelet'。
如果你是从标准的Kubernetes安装扩展而来,那么`kubelet`二进制文件应该已经存在于你的系统中。你可以运行`which kubelet`来判断是否确实安装了这个二进制文件。如果没有安装的话,你应该手动安装 [kubelet binary](https://storage.googleapis.com/kubernetes-release/release/v0.19.3/bin/linux/amd64/kubelet),
[kubelet init file](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/saltbase/salt/kubelet/initd) 和 [default-kubelet](/docs/admin/high-availability/default-kubelet)脚本。
如果使用monit,你还需要安装monit守护程序(`apt-get install monit`)以及[monit-kubelet](/docs/admin/high-availability/monit-kubelet) 和
[monit-docker](/docs/admin/high-availability/monit-docker) 配置。
在使用systemd的系统上,你可以执行 `systemctl enable kubelet``systemctl enable docker`
## 建立一个冗余的,可靠的存储层
高可用方案的中心基础是一个冗余的,可靠的存储层。高可用的头条规则是保护数据。不管发生了什么,不管什么着了火,只要还有数据,你就可以重建。如果丢掉了数据,你就完了。
集群化的etcd已经把你存储的数据复制到了你集群中的所有主节点实例上。这意味着如果要想丢失数据,三个节点的物理(或虚拟)硬盘需要全部同时故障。这种情况发生的概率是比较低的,所以对于许多人来说,运行一个复制的etcd集群可能已经足够的可靠了。你可以将集群数量从3个增大到5个来增加集群的可靠性。如果那样还不够,你可以添加[更多的可靠性到你的存储层](#更加可靠的存储)。
### 集群化etcd
集群化etcd的完整细节超出了本文范围,你可以在[etcd clustering page](https://github.com/coreos/etcd/blob/master/Documentation/op-guide/clustering.md)找到许多详细内容。这个例子仅走查一个简单的集群建立过程,使用etcd内置的发现功能来构建我们的集群。
首先,调用etcd发现服务来创建一个新令牌:
```shell
curl https://discovery.etcd.io/new?size=3
```
在每个节点上,拷贝 [etcd.yaml](/docs/admin/high-availability/etcd.yaml) 文件到`/etc/kubernetes/manifests/etcd.yaml`
每个节点上的kubelet会动态的监控这个文件夹的内容,并且会按照`etcd.yaml`里对pod的定义创建一个`etcd`服务的实例。
请注意,你应该使用上文中获取的令牌URL替换全部三个节点上`etcd.yaml`中的`${DISCOVERY_TOKEN}`项。同时还应该将每个节点上的 `${NODE_NAME}`替换为一个不同的名字(例如:`node-1`),并将 `${NODE_IP}`替换为正确的IP地址。
#### 验证你的集群
如果已经将这个文件拷贝到所有三个节点,你应该已经搭建起了一个集群化的etcd。你可以在主节点上进行验证:
```shell
kubectl exec < pod_name > etcdctl member list
```
```shell
kubectl exec < pod_name > etcdctl cluster-health
```
你也可以在一个节点上运行 `etcdctl set foo bar`,在另一个节点上运行`etcdctl get foo`来验证集群是否工作正常。
### 更加可靠的存储
当然,如果你对增加数据的可靠性感兴趣,这里还有一些更深入的选项可以使etcd把它的数据存放在比常规硬盘更可靠的地方(裤带和背带,ftw!)。
如果你使用云服务,那么你的提供商通常会为你提供这个特性,例如Google Cloud Platform上的 [Persistent Disk](https://cloud.google.com/compute/docs/disks/persistent-disks) 。它们是可以挂载到你的虚拟机中的块设备持久化存储。其他的云服务提供商提供了类似的解决方案。
如果运行于物理机之上,你仍然可以使用iSCSI或者NFS接口通过网络来连接冗余存储。
此外,你还可以运行一个集群文件系统,比如Gluster或者Ceph。最后,你还可以在你的每个物理机器上运行RAID矩阵。
不管你选择如何实现,如果已经选择了使用其中的一个选项,那么你应该保证你的存储被挂载到了每一台机器上。如果你的存储在集群中的三个主节点之间共享,那么你应该在存储上为每一个节点创建一个不同的文件夹。对于所有的这些指导,我们都假设这个存储被挂载到你机器上的`/var/etcd/data`路径。
## 复制的API服务
在正确搭建复制的etcd之后,我们还需要使用kubelet安装apiserver。
首先,你需要创建初始的日志文件,这样Docker才会挂载一个文件而不是一个文件夹:
```shell
touch /var/log/kube-apiserver.log
```
接下来,你需要在每个节点上创建一个`/srv/kubernetes/`文件夹。这个文件夹包含:
* basic_auth.csv - 基本认证的用户名和密码
* ca.crt - CA证书
* known_tokens.csv - 实体(例如kubelet)用来和apiserver通信的令牌
* kubecfg.crt - 客户端证书,公钥
* kubecfg.key - 客户端证书,私钥
* server.cert - 服务端证书,公钥
* server.key - 服务端证书,私钥
创建这个文件夹最简单的方法可以是从一个工作正常的集群的主节点拷贝,或者你也可以手动生成它们。
### 启动API服务
一旦这些文件已经存在了,拷贝 [kube-apiserver.yaml](/docs/admin/high-availability/kube-apiserver.yaml) 到每个主节点的 `/etc/kubernetes/manifests/`文件夹。
kubelet会监控这个文件夹,并且会按照文件里对pod的定义创建一个`kube-apiserver`容器。
### 负载均衡
现在,你应该有3个全部正常工作的apiserver了。如果搭建了网络负载均衡器,你应该能够通过那个负载均衡器访问你的集群,并且看到负载在apiserver实例间分发。设置负载均衡器依赖于你的平台的实际情况,例如对于Google Cloud Platform的指导可以在[这里](https://cloud.google.com/compute/docs/load-balancing/)找到。
请注意,如果使用了身份认证,你可能需要重新生成你的证书,除每个节点的IP地址外额外包含负载均衡器的IP地址。
对于部署在集群中的pods `kubernetes`服务/dns名称应该自动的为主节点提供了负载均衡的endpoint。
对于使用API的外部用户(如命令行运行的`kubectl`,持续集成管道或其他客户端)你会希望将他们配置成为访问外部负载均衡器的地址。
## 进行Master选举的组件
到目前为止,我们已经搭建了状态存储,也搭建好了API服务,但我们还没有运行任何真正改变集群状态的服务,比如controller manager和scheduler。为了可靠的实现这个目标,我们希望在同一时间只有一个参与者在修改集群状态。但是我们希望复制这些参与者的实例以防某个机器宕机。要做到这一点,我们打算在API中使用一个lease-lock来执行master选举。我们会对每一个scheduler和controller-manager使用`--leader-elect`标志,从而在API中使用一个租约来保证同一时间只有一个scheduler和controller-manager的实例正在运行。
scheduler和controller-manager可以配置为只和位于它们相同节点(即127.0.0.1)上的API服务通信,也可以配置为使用API服务的负载均衡器的IP地址。不管它们如何配置,当使用`--leader-elect` 时scheduler和controller-manager都将完成上文提到的leader选举过程。
为了防止访问API服务失败,选举出的leader不能通过更新租约来选举一个新的leader。当scheduler和controller-manager通过127.0.0.1访问API服务,而相同节点上的API服务不可用时,这一点相当重要。
### 安装配置文件
首先,在每个节点上创建空白日志文件,这样Docker就会挂载这些文件而不是创建一个新文件夹:
```shell
touch /var/log/kube-scheduler.log
touch /var/log/kube-controller-manager.log
```
接下来,在每个节点上配置scheduler和controller manager pods的描述文件。拷贝 [kube-scheduler.yaml](/docs/admin/high-availability/kube-scheduler.yaml) 和 [kube-controller-manager.yaml](/docs/admin/high-availability/kube-controller-manager.yaml) 到`/etc/kubernetes/manifests/` 文件夹。
## 结尾
此时,你已经完成了master组件的配置(耶!),但你还需要添加工作者节点(噗!)。
如果你有一个现成的集群,你只需要在每个节点上简单的重新配置你的kubeletes连接到负载均衡的endpoint并重启它们。
如果你搭建的是一个全新的集群,你将需要在每个工作节点上安装kubelet和kube-proxy,并设置 `--apiserver`指向复制的endpoint。
-229
View File
@@ -1,229 +0,0 @@
---
title: kube-apiserver
notitle: true
---
## kube-apiserver
### 概要
Kubernetes API server 为 api 对象验证并配置数据,包括 pods、 services、 replicationcontrollers和其它 api 对象。API Server 提供 REST 操作和到集群共享状态的前端,所有其他组件通过它进行交互。
```
kube-apiserver
```
### 选项
```
--admission-control stringSlice 控制资源进入集群的准入控制插件的顺序列表。逗号分隔的NamespaceLifecycle列表。(默认值[AlwaysAdmit])
--admission-control-config-file string 包含准入控制配置的文件。
--advertise-address ip 向集群成员通知apiserver消息的IP地址。这个地址必须能够被集群中其他成员访问。如果IP地址为空,将会使用--bind-address,如果未指定--bind-address,将会使用主机的默认接口地址。
--allow-privileged 如果为true, 将允许特权容器.
--anonymous-auth 启用到API server的安全端口的匿名请求。未被其他认证方法拒绝的请求被当做匿名请求。匿名请求的用户名为system:anonymous,用户组名为system:unauthenticated。(默认值true
--apiserver-count int 集群中运行的apiserver数量,必须为正数。(默认值1)
--audit-log-maxage int 基于文件名中的时间戳,旧审计日志文件的最长保留天数。
--audit-log-maxbackup int 旧审计日志文件的最大保留个数.
--audit-log-maxsize int 审计日志被轮转前的最大兆字节数。
--audit-log-path string 如果设置该值,所有到apiserver的请求都将会被记录到这个文件。'-'表示记录到标准输出。
--audit-policy-file string 定义审计策略配置的文件的路径。需要打开'AdvancedAuditing'特性开关。AdvancedAuditing需要一个配置来启用审计功能。
--audit-webhook-config-file string 一个具有kubeconfig格式文件的路径,该文件定义了审计的webhook配置。需要打开'AdvancedAuditing'特性开关。
--audit-webhook-mode string 发送审计事件的策略。 Blocking模式表示正在发送事件时应该阻塞服务器的响应。 Batch模式使webhook异步缓存和发送事件。 Known模式为batch,blocking。 (默认值"batch")
--authentication-token-webhook-cache-ttl duration 从webhook令牌认证者获取的响应的缓存时长。(默认值2m0s)
--authentication-token-webhook-config-file string 包含webhook配置的文件,用于令牌认证,具有kubeconfig格式。API server将查询远程服务来决定对bearer令牌的认证。
--authorization-mode string 在安全端口上进行权限验证的插件的顺序列表。以逗号分隔的列表,包括:AlwaysAllow,AlwaysDeny,ABAC,Webhook,RBAC,Node.(默认值"AlwaysAllow"
--authorization-policy-file string 包含权限验证策略的csv文件,和--authorization-mode=ABAC一起使用,作用在安全端口上。
--authorization-webhook-cache-authorized-ttl duration 从webhook授权者获得的'authorized'响应的缓存时长。(默认值5m0s)
--authorization-webhook-cache-unauthorized-ttl duration 从webhook授权者获得的'unauthorized'响应的缓存时长。(默认值30s)
--authorization-webhook-config-file string 包含webhook配置的kubeconfig格式文件,和--authorization-mode=Webhook一起使用。API server将查询远程服务来决定对API server安全端口的访问。
--azure-container-registry-config string 包含Azure容器注册表配置信息的文件的路径。
--basic-auth-file string 如果设置该值,这个文件将会被用于准许通过http基本认证到API server安全端口的请求。
--bind-address ip 监听--seure-port的IP地址。被关联的接口必须能够被集群其它节点和CLI/web客户端访问。如果为空,则将使用所有接口(0.0.0.0)。(默认值0.0.0.0
--cert-dir string 存放TLS证书的目录。如果提供了--tls-cert-file和--tls-private-key-file选项,该标志将被忽略。(默认值 "/var/run/kubernetes"
--client-ca-file string 如果设置此标志,对于任何请求,如果存包含client-ca-file中的authorities签名的客户端证书,将会使用客户端证书中的CommonName对应的身份进行认证。
--cloud-config string 云服务提供商配置文件路径。空字符串表示无配置文件.
--cloud-provider string 云服务提供商,空字符串表示无提供商。
--contention-profiling 如果已经启用profiling,则启用锁竞争profiling。
--cors-allowed-origins stringSlice CORS的域列表,以逗号分隔。合法的域可以是一个匹配子域名的正则表达式。如果这个列表为空则不会启用CORS.
--delete-collection-workers int 用于DeleteCollection调用的工作者数量。这被用于加速namespace的清理。(默认值1)
--deserialization-cache-size int 在内存中缓存的反序列化json对象的数量。
--enable-aggregator-routing 打开到endpoints IP的aggregator路由请求,替换cluster IP。
--enable-garbage-collector 启用通用垃圾回收器. 必须与kube-controller-manager对应的标志保持同步。 (默认值true)
--enable-logs-handler 如果为true,则为apiserver日志功能安装一个/logs处理器。(默认值true)
--enable-swagger-ui 在apiserver的/swagger-ui路径启用swagger ui。
--etcd-cafile string 用于保护etcd通信的SSL CA文件。
--etcd-certfile string 用于保护etcd通信的的SSL证书文件。
--etcd-keyfile string 用于保护etcd通信的SSL密钥文件.
--etcd-prefix string 附加到所有etcd中资源路径的前缀。 (默认值"/registry"
--etcd-quorum-read 如果为true, 启用quorum读。
--etcd-servers stringSlice 连接的etcd服务器列表,形式为(scheme://ip:port),使用逗号分隔。
--etcd-servers-overrides stringSlice 针对单个资源的etcd服务器覆盖配置, 以逗号分隔。 单个配置覆盖格式为: group/resource#servers, 其中servers形式为http://ip:port, 以分号分隔。
--event-ttl duration 事件驻留时间。(默认值1h0m0s)
--experimental-bootstrap-token-auth 启用此选项以允许'kube-system'命名空间中的'bootstrap.kubernetes.io/token'类型密钥可以被用于TLS的启动认证。
--experimental-encryption-provider-config string 包含加密提供程序的配置的文件,该加密提供程序被用于在etcd中保存密钥。
--external-hostname string 为此master生成外部URL时使用的主机名(例如Swagger API文档)。
--feature-gates mapStringBool 一个描述alpha/experimental特性开关的键值对列表。 选项包括:
Accelerators=true|false (ALPHA - default=false)
AdvancedAuditing=true|false (ALPHA - default=false)
AffinityInAnnotations=true|false (ALPHA - default=false)
AllAlpha=true|false (ALPHA - default=false)
AllowExtTrafficLocalEndpoints=true|false (default=true)
AppArmor=true|false (BETA - default=true)
DynamicKubeletConfig=true|false (ALPHA - default=false)
DynamicVolumeProvisioning=true|false (ALPHA - default=true)
ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false)
ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false)
LocalStorageCapacityIsolation=true|false (ALPHA - default=false)
PersistentLocalVolumes=true|false (ALPHA - default=false)
RotateKubeletClientCertificate=true|false (ALPHA - default=false)
RotateKubeletServerCertificate=true|false (ALPHA - default=false)
StreamingProxyRedirects=true|false (BETA - default=true)
TaintBasedEvictions=true|false (ALPHA - default=false)
--google-json-key string 用于认证的Google Cloud Platform服务账号的JSON密钥。
--insecure-allow-any-token username/group1,group2 如果设置该值, 你的服务将处于非安全状态。任何令牌都将会被允许,并将从令牌中把用户信息解析成为username/group1,group2。
--insecure-bind-address ip 用于监听--insecure-port的IP地址 (设置成0.0.0.0表示监听所有接口)。(默认值127.0.0.1)
--insecure-port int 用于监听不安全和为认证访问的端口。这个配置假设你已经设置了防火墙规则,使得这个端口不能从集群外访问。对集群的公共地址的443端口的访问将被代理到这个端口。默认设置中使用nginx实现。(默认值8080)
--kubelet-certificate-authority string 证书authority的文件路径。
--kubelet-client-certificate string 用于TLS的客户端证书文件路径。
--kubelet-client-key string 用于TLS的客户端证书密钥文件路径.
--kubelet-https 为kubelet启用https。 (默认值true
--kubelet-preferred-address-types stringSlice 用于kubelet连接的首选NodeAddressTypes列表。 (默认值[Hostname,InternalDNS,InternalIP,ExternalDNS,ExternalIP])
--kubelet-read-only-port uint 已废弃: kubelet端口. (默认值10255
--kubelet-timeout duration kubelet操作超时时间。(默认值
5s
--kubernetes-service-node-port int 如果不为0Kubernetes master服务(用于创建/管理apiserver)将会使用NodePort类型,并将这个值作为端口号。如果为0,Kubernetes master服务将会使用ClusterIP类型。
--master-service-namespace string 已废弃: 注入到pod中的kubernetes master服务的命名空间。(默认值"default"
--max-connection-bytes-per-sec int 如果不为0,每个用户连接将会被限速为该值(bytes/sec)。当前只应用于长时间运行的请求。
--max-mutating-requests-inflight int 在给定时间内进行中可变请求的最大数量。当超过该值时,服务将拒绝所有请求。0值表示没有限制。(默认值200)
--max-requests-inflight int 在给定时间内进行中不可变请求的最大数量。当超过该值时,服务将拒绝所有请求。0值表示没有限制。(默认值400)
--min-request-timeout int 一个可选字段,表示一个handler在一个请求超时前,必须保持它处于打开状态的最小秒数。当前只对监听请求handler有效,它基于这个值选择一个随机数作为连接超时值,以达到分散负载的目的(默认值1800)。
--oidc-ca-file string 如果设置该值,将会使用oidc-ca-file中的任意一个authority对OpenID服务的证书进行验证,否则将会使用主机的根CA对其进行验证。
--oidc-client-id string 使用OpenID连接的客户端的ID,如果设置了oidc-issuer-url,则必须设置这个值。
--oidc-groups-claim string 如果提供该值,这个自定义OpenID连接名将指定给特定的用户组。该声明值需要是一个字符串或字符串数组。此标志为实验性的,请查阅验证相关文档进一步了解详细信息。
--oidc-issuer-url string OpenID颁发者URL,只接受HTTPS方案。如果设置该值,它将被用于验证OIDC JSON Web Token(JWT)。
--oidc-username-claim string 用作用户名的OpenID声明值。注意,不保证除默认 ('sub')外的其他声明值的唯一性和不变性。此标志为实验性的,请查阅验证相关文档进一步了解详细信息。
--profiling 在web接口host:port/debug/pprof/上启用profiling。(默认值true
--proxy-client-cert-file string 当必须调用外部程序时,用于证明aggregator或者kube-apiserver的身份的客户端证书。包括代理到用户api-server的请求和调用webhook准入控制插件的请求。它期望这个证书包含一个来自于CA中的--requestheader-client-ca-file标记的签名。该CA在kube-system命名空间的'extension-apiserver-authentication' configmap中发布。从Kube-aggregator收到调用的组件应该使用该CA进行他们部分的双向TLS验证。
--proxy-client-key-file string 当必须调用外部程序时,用于证明aggregator或者kube-apiserver的身份的客户端证书密钥。包括代理到用户api-server的请求和调用webhook准入控制插件的请求。
--repair-malformed-updates 如果为true,服务将会尽力修复更新请求以通过验证,例如:将更新请求UID的当前值设置为空。在我们修复了所有发送错误格式请求的客户端后,可以关闭这个标志。
--requestheader-allowed-names stringSlice 使用--requestheader-username-headers指定的,允许在头部提供用户名的客户端证书通用名称列表。如果为空,任何通过--requestheader-client-ca-file中authorities验证的客户端证书都是被允许的。
--requestheader-client-ca-file string 在信任请求头中以--requestheader-username-headers指示的用户名之前,用于验证接入请求中客户端证书的根证书捆绑。
--requestheader-extra-headers-prefix stringSlice 用于检查的请求头的前缀列表。建议使用X-Remote-Extra-。
--requestheader-group-headers stringSlice 用于检查群组的请求头列表。建议使用X-Remote-Group.
--requestheader-username-headers stringSlice 用于检查用户名的请求头列表。建议使用X-Remote-User。
--runtime-config mapStringString 传递给apiserver用于描述运行时配置的键值对集合。 apis/<groupVersion>键可以被用来打开/关闭特定的api版本。apis/<groupVersion>/<resource>键被用来打开/关闭特定的资源. api/all和api/legacy键分别用于控制所有的和遗留的api版本.
--secure-port int 用于监听具有认证授权功能的HTTPS协议的端口。如果为0,则不会监听HTTPS协议。 (默认值6443)
--service-account-key-file stringArray 包含PEM加密的x509 RSA或ECDSA私钥或公钥的文件,用于验证ServiceAccount令牌。如果设置该值,--tls-private-key-file将会被使用。指定的文件可以包含多个密钥,并且这个标志可以和不同的文件一起多次使用。
--service-cluster-ip-range ipNet CIDR表示的IP范围,服务的cluster ip将从中分配。 一定不要和分配给nodes和pods的IP范围产生重叠。
--ssh-keyfile string 如果不为空,在使用安全的SSH代理访问节点时,将这个文件作为用户密钥文件。
--storage-backend string 持久化存储后端。 选项为: 'etcd3' (默认), 'etcd2'.
--storage-media-type string 在存储中保存对象的媒体类型。某些资源或者存储后端可能仅支持特定的媒体类型,并且忽略该配置项。(默认值 "application/vnd.kubernetes.protobuf")
--storage-versions string 按组划分资源存储的版本。 以"group1/version1,group2/version2,..."的格式指定。当对象从一组移动到另一组时, 你可以指定"group1=group2/v1beta1,group3/v1beta1,..."的格式。你只需要传入你希望从结果中改变的组的列表。默认为从KUBE_API_VERSIONS环境变量集成而来,所有注册组的首选版本列表。 (默认值"admission.k8s.io/v1alpha1,admissionregistration.k8s.io/v1alpha1,apps/v1beta1,authentication.k8s.io/v1,authorization.k8s.io/v1,autoscaling/v1,batch/v1,certificates.k8s.io/v1beta1,componentconfig/v1alpha1,extensions/v1beta1,federation/v1beta1,imagepolicy.k8s.io/v1alpha1,networking.k8s.io/v1,policy/v1beta1,rbac.authorization.k8s.io/v1beta1,settings.k8s.io/v1alpha1,storage.k8s.io/v1,v1")
--target-ram-mb int apiserver内存限制,单位为MB(用于配置缓存大小等)。
--tls-ca-file string 如果设置该值,这个证书authority将会被用于从Admission Controllers过来的安全访问。它必须是一个PEM加密的合法CA捆绑包。此外, 该证书authority可以被添加到以--tls-cert-file提供的证书文件中.
--tls-cert-file string 包含用于HTTPS的默认x509证书的文件。(如果有CA证书,则附加于server证书之后)。如果启用了HTTPS服务,并且没有提供--tls-cert-file和--tls-private-key-file,则将为公共地址生成一个自签名的证书和密钥并保存于/var/run/kubernetes目录。
--tls-private-key-file string 包含匹配--tls-cert-file的x509证书私钥的文件。
--tls-sni-cert-key namedCertKey 一对x509证书和私钥的文件路径, 可以使用符合正式域名的域形式作为后缀。 如果没有提供域形式后缀, 则将提取证书名。 非通配符版本优先于通配符版本, 显示的域形式优先于证书中提取的名字。 对于多个密钥/证书对, 请多次使用--tls-sni-cert-key。例如: "example.crt,example.key" or "foo.crt,foo.key:*.foo.com,foo.com". (默认值[])
--token-auth-file string 如果设置该值,这个文件将被用于通过令牌认证来保护API服务的安全端口。
--version version[=true] 打印版本信息并退出。
--watch-cache 启用apiserver的监视缓存。(默认值true)
--watch-cache-sizes stringSlice 每种资源(pods, nodes等)的监视缓存大小列表,以逗号分隔。每个缓存配置的形式为:resource#sizesize是一个数字。在watch-cache启用时生效。
```
###### Auto generated by spf13/cobra on 11-Jul-2017
-22
View File
@@ -1,22 +0,0 @@
---
approvers:
- thockin
title: Kubernetes OpenVSwitch GRE/VxLAN 网络
---
本文档介绍了如何使用OpenVSwitch,在跨nodes的pods之间设置网络。
隧道类型可以是GRE或者是VxLAN。如需在网络内执行大规模隔离时,最好使用VxLAN。
![OVS Networking](/images/docs/ovs-networking.png)
Kubernetes中Vagrant的设置如下:
docker网桥被brctl生成的Linux网桥(kbr0)所代替,kbr0是具有256个地址空间的子网。总的来说,node会得到10.244.x.0/24的子网,docker上配置使用的网桥会代替默认docker0的网桥。
另外,OVS网桥创建(obr0),并将其作为端口添加到kbr0的网桥中。所有OVS网桥通过GRE隧道连接所有的nodes。因此,每个node都有一个到其他nodes的出站GRE隧道。这个隧道没有必要是一个完整的网状物,但是越像网状结构越好。在网桥上开启STP(生成树)模式以防止环路的发生。
路由规则允许任何10.244.0.0/16通过与隧道相连的OVS网桥到达目标。
@@ -1,248 +0,0 @@
title: 云控制器管理器的基本概念
## 云控制器管理器
云控制器管理器(CCM)这个概念创建的初衷是为了让特定的云服务供应商代码和Kubernetes核心相互独立演化。云控制器管理器与其他主要组件如Kubernetes控制器管理器,API服务器和调度程序同时运行。云控制器管理器也可以作为Kubernetes的插件启动,这种情况下,CCM运行在Kubernetes系统之上。
云控制器管理器基于插件机制设计,允许新的云服务供应商通过插件轻松地与Kubernetes集成。目前已经有在Kubernetes上加入新的云服务供应商计划,并为云服务供应商提供从原先的旧模式迁移到新CCM模式的方案。
本文讨论了云控制器管理器背后的概念,并提供了相关功能的详细信息。
下面这张图描述了没有云控制器管理器的Kubernetes集群架构:
![无云控制器管理器的 K8s 集群架构](/images/docs/pre-ccm-arch.png)
## 设计
在上图中,Kubernetes和云服务供应商通过几个不同的组件进行了集成,分别是:
* Kubelet
* Kubernetes 控制管理器
* Kubernetes API服务器
而CCM整合了前三个组件中的所有依赖于云的逻辑,用来创建与云的单点集成。新架构如下图所示:
![有云控制器管理器的 K8s 集群架构](/images/docs/post-ccm-arch.png)
## CCM的组件
CCM突破了Kubernetes控制器管理器(KCM)的一些功能,并将其作为一个独立的进程运行。具体而言,它打破了KCM中与云相关的控制器。KCM具有以下依赖于云的控制器引擎:
* 节点控制器
* 卷控制器
* 路由控制器
* 服务控制器
在1.8版本中,当前运行中的CCM从上面的列表中运行以下控制器:
* 节点控制器
* 路由控制器
* 服务控制器
另外,它运行另一个名为 PersistentVolumeLabels Controller 的控制器。这个控制器负责对在GCP和AWS云里创建的PersistentVolumes的域(Zone)和区(Region)标签进行设置。
**注意**:卷控制器被特意设计为CCM之外的一部分。由于其中涉及到的复杂性和对现有供应商特定卷的逻辑抽象,因此决定了卷控制器不会被移动到CCM之中。
原本计划使用CCM来支持卷的目的是为了引入FlexVolume卷来支持可插拔卷。然而,官方正在计划使用更具备竞争力的CSI来取代FlexVolume卷。
考虑到这些正在进行中的变化,我们决定暂时停止当前工作直至CSI准备就绪。
云服务供应商工作组(wg-cloud-provider)正在开展相关工作,以实现通过CCM支持PersistentVolume的功能。详细信息请参见[kubernetes/kubernetes52371](https://github.com/kubernetes/kubernetes/pull/52371)。
## CCM功能
CCM从Kubernetes组件中继承了与云服务供应商相关的功能。本节基于被CCM继承其功能的组件展开描述。
### 1. Kubernetes 控制器管理器
CCM的大部分功能都来自KCM。 如上一节所述,CCM运行以下控制引擎:
* 节点控制器
* 路由控制器
* 服务控制器
* PersistentVolumeLabels控制器
#### 节点控制器
节点控制器负责通过从云服务供应商获得有关在集群中运行的节点的信息来初始化节点。节点控制器执行以下功能:
1.使用云特定域(Zone)/区(Region)标签初始化节点。
1.使用特定于云的实例详细信息初始化节点,例如类型和大小。
1.获取节点的网络地址和主机名。
1.如果节点无响应,检查该节点是否已从云中删除。如果该节点已从云中删除,则删除Kubernetes节点对象。
#### 路由控制器
路由控制器负责为云配置正确的路由,以便Kubernetes集群中不同节点上的容器可以相互通信。路由控制器仅适用于Google Compute Engine平台。
#### 服务控制器
服务控制器负责监听服务的创建、更新和删除事件。根据Kubernetes中各个服务的当前状态,它将配置云负载平衡器(如ELB或Google LB)以反映Kubernetes中的服务状态。此外,它还确保云负载均衡器的服务后端保持最新。
#### PersistentVolumeLabels 控制器
PersistentVolumeLabels控制器在AWS的EBS卷、GCE的PD卷创建时申请标签,这使得用户不再需要手动设置这些卷标签。
这些标签对于pod的调度工作是非常重要的,因为这些卷只能在它们所在的域(Zone)/区(Region)内工作,因此所有使用这些卷的pod都必须要在同一个域/区中才能保证进行调度正常进行。
PersistentVolumeLabels控制器是专门为CCM创建的; 也就是说,在CCM创建之前它是不存在的。这样做是为了将Kubernetes API服务器(它是一个许可控制器)中的PV标签逻辑移动到CCM。 它不在KCM上运行。
### 2. Kubelet
Node控制器包含kubelet中依赖于云的功能。在系统引入CCM组件之前,是由kubelet采用包含云特定信息的方式对节点进行初始化,如IP地址、区(Region)/域(Zone)标签和实例类型信息;引入CCM之后,这部分的初始化操作就从kubelet转移到了CCM中。
在引入CCM后的新的模型中,kubelet采用不包含云特定信息的方式初始化一个节点。但是,它会为新创建的节点添加一个污点,使得该节点不可被立即调度,直到CCM使用包含云的特定信息初始化节点后,才会删除该污点,使得该节点可被调度。
### 3. Kubernetes API服务器
PersistentVolumeLabels控制器将Kubernetes API服务器的依赖于云的功能移至CCM,如前面部分所述。
## 插件机制
云控制器管理器使用Go接口与外部对接从而实现功能扩展。具体来说,它使用了[这里](https://github.com/kubernetes/kubernetes/blob/master/pkg/cloudprovider/cloud.go)定义的CloudProvider接口。
上面强调的四个共享控制器的实现,以及一些辅助设施(scaffolding)和共享的云服务供应商接口,将被保留在Kubernetes核心当中。但云服务供应商特有的实现将会建立在核心之外,并实现核心中定义的接口。
有关开发插件的更多信息,请参阅
[开发云控制器管理器](/docs/tasks/administrators-cluster/developing-cloud-controller-manager/)。
## 授权
本节分解了CCM对各种API对象的访问,以执行其操作。
### 节点控制器
节点控制器仅适用于节点对象。它需要完全访问权限来获取、列出、创建、更新、修补、监视和删除节点对象。
v1/Node:
- Get
- List
- Create
- Update
- Patch
- Watch
### 路由控制器
路由控制器监听节点对象的创建并配置合适的路由。它需要对节点对象的访问权限。
v1/Node:
- Get
### 服务控制器
服务控制器侦听服务对象创建、更新和删除事件,然后对这些服务的端点进行恰当的配置。
要访问服务,它需要罗列和监控权限。要更新服务,它需要修补和更新权限。
要为服务设置端点,需要访问创建、列表、获取、监视和更新。
v1/Service:
- List
- Get
- Watch
- Patch
- Update
### PersistentVolumeLabels 控制器
PersistentVolumeLabels控制器监听PersistentVolume(PV)创建事件并更新它们。该控制器需要访问列表、查看、获取和更新PV的权限。
v1/PersistentVolume:
- Get
- List
- Watch
- Update
### 其它
CCM核心的实现需要创建事件的权限,为了确保安全操作,需要创建ServiceAccounts的权限。
v1/Event:
- Create
- Patch
- Update
v1/ServiceAccount:
- Create
针对CCM的RBAC ClusterRole如下所示:
```yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cloud-controller-manager
rules:
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- update
- apiGroups:
- ""
resources:
- nodes
verbs:
- '*'
- apiGroups:
- ""
resources:
- nodes/status
verbs:
- patch
- apiGroups:
- ""
resources:
- services
verbs:
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- create
- apiGroups:
- ""
resources:
- persistentvolumes
verbs:
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
- endpoints
verbs:
- create
- get
- list
- watch
- update
```
## 供应商实施
以下云服务供应商为自己的云部署了CCM。
* [Digital Ocean]()
* [Oracle]()
* [Azure]()
* [GCE]()
* [AWS]()
## 群集管理
[这里](/docs/tasks/administer-cluster/running-cloud-controller/#cloud-controller-manager)提供了配置和运行CCM的完整说明。
@@ -1,70 +0,0 @@
---
approvers:
- dchen1107
- roberthbailey
- liggitt
title: Master 节点通信
---
{{< toc >}}
## 概览
本文对 Master 节点(确切说是 apiserver)和 Kubernetes 集群之间的通信路径进行了分类。目的是为了让用户能够自定义他们的安装,对网络配置进行加固,使得集群能够在不可信的网络上(或者在一个云服务商完全公共的 IP 上)运行。
## Cluster -> Master
所有从集群到 master 的通信路径都终止于 apiserver(其它 master 组件没有被设计为可暴露远程服务)。在一个典型的部署中,apiserver 被配置为在一个安全的 HTTPS 端口(443)上监听远程连接并启用一种或多种形式的客户端[身份认证](/docs/admin/authentication/)机制。一种或多种客户端[身份认证](/docs/admin/authentication/)机制应该被启用,特别是在允许使用 [匿名请求](/docs/admin/authentication/#anonymous-requests) 或 [service account tokens](/docs/admin/authentication/#service-account-tokens) 的时候。
应该使用集群的公共根证书开通节点,如此它们就能够基于有效的客户端凭据安全的连接 apiserver。例如:在一个默认的 GCE 部署中,客户端凭据以客户端证书的形式提供给 kubelet。请查看 [kubelet TLS bootstrapping](/docs/admin/kubelet-tls-bootstrapping/) 获取如何自动提供 kubelet 客户端证书。
想要连接到 apiserver 的 Pods 可以使用一个 service account 安全的进行连接。这种情况下,当 Pods 被实例化时 Kubernetes 将自动的把公共根证书和一个有效的不记名令牌注入到 pod 里。`kubernetes` service (所有 namespaces 中)都配置了一个虚拟 IP 地址,用于转发(通过 kube-proxy)请求到 apiserver 的 HTTPS endpoint。
Master 组件通过非安全(没有加密或认证)端口和集群的 apiserver 通信。这个端口通常只在 master 节点的 localhost 接口暴露,这样,所有在相同机器上运行的 master 组件就能和集群的 apiserver 通信。一段时间以后,master 组件将变为使用带身份认证和权限验证的安全端口(查看[#13598](https://github.com/kubernetes/kubernetes/issues/13598))。
这样的结果使得从集群(在节点上运行的 nodes 和 pods)到 master 的缺省连接操作模式默认被保护,能够在不可信或公网中运行。
## Master -> Cluster
从 masterapiserver)到集群有两种主要的通信路径。第一种是从 apiserver 到集群中每个节点上运行的 kubelet 进程。第二种是从 apiserver 通过它的代理功能到任何 node、pod 或者 service。
### apiserver -> kubelet
从 apiserver 到 kubelet 的连接用于获取 pods 日志、连接(通过 kubectl)运行中的 pods,以及使用 kubele 的端口转发功能。这些连接终止于 kubelet 的 HTTPS endpoint。
默认的,apiserver 不会验证 kubelet 的服务证书,这会导致连接遭到中间人攻击,因而在不可信或公共网络上是不安全的。
为了对这个连接进行认证,请使用 `--kubelet-certificate-authority` 标记给 apiserver 提供一个根证书捆绑,用于 kubelet 的服务证书。
如果这样不可能,又要求避免在不可信的或公共的网络上进行连接,请在 apiserver 和 kubelet 之间使用 [SSH 隧道](/docs/concepts/architecture/master-node-communication/#ssh-tunnels)。
最后,应该启用[Kubelet 用户认证和/或权限认证](/docs/admin/kubelet-authentication-authorization/)来保护 kubelet API。
### apiserver -> nodes, pods, and services
从 apiserver 到 node、pod或者service 的连接默认为纯 HTTP 方式,因此既没有认证,也没有加密。他们能够通过给API URL 中的 node、pod 或 service 名称添加前缀 `https:` 来运行在安全的 HTTPS 连接上。但他们即不会认证 HTTPS endpoint 提供的证书,也不会提供客户端证书。这样虽然连接是加密的,但它不会提供任何完整性保证。这些连接**目前还不能安全的**在不可信的或公共的网络上运行。
### SSH 隧道
[Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine/docs/) 使用 SSH 隧道保护 Master -> Cluster 通信路径。在这种配置下,apiserver 发起一个到集群中每个节点的 SSH 隧道(连接到在 22 端口监听的 ssh 服务)并通过这个隧道传输所有到 kubelet、node、pod 或者 service 的流量。这个隧道保证流量不会在集群运行的私有 GCE 网络之外暴露。
@@ -1,233 +0,0 @@
---
approvers:
- caesarxuchao
- dchen1107
title: Nodes
redirect_from:
- "/docs/admin/node/"
- "/docs/admin/node.html"
- "/docs/concepts/nodes/node/"
- "/docs/concepts/nodes/node.html"
---
{{< toc >}}
## Node 是什么?
`Node` 是 Kubernetes 的工作节点,以前叫做 `minion`。取决于你的集群,Node 可以是一个虚拟机或者物理机器。每个 node 都有用于运行 [pods](/docs/user-guide/pods) 的必要服务,并由 master 组件管理。Node 上的服务包括 Docker、kubelet 和 kube-proxy。请查阅架构设计文档中 [The Kubernetes Node](https://git.k8s.io/community/contributors/design-proposals/architecture/architecture.md#the-kubernetes-node) 一节获取更多细节。
## Node 状态
一个 node 的状态包含以下信息:
* [地址](#地址)
* ~~[阶段](#阶段)~~ **已废弃**
* [条件](#条件)
* [容量](#容量)
* [信息](#信息)
下面对每个章节进行详细描述。
### 地址
这些字段组合的用法取决于你的云服务商或者裸机配置。
* HostNameHostName 和 node 内核报告的相同。可以通过 kubelet 的 `--hostname-override` 参数覆盖。
* ExternalIP:通常是可以外部路由的 node IP 地址(从集群外可访问)。
* InternalIP:通常是仅可在集群内部路由的 node IP 地址。
### 阶段
一废弃:node 阶段已经不再使用。
### 条件
`conditions` 字段描述了所有 `Running` nodes 的状态。
| Node 条件 | 描述 |
| ---------------- | ---------------------------------------- |
| `OutOfDisk` | `True` 表示 node 的空闲空间不足以用于添加新 pods, 否则为 `False` |
| `Ready` | `True` 表示 node 是健康的并已经准备好接受 pods;`False` 表示 node 不健康而且不能接受 pods;`Unknown` 表示 node 控制器在最近 40 秒内没有收到 node 的消息 |
| `MemoryPressure` | `True` 表示 node 不存在内存压力 -- 即 node 内存用量低, 否则为 `False` |
| `DiskPressure` | `True` 表示 node 不存在磁盘压力 -- 即磁盘用量低, 否则为 `False` |
Node 条件使用一个 JSON 对象表示。例如,下面的响应描述了一个健康的 node。
```json
"conditions": [
{
"kind": "Ready",
"status": "True"
}
]
```
如果 Ready 条件处于状态 "Unknown" 或者 "False" 的时间超过了 `pod-eviction-timeout`(一个传递给 [kube-controller-manager](/docs/admin/kube-controller-manager/) 的参数),node 上的所有 Pods 都会被 Node 控制器计划删除。默认的删除超时时长为**5分钟**。某些情况下,当 node 不可访问时,apiserver 不能和其上的 kubelet 通信。删除 pods 的决定不能传达给 kubelet,直到它重新建立和 apiserver 的连接为止。与此同时,被计划删除的 pods 可能会继续在分区 node 上运行。
在 1.5 版本之前的 Kubernetes 里,node 控制器会将不能访问的 pods 从 apiserver 中[强制删除](/docs/concepts/workloads/pods/pod/#force-deletion-of-pods)。但在 1.5 或更高的版本里,在node 控制器确认这些 pods 已经在集群里停运行前不会强制删除它们。你可以看到这些处于 "Terminating" 或者 "Unknown" 状态的 pods 可能在无法访问的 node 上运行。为了防止 kubernetes 不能从底层基础设施中推断出一个 node 是否已经永久的离开了集群,集群管理员可能需要手动删除这个 node 对象。从 Kubernetes 删除 node 对象将导致 apiserver 删除 node 上所有运行的 Pod 对象并释放它们的名字。
### 容量
描述 node 上的可用资源:CPU、内存和可以调度到 node 上的 pods 的最大数量。
### 信息
关于 node 的通用信息,例如内核版本、Kubernetes 版本(kubelet 和 kube-proxy 版本)、Docker 版本 (如果使用了)和 OS 名。这些信息由 Kubelet 从 node 搜集而来。
## 管理
与 [pods](/docs/user-guide/pods) 和 [services](/docs/user-guide/services) 不同,node 并不是在 Kubernetes 内部创建的:它是被外部的云服务商创建,例如 Google Compute Engine 或者你的集群中的物理或者虚拟机。这意味着当 Kubernetes 创建一个 node 时,它其实仅仅创建了一个对象来代表这个 node。创建以后,Kubernetes 将检查这个 node 是否可用。例如,如果你尝试使用如下内容创建一个 node:
```json
{
"kind": "Node",
"apiVersion": "v1",
"metadata": {
"name": "10.240.79.157",
"labels": {
"name": "my-first-k8s-node"
}
}
}
```
Kubernetes 会在内部创一个 node 对象(象征 node),并基于 `metadata.name` 字段(我们假设 `metadata.name` 能够被解析)通过健康检查来验证 node。如果 node 可用,意即所有必要服务都已运行,它就符合了运行一个 pod 的条件;否则它将被所有的集群动作忽略直到变为可用。请注意,Kubernetes 将保存不可用 node 的对象,除非它被客户端显式的删除。Kubernetes 将持续检查 node 是否变的可用。
当前,有3个组件同 Kubernetes node 接口交互:node 控制器、kubelet 和 kubectl。
### Node 控制器
Node 控制器是一个 Kubernetes master 组件,管理 nodes 的方方面面。
Node 控制器在 node 的生命周期中扮演了多个角色。第一个是当 node 注册时为它分配一个 CIDR block(如果打开了 CIDR 分配)。
第二个是使用云服务商提供了可用节点列表保持 node 控制器内部的 nodes 列表更新。如果在云环境下运行,任何时候当一个 node 不健康时 node 控制器将询问云服务 node 的虚拟机是否可用。如果不可用,node 控制器会将这个 node 从它的 nodes 列表删除。
第三个是监控 nodes 的健康情况。Node 控制器负责在 node 不能访问时(也即是 node 控制器因为某些原因没有收到心跳,例如 node 宕机)将它的 NodeStatus 的 NodeReady 状态更新为 ConditionUnknown。后续如果 node 持续不可访问,Node 控制器将删除 node 上的所有 pods(使用优雅终止)。(默认情况下 40s 开始报告 ConditionUnknown,在那之后 5m 开始删除 pods。)Node 控制器每隔 `--node-monitor-period` 秒检查每个 node 的状态。
在 Kubernetes 1.4 中我们更新了 node 控制器逻辑以更好的处理大批量 nodes 访问 master 出问题的情况(例如 master 的网络出了问题)。从 1.4 开始,node 控制器在决定删除 pod 之前会检查集群中所有 nodes 的状态。
大部分情况下, node 控制器把删除频率限制在每秒 `--node-eviction-rate` 个(默认为 0.1)。这表示它在 10 秒钟内不会从超过一个 node 上删除 pods。
当一个 availability zone 中的 node 变为不健康时,它的删除行为将发生改变。Node 控制器会同时检查 zone 中不健康(NodeReady 状态为 ConditionUnknown 或 ConditionFalse)的 nodes 的百分比。如果不健康 nodes 的部分超过 `--unhealthy-zone-threshold` (默认为 0.55),删除速率将会减小:如果集群较小(意即小于等于 `--large-cluster-size-threshold` 个 nodes - 默认为50),删除将会停止,否则删除速率将降为每秒 `--secondary-node-eviction-rate` 个(默认为 0.01)。在单个 availability zone 实施这些策略的原因是当一个 availability zone 可能从 master 分区时其它的仍然保持连接。如果你的集群没有跨越云服务商的多个 availability zones,那就只有一个 availability zone(整个集群)。
在多个 availability zones 分布你的 nodes 的一个关键原因是当整个 zone 故障时,工作负载可以转移到健康的 zones。因此,如果一个 zone 中的所有 nodes 都不健康时,node 控制器会以正常的速率 `--node-eviction-rate` 删除。在所有的 zones 都不健康(也即集群中没有健康 node)的极端情况下,node 控制器将假设 master 的连接出了某些问题,它将停止所有删除动作直到一些连接恢复。
从 Kubernetes 1.6 开始,NodeController 还负责删除运行在拥有 `NoExecute` taints 的 nodes 上的 pods,如果这些 pods 没有 tolerate 这些 taints。此外,作为一个默认禁用的 alpha 特性,NodeController 还负责根据 node 故障(例如 node 不可访问或没有 ready)添加 taints。请查看 [这个文档](/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature)了解关于 `NoExecute` taints 和这个 alpha 特性。
### Nodes 自注册
当 kubelet 标志 `--register-node` 为 true (默认)时,它会尝试向 API 服务注册自己。这是首选模式,被绝大多数发行版选用。
对于自注册模式,kubelet 使用下列参数启动:
- `--api-servers` - apiservers 地址。
- `--kubeconfig` - 用于向 apiserver 验证自己的凭据路径。
- `--cloud-provider` - 如何从云服务商读取关于自己的元数据。
- `--register-node` - 自动向 API 服务注册。
- `--register-with-taints` - 使用 taints 列表(逗号分隔的 `<key>=<value>:<effect>`)注册 node。当 `register-node` 为 false 时无效。
- `--node-ip` - node IP 地址。
- `--node-labels` - 向集群注册时给 node 添加的 labels。
- `--node-status-update-frequency` - 指定 kubelet 向 master 发送状态的频率。
目前,任何 kubelet 都被授权可以创建/修改任意 node 资源,但通常只对自己的进行创建/修改。(未来我们计划只允许一个 kubelet 修改它自己 node 的资源。)
#### 手动 Node 管理
集群管理员可以创建及修改 node 对象。
如果管理员希望手动创建 node 对象,请设置 kubelet 标记 `--register-node=false`
管理员可以修改 node 资源(忽略 `--register-node` 设置)。修改包括在 node 上设置 labels及标记它为不可调度。
Nodes 上的 labels 可以和 pods 的 node selectors 一起使用来控制调度,例如限制一个 pod 只能在一个符合要求的 nodes 子集上运行。
标记一个 node 为不可调度的将防止新建 pods 调度到那个 node 之上,但不会影响任何已经在它之上的 pods。这是重启 node 等操作之前的一个有用的准备步骤。例如,标记一个 node 为不可调度的,执行以下命令:
```shell
kubectl cordon $NODENAME
```
请注意,被 daemonSet 控制器创建的 pods 将忽略 Kubernetes 调度器,且不会遵照 node 上不可调度的属性。这个假设基于守护程序属于节点机器,即使在准备重启而隔离应用的时候。
### Node 容量
Node 的容量(cpu 数量和内存容量)是 node 对象的一部分。通常情况下,在创建 node 对象时,它们会注册自己并报告自己的容量。如果你正在执行[手动 node 管理](#manual-node-administration),那么你需要在添加 node 时手动设置 node 容量。
Kubernetes 调度器保证一个 node 上有足够的资源供其上的所有 pods 使用。它会检查 node 上所有容器要求的总和不会超过 node 的容量。这包括所有 kubelet 启动的容器,但不包含 Docker 启动的容器和不在容器中的进程。
如果希望显式的为非 pod 进程预留资源,你可以创建一个占位 pod。使用如下模板:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: resource-reserver
spec:
containers:
- name: sleep-forever
image: k8s.gcr.io/pause:0.8.0
resources:
requests:
cpu: 100m
memory: 100Mi
```
设置 `cpu``memory` 值为你希望预留的资源量。将文件放在清单文件夹中(kubelet 的 `--config=DIR` 标志)。当你希望预留资源时,在每个 kubelet 上都这样执行。
## API 对象
Node 是 Kubernetes REST API 的顶级资源。更多关于 API 对象的细节可以在这里找到: [Node API
object](/docs/api-reference/{{< param "version" >}}/#node-v1-core).``
@@ -1,45 +0,0 @@
---
title: 安装扩展(Addons
---
## 概览
Add-ons 扩展了 Kubernetes 的功能。
本文列举了一些可用的 add-ons 以及到它们各自安装说明的链接。
每个 add-ons 按字母顺序排序 - 顺序不代表任何优先地位。
## 网络和网络策略
* [Calico](http://docs.projectcalico.org/latest/getting-started/kubernetes/installation/hosted/) 是一个安全的 L3 网络和网络策略提供者。
* [Canal](https://github.com/tigera/canal/tree/master/k8s-install) 结合 Flannel 和 Calico, 提供网络和网络策略。
* [Cilium](https://github.com/cilium/cilium) 是一个 L3 网络和网络策略插件, 能够透明的实施 HTTP/API/L7 策略。 同时支持路由(routing)和叠加/封装( overlay/encapsulation)模式。
* [Contiv](http://contiv.github.io) 为多种用例提供可配置网络(使用 BGP 的原生 L3,使用 vxlan 的 overlay,经典 L2 和 Cisco-SDN/ACI)和丰富的策略框架。Contiv 项目完全[开源](http://github.com/contiv)。[安装工具](http://github.com/contiv/install)同时提供基于和不基于 kubeadm 的安装选项。
* [Flannel](https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml) 是一个可以用于 Kubernetes 的 overlay 网络提供者。
* [Romana](http://romana.io) 是一个 pod 网络的层 3 解决方案,并且支持 [NetworkPolicy API](/docs/concepts/services-networking/network-policies/)。Kubeadm add-on 安装细节可以在[这里](https://github.com/romana/romana/tree/master/containerize)找到。
* [Weave Net](https://www.weave.works/docs/net/latest/kube-addon/) 提供了在网络分组两端参与工作的网络和网络策略,并且不需要额外的数据库。
* [CNI-Genie](https://github.com/Huawei-PaaS/CNI-Genie) 使 Kubernetes 无缝连接到一种 CNI 插件,例如:Flannel、Calico、Canal、Romana 或者 Weave。
## 可视化管理
* [Dashboard](https://github.com/kubernetes/dashboard#kubernetes-dashboard) 是一个 Kubernetes 的 web 控制台界面。
* [Weave Scope](https://www.weave.works/documentation/scope-latest-installing/#k8s) 是一个图形化工具,用于查看你的 containers、 pods、services等。 请和一个 [Weave Cloud account](https://cloud.weave.works/) 一起使用,或者自己运行 UI。
## 遗留 Add-ons
还有一些其它 add-ons 归档在已废弃的 [cluster/addons](https://git.k8s.io/kubernetes/cluster/addons) 路径中。
维护完善的 add-ons 应该被链接到这里。欢迎提出 PRs!
@@ -1,247 +0,0 @@
---
cn-approvers:
- lichuqiang
title: 证书
---
{{< toc >}}
## 创建证书
当使用客户端证书进行认证时,用户可以使用现有部署脚本,或者通过 `easyrsa``openssl`
`cfssl` 手动生成证书。
### 使用现有部署脚本
**现有部署脚本** 位于
`cluster/saltbase/salt/generate-cert/make-ca-cert.sh`
执行该脚本时需传入两个参数。 第一个参数为 API 服务器的 IP 地址,第二个参数为对象的候补名称列表,
形如 `IP:<ip地址> 或 DNS:<dns名称>`
脚本生成三个文件: `ca.crt``server.crt``server.key`
最后,将以下参数加入到 API 服务器的启动参数中:
```
--client-ca-file=/srv/kubernetes/ca.crt
--tls-cert-file=/srv/kubernetes/server.crt
--tls-private-key-file=/srv/kubernetes/server.key
```
### easyrsa
使用 **easyrsa** 能够手动地为集群生成证书。
1. 下载、解压并初始化 easyrsa3 的补丁版本。
curl -L -O https://storage.googleapis.com/kubernetes-release/easy-rsa/easy-rsa.tar.gz
tar xzf easy-rsa.tar.gz
cd easy-rsa-master/easyrsa3
./easyrsa init-pki
1. 生成 CA(通过 `--batch` 参数设置自动模式。 通过 `--req-cn` 设置默认使用的 CN
./easyrsa --batch "--req-cn=${MASTER_IP}@`date +%s`" build-ca nopass
1. 生成服务器证书和密钥。
参数 `--subject-alt-name` 设置了访问 API 服务器时可能使用的 IP 和 DNS 名称。 `MASTER_CLUSTER_IP`
通常为 `--service-cluster-ip-range` 参数中指定的服务 CIDR 的 首个 IP 地址,`--service-cluster-ip-range`同时用于
API 服务器和控制器管理器组件。 `--days` 参数用于设置证书的有效期限。
下面的示例还假设用户使用 `cluster.local` 作为默认的 DNS 域名。
./easyrsa --subject-alt-name="IP:${MASTER_IP}"\
"IP:${MASTER_CLUSTER_IP},"\
"DNS:kubernetes,"\
"DNS:kubernetes.default,"\
"DNS:kubernetes.default.svc,"\
"DNS:kubernetes.default.svc.cluster,"\
"DNS:kubernetes.default.svc.cluster.local" \
--days=10000 \
build-server-full server nopass
1. 拷贝 `pki/ca.crt``pki/issued/server.crt``pki/private/server.key` 至您的目录。
1. 填充并在 API 服务器的启动参数中添加以下参数:
--client-ca-file=/yourdirectory/ca.crt
--tls-cert-file=/yourdirectory/server.crt
--tls-private-key-file=/yourdirectory/server.key
### openssl
使用 **openssl** 能够手动地为集群生成证书。
1. 生成密钥位数为 2048 的 ca.key
openssl genrsa -out ca.key 2048
1. 依据 ca.key 生成 ca.crt (使用 -days 参数来设置证书有效时间):
openssl req -x509 -new -nodes -key ca.key -subj "/CN=${MASTER_IP}" -days 10000 -out ca.crt
1. 生成密钥位数为 2048 的 server.key
openssl genrsa -out server.key 2048
1. 创建用于生成证书签名请求(CSR)的配置文件。
确保在将其保存至文件(如`csr.conf`)之前将尖括号标记的值(如`<MASTER_IP>`
替换为你想使用的真实值。 注意:`MASTER_CLUSTER_IP` 是前面小节中描述的 API 服务器的服务集群 IP
(service cluster IP)。 下面的示例也假设用户使用 `cluster.local` 作为默认的 DNS 域名。
[ req ]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn
[ dn ]
C = <country>
ST = <state>
L = <city>
O = <organization>
OU = <organization unit>
CN = <MASTER_IP>
[ req_ext ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = kubernetes
DNS.2 = kubernetes.default
DNS.3 = kubernetes.default.svc
DNS.4 = kubernetes.default.svc.cluster
DNS.5 = kubernetes.default.svc.cluster.local
IP.1 = <MASTER_IP>
IP.2 = <MASTER_CLUSTER_IP>
[ v3_ext ]
authorityKeyIdentifier=keyid,issuer:always
basicConstraints=CA:FALSE
keyUsage=keyEncipherment,dataEncipherment
extendedKeyUsage=serverAuth,clientAuth
subjectAltName=@alt_names
1. 基于配置文件生成证书签名请求:
openssl req -new -key server.key -out server.csr -config csr.conf
1. 使用 ca.key、ca.crt 和 server.csr 生成服务器证书:
openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key \
-CAcreateserial -out server.crt -days 10000 \
-extensions v3_ext -extfile csr.conf
1. 查看证书:
openssl x509 -noout -text -in ./server.crt
最后,添加同样的参数到 API 服务器的启动参数中。
### cfssl
**cfssl** 是另一种用来生成证书的工具。
1. 按如下所示的方式下载、解压并准备命令行工具。
注意:你可能需要基于硬件架构和你所使用的 cfssl 版本对示例命令进行修改。
curl -LO https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -o cfssl
chmod +x cfssl
curl -LO https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -o cfssljson
chmod +x cfssljson
curl -LO https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64 -o cfssl-certinfo
chmod +x cfssl-certinfo
1. 创建目录来存放物料,并初始化 cfssl:
mkdir cert
cd cert
../cfssl print-defaults config > config.json
../cfssl print-defaults csr > csr.json
1. 创建用来生成 CA 文件的 JSON 配置文件,例如 `ca-config.json`
{
"signing": {
"default": {
"expiry": "8760h"
},
"profiles": {
"kubernetes": {
"usages": [
"signing",
"key encipherment",
"server auth",
"client auth",
],
"expiry": "8760h"
}
}
}
}
1. 创建用来生成 CA 证书签名请求(CSR)的 JSON 配置文件,例如 `ca-csr.json`
确保将尖括号标记的值替换为你想使用的真实值。
{
"CN": "kubernetes",
"key": {
"algo": "rsa",
"size": 2048
},
"names":[{
"C": "<country>",
"ST": "<state>",
"L": "<city>",
"O": "<organization>",
"OU": "<organization unit>",
}]
}
1. 生成 CA 密钥(`ca-key.pem`)和证书(`ca.pem`):
../cfssl gencert -initca ca-csr.json | ../cfssljson -bare ca
1. 按如下所示的方式创建用来为 API 服务器生成密钥和证书的 JSON 配置文件。
确保将尖括号标记的值替换为你想使用的真实值。 `MASTER_CLUSTER_IP` 是前面小节中描述的
API 服务器的服务集群 IP。 下面的示例也假设用户使用 `cluster.local` 作为默认的 DNS 域名。
{
"CN": "kubernetes",
"hosts": [
"127.0.0.1",
"<MASTER_IP>",
"<MASTER_CLUSTER_IP>",
"kubernetes",
"kubernetes.default",
"kubernetes.default.svc",
"kubernetes.default.svc.cluster",
"kubernetes.default.svc.cluster.local"
],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [{
"C": "<country>",
"ST": "<state>",
"L": "<city>",
"O": "<organization>",
"OU": "<organization unit>"
}]
}
1. 为 API 服务器生成密钥和证书,生成的秘钥和证书分别默认保存在文件 `server-key.pem`
`server.pem` 中:
../cfssl gencert -ca=ca.pem -ca-key=ca-key.pem \
--config=ca-config.json -profile=kubernetes \
server-csr.json | ../cfssljson -bare server
## 分发自签名 CA 证书
客户端节点可能拒绝承认自签名 CA 证书有效。
对于非生产环境的部署,或运行在企业防火墙后的部署,用户可以向所有客户端分发自签名 CA 证书,
并刷新本地的有效证书列表。
在每个客户端上执行以下操作:
```bash
$ sudo cp ca.crt /usr/local/share/ca-certificates/kubernetes.crt
$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
done.
```
## 证书 API
您可以按照[这里](/docs/tasks/tls/managing-tls-in-a-cluster)记录的方式,
使用 `certificates.k8s.io` API 来准备 x509 证书,用于认证。
@@ -1,109 +0,0 @@
---
title: 云供应商
content_template: templates/concept
---
{{% capture overview %}}
本文介绍了如何管理运行在特定云供应商上的 Kubernetes 集群。
{{% /capture %}}
{{% capture body %}}
# AWS
本节介绍在 Amazon Web Services 上运行 Kubernetes 时可以使用的所有配置。
## 负载均衡器
用户可以通过配置注解(annotations)来设置 [外部负载均衡器](/docs/tasks/access-application-cluster/create-external-load-balancer/),以在 AWS 中使用特定功能,如下所示:
```yaml
apiVersion: v1
kind: Service
metadata:
name: example
namespace: kube-system
labels:
run: example
annotations:
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:xx-xxxx-x:xxxxxxxxx:xxxxxxx/xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx #replace this value
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
spec:
type: LoadBalancer
ports:
- port: 443
targetPort: 5556
protocol: TCP
selector:
app: example
```
可以使用 _注解_ 将不同的设置应用于 AWS 中的负载平衡器服务。 下面描述了 AWS ELB 所支持的注解:
* `service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval`:用于指定访问日志的间隔。
* `service.beta.kubernetes.io/aws-load-balancer-access-log-enabled`:用于在服务中启用或禁用日志访问。
* `service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name`:用于指定访问日志的 S3 桶名称。
* `service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix`:用于指定访问日志的 S3 桶前缀。
* `service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags`:用于在服务中指定一个逗号分隔的键值对列表,它将作为附加标签被记录在 ELB 中。 例如: `"Key1=Val1,Key2=Val2,KeyNoVal1=,KeyNoVal2"`
* `service.beta.kubernetes.io/aws-load-balancer-backend-protocol`:用于在服务中指定监听器后端(pod)所使用的协议。 如果指定 `http` (默认) 或 `https`, 将创建一个终止连接和解析头的 HTTPS 监听器。 如果设置为 `ssl``tcp`, 将会使用 “原生的” SSL 监听器。 如果设置为 `http` 且不使用 `aws-load-balancer-ssl-cert`,将使用 HTTP 监听器。
* `service.beta.kubernetes.io/aws-load-balancer-ssl-cert`:用于在服务中请求安全监听器,其值为合法的证书 ARNAmazon Resource Name)。 更多内容,请参考 [ELB 监听器配置](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-listener-config.html)。 证书 ARN 是 IAM(身份和访问管理) 或 CM(证书管理)类型的 ARN,例如 `arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012`
* `service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled`:用于在服务中启用或禁用连接耗尽(connection draining)。
* `service.beta.kubernetes.io/aws-load-balancer-connection-draining-timeout`:用于在服务中指定连接耗尽超时时间。
* `service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout`:用于在服务中指定空闲连接超时时间。
* `service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled`:用于在服务中启用或禁用跨区域负载平衡。
* `service.beta.kubernetes.io/aws-load-balancer-extra-security-groups`:用于在服务中指定要添加到创建的 ELB 中的其他安全组。
* `service.beta.kubernetes.io/aws-load-balancer-internal`:用于在服务中表明需要内部 ELB。
* `service.beta.kubernetes.io/aws-load-balancer-proxy-protocol`:用于在 ELB 上启用代理协议。 当前仅接受 `*` 值,也就是在所有 ELB 后端启用代理协议。 将来可能进行调整,只允许特定的后端设置代理协议。
* `service.beta.kubernetes.io/aws-load-balancer-ssl-ports`:用于在服务中指定一个逗号分隔的端口列表,这些端口会使用 SSL/HTTPS 监听器。 默认为 `*`(全部)
AWS 相关的注解信息取自 [aws.go](https://github.com/kubernetes/kubernetes/blob/master/pkg/cloudprovider/providers/aws/aws.go) 文件的注释。
# OpenStack
本节介绍了使用 OpenStack 运行 Kubernetes 时所有可用的配置。
## cloud.conf
Kubernetes 知道如何通过文件 cloud.conf 与 OpenStack 进行交互。 该文件会为 Kubernetes 提供证书和 OpenStack 认证端点的区位信息。
用户可以通过在其中指定以下信息来创建 cloud.conf 文件。
### 最小配置
这是一个最小配置的例子,它涉及最常用的值:
```yaml
[Global]
username=user
password=pass
auth-url=https://<keystone_ip>/identity/v3
tenant-id=c869168a828847f39f7f06edd7305637
domain-id=2a73b8f597c04551a0fdc8e95544be8a
[LoadBalancer]
subnet-id=6937f8fa-858d-4bc9-a3a5-18d2c957166a
```
#### 全局配置
* `username`:指 keystone 中设置的一个合法用户的用户名。
* `password`:指 keystone 中设置的一个合法用户的密码。
* `auth-url`:用于认证的 keystone API 的 URL 。 在 OpenStack 控制面板上,可以在 “访问和安全(Access and Security> api 访问(API Access> 凭证(Credentials)” 路径下找到它。
* `tenant-id`:用于指定要创建资源的项目 ID。
* `domain-id`:用于指定用户所属的域(domain)ID。
#### 负载均衡器
* `subnet-id`:用于指定要创建的负载均衡器所在的子网 ID。 可以在 “Network > Networks” 路径下找到它。 点击相应的网络获取其子网。
### 可选配置
#### 块存储
Kubernetes 利用 OpenStack 服务目录对它知道如何使用的服务进行定位,包括 Cinder 块存储服务。 然而,云供应商的配置中包含一个附加选项,可以影响块存储 API 的使用方式:
* `bs-version`:指所使用的块存储 API 版本。 其合法值为
`v1``v2``v3``auto``auto` 为默认值,将使用底层 Openstack 所支持的块存储 API 的最新版本。
如果在 OpenStack 上部署 Kubernetes <= 1.8 的版本,同时使用路径而不是端口来区分端点(endpoints),那么可能需要显式设置 `bs-version` 参数。 基于路径的端点形如 `http://foo.bar/volume` ,而基于端口的的端点形如
`http://foo.bar:xxx`
在使用基于路径的端点,并且 Kubernetes 使用较旧的自动检索逻辑的环境中,尝试卷卸载(detachment)会返回 `BS API version autodetection failed.` 错误。 为了解决这个问题,可以通过添加以下内容到云供应商配置中,来强制使用 Cinder API V2 版本。
```yaml
[BlockStorage]
bs-version=v2
```
{{% /capture %}}
@@ -1,87 +0,0 @@
---
approvers:
- davidopp
- lavalamp
title: 集群管理概述
content_template: templates/concept
---
{{% capture overview %}}
集群管理概述面向任何创建和管理 Kubernetes 集群的读者人群。我们假设你对 [用户指南](/docs/user-guide/)中的概念有一些熟悉。
{{% /capture %}}
{{% capture body %}}
## 规划集群
查阅 [选择正确解决方案](/docs/setup/pick-right-solution/) 中的指导,获取如何规划、建立以及配置 Kubernetes 集群的示例。本文所列的文章称为*发行版*。
在选择一个指南前,有一些因素需要考虑:
- 你是打算在你的电脑上尝试 Kubernetes,还是要构建一个高可用的多节点集群?请选择最适合你需求的发行版。
- **如果你正在设计一个高可用集群**,请了解[在多个 zones 中配置集群](/docs/admin/multi-cluster)。
- 你的集群是在**本地**还是**云(IaaS**上?Kubernetes 不能直接支持混合集群。作为代替,你可以建立多个集群。
- **如果你在本地配置 Kubernetes**,需要考虑哪种[网络模型](/docs/admin/networking)最适合。一种自定义网络的选项是 [*OpenVSwitch GRE/VxLAN 网络*](/docs/admin/ovs-networking/),它使用 OpenVSwitch 在跨 Kubernetes 节点的 pods 之间建立起网络。
- 你的 Kubernetes 在 **裸金属硬件** 还是 **虚拟机(VMs)**上运行?
- 你**只想运行一个集群**,还是打算**活动开发 Kubernetes 项目代码**?如果是后者,请选择一个活动开发的发行版。某些发行版只提供二进制发布版,但提供更多的选择。
- 让你自己熟悉运行一个集群所需的[组件](/docs/admin/cluster-components) 。
请注意:不是所有的发行版都被积极维护着。请选择测试过最近版本的 Kubernetes 的发行版。
如果你正在使用和 Salt 有关的指南,请查阅 [使用 Salt 配置 Kubernetes](/docs/admin/salt)。
## 管理集群
[管理集群](/docs/concepts/cluster-administration/cluster-management/)叙述了和集群生命周期相关的几个主题:创建一个新集群、升级集群的 master 和 worker 节点、执行节点维护(例如内核升级)以及升级活动集群的 Kubernetes API 版本。
## 保护集群
* [Kubernetes 容器环境](/docs/concepts/containers/container-environment-variables/) 描述了 Kubernetes 节点上由 Kubelet 管理的容器的环境。
* [控制到 Kubernetes API 的访问](/docs/admin/accessing-the-api) 描述了如何为用户和 service accounts 建立权限许可.
* [用户认证](/docs/admin/authentication) 阐述了 Kubernetes 中的认证功能,包括许多认证选项。
* [授权](/docs/admin/authorization)从认证中分离出来,用于控制如何处理 HTTP 请求。
* [使用 Admission Controllers](/docs/admin/admission-controllers) 阐述了在认证和授权之后拦截到 Kubernetes API 服务的请求的插件。
* [在 Kubernetes Cluster 中使用 Sysctls](/docs/concepts/cluster-administration/sysctl-cluster/) 描述了管理员如何使用 `sysctl` 命令行工具来设置内核参数。
* [审计](/docs/tasks/debug-application-cluster/audit/) 描述了如何与 Kubernetes 的审计日志交互。
### 保护 kubelet
* [Master 节点通信](/docs/concepts/cluster-administration/master-node-communication/)
* [TLS 引导](/docs/admin/kubelet-tls-bootstrapping/)
* [Kubelet 认证/授权](/docs/admin/kubelet-authentication-authorization/)
## 可选集群服务
* [DNS 与 SkyDNS 集成](/docs/concepts/services-networking/dns-pod-service/)描述了如何将一个 DNS 名解析到一个Kubernetes service。
* [记录和监控集群活动](/docs/concepts/cluster-administration/logging/) 阐述了Kubernetes 的日志如何工作以及怎样实现。
{{% /capture %}}
@@ -1,64 +0,0 @@
---
title: Kubernetes 中的代理
content_template: templates/concept
---
{{% capture overview %}}
本文讲述了 Kubernetes 中所使用的代理。
{{% /capture %}}
{{% capture body %}}
## 代理
用户在使用 Kubernetes 的过程中可能遇到几种不同的代理(proxy):
1. [kubectl proxy](/docs/tasks/access-application-cluster/access-cluster/#directly-accessing-the-rest-api)
- 运行在用户的桌面或 pod 中
- 从本机地址到 Kubernetes apiserver 的代理
- 客户端到代理使用 HTTP 协议
- 代理到 apiserver 使用 HTTPS 协议
- 指向 apiserver
- 添加认证头信息
1. [apiserver proxy](/docs/tasks/access-application-cluster/access-cluster/#discovering-builtin-services)
- 是一个建立在 apiserver 内部的“堡垒”
- 将集群外部的用户与群集 IP 相连接,这些IP是无法通过其他方式访问的
- 运行在 apiserver 进程内
- 客户端到代理使用 HTTPS 协议 (如果配置 apiserver 使用 HTTP 协议,则使用 HTTP 协议)
- 通过可用信息进行选择,代理到目的地可能使用 HTTP 或 HTTPS 协议
- 可以用来访问 Node、 Pod 或 Service
- 当用来访问 Service 时,会进行负载均衡
1. [kube proxy](/docs/concepts/services-networking/service/#ips-and-vips)
- 在每个节点上运行
- 代理 UDP 和 TCP
- 不支持 HTTP
- 提供负载均衡能力
- 只用来访问 Service
1. apiserver 之前的代理/负载均衡器:
- 在不同集群间的存在形式和实现不同 (如 nginx)
- 位于所有客户端和一个或多个 apiserver 之间
- 存在多个 apiserver 时,扮演负载均衡器的角色
1. 外部服务的云负载均衡器:
- 由一些云供应商提供 (如AWS ELB、 Google Cloud Load Balancer)
- Kubernetes service 为 `LoadBalancer` 类型时自动创建
- 只使用 UDP/TCP 协议
- 不同云供应商的实现不同。
Kubernetes 用户通常只需要关心前两种类型的代理,集群管理员通常需要确保后面几种类型的代理设置正确。
## 请求重定向
代理已经取代重定向功能,重定向已被弃用。
{{% /capture %}}
@@ -1,100 +0,0 @@
---
approvers:
- sttts
title: Kubernetes集群中使用Sysctls
---
{{< toc >}}
这篇文章描述了如何在Kubernetes集群中使用Sysctls。
## 什么是Sysctl
在Linux中,Sysctl接口允许管理员在内核运行时修改内核参数。这些可用参数都存在于虚拟进程文件系统中的`/proc/sys/`目录。这些内核参数作用于各种子系统中,例如:
- 内核 (通用前缀:`kernel.`)
- 网络 (通用前缀:`net.`)
- 虚拟内存 (通用前缀:`vm.`)
- 设备专用 (通用前缀:`dev.`)
- 更多子系统描述见 [Kernel docs](https://www.kernel.org/doc/Documentation/sysctl/README).
获取所有参数列表,可运行
```
$ sudo sysctl -a
```
## 命名空间级vs.节点级Sysctls
在今天的Linux内核系统中有一些Sysctls是 _命名空间级_ 的。这意味着他们在同节点的不同pod间是可配置成独立的。在kubernetes里,命名空间级是Sysctls的一个必要条件,以使其在一个pod语境里易于理解。
以下列出了Sysctls中已知的 _命名空间级_
- `kernel.shm*`(内核中共享内存相关参数),
- `kernel.msg*`(内核中SystemV消息队列相关参数),
- `kernel.sem`(内核中信号量参数),
- `fs.mqueue.*`(内核中POSIX消息队列相关参数),
- `net.*`(内核中网络配置项相关参数)。
Sysctls中非命名空间级的被称为 _节点级_ ,其必须由集群管理员手动设置,要么通过节点的底层Linux分布方式(例如,通过 `/etc/sysctls.conf`),亦或在特权容器中使用Daemonset。
**注意**: 这是很好的做法,考虑在一个集群里给有特殊sysctl的节点设置为 _污点_ ,并且给他们安排仅需要这些sysctl设置的pods。 建议采用Kubernetes [_污点和容点_
特征](/docs/user-guide/kubectl/{{< param "version" >}}/#taint) 来实现。
## 安全的 vs. 不安全的 Sysctls
Sysctls被分为 _安全的__不安全的_ sysctls。同一节点上的pods间除了适当命名空间命名一个 _安全的_ sysctl,还必须适当的 _隔离_ 。 这意味着给一个pod设置一个 _安全的_ sysctl
- 不能对相同节点上其他pod产生任何影响
- 不能对节点的健康造成损害
- 不能在pod资源限制以外获取更多的CPU和内存资源
目前看来,大多数的 _命名空间级_ sysctls 不一定被认为是 _安全的_
在Kubernetes 1.4版本中,以下sysctls提供了 _安全的_ 配置:
- `kernel.shm_rmid_forced`,
- `net.ipv4.ip_local_port_range`,
- `net.ipv4.tcp_syncookies`.
该列表在未来的Kubernetes版本里还会继续扩充,当kubelet提供更好的隔离机制时。
所有 _安全的_ sysctls 都是默认启用的。
所有 _不安全的_ sysctls 默认是关闭的,且必须通过每个节点基础上的集群管理手动开启。禁用不安全的sysctls的Pods将会被计划,但不会启动。
**警告**: 由于他们的本质是 _不安全的_ ,使用 _不安全的_ sysctls是自担风险的,并且会导致严重的问题,例如容器的错误行为,资源短缺或者是一个节点的完全破损。
## 使能不安全的Sysctls
牢记上面的警告, 在非常特殊的情况下,例如高性能指标或是实时应用程序优化,集群管理员可以允许 _不安全的_
sysctls。 _不安全的_ sysctls 会打上kubelet标识,在逐节点的基础上被启用,例如:
```shell
$ kubelet --experimental-allowed-unsafe-sysctls 'kernel.msg*,net.ipv4.route.min_pmtu' ...
```
只有 _命名空间级_ sysctls 可以使用该方法启用。
## 给Pod配置Sysctls
在Kubernetes 1.4版本中,sysctl特性是一个alpha API。因此,sysctls被设置为在pods上使用注释。它们适用于同一个pod上的所有容器。
这里列举了一个例子, _安全的__不安全的_ sysctls使用不同的注释:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: sysctl-example
annotations:
security.alpha.kubernetes.io/sysctls: kernel.shm_rmid_forced=1
security.alpha.kubernetes.io/unsafe-sysctls: net.ipv4.route.min_pmtu=1000,kernel.msgmax=1 2 3
spec:
...
```
**注意**: 包含以上规定的 _不安全的_ sysctls的一个Pod, 将无法启动任何不能使这两个 _不安全的_ sysctls明确的节点。 推荐
_节点级_ sysctls使用 [_容点和污点_
特征](/docs/user-guide/kubectl/v1.6/#taint) or [taints on nodes](/docs/concepts/configuration/taint-and-toleration/)
来将这些pods分配到正确的nodes上。
@@ -1,299 +0,0 @@
---
title: Managing Compute Resources for Containers
content_template: templates/concept
---
{{% capture overview %}}
当您定义 [Pod](/docs/user-guide/pods) 的时候可以选择为每个容器指定需要的 CPU 和内存(RAM)大小。当为容器指定了资源请求后,调度器就能够更好的判断出将容器调度到哪个节点上。如果您还为容器指定了资源限制,节点上的资源就可以按照指定的方式做竞争。关于资源请求和限制的不同点和更多资料请参考 [Resource QoS](https://git.k8s.io/community/contributors/design-proposals/resource-qos.md)。
{{% /capture %}}
{{% capture body %}}
## 资源类型
*CPU**内存* 都是 *资源类型*。资源类型具有基本单位。CPU 的单位是 core,内存的单位是 byte。
CPU和内存统称为*计算资源*,也可以称为*资源*。计算资源的数量是可以被请求、分配、消耗和可测量的。它们与 [API 资源](/docs/api/) 不同。 API 资源(如 Pod 和 [Service](/docs/user-guide/services))是可通过 Kubernetes API server 读取和修改的对象。
## Pod 和 容器的资源请求和限制
Pod 中的每个容器都可以指定以下的一个或者多个值:
- `spec.containers[].resources.limits.cpu`
- `spec.containers[].resources.limits.memory`
- `spec.containers[].resources.requests.cpu`
- `spec.containers[].resources.requests.memory`
尽管只能在个别容器上指定请求和限制,但是我们可以方便地计算出 Pod 资源请求和限制。特定资源类型的Pod 资源请求/限制是 Pod 中每个容器的该类型的资源请求/限制的总和。
## CPU 的含义
CPU 资源的限制和请求以 *cpu* 为单位。
Kubernetes 中的一个 cpu 等于:
- 1 AWS vCPU
- 1 GCP Core
- 1 Azure vCore
- 1 *Hyperthread* 在带有超线程的裸机 Intel 处理器上
允许浮点数请求。具有 `spec.containers[].resources.requests.cpu` 为 0.5 的容器保证了一半 CPU 要求 1 CPU的一半。表达式 `0.1` 等价于表达式 `100m`,可以看作 “100 millicpu”。有些人说成是“一百毫 cpu”,其实说的是同样的事情。具有小数点(如 `0.1`)的请求由 API 转换为`100m`,精度不超过 `1m`。因此,可能会优先选择 `100m` 的形式。
CPU 总是要用绝对数量,不可以使用相对数量;0.1 的 CPU 在单核、双核、48核的机器中的意义是一样的。
## 内存的含义
内存的限制和请求以字节为单位。您可以使用以下后缀之一作为平均整数或定点整数表示内存:E,P,T,G,M,K。您还可以使用两个字母的等效的幂数:Ei,Pi,Ti ,Gi,Mi,Ki。例如,以下代表大致相同的值:
```shell
128974848, 129e6, 129M, 123Mi
```
下面是个例子。
以下 Pod 有两个容器。每个容器的请求为 0.25 cpu 和 64MiB2<sup>26</sup> 字节)内存,每个容器的限制为 0.5 cpu 和 128MiB 内存。您可以说该 Pod 请求 0.5 cpu 和 128 MiB 的内存,限制为 1 cpu 和 256MiB 的内存。
```yaml
apiVersion: v1
kind: Pod
metadata:
name: frontend
spec:
containers:
- name: db
image: mysql
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
- name: wp
image: wordpress
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
```
## 具有资源请求的 Pod 如何调度
当您创建一个 Pod 时,Kubernetes 调度程序将为 Pod 选择一个节点。每个节点具有每种资源类型的最大容量:可为 Pod 提供的 CPU 和内存量。调度程序确保对于每种资源类型,调度的容器的资源请求的总和小于节点的容量。请注意,尽管节点上的实际内存或 CPU 资源使用量非常低,但如果容量检查失败,则调度程序仍然拒绝在该节点上放置 Pod。当资源使用量稍后增加时,例如在请求率的每日峰值期间,这可以防止节点上的资源短缺。
## 具有资源限制的 Pod 如何运行
当 kubelet 启动一个 Pod 的容器时,它会将 CPU 和内存限制传递到容器运行时。
当使用 Docker 时:
- `spec.containers[].resources.requests.cpu` 的值将转换成 millicore 值,这是个浮点数,并乘以1024,这个数字中的较大者或2用作 `docker run` 命令中的[ `--cpu-shares`](https://docs.docker.com/engine/reference/run/#/cpu-share-constraint) 标志的值。
- `spec.containers[].resources.limits.cpu` 被转换成 millicore 值。被乘以 100000 然后 除以 1000。这个数字用作 `docker run` 命令中的 [`--cpu-quota`](https://docs.docker.com/engine/reference/run/#/cpu-quota-constraint) 标志的值。[`--cpu-quota` ] 标志被设置成了 100000,表示测量配额使用的默认100ms 周期。如果 [`--cpu-cfs-quota`] 标志设置为 true,则 kubelet 会强制执行 cpu 限制。从 Kubernetes 1.2 版本起,此标志默认为 true。
- `spec.containers[].resources.limits.memory` 被转换为整型,作为 `docker run` 命令中的 [`--memory`](https://docs.docker.com/engine/reference/run/#/user-memory-constraints) 标志的值。
如果容器超过其内存限制,则可能会被终止。如果可重新启动,则与所有其他类型的运行时故障一样,kubelet 将重新启动它。
如果一个容器超过其内存请求,那么当节点内存不足时,它的 Pod 可能被逐出。
容器可能被允许也可能不被允许超过其 CPU 限制时间。但是,由于 CPU 使用率过高,不会被杀死。
要确定容器是否由于资源限制而无法安排或被杀死,请参阅 [疑难解答](#troubleshooting) 部分。
## 监控计算资源使用
Pod 的资源使用情况被报告为 Pod 状态的一部分。
如果为集群配置了 [可选监控](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/cluster-monitoring/README.md),则可以从监控系统检索 Pod 资源的使用情况。
## 疑难解答
### 我的 Pod 处于 pending 状态且事件信息显示 failedScheduling
如果调度器找不到任何该 Pod 可以匹配的节点,则该 Pod 将保持不可调度状态,直到找到一个可以被调度到的位置。每当调度器找不到 Pod 可以调度的地方时,会产生一个事件,如下所示:
```shell
$ kubectl describe pod frontend | grep -A 3 Events
Events:
FirstSeen LastSeen Count From Subobject PathReason Message
36s 5s 6 {scheduler } FailedScheduling Failed for reason PodExceedsFreeCPU and possibly others
```
在上述示例中,由于节点上的 CPU 资源不足,名为 “frontend” 的 Pod 将无法调度。由于内存不足(PodExceedsFreeMemory),类似的错误消息也可能会导致失败。一般来说,如果有这种类型的消息而处于 pending 状态,您可以尝试如下几件事情:
```shell
$ kubectl describe nodes e2e-test-minion-group-4lw4
Name: e2e-test-minion-group-4lw4
[ ... lines removed for clarity ...]
Capacity:
alpha.kubernetes.io/nvidia-gpu: 0
cpu: 2
memory: 7679792Ki
pods: 110
Allocatable:
alpha.kubernetes.io/nvidia-gpu: 0
cpu: 1800m
memory: 7474992Ki
pods: 110
[ ... lines removed for clarity ...]
Non-terminated Pods: (5 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits
--------- ---- ------------ ---------- --------------- -------------
kube-system fluentd-gcp-v1.38-28bv1 100m (5%) 0 (0%) 200Mi (2%) 200Mi (2%)
kube-system kube-dns-3297075139-61lj3 260m (13%) 0 (0%) 100Mi (1%) 170Mi (2%)
kube-system kube-proxy-e2e-test-... 100m (5%) 0 (0%) 0 (0%) 0 (0%)
kube-system monitoring-influxdb-grafana-v4-z1m12 200m (10%) 200m (10%) 600Mi (8%) 600Mi (8%)
kube-system node-problem-detector-v0.1-fj7m3 20m (1%) 200m (10%) 20Mi (0%) 100Mi (1%)
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
CPU Requests CPU Limits Memory Requests Memory Limits
------------ ---------- --------------- -------------
680m (34%) 400m (20%) 920Mi (12%) 1070Mi (14%)
```
在上面的输出中,您可以看到如果 Pod 请求超过 1120m CPU 或者 6.23Gi 内存,节点将无法满足。
通过查看 `Pods` 部分,您将看到哪些 Pod 占用的节点上的资源。
Pod 可用的资源量小于节点容量,因为系统守护程序使用一部分可用资源。 [NodeStatus](/docs/resources-reference/{{< param "version" >}}/#nodestatus-v1-core) 的 `allocatable` 字段给出了可用于 Pod 的资源量。有关更多信息,请参阅 [节点可分配资源](https://git.k8s.io/community/contributors/design-proposals/node-allocatable.md)。
可以将 [资源配额](/docs/concepts/policy/resource-quotas/) 功能配置为限制可以使用的资源总量。如果与 namespace 配合一起使用,就可以防止一个团队占用所有资源。
## 我的容器被终止了
您的容器可能因为资源枯竭而被终止了。要查看容器是否因为遇到资源限制而被杀死,请在相关的 Pod 上调用 `kubectl describe pod`
```shell
[12:54:41] $ kubectl describe pod simmemleak-hra99
Name: simmemleak-hra99
Namespace: default
Image(s): saadali/simmemleak
Node: kubernetes-node-tf0f/10.240.216.66
Labels: name=simmemleak
Status: Running
Reason:
Message:
IP: 10.244.2.75
Replication Controllers: simmemleak (1/1 replicas created)
Containers:
simmemleak:
Image: saadali/simmemleak
Limits:
cpu: 100m
memory: 50Mi
State: Running
Started: Tue, 07 Jul 2015 12:54:41 -0700
Last Termination State: Terminated
Exit Code: 1
Started: Fri, 07 Jul 2015 12:54:30 -0700
Finished: Fri, 07 Jul 2015 12:54:33 -0700
Ready: False
Restart Count: 5
Conditions:
Type Status
Ready False
Events:
FirstSeen LastSeen Count From SubobjectPath Reason Message
Tue, 07 Jul 2015 12:53:51 -0700 Tue, 07 Jul 2015 12:53:51 -0700 1 {scheduler } scheduled Successfully assigned simmemleak-hra99 to kubernetes-node-tf0f
Tue, 07 Jul 2015 12:53:51 -0700 Tue, 07 Jul 2015 12:53:51 -0700 1 {kubelet kubernetes-node-tf0f} implicitly required container POD pulled Pod container image "k8s.gcr.io/pause:0.8.0" already present on machine
Tue, 07 Jul 2015 12:53:51 -0700 Tue, 07 Jul 2015 12:53:51 -0700 1 {kubelet kubernetes-node-tf0f} implicitly required container POD created Created with docker id 6a41280f516d
Tue, 07 Jul 2015 12:53:51 -0700 Tue, 07 Jul 2015 12:53:51 -0700 1 {kubelet kubernetes-node-tf0f} implicitly required container POD started Started with docker id 6a41280f516d
Tue, 07 Jul 2015 12:53:51 -0700 Tue, 07 Jul 2015 12:53:51 -0700 1 {kubelet kubernetes-node-tf0f} spec.containers{simmemleak} created Created with docker id 87348f12526a
```
在上面的例子中,`Restart Count: 5` 意味着 Pod 中的 `simmemleak` 容器被终止并重启了五次。
您可以使用 `kubectl get pod` 命令加上 `-o go-template=...` 选项来获取之前终止容器的状态。
```shell
[13:59:01] $ kubectl get pod -o go-template='{{range.status.containerStatuses}}{{"Container Name: "}}{{.name}}{{"\r\nLastState: "}}{{.lastState}}{{end}}' simmemleak-60xbc
Container Name: simmemleak
LastState: map[terminated:map[exitCode:137 reason:OOM Killed startedAt:2015-07-07T20:58:43Z finishedAt:2015-07-07T20:58:43Z containerID:docker://0e4095bba1feccdfe7ef9fb6ebffe972b4b14285d5acdec6f0d3ae8a22fad8b2]]
```
您可以看到容器因为 `reason:OOM killed` 被终止,`OOM` 表示 Out Of Memory。
## 不透明整型资源(Alpha功能)
Kubernetes 1.5 版本中引入不透明整型资源。不透明的整数资源允许集群运维人员发布新的节点级资源,否则系统将不了解这些资源。
用户可以在 Pod 的 spec 中消费这些资源,就像 CPU 和内存一样。调度器负责资源计量,以便在不超过可用量的同时分配给 Pod。
**注意:** 不透明整型资源在 kubernetes 1.5 中还是 Alpha 版本。只实现了资源计量,节点级别的隔离还处于积极的开发阶段。
不透明整型资源是以 `pod.alpha.kubernetes.io/opaque-int-resource-` 为前缀的资源。API server 将限制这些资源的数量为整数。*有效* 数量的例子有 `3``3000m``3Ki`。*无效*数量的例子有 `0.5``1500m`
申请使用不透明整型资源需要两步。首先,集群运维人员必须在一个或多个节点上通告每个节点不透明的资源。然后,用户必须在 Pod 中请求不透明资源。
要发布新的不透明整型资源,集群运维人员应向 API server 提交 `PATCH` HTTP请求,以指定集群中节点的`status.capacity` 的可用数量。在此操作之后,节点的 `status.capacity` 将包括一个新的资源。 `status.allocatable` 字段由 kubelet 异步地使用新资源自动更新。请注意,由于调度器在评估 Pod 适应度时使用节点 `status.allocatable` 值,所以在使用新资源修补节点容量和请求在该节点上调度资源的第一个 pod 之间可能会有短暂的延迟。
**示例**
这是一个 HTTP 请求,master 节点是 k8s-master,在 k8s-node-1 节点上通告 5 个 “foo” 资源。
```http
PATCH /api/v1/nodes/k8s-node-1/status HTTP/1.1
Accept: application/json
Content-Type: application/json-patch+json
Host: k8s-master:8080
```
```shell
curl --header "Content-Type: application/json-patch+json" \
--request PATCH \
--data '[{"op": "add", "path": "/status/capacity/pod.alpha.kubernetes.io~1opaque-int-resource-foo", "value": "5"}]' \
http://k8s-master:8080/api/v1/nodes/k8s-node-1/status
```
**注意:** 在前面的请求中,`~1` 是 patch 路径中 `/` 字符的编码。JSON-Patch 中的操作路径值被解释为 JSON-Pointer。更多详细信息请参阅 [IETF RFC 6901, section 3](https://tools.ietf.org/html/rfc6901#section-3)。
```yaml
apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: my-container
image: myimage
resources:
requests:
cpu: 2
pod.alpha.kubernetes.io/opaque-int-resource-foo: 1
```
## 计划改进
在 kubernetes 1.5 版本中仅允许在容器上指定资源量。计划改进对所有容器在 Pod 中共享资源的计量,如 [emptyDir volume](/docs/concepts/storage/volumes/#emptydir)。
在 kubernetes 1.5 版本中仅支持容器对 CPU 和内存的申请和限制。计划增加新的资源类型,包括节点磁盘空间资源和一个可支持自定义 [资源类型](https://github.com/kubernetes/community/blob/{{< param "githubbranch" >}}/contributors/design-proposals/resources.md) 的框架。
Kubernetes 通过支持通过多级别的 [服务质量](http://issue.k8s.io/168) 来支持资源的过度使用。
在 kubernetes 1.5 版本中,一个 CPU 单位在不同的云提供商和同一云提供商的不同机器类型中的意味都不同。例如,在 AWS 上,节点的容量报告为 [ECU](http://aws.amazon.com/ec2/faqs/),而在 GCE 中报告为逻辑内核。我们计划修改 cpu 资源的定义,以便在不同的提供商和平台之间保持一致。
{{% /capture %}}
{{% capture whatsnext %}}
- 获取将 [CPU 和内存资源分配给容器](/docs/tasks/configure-pod-container/assign-cpu-ram-container/) 的实践经验
- [容器](/docs/api-reference/{{< param "version" >}}/#container-v1-core)
- [ResourceRequirements](/docs/resources-reference/{{< param "version" >}}/#resourcerequirements-v1-core)
{{% /capture %}}
- [容器](/docs/api-reference/{{< param "version" >}}/#container-v1-core)
- [ResourceRequirements](/docs/resources-reference/{{< param "version" >}}/#resourcerequirements-v1-core)
{{% /capture %}}
@@ -1,586 +0,0 @@
---
approvers:
- mikedanese
title: Secret
---
`Secret` 对象类型用来保存敏感信息,例如密码、OAuth 令牌和 ssh key。将这些信息放在 `secret` 中比放在 `pod` 的定义或者 docker 镜像中来说更加安全和灵活。参阅 [Secret 设计文档](https://git.k8s.io/community/contributors/design-proposals/secrets.md) 获取更多详细信息。
{{< toc >}}
## Secret 概览
Secret 是一种包含少量敏感信息例如密码、token 或 key 的对象。这样的信息可能会被放在 Pod spec 中或者镜像中;将其放在一个 secret 对象中可以更好地控制它的用途,并降低意外暴露的风险。
用户可以创建 secret,同时系统也创建了一些 secret。
要使用 secretpod 需要引用 secret。Pod 可以用两种方式使用 secret:作为 [volume](/docs/concepts/storage/volumes/) 中的文件被挂载到 pod 中的一个或者多个容器里,或者当 kubelet 为 pod 拉取镜像时使用。
### 内置 secret
#### Service Account 使用 API 凭证自动创建和附加 secret
Kubernetes 自动创建包含访问 API 凭据的 secret,并自动修改您的 pod 以使用此类型的 secret。
如果需要,可以禁用或覆盖自动创建和使用API凭据。但是,如果您需要的只是安全地访问 apiserver,我们推荐这样的工作流程。
参阅 [Service Account](/docs/user-guide/service-accounts) 文档获取关于 Service Account 如何工作的更多信息。
### 创建您自己的 Secret
#### 使用 kubectl 创建 Secret
假设有些 pod 需要访问数据库。这些 pod 需要使用的用户名和密码在您本地机器的 `./username.txt``./password.txt` 文件里。
```shell
# Create files needed for rest of example.
$ echo -n "admin" > ./username.txt
$ echo -n "1f2d1e2e67df" > ./password.txt
```
`kubectl create secret` 命令将这些文件打包到一个 Secret 中并在 API server 中创建了一个对象。
```shell
$ kubectl create secret generic db-user-pass --from-file=./username.txt --from-file=./password.txt
secret "db-user-pass" created
```
您可以这样检查刚创建的 secret:
```shell
$ kubectl get secrets
NAME TYPE DATA AGE
db-user-pass Opaque 2 51s
$ kubectl describe secrets/db-user-pass
Name: db-user-pass
Namespace: default
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
password.txt: 12 bytes
username.txt: 5 bytes
```
请注意,默认情况下,`get``describe` 命令都不会显示文件的内容。这是为了防止将 secret 中的内容被意外暴露给从终端日志记录中刻意寻找它们的人。
请参阅 [解码 secret](#decoding-a-secret) 了解如何查看它们的内容。
#### 手动创建 Secret
您也可以先以 json 或 yaml 格式在文件中创建一个 secret 对象,然后创建该对象。
每一项必须是 base64 编码:
```shell
$ echo -n "admin" | base64
YWRtaW4=
$ echo -n "1f2d1e2e67df" | base64
MWYyZDFlMmU2N2Rm
```
现在可以像这样写一个 secret 对象:
```yaml
apiVersion: v1
kind: Secret
metadata:
name: mysecret
type: Opaque
data:
username: YWRtaW4=
password: MWYyZDFlMmU2N2Rm
```
数据字段是一个映射。它的键必须匹配 [`DNS_SUBDOMAIN`](https://git.k8s.io/community/contributors/design-proposals/identifiers.md),前导点也是可以的。这些值可以是任意数据,使用 base64 进行编码。
使用 [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create) 创建 secret
```shell
$ kubectl create -f ./secret.yaml
secret "mysecret" created
```
**编码注意:** secret 数据的序列化 JSON 和 YAML 值使用 base64 编码成字符串。换行符在这些字符串中无效,必须省略。当在 Darwin/OS X 上使用 `base64` 实用程序时,用户应避免使用 `-b` 选项来拆分长行。另外,对于 Linux 用户如果 `-w` 选项不可用的话,应该添加选项 `-w 0``base64` 命令或管道 `base64 | tr -d '\n' `
#### 解码 Secret
可以使用 `kubectl get secret` 命令获取 secret。例如,获取在上一节中创建的 secret:
```shell
$ kubectl get secret mysecret -o yaml
apiVersion: v1
data:
username: YWRtaW4=
password: MWYyZDFlMmU2N2Rm
kind: Secret
metadata:
creationTimestamp: 2016-01-22T18:41:56Z
name: mysecret
namespace: default
resourceVersion: "164619"
selfLink: /api/v1/namespaces/default/secrets/mysecret
uid: cfee02d6-c137-11e5-8d73-42010af00002
type: Opaque
```
解码密码字段:
```shell
$ echo "MWYyZDFlMmU2N2Rm" | base64 --decode
1f2d1e2e67df
```
### 使用 Secret
Secret 可以作为数据卷被挂载,或作为环境变量暴露出来以供 pod 中的容器使用。它们也可以被系统的其他部分使用,而不直接暴露在 pod 内。例如,它们可以保存凭据,系统的其他部分应该用它来代表您与外部系统进行交互。
#### 在 Pod 中使用 Secret 文件
在 Pod 中的 volume 里使用 Secret
1. 创建一个 secret 或者使用已有的 secret。多个 pod 可以引用同一个 secret。
2. 修改您的 pod 的定义在 `spec.volumes[]` 下增加一个 volume。可以给这个 volume 随意命名,它的 `spec.volumes[].secret.secretName` 必须等于 secret 对象的名字。
3.`spec.containers[].volumeMounts[]` 加到需要用到该 secret 的容器中。指定 `spec.containers[].volumeMounts[].readOnly = true``spec.containers[].volumeMounts[].mountPath` 为您想要该 secret 出现的尚未使用的目录。
4. 修改您的镜像并且/或者命令行让程序从该目录下寻找文件。Secret 的 `data` 映射中的每一个键都成为了 `mountPath` 下的一个文件名。
这是一个在 pod 中使用 volume 挂在 secret 的例子:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: mypod
spec:
containers:
- name: mypod
image: redis
volumeMounts:
- name: foo
mountPath: "/etc/foo"
readOnly: true
volumes:
- name: foo
secret:
secretName: mysecret
```
您想要用的每个 secret 都需要在 `spec.volumes` 中指明。
如果 pod 中有多个容器,每个容器都需要自己的 `volumeMounts` 配置块,但是每个 secret 只需要一个 `spec.volumes`
您可以打包多个文件到一个 secret 中,或者使用的多个 secret,怎样方便就怎样来。
**向特性路径映射 secret 密钥**
我们还可以控制 Secret key 映射在 volume 中的路径。您可以使用 `spec.volumes[].secret.items` 字段修改每个 key 的目标路径:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: mypod
spec:
containers:
- name: mypod
image: redis
volumeMounts:
- name: foo
mountPath: "/etc/foo"
readOnly: true
volumes:
- name: foo
secret:
secretName: mysecret
items:
- key: username
path: my-group/my-username
```
将会发生什么呢:
- `username` secret 存储在 `/etc/foo/my-group/my-username` 文件中而不是 `/etc/foo/username` 中。
- `password` secret 没有被映射
如果使用了 `spec.volumes[].secret.items`,只有在 `items` 中指定的 key 被映射。要使用 secret 中所有的 key,所有这些都必须列在 `items` 字段中。所有列出的密钥必须存在于相应的 secret 中。否则,不会创建卷。
**Secret 文件权限**
您还可以指定 secret 将拥有的权限模式位文件。如果不指定,默认使用 `0644`。您可以为整个保密卷指定默认模式,如果需要,可以覆盖每个密钥。
```yaml
apiVersion: v1
kind: Pod
metadata:
name: mypod
spec:
containers:
- name: mypod
image: redis
volumeMounts:
- name: foo
mountPath: "/etc/foo"
volumes:
- name: foo
secret:
secretName: mysecret
defaultMode: 256
```
然后,secret 将被挂载到 `/etc/foo` 目录,所有通过该 secret volume 挂载创建的文件的权限都是 `0400`
请注意,JSON 规范不支持八进制符号,因此使用 256 值作为 0400 权限。如果您使用 yaml 而不是 json 作为 pod,则可以使用八进制符号以更自然的方式指定权限。
您还可以使用映射,如上一个示例,并为不同的文件指定不同的权限,如下所示:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: mypod
spec:
containers:
- name: mypod
image: redis
volumeMounts:
- name: foo
mountPath: "/etc/foo"
volumes:
- name: foo
secret:
secretName: mysecret
items:
- key: username
path: my-group/my-username
mode: 511
```
在这种情况下,导致 `/etc/foo/my-group/my-username` 的文件的权限值为 `0777`。由于 JSON 限制,必须以十进制格式指定模式。
请注意,如果稍后阅读此权限值可能会以十进制格式显示。
**从 Volume 中消费 secret 值**
在挂载的 secret volume 的容器内,secret key 将作为文件,并且 secret 的值使用 base-64 解码并存储在这些文件中。这是在上面的示例容器内执行的命令的结果:
```shell
$ ls /etc/foo/
username
password
$ cat /etc/foo/username
admin
$ cat /etc/foo/password
1f2d1e2e67df
```
容器中的程序负责从文件中读取 secret。
**挂载的 secret 被自动更新**
当已经在 volume 中被消费的 secret 被更新时,被映射的 key 也将被更新。
Kubelet 在周期性同步时检查被挂载的 secret 是不是最新的。但是,它正在使用其基于本地 ttl 的缓存来获取当前的 secret 值。结果是,当 secret 被更新的时刻到将新的 secret 映射到 pod 的时刻的总延迟可以与 kubelet 中的secret 缓存的 kubelet sync period + ttl 一样长。
#### Secret 作为环境变量
将 secret 作为 pod 中的环境变量使用:
1. 创建一个 secret 或者使用一个已存在的 secret。多个 pod 可以引用同一个 secret。
2. 修改 Pod 定义,为每个要使用 secret 的容器添加对应 secret key 的环境变量。消费secret key 的环境变量应填充 secret 的名称,并键入 `env[x].valueFrom.secretKeyRef`
3. 修改镜像并/或者命令行,以便程序在指定的环境变量中查找值。
```yaml
apiVersion: v1
kind: Pod
metadata:
name: secret-env-pod
spec:
containers:
- name: mycontainer
image: redis
env:
- name: SECRET_USERNAME
valueFrom:
secretKeyRef:
name: mysecret
key: username
- name: SECRET_PASSWORD
valueFrom:
secretKeyRef:
name: mysecret
key: password
restartPolicy: Never
```
**消费环境变量里的 Secret 值**
在一个消耗环境变量 secret 的容器中,secret key 作为包含 secret 数据的 base-64 解码值的常规环境变量。这是从上面的示例在容器内执行的命令的结果:
```shell
$ echo $SECRET_USERNAME
admin
$ echo $SECRET_PASSWORD
1f2d1e2e67df
```
#### 使用 imagePullSecret
imagePullSecret 是将包含 Docker(或其他)镜像注册表密码的 secret 传递给 Kubelet 的一种方式,因此可以代表您的 pod 拉取私有镜像。
**手动指定 imagePullSecret**
imagePullSecret 的使用在 [镜像文档](/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) 中说明。
### 安排 imagePullSecrets 自动附加
您可以手动创建 imagePullSecret,并从 serviceAccount 引用它。使用该 serviceAccount 创建的任何 pod 和默认使用该 serviceAccount 的 pod 将会将其的 imagePullSecret 字段设置为服务帐户的 imagePullSecret 字段。有关该过程的详细说明,请参阅 [将 ImagePullSecrets 添加到服务帐户](/docs/tasks/configure-pod-container/configure-service-account/#adding-imagepullsecrets-to-a-service-account)。
#### 自动挂载手动创建的 Secret
手动创建的 secret(例如包含用于访问 github 帐户的令牌)可以根据其服务帐户自动附加到 pod。请参阅 [使用 PodPreset 向 Pod 中注入信息](/docs/tasks/run-application/podpreset/) 以获取该进程的详细说明。
## 详细
### 限制
验证 secret volume 来源确保指定的对象引用实际上指向一个类型为 Secret 的对象。因此,需要在依赖于它的任何 pod 之前创建一个 secret。
Secret API 对象驻留在命名空间中。它们只能由同一命名空间中的 pod 引用。
每个 secret 的大小限制为1MB。这是为了防止创建非常大的 secret 会耗尽 apiserver 和 kubelet 的内存。然而,创建许多较小的 secret 也可能耗尽内存。更全面得限制 secret 对内存使用的功能还在计划中。
Kubelet 仅支持从 API server 获取的 Pod 使用 secret。这包括使用 kubectl 创建的任何 pod,或间接通过 replication controller 创建的 pod。它不包括通过 kubelet `--manifest-url` 标志,其 `--config` 标志或其 REST API 创建的pod(这些不是创建 pod 的常用方法)。
必须先创建 secret,除非将它们标记为可选项,否则必须在将其作为环境变量在 pod 中使用之前创建 secret。对不存在的 secret 的引用将阻止其启动。
使用 `secretKeyRef` ,引用指定的 secret 中的不存在的 key ,这会阻止 pod 的启动。
对于通过 `envFrom` 填充环境变量的 secret,这些环境变量具有被认为是无效环境变量名称的 key 将跳过这些键。该 pod 将被允许启动。将会有一个事件,其原因是 `InvalidVariableNames`,该消息将包含被跳过的无效键的列表。该示例显示一个 pod,它指的是包含2个无效键,1badkey 和 2alsobad 的默认/mysecret ConfigMap。
```shell
$ kubectl get events
LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON
0s 0s 1 dapi-test-pod Pod Warning InvalidEnvironmentVariableNames kubelet, 127.0.0.1 Keys [1badkey, 2alsobad] from the EnvFrom secret default/mysecret were skipped since they are considered invalid environment variable names.
```
### Secret 与 Pod 生命周期的联系
通过 API 创建 Pod 时,不会检查应用的 secret 是否存在。一旦 Pod 被调度,kubelet 就会尝试获取该 secret 的值。如果获取不到该 secret,或者暂时无法与 API server 建立连接,kubelet 将会定期重试。Kubelet 将会报告关于 pod 的事件,并解释它无法启动的原因。一旦获取到 secret,kubelet将创建并装载一个包含它的卷。在所有 pod 的卷被挂载之前,都不会启动 pod 的容器。
## 使用案例
### 使用案例:包含 ssh 密钥的 pod
创建一个包含 ssh key 的 secret
```shell
$ kubectl create secret generic ssh-key-secret --from-file=ssh-privatekey=/path/to/.ssh/id_rsa --from-file=ssh-publickey=/path/to/.ssh/id_rsa.pub
```
**安全性注意事项**:发送自己的 ssh 密钥之前要仔细思考:集群的其他用户可能有权访问该密钥。使用您想要共享 Kubernetes 群集的所有用户可以访问的服务帐户,如果它们遭到入侵,可以撤销。
现在我们可以创建一个使用 ssh 密钥引用 secret 的pod,并在一个卷中使用它:
```yaml
kind: Pod
apiVersion: v1
metadata:
name: secret-test-pod
labels:
name: secret-test
spec:
volumes:
- name: secret-volume
secret:
secretName: ssh-key-secret
containers:
- name: ssh-test-container
image: mySshImage
volumeMounts:
- name: secret-volume
readOnly: true
mountPath: "/etc/secret-volume"
```
当容器中的命令运行时,密钥的片段将可在以下目录:
```shell
/etc/secret-volume/ssh-publickey
/etc/secret-volume/ssh-privatekey
```
然后容器可以自由使用密钥数据建立一个 ssh 连接。
### 使用案例:包含 prod/test 凭据的 pod
下面的例子说明一个 pod 消费一个包含 prod 凭据的 secret,另一个 pod 使用测试环境凭据消费 secret。
创建 secret
```shell
$ kubectl create secret generic prod-db-secret --from-literal=username=produser --from-literal=password=Y4nys7f11
secret "prod-db-secret" created
$ kubectl create secret generic test-db-secret --from-literal=username=testuser --from-literal=password=iluvtests
secret "test-db-secret" created
```
创建 pod
```yaml
apiVersion: v1
kind: List
items:
- kind: Pod
apiVersion: v1
metadata:
name: prod-db-client-pod
labels:
name: prod-db-client
spec:
volumes:
- name: secret-volume
secret:
secretName: prod-db-secret
containers:
- name: db-client-container
image: myClientImage
volumeMounts:
- name: secret-volume
readOnly: true
mountPath: "/etc/secret-volume"
- kind: Pod
apiVersion: v1
metadata:
name: test-db-client-pod
labels:
name: test-db-client
spec:
volumes:
- name: secret-volume
secret:
secretName: test-db-secret
containers:
- name: db-client-container
image: myClientImage
volumeMounts:
- name: secret-volume
readOnly: true
mountPath: "/etc/secret-volume"
```
这两个容器将在其文件系统上显示以下文件,其中包含每个容器环境的值:
```shell
/etc/secret-volume/username
/etc/secret-volume/password
```
请注意,两个 pod 的 spec 配置中仅有一个字段有所不同;这有助于使用普通的 pod 配置模板创建具有不同功能的 pod。您可以使用两个 service account 进一步简化基本 pod spec:一个名为 `prod-user` 拥有 `prod-db-secret` ,另一个称为 `test-user` 拥有 `test-db-secret` 。然后,pod spec 可以缩短为,例如:
```yaml
kind: Pod
apiVersion: v1
metadata:
name: prod-db-client-pod
labels:
name: prod-db-client
spec:
serviceAccount: prod-db-client
containers:
- name: db-client-container
image: myClientImage
```
### 使用案例:Secret 卷中以点号开头的文件
为了将数据“隐藏”起来(即文件名以点号开头的文件),简单地说让该键以一个点开始。例如,当如下 secret 被挂载到卷中:
```yaml
kind: Secret
apiVersion: v1
metadata:
name: dotfile-secret
data:
.secret-file: dmFsdWUtMg0KDQo=
---
kind: Pod
apiVersion: v1
metadata:
name: secret-dotfiles-pod
spec:
volumes:
- name: secret-volume
secret:
secretName: dotfile-secret
containers:
- name: dotfile-test-container
image: k8s.gcr.io/busybox
command:
- ls
- "-l"
- "/etc/secret-volume"
volumeMounts:
- name: secret-volume
readOnly: true
mountPath: "/etc/secret-volume"
```
`Secret-volume` 将包含一个单独的文件,叫做 `.secret-file``dotfile-test-container``/etc/secret-volume/.secret-file` 路径下将有该文件。
**注意**
以点号开头的文件在 `ls -l` 的输出中被隐藏起来了;列出目录内容时,必须使用 `ls -la` 才能查看它们。
### 使用案例:Secret 仅对 pod 中的一个容器可见
考虑以下一个需要处理 HTTP 请求的程序,执行一些复杂的业务逻辑,然后使用 HMAC 签署一些消息。因为它具有复杂的应用程序逻辑,所以在服务器中可能会出现一个未被注意的远程文件读取漏洞,这可能会将私钥暴露给攻击者。
这可以在两个容器中分为两个进程:前端容器,用于处理用户交互和业务逻辑,但无法看到私钥;以及可以看到私钥的签名者容器,并且响应来自前端的简单签名请求(例如通过本地主机网络)。
使用这种分割方法,攻击者现在必须欺骗应用程序服务器才能进行任意的操作,这可能比使其读取文件更难。
<!-- TODO: explain how to do this while still using automation. -->
## 最佳实践
### 客户端使用 Secret API
当部署与 secret API 交互的应用程序时,应使用诸如 [RBAC](https://kubernetes.io/docs/admin/authorization/rbac/) 之类的 [授权策略](https://kubernetes.io/docs/admin/authorization/) 来限制访问。
Secret 中的值对于不同的环境来说重要性可能不同,例如对于 Kubernetes 集群内部(例如 service account 令牌)和集群外部来说就不一样。即使一个应用程序可以理解其期望的与之交互的 secret 有多大的能力,但是同一命名空间中的其他应用程序却可能不这样认为。
由于这些原因,在命名空间中 `watch``list` secret 的请求是非常强大的功能,应该避免这样的行为,因为列出 secret 可以让客户端检查所有 secret 是否在该命名空间中。在群集中`watch``list` 所有 secret 的能力应该只保留给最有特权的系统级组件。
需要访问 secrets API 的应用程序应该根据他们需要的 secret 执行 `get` 请求。这允许管理员限制对所有 secret 的访问,同时设置 [白名单访问](https://kubernetes.io/docs/admin/authorization/rbac/#referring-to-resources) 应用程序需要的各个实例。
为了提高循环获取的性能,客户端可以设计引用 secret 的资源,然后 `watch` 资源,在引用更改时重新请求 secret。此外,还提出了一种 [”批量监控“ API](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/bulk_watch.md) 来让客户端 `watch` 每个资源,该功能可能会在将来的 Kubernetes 版本中提供。
## 安全属性
### 保护
因为 `secret` 对象可以独立于使用它们的 `pod` 而创建,所以在创建、查看和编辑 pod 的流程中 secret 被暴露的风险较小。系统还可以对 `secret` 对象采取额外的预防措施,例如避免将其写入到磁盘中可能的位置。
只有当节点上的 pod 需要用到该 secret 时,该 secret 才会被发送到该节点上。它不会被写入磁盘,而是存储在 tmpfs 中。一旦依赖于它的 pod 被删除,它就被删除。
在大多数 Kubernetes 项目维护的发行版中,用户与 API server 之间的通信以及从 API server 到 kubelet 的通信都受到 SSL/TLS 的保护。通过这些通道传输时,secret 受到保护。
节点上的 secret 数据存储在 tmpfs 卷中,因此不会传到节点上的其他磁盘。
同一节点上的很多个 pod 可能拥有多个 secret。但是,只有 pod 请求的 secret 在其容器中才是可见的。因此,一个 pod 不能访问另一个 Pod 的 secret。
Pod 中有多个容器。但是,pod 中的每个容器必须请求其挂载卷中的 secret 卷才能在容器内可见。这可以用于 [在 Pod 级别构建安全分区](#使用案例secret-仅对-pod-中的一个容器可见)。
### 风险
- API server 的 secret 数据以纯文本的方式存储在 etcd 中,因此:
- 管理员应该限制 admin 用户访问 etcd
- API server 中的 secret 数据位于 etcd 使用的磁盘上;管理员可能希望在不再使用时擦除/粉碎 etcd 使用的磁盘
- 如果您将 secret 数据编码为 base64 的清单(JSON 或 YAML)文件,共享该文件或将其检入代码库,这样的话该密码将会被泄露。 Base64 编码不是一种加密方式,一样也是纯文本。
- 应用程序在从卷中读取 secret 后仍然需要保护 secret 的值,例如不会意外记录或发送给不信任方。
- 可以创建和使用 secret 的 pod 的用户也可以看到该 secret 的值。即使 API server 策略不允许用户读取 secret 对象,用户也可以运行暴露 secret 的 pod。
- 如果运行了多个副本,那么这些 secret 将在它们之间共享。默认情况下,etcd 不能保证与 SSL/TLS 的对等通信,尽管可以进行配置。
- 目前,任何节点的 root 用户都可以通过模拟 kubelet 来读取 API server 中的任何 secret。只有向实际需要它们的节点发送 secret 才能限制单个节点的根漏洞的影响,该功能还在计划中。
@@ -1,62 +0,0 @@
---
approvers:
- mikedanese
- thockin
title: 容器环境变量
content_template: templates/concept
---
{{% capture overview %}}
本文介绍容器环境中对容器可用的资源。
{{% /capture %}}
{{< toc >}}
{{% capture body %}}
## 容器环境
Kubernetes 容器环境为容器提供了几类重要的资源:
* 一个文件系统,其中包含一个[镜像](/docs/concepts/containers/images/)和一个或多个[](/docs/concepts/storage/volumes/)。
* 容器本身相关的信息。
* 集群中其他对象相关的信息。
### 容器信息
容器的 *hostname* 是容器所在的 Pod 名称。 可以通过 `hostname` 命令或调用 libc 中的
[`gethostname`](http://man7.org/linux/man-pages/man2/gethostname.2.html)
函数来获取。
Pod 名称和名字空间可以通过
[downward API](/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/) 以环境变量方式访问。
与 Docker 镜像中静态指定的环境变量一样,Pod 中用户定义的环境变量也可用于容器。
### 集群信息
容器创建时运行的所有服务的列表都会作为环境变量提供给容器。
这些环境变量与 Docker 链接语法相匹配。
对一个名为 *foo*,映射到名为 *bar* 的容器端口的服务,
会定义如下变量:
```shell
FOO_SERVICE_HOST=<服务所在的主机地址>
FOO_SERVICE_PORT=<服务所启用的端口>
```
服务具有专用 IP 地址,如果启用了 [DNS 插件](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/dns/),还可以在容器中通过 DNS 进行访问。
{{% /capture %}}
{{% capture whatsnext %}}
* 查看[容器生命周期挂钩(hooks](/docs/concepts/containers/container-lifecycle-hooks/)了解更多。
* 获取[为容器生命周期事件附加处理程序](/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/)的实践经验。
{{% /capture %}}
@@ -1,297 +0,0 @@
---
approvers:
- erictune
- thockin
title: 镜像
content_template: templates/concept
---
{{% capture overview %}}
在Kubernetes pod中引用镜像前,请创建Docker镜像,并将之推送到镜像仓库中。
容器的“image”属性支持和Docker命令行相同的语法,包括私有仓库和标签。
{{% /capture %}}
{{< toc >}}
{{% capture body %}}
## 升级镜像
默认的镜像拉取策略是“IfNotPresent”,在镜像已经存在的情况下,kubelet将不在去拉取镜像。
如果总是想要拉取镜像,必须设置拉取策略为“Always”或者设置镜像标签为“:latest”。
如果没有指定镜像的标签,它会被假定为“:latest”,同时拉取策略为“Always”。
注意应避免使用“:latest”标签,参见 [Best Practices for Configuration](/docs/concepts/configuration/overview/#container-images) 获取更多信息。
## 使用私有仓库
从私有仓库读取镜像时可能需要密钥。
凭证可以用以下方式提供:
- 使用Google Container Registry
- 每个集群分别配置
- 在Google Compute Engine 或者 Google Kubernetes Engine上自动配置
- 所有的pod都能读取项目的私有仓库
- 使用 AWS EC2 Container Registry (ECR)
- 使用IAM角色和策略来控制对ECR仓库的访问
- 自动刷新ECR的登录凭证
- 使用 Azure Container Registry (ACR)
- 配置节点对私有仓库认证
- 所有的pod都可以读取已配置的私有仓库
- 需要集群管理员提供node的配置
- 提前拉取镜像
- 所有的pod都可以使用node上缓存的镜像
- 需要以root进入node操作
- pod上指定 ImagePullSecrets
- 只有提供了密钥的pod才能接入私有仓库
下面将详细描述每一项
### 使用 Google Container Registry
Kuberetes运行在Google Compute Engine (GCE)时原生支持[Google ContainerRegistry (GCR)]
(https://cloud.google.com/tools/container-registry/)。如果kubernetes集群运行在GCE
或者Google Kubernetes Engine 上,使用镜像全名(e.g. gcr.io/my_project/image:tag)即可。
集群中的所有pod都会有读取这个仓库中镜像的权限。
Kubelet将使用实例的Google service account向GCR认证。实例的service account拥有
`https://www.googleapis.com/auth/devstorage.read_only`,所以它可以从项目的GCR拉取,但不能推送。
### 使用 AWS EC2 Container Registry
当Node是AWS EC2实例时,Kubernetes原生支持[AWS EC2 ContainerRegistry](https://aws.amazon.com/ecr/)。
在pod定义中,使用镜像全名即可 (例如 `ACCOUNT.dkr.ecr.REGION.amazonaws.com/imagename:tag`)
集群中可以创建pod的用户都可以使用ECR中的任意镜像运行pod。
Kubelet会获取并且定期刷新ECR的凭证。它需要以下权限
- `ecr:GetAuthorizationToken`
- `ecr:BatchCheckLayerAvailability`
- `ecr:GetDownloadUrlForLayer`
- `ecr:GetRepositoryPolicy`
- `ecr:DescribeRepositories`
- `ecr:ListImages`
- `ecr:BatchGetImage`
要求:
- 必须使用kubelet 1.2.0及以上版本
- 如果node在区域A,而镜像仓库在另一个区域B,需要1.3.0及以上版本
- 区域中必须提供ECR
诊断
- 验证是否满足以上要求
- 获取工作站的$REGION (例如 `us-west-2`)凭证,使用凭证SSH到主机手动运行docker,检查是否运行
- 验证kublet是否使用参数`--cloud-provider=aws`运行
- 检查kubelet日志(例如 `journalctl -u kubelet`),是否有类似的行
- `plugins.go:56] Registering credential provider: aws-ecr-key`
- `provider.go:91] Refreshing cache for provider: *aws_credentials.ecrProvider`
### 使用 Azure Container Registry (ACR)
当使用[Azure Container Registry](https://azure.microsoft.com/en-us/services/container-registry/)时,可以使用admin user或者service principal认证。
任何一种情况,认证都通过标准的Dokcer authentication完成。本指南假设使用[azure-cli](https://github.com/azure/azure-cli)
命令行工具。
首先,需要创建仓库并获取凭证,完整的文档请参考
[Azure container registry documentation](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-azure-cli)。
创建好容器仓库后,可以使用以下凭证登录:
* `DOCKER_USER` : service principal, or admin username
* `DOCKER_PASSWORD`: service principal password, or admin user password
* `DOCKER_REGISTRY_SERVER`: `${some-registry-name}.azurecr.io`
* `DOCKER_EMAIL`: `${some-email-address}`
填写以上变量后,就可以
[configure a Kubernetes Secret and use it to deploy a Pod](/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod)。
### 配置Nodes对私有仓库认证
**注意:** 如果在Google Kubernetes Engine 上运行集群,每个节点上都会有`.dockercfg`文件,它包含对Google Container Registry的凭证。
不需要使用以下方法。
**注意:** 如果在AWS EC2上运行集群且准备使用EC2 Container Registry (ECR),每个node上的kubelet会管理和更新ECR的登录凭证。不需要使用以下方法。
**注意:** 该方法适用于能够对节点进行配置的情况。该方法在GCE及在其它能自动配置节点的云平台上并不适合。
Docker将私有仓库的密钥存放在`$HOME/.dockercfg``$HOME/.docker/config.json`文件中。Kubelet上,docker会使用root用户`$HOME`路径下的密钥。
推荐如下步骤来为node配置私有仓库。以下示例在PC或笔记本电脑中操作
1.对于想要使用的每一种凭证,运行 `docker login [server]`,它会更新`$HOME/.docker/config.json`
1.使用编辑器查看`$HOME/.docker/config.json`,保证文件中包含了想要使用的凭证
1.获取node列表,例如
- 如果使用node名称,`nodes=$(kubectl get nodes -o jsonpath='{range.items[*].metadata}{.name} {end}')`
- 如果使用node IP `nodes=$(kubectl get nodes -o jsonpath='{range .items[*].status.addresses[?(@.type=="ExternalIP")]}{.address} {end}')`
1.将本地的`.docker/config.json`拷贝到每个节点root用户目录下
- 例如: `for n in $nodes; do scp ~/.docker/config.json root@$n:/root/.docker/config.json; done`
创建使用私有仓库的pod来验证,例如:
```yaml
$ cat <<EOF > /tmp/private-image-test-1.yaml
apiVersion: v1
kind: Pod
metadata:
name: private-image-test-1
spec:
containers:
- name: uses-private-image
image: $PRIVATE_IMAGE_NAME
imagePullPolicy: Always
command: [ "echo", "SUCCESS" ]
EOF
$ kubectl create -f /tmp/private-image-test-1.yaml
pod "private-image-test-1" created
$
```
如果一切正常,一段时间后,可以看到:
```shell
$ kubectl logs private-image-test-1
SUCCESS
```
如果失败,则可以看到:
```shell
$ kubectl describe pods/private-image-test-1 | grep "Failed"
Fri, 26 Jun 2015 15:36:13 -0700 Fri, 26 Jun 2015 15:39:13 -0700 19 {kubelet node-i2hq} spec.containers{uses-private-image} failed Failed to pull image "user/privaterepo:v1": Error: image user/privaterepo:v1 not found
```
必须保证集群中所有的节点都有相同的`.docker/config.json`文件。否则,pod会在一些节点上正常运行而在另一些节点上无法启动
例如,如果使用node自动弹缩,那么每个实例模板都需要包含`.docker/config.json`,或者挂载一个包含这个文件的驱动器。
`.docker/config.json`中配置了私有仓库密钥后,所有pod都会能读取私有仓库中的镜像。
**该方法已在6月26日的docker私有仓库和kubernetes v0.19.3上测试通过,其他私有仓库,如quay.io应该也可以运行,但未测试过。**
### 提前拉取镜像
**注意:** 如果在Google Kubernetes Engine 上运行集群,每个节点上都会有`.dockercfg`文件,它包含对Google Container Registry的凭证。
不需要使用以下方法。
**注意:** 该方法适用于能够对节点进行配置的情况。该方法在GCE及在其它能自动配置节点的云平台上并不适合。
默认情况下,kubelet会尝试从指定的仓库拉取每一个镜像
但是,如果容器属性`imagePullPolicy`设置为`IfNotPresent`或者`Never`
则会使用本地镜像(优先、唯一、分别)。
如果依赖提前拉取镜像代替仓库认证,
必须保证集群所有的节点提前拉取的镜像是相同的。
可以用于提前载入指定的镜像以提高速度,或者作为私有仓库认证的一种替代方案
所有的pod都可以使用node上缓存的镜像
### 在pod上指定ImagePullSecrets
**注意:** Google Kubernetes Engine,GCE及其他自动创建node的云平台上,推荐使用本方法。
Kubernetes支持在pod中指定仓库密钥。
#### 使用Docker Config创建Secret
运行以下命令,将大写字母代替为合适的值
```shell
$ kubectl create secret docker-registry myregistrykey --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL
secret "myregistrykey" created.
```
如果需要接入多个仓库,可以为每个仓库创建一个secret。
当为pod拉取镜像时,kubelet会将`imagePullSecrets`合入一个独立虚拟的`.docker/config.json`
Pod只能引用和它相同namespace的ImagePullSecrets
所以需要为每一个namespace做配置
#### 通过kubectl创建secret
由于某种原因在一个`.docker/config.json`中需要多个项或者需要非上述命令给出的secret,可以[create a secret using
json or yaml](/docs/user-guide/secrets/#creating-a-secret-manually)。
请保证:
- 设置data项的名称为`.dockerconfigjson`
- 使用base64对docker文件编码,并将字符准确黏贴到`data[".dockerconfigjson"]`
- 设置`type``kubernetes.io/dockerconfigjson`
示例:
```yaml
apiVersion: v1
kind: Secret
metadata:
name: myregistrykey
namespace: awesomeapps
data:
.dockerconfigjson: UmVhbGx5IHJlYWxseSByZWVlZWVlZWVlZWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGx5eXl5eXl5eXl5eXl5eXl5eXl5eSBsbGxsbGxsbGxsbGxsbG9vb29vb29vb29vb29vb29vb29vb29vb29vb25ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubmdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2cgYXV0aCBrZXlzCg==
type: kubernetes.io/dockerconfigjson
```
如果收到错误消息`error: no objects passed to create`,可能是 base64 编码后的字符串非法。
如果收到错误消息类似`Secret "myregistrykey" is invalid: data[.dockerconfigjson]: invalid value ...`,
说明数据已经解码成功,但是不满足`.docker/config.json`文件的语法。
#### 在pod中引用imagePullSecrets
现在,在创建pod时,可以在pod定义中增加`imagePullSecrets`小节来引用secret
```yaml
apiVersion: v1
kind: Pod
metadata:
name: foo
namespace: awesomeapps
spec:
containers:
- name: foo
image: janedoe/awesomeapp:v1
imagePullSecrets:
- name: myregistrykey
```
对每一个使用私有仓库的pod,都需要做以上操作。
也可以在[serviceAccount](/docs/user-guide/service-accounts) 资源中设置imagePullSecrets自动设置`imagePullSecrets`
`imagePullSecrets`可以和每个node上的`.docker/config.json`一起使用,他们将共同生效。本方法在Google Kubernetes Engine
也能正常工作。
### 使用场景
配置私有仓库有多种方案,以下是一些常用场景和建议的解决方案。
1. 集群运行非专有(例如 开源镜像)镜像。镜像不需要隐藏。
- 使用Docker hub上的公有镜像
- 无需配置
- 在GCE/GKE上会自动使用高稳定性和高速的Docker hub的本地mirror
1. 集群运行一些专有镜像,这些镜像对外部公司需要隐藏,对集群用户可见
- 使用自主的私有[Docker registry](https://docs.docker.com/registry/).
- 可以放置在[Docker Hub](https://hub.docker.com/account/signup/),或者其他地方。
- 按照上面的描述,在每个节点手动配置.docker/config.json
- 或者,在防火墙内运行一个内置的私有仓库,并开放读取权限
- 不需要配置Kubenretes
- 或者,在GCE/GKE上时,使用项目的Google Container Registry
- 使用集群自动伸缩比手动配置node工作的更好
- 或者,在更改集群node配置不方便时,使用`imagePullSecrets`
1. 使用专有镜像的集群,有更严格的访问控制
- 保证[AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages)开启。否则,所有的pod都可以使用镜像
- 将敏感数据存储在"Secret"资源中,而不是打包在镜像里
1. 多租户集群下,每个租户需要自己的私有仓库
- 保证[AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages)开启。否则,所有租户的所有的pod都可以使用镜像
- 私有仓库开启认证
- 为每个租户获取仓库凭证,放置在secret中,并发布到每个租户的namespace下
- 租户将secret增加到每个namespace下的imagePullSecrets中
{{% /capture %}}
@@ -1,125 +0,0 @@
---
approvers:
- lavalamp
title: Kubernetes 组件
redirect_from:
- "/docs/admin/cluster-components/"
- "/docs/admin/cluster-components.html"
content_template: templates/concept
---
{{% capture overview %}}
本文档概述了 Kubernetes 所需的各种二进制组件, 用于提供齐全的功能。
{{% /capture %}}
{{% capture body %}}
## Master 组件
Master 组件提供的集群控制。Master 组件对集群做出全局性决策(例如:调度),以及检测和响应集群事件(副本控制器的`replicas`字段不满足时,启动新的副本)。
Master 组件可以在集群中的任何节点上运行。然而,为了简单起见,设置脚本通常会启动同一个虚拟机上所有 Master 组件,并且不会在此虚拟机上运行用户容器。请参阅[构建高可用性群集](/docs/admin/high-availability)示例对于多主机 VM 的设置。
### API服务器
[kube-apiserver](/docs/admin/kube-apiserver)对外暴露了Kubernetes API。它是的 Kubernetes 前端控制层。它被设计为水平扩展,即通过部署更多实例来缩放。请参阅[构建高可用性群集](/docs/admin/high-availability).
### etcd
[etcd](/docs/admin/etcd) 用于 Kubernetes 的后端存储。所有集群数据都存储在此处,始终为您的 Kubernetes 集群的 etcd 数据提供备份计划。
### kube-controller-manager
[kube-controller-manager](/docs/admin/kube-controller-manager)运行控制器,它们是处理集群中常规任务的后台线程。逻辑上,每个控制器是一个单独的进程,但为了降低复杂性,它们都被编译成独立的可执行文件,并在单个进程中运行。
这些控制器包括:
* 节点控制器: 当节点移除时,负责注意和响应。
* 副本控制器: 负责维护系统中每个副本控制器对象正确数量的 Pod。
* 端点控制器: 填充 端点(Endpoints) 对象(即连接 Services & Pods)。
* 服务帐户和令牌控制器: 为新的命名空间创建默认帐户和 API 访问令牌.
### 云控制器管理器-(cloud-controller-manager)
cloud-controller-manager 是用于与底层云提供商交互的控制器。云控制器管理器可执行组件是 Kubernetes v1.6 版本中引入的 Alpha 功能。
cloud-controller-manager 仅运行云提供商特定的控制器循环。您必须在 kube-controller-manager 中禁用这些控制器循环,您可以通过在启动 kube-controller-manager 时将 `--cloud-provider` 标志设置为`external`来禁用控制器循环。
cloud-controller-manager 允许云供应商代码和 Kubernetes 核心彼此独立发展,在以前的版本中,Kubernetes 核心代码依赖于云提供商特定的功能代码。在未来的版本中,云供应商的特定代码应由云供应商自己维护,并与运行 Kubernetes 的云控制器管理器相关联。
以下控制器具有云提供商依赖关系:
* 节点控制器: 用于检查云提供商以确定节点是否在云中停止响应后被删除
* 路由控制器: 用于在底层云基础架构中设置路由
* 服务控制器: 用于创建,更新和删除云提供商负载平衡器
* 数据卷控制器: 用于创建,附加和装载卷,并与云提供商进行交互以协调卷
### 调度器 - (kube-scheduler)
[kube-scheduler](/docs/admin/kube-scheduler)监视没有分配节点的新创建的 Pod,选择一个节点供他们运行。
### 插件(addons)
插件是实现集群功能的 Pod 和 Service。 Pods 可以通过 DeploymentsReplicationControllers 管理。插件对象本身是受命名空间限制的,被创建于 `kube-system` 命名空间。
Addon 管理器用于创建和维护附加资源. 有关详细信息,请参阅[here](http://releases.k8s.io/HEAD/cluster/addons).
#### DNS
虽然其他插件并不是必需的,但所有 Kubernetes 集群都应该具有[Cluster DNS](/docs/concepts/services-networking/dns-pod-service/),许多示例依赖于它。
Cluster DNS 是一个 DNS 服务器,和您部署环境中的其他 DNS 服务器一起工作,为 Kubernetes 服务提供DNS记录。
Kubernetes 启动的容器自动将 DNS 服务器包含在 DNS 搜索中。
#### 用户界面
dashboard 提供了集群状态的只读概述。有关更多信息,请参阅[使用HTTP代理访问 Kubernetes API](/docs/tasks/access-kubernetes-api/http-proxy-access-api/)
#### 容器资源监控
[容器资源监控](/docs/user-guide/monitoring)将关于容器的一些常见的时间序列度量值保存到一个集中的数据库中,并提供用于浏览这些数据的界面。
#### 集群层面日志
[集群层面日志](/docs/user-guide/logging/overview) 机制负责将容器的日志数据保存到一个集中的日志存储中,该存储能够提供搜索和浏览接口。
## 节点组件
节点组件在每个节点上运行,维护运行的 Pod 并提供 Kubernetes 运行时环境。
### kubelet
[kubelet](/docs/admin/kubelet)是主要的节点代理,它监测已分配给其节点的 Pod(通过 apiserver 或通过本地配置文件),提供如下功能:
* 挂载 Pod 所需要的数据卷(Volume)。
* 下载 Pod 的 secrets。
* 通过 Docker 运行(或通过 rkt)运行 Pod 的容器。
* 周期性的对容器生命周期进行探测。
* 如果需要,通过创建 *镜像 PodMirror Pod* 将 Pod 的状态报告回系统的其余部分。
* 将节点的状态报告回系统的其余部分。
### kube-proxy
[kube-proxy](/docs/admin/kube-proxy)通过维护主机上的网络规则并执行连接转发,实现了Kubernetes服务抽象。
### docker
Docker 用于运行容器。
### rkt
支持 rkt 运行容器作为 Docker 的试验性替代方案。
### supervisord
supervisord 是一个轻量级的进程监控系统,可以用来保证 kubelet 和 docker 运行。
### fluentd
fluentd 是一个守护进程,它有助于提供[集群层面日志](#cluster-level-logging) 集群层面的日志。
{{% /capture %}}
@@ -1,98 +0,0 @@
# Kubernetes API 概述
[API协议文档](https://git.k8s.io/community/contributors/devel/api-conventions.md)描述了主系统和API概念。
[API参考文档](https://kubernetes.io/docs/reference)描述了API整体规范。
[访问文档](https://kubernetes.io/docs/admin/accessing-the-api)讨论了通过远程访问API的相关问题。
Kubernetes API是系统描述性配置的基础。 [Kubectl](https://kubernetes.io/docs/user-guide/kubectl/) 命令行工具被用于创建、更新、删除、获取API对象。
Kubernetes 通过API资源存储自己序列化状态(现在存储在[etcd](https://coreos.com/docs/distributed-configuration/getting-started-with-etcd/))。
Kubernetes 被分成多个组件,各部分通过API相互交互。
## API 变更
根据经验,任何成功的系统都需要随着新的用例出现或现有用例发生变化的情况下,进行相应的进化与调整。因此,我们希望Kubernetes API也可以保持持续的进化和调整。同时,在较长一段时间内,我们也希望与现有客户端版本保持良好的向下兼容性。一般情况下,增加新的API资源和资源字段不会导致向下兼容性问题发生;但如果是需要删除一个已有的资源或者字段,那么必须通过[API废弃流程](/docs/reference/deprecation-policy/)来进行。
参考[API变更文档](https://git.k8s.io/community/contributors/devel/api_changes.md),了解兼容性变更的要素以及如何变更API的流程。
## API Swagger 定义
Kubernetes使用 [Swagger v1.2](http://swagger.io/) 与 [OpenAPI](https://www.openapis.org/) 记录API所有细节。Kubernetes apiserver (即 “master”)提供了一个API接口用于获取 Swagger 1.2 Kubernetes API 规范 ,默认在路径 **`/swaggerapi`** 下。你也可以为API服务器可以设置 **`-enable-swagger-ui=true`** 来启用API界面,之后使用浏览器访问 **`/swagger-ui`**,浏览API文档。
Kubernetes从1.4版本开始,也支持通过 [**`/swagger.json`**](https://git.k8s.io/kubernetes/api/openapi-spec/swagger.json) 来访问 OpenAPI 形式给出的API文档。在我们将 Swagger v1.2 切换到 OpenAPI (aka Swagger v2.0) 期间,一部分工具(如 kubectl 与 swagger-ui )会继续使用 1.2 版本规范。Kubernetes 1.5 版本中的 OpenAPI 规范是 Beta 版本。
Kubernetes实现了另一种基于Protobuf的序列化格式,该格式主要用于集群内通信,并在[设计方案](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/protobuf.md)中进行了说明,每个模式的IDL文件位于定义API对象的Go软件包中。
## API 版本
为了使删除字段或者重构资源表示更加容易,Kubernetes 支持多个API版本。每一个版本都在不同API路径下,例如 **`/api/v1`** 或者 **`/apis/extensions/v1beta1`**。
我们选择在API级别进行版本化,而不是在资源或字段级别进行版本化,以确保API提供清晰,一致的系统资源和行为视图,并控制对已废止的API和/或实验性API的访问。 JSON和Protobuf序列化模式遵循架构更改的相同准则 - 下面的所有描述都同时适用于这两种格式。
请注意,API版本控制和软件版本控制只有间接相关性。 [API和发行版本建议](https://git.k8s.io/community/contributors/design-proposals/release/versioning.md)描述了API版本与软件版本之间的关系。
不同的API版本名称意味着不同级别的软件稳定性和支持程度。 每个级别的标准在[API变更文档](https://git.k8s.io/community/contributors/devel/api_changes.md#alpha-beta-and-stable-versions)中有更详细的描述。 内容主要概括如下:
* Alpha 测试版本:
* 版本名称包含了 **`alpha`** (例如:**`v1alpha1`**)。
* 可能是有缺陷的。启用该功能可能会带来隐含的问题,默认情况是关闭的。
* 支持的功能可能在没有通知的情况下随时删除。
* API的更改可能会带来兼容性问题,但是在后续的软件发布中不会有任何通知。
* 由于bugs风险的增加和缺乏长期的支持,推荐在短暂的集群测试中使用。
* Beta 测试版本:
* 版本名称包含了 **`beta`** (例如: **`v2beta3`**)。
* 代码已经测试过。启用该功能被认为是安全的,功能默认已启用。
* 所有已支持的功能不会被删除,细节可能会发生变化。
* 对象的模式和/或语义可能会在后续的beta测试版或稳定版中以不兼容的方式进行更改。 发生这种情况时,我们将提供迁移到下一个版本的说明。 这可能需要删除、编辑和重新创建API对象。执行编辑操作时需要谨慎行事,这可能需要停用依赖该功能的应用程序。
* 建议仅用于非业务关键型用途,因为后续版本中可能存在不兼容的更改。 如果您有多个可以独立升级的群集,则可以放宽此限制。
* **请尝试我们的 beta 版本功能并且给出反馈!一旦他们退出 beta 测试版,我们可能不会做出更多的改变。**
* 稳定版本:
* 版本名称是 **`vX`**,其中 **`X`** 是整数。
* 功能的稳定版本将出现在许多后续版本的发行软件中。
## API 组
为了更容易地扩展Kubernetes API,我们实现了[*`API组`*](https://git.k8s.io/community/contributors/design-proposals/api-machinery/api-group.md)。 API组在REST路径和序列化对象的 **`apiVersion`** 字段中指定。
目前有几个API组正在使用中:
1. 核心组(通常被称为遗留组)位于REST路径 **`/api/v1`** 并使用 **`apiVersionv1`**。
1. 指定的组位于REST路径 **`/apis/$GROUP_NAME/$VERSION`**,并使用 **`apiVersion$GROUP_NAME/$VERSION`**(例如 **`apiVersionbatch/v1`**)。 在[Kubernetes API参考](https://kubernetes.io/docs/reference/)中可以看到支持的API组的完整列表。
社区支持使用以下两种方式来提供自定义资源对API进行扩展[自定义资源](https://kubernetes.io/docs/concepts/api-extension/custom-resources/)
1. [CustomResourceDefinition](https://kubernetes.io/docs/tasks/access-kubernetes-api/extend-api-custom-resource-definitions/)适用于具有非常基本的CRUD需求的用户。
1. 即将推出:需要全套Kubernetes API语义的用户可以实现自己的apiserver,并使用[聚合器](https://git.k8s.io/community/contributors/design-proposals/api-machinery/aggregated-api-servers.md)为客户提供无缝的服务。
## 启用 API 组
某些资源和API组默认情况下处于启用状态。 可以通过在apiserver上设置 **`--runtime-config`** 来启用或禁用它们。 **`--runtime-config`** 接受逗号分隔的值。 例如:要禁用batch/v1,请设置**`--runtime-config=batch/v1=false`**,以启用batch/v2alpha1,请设置**`--runtime-config=batch/v2alpha1`**。 该标志接受描述apiserver的运行时配置的逗号分隔的一组键值对。
重要:启用或禁用组或资源需要重新启动apiserver和控制器管理器来使得 **`--runtime-config`** 更改生效。
## 启用组中资源
DaemonSetsDeploymentsHorizontalPodAutoscalersIngressJobs和ReplicaSets是默认启用的。 其他扩展资源可以通过在apiserver上设置 **`--runtime-config`** 来启用。**`--runtime-config`** 接受逗号分隔的值。
例如:要禁用 Deployment 和 Ingress,请设置 **`--runtime-config=extensions/v1beta1/deployments=false,extensions/v1beta1/ingress=false`**
@@ -1,118 +0,0 @@
---
approvers:
- k8s-merge-robot
title: 认识 Kubernetes?
---
Kubernetes 是一个跨主机集群的 [开源的容器调度平台,它可以自动化应用容器的部署、扩展和操作](http://www.slideshare.net/BrianGrant11/wso2con-us-2015-kubernetes-a-platform-for-automating-deployment-scaling-and-operations) , 提供以容器为中心的基础架构。
使用 Kubernetes, 您可以快速高效地响应客户需求:
- 快速、可预测地部署您的应用程序
- 拥有即时扩展应用程序的能力
- 不影响现有业务的情况下,无缝地发布新功能
- 优化硬件资源,降低成本
我们的目标是构建一个软件和工具的生态系统,以减轻您在公共云或私有云运行应用程序的负担。
#### Kubernetes 具有如下特点:
* **便携性**: 无论公有云、私有云、混合云还是多云架构都全面支持
* **可扩展**: 它是模块化、可插拔、可挂载、可组合的,支持各种形式的扩展
* **自修复**: 它可以自保持应用状态、可自重启、自复制、自缩放的,通过声明式语法提供了强大的自修复能力
Kubernetes 项目由 Google 公司在 2014 年启动。Kubernetes 建立在 [Google 公司超过十余年的运维经验基础之上,Google 所有的应用都运行在容器上](https://research.google.com/pubs/pub43438.html), 再与社区中最好的想法和实践相结合,也许它是最受欢迎的容器平台。
##### 准备好 [开始](/docs/getting-started-guides/)?
## 为什么是容器?
查看此文,可以了解为什么您要使用容器 [容器](http://aucouranton.com/2014/06/13/linux-containers-parallels-lxc-openvz-docker-and-more/)?
![为什么是容器?](/images/docs/why_containers.svg)
*传统* 部署应用程序的方式,一般是使用操作系统自带的包管理器在主机上安装应用依赖,之后再安装应用程序。这无疑将应用程序的可执行文件、应用的配置、应用依赖库和应用的生命周期与宿主机操作系统进行了紧耦合。在此情境下,可以通过构建不可改变的虚拟机镜像版本,通过镜像版本实现可预测的发布和回滚,但是虚拟机实在是太重量级了,且镜像体积太庞大,便捷性差。
*新方式* 是基于操作系统级虚拟化而不是硬件级虚拟化方法来部署容器。容器之间彼此隔离并与主机隔离:它们具有自己的文件系统,不能看到彼此的进程,并且它们所使用的计算资源是可以被限制的。它们比虚拟机更容易构建,并且因为它们与底层基础架构和主机文件系统隔离,所以它们可以跨云和操作系统快速分发。
由于容器体积小且启动快,因此可以在每个容器镜像中打包一个应用程序。这种一对一的应用镜像关系拥有很多好处。使用容器,不需要与外部的基础架构环境绑定, 因为每一个应用程序都不需要外部依赖,更不需要与外部的基础架构环境依赖。完美解决了从开发到生产环境的一致性问题。
容器同样比虚拟机更加透明,这有助于监测和管理。尤其是容器进程的生命周期由基础设施管理,而不是由容器内的进程对外隐藏时更是如此。最后,每个应用程序用容器封装,管理容器部署就等同于管理应用程序部署。
容器优点摘要:
* **敏捷的应用程序创建和部署**:
与虚拟机镜像相比,容器镜像更容易创建,提升了硬件的使用效率。
* **持续开发、集成和部署**:
提供可靠与频繁的容器镜像构建和部署,可以很方便及快速的回滚 (由于镜像不可变性).
* **关注开发与运维的分离**:
在构建/发布时创建应用程序容器镜像,从而将应用程序与基础架构分离。
* **开发、测试和生产环境的一致性**:
在笔记本电脑上运行与云中一样。
* **云和操作系统的可移植性**:
可运行在 Ubuntu, RHEL, CoreOS, 内部部署, Google 容器引擎和其他任何地方。
* **以应用为中心的管理**:
提升了操作系统的抽象级别,以便在使用逻辑资源的操作系统上运行应用程序。
* **松耦合、分布式、弹性伸缩 [微服务](http://martinfowler.com/articles/microservices.html)**:
应用程序被分成更小,更独立的部分,可以动态部署和管理 - 而不是巨型单体应用运行在专用的大型机上。
* **资源隔离**:
通过对应用进行资源隔离,可以很容易的预测应用程序性能。
* **资源利用**:
高效率和高密度。
#### 为什么我们需要 Kubernetes,它能做什么?
最基础的,Kubernetes 可以在物理或虚拟机集群上调度和运行应用程序容器。然而,Kubernetes 还允许开发人员从物理和虚拟机'脱离',从以**主机为中心**的基础架构转移到以**容器为中心**的基础架构,这样可以提供容器固有的全部优点和益处。Kubernetes 提供了基础设施来构建一个真正以**容器为中心**的开发环境。
Kubernetes 满足了生产中运行应用程序的许多常见的需求,例如:
* [Pod](/docs/user-guide/pods/) 提供复合应用并保留一个应用一个容器的容器模型,
* [挂载外部存储](/docs/user-guide/volumes/),
* [Secret管理](/docs/user-guide/secrets/),
* [应用健康检查](/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/),
* [副本应用实例](/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 控制面 (Control Plane)](/docs/admin/cluster-components) 是构建在相同的 [APIs](/docs/api/) 上面,开发人员和用户都可以用。用户可以编写自己的控制器, [调度器](https://github.com/kubernetes/kubernetes/tree/{{< param "githubbranch" >}}/docs/devel/scheduler.md)等等,如果这么做,根据新加的[自定义 API](https://github.com/kubernetes/kubernetes/blob/{{< param "githubbranch" >}}/docs/design/extending-api.md) ,可以扩展当前的通用 [CLI 命令行工具](/docs/user-guide/kubectl-overview/)。
这种 [设计](https://git.k8s.io/community/contributors/design-proposals/architecture/principles.md) 使得许多其他系统可以构建在 Kubernetes 之上。
#### Kubernetes 不是什么:
Kubernetes 不是一个传统意义上,包罗万象的 PaaS (平台即服务) 系统。我们保留用户选择的自由,这非常重要。
* Kubernetes 不限制支持的应用程序类型。 它不插手应用程序框架 (例如 [Wildfly](http://wildfly.org/)), 不限制支持的语言运行时 (例如 Java, Python, Ruby),只迎合符合 [12种因素的应用程序](http://12factor.net/),也不区分"应用程序"与"服务"。Kubernetes 旨在支持极其多样化的工作负载,包括无状态、有状态和数据处理工作负载。如果应用可以在容器中运行,它就可以在 Kubernetes 上运行。
* Kubernetes 不提供作为内置服务的中间件 (例如 消息中间件)、数据处理框架 (例如 Spark)、数据库 (例如 mysql)或集群存储系统 (例如 Ceph)。这些应用可以运行在 Kubernetes 上。
* Kubernetes 没有提供点击即部署的服务市场
* Kubernetes 从源代码到镜像都是非垄断的。 它不部署源代码且不构建您的应用程序。 持续集成 (CI) 工作流是一个不同用户和项目都有自己需求和偏好的领域。 所以我们支持在 Kubernetes 分层的 CI 工作流,但不指定它应该如何工作。
* Kubernetes 允许用户选择其他的日志记录,监控和告警系统 (虽然我们提供一些集成作为概念验证)
* Kubernetes 不提供或授权一个全面的应用程序配置语言/系统 (例如 [jsonnet](https://github.com/google/jsonnet)).
* Kubernetes 不提供也不采用任何全面机器配置、保养、管理或自我修复系统
另一方面,许多 PaaS 系统*运行*在 Kubernetes 上面,例如 [Openshift](https://github.com/openshift/origin), [Deis](http://deis.io/), and [Eldarion](http://eldarion.cloud/)。 您也可以自定义您自己的 PaaS, 与您选择的 CI 系统集成,或与 Kubernetes 一起使用: 将您的容器镜像部署到 Kubernetes。
由于 Kubernetes 在应用级别而不仅仅在硬件级别上运行,因此它提供 PaaS 产品通用的一些功能,例如部署、扩展、负载均衡、日志记录、监控等。但是,Kubernetes 不是单一的,默认解决方案是可选和可插拔的。
此处,Kubernetes 不仅仅是一个 "编排系统";它消除了编排的需要。 "编排"技术定义的是工作流的执行: 从 A 到 B,然后到 C。相反,Kubernetes 是包括一套独立、可组合的控制过程,通过声明式语法使其连续地朝着期望状态驱动当前状态。 不需要告诉它具体从 A 到 C 的过程,只要告诉到 C 的状态即可。 也不需要集中控制;该方法更类似于"编舞"。这使得系统更容易使用并且更强大、更可靠、更具弹性和可扩展性。
#### *Kubernetes* 是什么意思? K8s?
名称 **Kubernetes** 源于希腊语,意为 "舵手" 或 "飞行员" 且是英文 "governor" 和 ["cybernetic"](http://www.etymonline.com/index.php?term=cybernetics)的词根。 **K8s** 是通过将 8 个字母 "ubernete" 替换为 8 而导出的缩写。另外,在中文里,k8s 的发音与 Kubernetes 的发音比较接近。
@@ -1,99 +0,0 @@
---
title: 理解 Kubernetes 对象
redirect_from:
- "/docs/concepts/abstractions/overview/"
- "/docs/concepts/abstractions/overview.html"
content_template: templates/concept
---
{{% capture overview %}}
本页说明了 Kubernetes 对象在 Kubernetes API 中是如何表示的,以及如何在 `.yaml` 格式的文件中表示。
{{% /capture %}}
{{% capture body %}}
## 理解 Kubernetes 对象
在 Kubernetes 系统中,*Kubernetes 对象* 是持久化的实体。Kubernetes 使用这些实体去表示整个集群的状态。特别地,它们描述了如下信息:
* 哪些容器化应用在运行(以及在哪个 Node 上)
* 可以被应用使用的资源
* 关于应用运行时表现的策略,比如重启策略、升级策略,以及容错策略
Kubernetes 对象是 “目标性记录” —— 一旦创建对象,Kubernetes 系统将持续工作以确保对象存在。通过创建对象,本质上是在告知 Kubernetes 系统,所需要的集群工作负载看起来是什么样子的,这就是 Kubernetes 集群的 **期望状态(Desired State**
操作 Kubernetes 对象 —— 是否创建、修改,或者删除 —— 需要使用 [Kubernetes API](https://git.k8s.io/community/contributors/devel/api-conventions.md)。比如,当使用 `kubectl` 命令行接口时,CLI 会执行必要的 Kubernetes API 调用,也可以在程序中直接调用 Kubernetes API。为了实现该目标,Kubernetes 当前提供了一个 `golang` [客户端库](https://github.com/kubernetes/client-go)
,其它语言库(例如[Python](https://github.com/kubernetes-incubator/client-python))也正在开发中。
### 对象规约(Spec)与状态(Status)
每个 Kubernetes 对象包含两个嵌套的对象字段,它们负责管理对象的配置:对象 *spec* 和 对象 *status*
*spec* 是必需的,它描述了对象的 *期望状态(Desired State* —— 希望对象所具有的特征。
*status* 描述了对象的 *实际状态(Actual State*,它是由 Kubernetes 系统提供和更新的。在任何时刻,Kubernetes 控制面一直努力地管理着对象的实际状态以与期望状态相匹配。
例如,Kubernetes Deployment 对象能够表示运行在集群中的应用。
当创建 Deployment 时,可能需要设置 Deployment 的规约,以指定该应用需要有 3 个副本在运行。
Kubernetes 系统读取 Deployment 规约,并启动我们所期望的该应用的 3 个实例 —— 更新状态以与规约相匹配。
如果那些实例中有失败的(一种状态变更),Kubernetes 系统通过修正来响应规约和状态之间的不一致 —— 这种情况,会启动一个新的实例来替换。
关于对象 spec、status 和 metadata 的更多信息,查看 [Kubernetes API 约定](https://git.k8s.io/community/contributors/devel/api-conventions.md)。
### 描述 Kubernetes 对象
当创建 Kubernetes 对象时,必须提供对象的规约,用来描述该对象的期望状态,以及关于对象的一些基本信息(例如名称)。
当使用 Kubernetes API 创建对象时(或者直接创建,或者基于`kubectl`),API 请求必须在请求体中包含 JSON 格式的信息。
**大多数情况下,需要在 .yaml 文件中为 `kubectl` 提供这些信息**
`kubectl` 在发起 API 请求时,将这些信息转换成 JSON 格式。
这里有一个 `.yaml` 示例文件,展示了 Kubernetes Deployment 的必需字段和对象规约:
{{< code file="nginx-deployment.yaml" >}}
使用类似于上面的 `.yaml` 文件来创建 Deployment,一种方式是使用 `kubectl` 命令行接口(CLI)中的 [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create) 命令,将 `.yaml` 文件作为参数。下面是一个示例:
```shell
$ kubectl create -f docs/user-guide/nginx-deployment.yaml --record
```
输出类似如下这样:
```shell
deployment "nginx-deployment" created
```
### 必需字段
在想要创建的 Kubernetes 对象对应的 `.yaml` 文件中,需要配置如下的字段:
* `apiVersion` - 创建该对象所使用的 Kubernetes API 的版本
* `kind` - 想要创建的对象的类型
* `metadata` - 帮助识别对象唯一性的数据,包括一个 `name` 字符串、UID 和可选的 `namespace`
也需要提供对象的 `spec` 字段。对象 `spec` 的精确格式对每个 Kubernetes 对象来说是不同的,包含了特定于该对象的嵌套字段。[Kubernetes API 参考](/docs/api/)能够帮助我们找到任何我们想创建的对象的 spec 格式。
{{% /capture %}}
{{% capture whatsnext %}}
* 了解最重要的基本 Kubernetes 对象,例如 [Pod](/docs/concepts/abstractions/pod/)。
{{% /capture %}}
@@ -1,16 +0,0 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
@@ -1,219 +0,0 @@
---
approvers:
- pweil-
title: Pod 安全策略
redirect_from:
- "/docs/user-guide/pod-security-policy/"
- "/docs/user-guide/pod-security-policy/index.html"
---
`PodSecurityPolicy` 类型的对象能够控制,是否可以向 Pod 发送请求,该 Pod 能够影响被应用到 Pod 和容器的 `SecurityContext`
查看 [Pod 安全策略建议](https://git.k8s.io/community/contributors/design-proposals/security-context-constraints.md) 获取更多信息。
{{< toc >}}
## 什么是 Pod 安全策略?
_Pod 安全策略_ 是集群级别的资源,它能够控制 Pod 运行的行为,以及它具有访问什么的能力。
`PodSecurityPolicy` 对象定义了一组条件,指示 Pod 必须按系统所能接受的顺序运行。
它们允许管理员控制如下方面:
| 控制面 | 字段名称 |
| ------------------------------------------------------------- | --------------------------------- |
| 已授权容器的运行 | `privileged` |
| 为容器添加默认的一组能力 | `defaultAddCapabilities` |
| 为容器去掉某些能力 | `requiredDropCapabilities` |
| 容器能够请求添加某些能力 | `allowedCapabilities` |
| 控制卷类型的使用 | [`volumes`](#controlling-volumes) |
| 主机网络的使用 | [`hostNetwork`](#host-network) |
| 主机端口的使用 | `hostPorts` |
| 主机 PID namespace 的使用 | `hostPID` |
| 主机 IPC namespace 的使用 | `hostIPC` |
| 主机路径的使用 | [`allowedHostPaths`](#allowed-host-paths) |
| 容器的 SELinux 上下文 | [`seLinux`](#selinux) |
| 用户 ID | [`runAsUser`](#runasuser) |
| 配置允许的补充组 | [`supplementalGroups`](#supplementalgroups) |
| 分配拥有 Pod 数据卷的 FSGroup | [`fsGroup`](#fsgroup) |
| 必须使用一个只读的 root 文件系统 | `readOnlyRootFilesystem` |
_Pod 安全策略_ 由设置和策略组成,它们能够控制 Pod 访问的安全特征。这些设置分为如下三类:
- *基于布尔值控制*:这种类型的字段默认为最严格限制的值。
- *基于被允许的值集合控制*:这种类型的字段会与这组值进行对比,以确认值被允许。
- *基于策略控制*:设置项通过一种策略提供的机制来生成该值,这种机制能够确保指定的值落在被允许的这组值中。
### RunAsUser
- *MustRunAs* - 必须配置一个 `range`。使用该范围内的第一个值作为默认值。验证是否不在配置的该范围内。
- *MustRunAsNonRoot* - 要求提交的 Pod 具有非零 `runAsUser` 值,或在镜像中定义了 `USER` 环境变量。不提供默认值。
- *RunAsAny* - 没有提供默认值。允许指定任何 `runAsUser`
### SELinux
- *MustRunAs* - 如果没有使用预分配的值,必须配置 `seLinuxOptions`。默认使用 `seLinuxOptions`。验证 `seLinuxOptions`
- *RunAsAny* - 没有提供默认值。允许任意指定的 `seLinuxOptions` ID。
### SupplementalGroups
- *MustRunAs* - 至少需要指定一个范围。默认使用第一个范围的最小值。验证所有范围的值。
- *RunAsAny* - 没有提供默认值。允许任意指定的 `supplementalGroups` ID。
### FSGroup
- *MustRunAs* - 至少需要指定一个范围。默认使用第一个范围的最小值。验证在第一个范围内的第一个 ID。
- *RunAsAny* - 没有提供默认值。允许任意指定的 `fsGroup` ID。
### 控制卷
通过设置 PSP 卷字段,能够控制具体卷类型的使用。当创建一个卷的时候,与该字段相关的已定义卷可以允许设置如下值:
1. azureFile
1. azureDisk
1. flocker
1. flexVolume
1. hostPath
1. emptyDir
1. gcePersistentDisk
1. awsElasticBlockStore
1. gitRepo
1. secret
1. nfs
1. iscsi
1. glusterfs
1. persistentVolumeClaim
1. rbd
1. cinder
1. cephFS
1. downwardAPI
1. fc
1. configMap
1. vsphereVolume
1. quobyte
1. projected
1. portworxVolume
1. scaleIO
1. storageos
1. \* (allow all volumes)
对新的 PSP,推荐允许的卷的最小集合包括:configMap、downwardAPI、emptyDir、persistentVolumeClaim、secret 和 projected。
### 主机网络
- *HostPorts* 默认为 `empty``HostPortRange` 列表通过 `min`(包含) and `max`(包含) 来定义,指定了被允许的主机端口。
### 允许的主机路径
- *AllowedHostPaths* 是一个被允许的主机路径前缀的白名单。空值表示所有的主机路径都可以使用。
## 许可
包含 `PodSecurityPolicy`_许可控制_,允许控制集群资源的创建和修改,基于这些资源在集群范围内被许可的能力。
许可使用如下的方式为 Pod 创建最终的安全上下文:
1. 检索所有可用的 PSP。
1. 生成在请求中没有指定的安全上下文设置的字段值。
1. 基于可用的策略,验证最终的设置。
如果某个策略能够匹配上,该 Pod 就被接受。如果请求与 PSP 不匹配,则 Pod 被拒绝。
Pod 必须基于 PSP 验证每个字段。
## 创建 Pod 安全策略
下面是一个 Pod 安全策略的例子,所有字段的设置都被允许:
{{< code file="psp.yaml" >}}
下载示例文件可以创建该策略,然后执行如下命令:
```shell
$ kubectl create -f ./psp.yaml
podsecuritypolicy "permissive" created
```
## 获取 Pod 安全策略列表
获取已存在策略列表,使用 `kubectl get`
```shell
$ kubectl get psp
NAME PRIV CAPS SELINUX RUNASUSER FSGROUP SUPGROUP READONLYROOTFS VOLUMES
permissive false [] RunAsAny RunAsAny RunAsAny RunAsAny false [*]
privileged true [] RunAsAny RunAsAny RunAsAny RunAsAny false [*]
restricted false [] RunAsAny MustRunAsNonRoot RunAsAny RunAsAny false [emptyDir secret downwardAPI configMap persistentVolumeClaim projected]
```
## 修改 Pod 安全策略
通过交互方式修改策略,使用 `kubectl edit`
```shell
$ kubectl edit psp permissive
```
该命令将打开一个默认文本编辑器,在这里能够修改策略。
## 删除 Pod 安全策略
一旦不再需要一个策略,很容易通过 `kubectl` 删除它:
```shell
$ kubectl delete psp permissive
podsecuritypolicy "permissive" deleted
```
## 启用 Pod 安全策略
为了能够在集群中使用 Pod 安全策略,必须确保满足如下条件:
1. 已经启用 API 类型 `extensions/v1beta1/podsecuritypolicy`(仅对 1.6 之前的版本)
1. 已经启用许可控制器 `PodSecurityPolicy`
1. 已经定义了自己的策略
## 使用 RBAC
在 Kubernetes 1.5 或更新版本,可以使用 PodSecurityPolicy 来控制,对基于用户角色和组的已授权容器的访问。访问不同的 PodSecurityPolicy 对象,可以基于认证来控制。基于 Deployment、ReplicaSet 等创建的 Pod,限制访问 PodSecurityPolicy 对象,[Controller Manager](/docs/admin/kube-controller-manager/) 必须基于安全 API 端口运行,并且不能够具有超级用户权限。
PodSecurityPolicy 认证使用所有可用的策略,包括创建 Pod 的用户,Pod 上指定的服务账户(Service Acount)。当 Pod 基于 Deployment、ReplicaSet 创建时,它是创建 Pod 的 Controller Manager,所以如果基于非安全 API 端口运行,允许所有的 PodSecurityPolicy 对象,并且不能够有效地实现细分权限。用户访问给定的 PSP 策略有效,仅当是直接部署 Pod 的情况。更多详情,查看 [PodSecurityPolicy RBAC 示例](https://git.k8s.io/kubernetes/examples/podsecuritypolicy/rbac/README.md),当直接部署 Pod 时,应用 PodSecurityPolicy 控制基于角色和组的已授权容器的访问 。
-18
View File
@@ -1,18 +0,0 @@
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
name: permissive
spec:
seLinux:
rule: RunAsAny
supplementalGroups:
rule: RunAsAny
runAsUser:
rule: RunAsAny
fsGroup:
rule: RunAsAny
hostPorts:
- min: 8000
max: 8080
volumes:
- '*'
@@ -1,75 +0,0 @@
---
approvers:
- rickypai
- thockin
title: 使用 HostAliases 向 Pod /etc/hosts 文件添加条目
redirect_from:
- "/docs/user-guide/add-entries-to-pod-etc-hosts-with-host-aliases/"
- "/docs/user-guide/add-entries-to-pod-etc-hosts-with-host-aliases.md"
---
{{< toc >}}
当 DNS 配置以及其它选项不合理的时候,通过向 Pod 的 /etc/hosts 文件中添加条目,可以在 Pod 级别覆盖对主机名的解析。在 1.7 版本,用户可以通过 PodSpec 的 HostAliases 字段来添加这些自定义的条目。
建议通过使用 HostAliases 来进行修改,因为该文件由 Kubelet 管理,并且可以在 Pod 创建/重启过程中被重写。
## 默认 hosts 文件内容
让我们从一个 Nginx Pod 开始,给该 Pod 分配一个 IP:
```
$ kubectl get pods --output=wide
NAME READY STATUS RESTARTS AGE IP NODE
nginx 1/1 Running 0 13s 10.200.0.4 worker0
```
默认,hosts 文件只包含 ipv4 和 ipv6 的样板内容,像 `localhost` 和主机名称。
## 通过 HostAliases 增加额外的条目
除了默认的样板内容,我们可以向 hosts 文件添加额外的条目,将 `foo.local``bar.local` 解析为`127.0.0.1`,将 `foo.remote``bar.remote` 解析为 `10.1.2.3`,我们可以在 `.spec.hostAliases` 下为 Pod 添加 HostAliases。
{{< code file="hostaliases-pod.yaml" >}}
hosts 文件的内容看起来类似如下这样:
```
$ kubectl logs hostaliases-pod
# Kubernetes-managed hosts file.
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
fe00::0 ip6-mcastprefix
fe00::1 ip6-allnodes
fe00::2 ip6-allrouters
10.200.0.4 hostaliases-pod
127.0.0.1 foo.local
127.0.0.1 bar.local
10.1.2.3 foo.remote
10.1.2.3 bar.remote
```
在最下面额外添加了一些条目。
## 限制
在 1.7 版本,如果 Pod 启用 hostNetwork,那么将不能使用这个特性,因为 kubelet 只管理非 hostNetwork 类型 Pod 的 hosts 文件。目前正在讨论要改变这个情况。
## 为什么 Kubelet 管理 hosts文件?
kubelet [管理](https://github.com/kubernetes/kubernetes/issues/14633) Pod 中每个容器的 hosts 文件,避免 Docker 在容器已经启动之后去 [修改](https://github.com/moby/moby/issues/17190) 该文件。
因为该文件是托管性质的文件,无论容器重启或 Pod 重新调度,用户修改该 hosts 文件的任何内容,都会在 Kubelet 重新安装后被覆盖。因此,不建议修改该文件的内容。
@@ -1,371 +0,0 @@
---
approvers:
- caesarxuchao
- lavalamp
- thockin
title: 应用连接到 Service
---
{{< toc >}}
## Kubernetes 连接容器模型
既然有了一个持续运行、可复制的应用,我们就能够将它暴露到网络上。
在讨论 Kubernetes 网络连接的方式之前,非常值得与 Docker 中 “正常” 方式的网络进行对比。
默认情况下,Docker 使用私有主机网络连接,只能与同在一台机器上的容器进行通信。
为了实现容器的跨节点通信,必须在机器自己的 IP 上为这些容器分配端口,为容器进行端口转发或者代理。
多个开发人员之间协调端口的使用很难做到规模化,那些难以控制的集群级别的问题,都会交由用户自己去处理。
Kubernetes 假设 Pod 可与其它 Pod 通信,不管它们在哪个主机上。
我们给 Pod 分配属于自己的集群私有 IP 地址,所以没必要在 Pod 或映射到的容器的端口和主机端口之间显式地创建连接。
这表明了在 Pod 内的容器都能够连接到本地的每个端口,集群中的所有 Pod 不需要通过 NAT 转换就能够互相看到。
文档的剩余部分将详述如何在一个网络模型之上运行可靠的服务。
该指南使用一个简单的 Nginx server 来演示并证明谈到的概念。同样的原则也体现在一个更加完整的 [Jenkins CI 应用](http://blog.kubernetes.io/2015/07/strong-simple-ssl-for-kubernetes.html) 中。
## 在集群中暴露 Pod
我们在之前的示例中已经做过,然而再让我重试一次,这次聚焦在网络连接的视角。
创建一个 Nginx Pod,指示它具有一个容器端口的说明:
{{< code file="run-my-nginx.yaml" >}}
这使得可以从集群中任何一个节点来访问它。检查节点,该 Pod 正在运行:
```shell
$ kubectl create -f ./run-my-nginx.yaml
$ kubectl get pods -l run=my-nginx -o wide
NAME READY STATUS RESTARTS AGE IP NODE
my-nginx-3800858182-jr4a2 1/1 Running 0 13s 10.244.3.4 kubernetes-minion-905m
my-nginx-3800858182-kna2y 1/1 Running 0 13s 10.244.2.5 kubernetes-minion-ljyd
```
检查 Pod 的 IP 地址:
```shell
$ kubectl get pods -l run=my-nginx -o yaml | grep podIP
podIP: 10.244.3.4
podIP: 10.244.2.5
```
应该能够通过 ssh 登录到集群中的任何一个节点上,使用 curl 也能调通所有 IP 地址。
需要注意的是,容器不会使用该节点上的 80 端口,也不会使用任何特定的 NAT 规则去路由流量到 Pod 上。
这意味着可以在同一个节点上运行多个 Pod,使用相同的容器端口,并且可以从集群中任何其他的 Pod 或节点上使用 IP 的方式访问到它们。
像 Docker 一样,端口能够被发布到主机节点的接口上,但是出于网络模型的原因应该从根本上减少这种用法。
如果对此好奇,可以获取更多关于 [如何实现网络模型](/docs/concepts/cluster-administration/networking/#how-to-achieve-this) 的内容。
## 创建 Service
我们有 Pod 在一个扁平的、集群范围的地址空间中运行 Nginx 服务,可以直接连接到这些 Pod,但如果某个节点死掉了会发生什么呢?
Pod 会终止,Deployment 将创建新的 Pod,且使用不同的 IP。这正是 Service 要解决的问题。
Kubernetes Service 从逻辑上定义了运行在集群中的一组 Pod,这些 Pod 提供了相同的功能。
当每个 Service 创建时,会被分配一个唯一的 IP 地址(也称为 clusterIP)。
这个 IP 地址与一个 Service 的生命周期绑定在一起,当 Service 存在的时候它也不会改变。
可以配置 Pod 使它与 Service 进行通信,Pod 知道与 Service 通信将被自动地负载均衡到该 Service 中的某些 Pod 上。
可以使用 `kubectl expose` 命令为 2个 Nginx 副本创建一个 Service
```shell
$ kubectl expose deployment/my-nginx
service "my-nginx" exposed
```
这等价于使用 `kubectl create -f` 命令创建,对应如下的 yaml 文件:
{{< code file="nginx-svc.yaml" >}}
上述规约将创建一个 Service,对应具有标签 `run: my-nginx` 的 Pod,目标 TCP 端口 80,并且在一个抽象的 Service 端口(`targetPort`:容器接收流量的端口;`port`:抽象的 Service 端口,可以使任何其它 Pod 访问该 Service 的端口)上暴露。
查看 [Service API 对象](/docs/api-reference/{{< param "version" >}}/#service-v1-core) 了解 Service 定义支持的字段列表。
```shell
$ kubectl get svc my-nginx
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
my-nginx 10.0.162.149 <none> 80/TCP 21s
```
正如前面所提到的,一个 Service 由一组 backend Pod 组成。这些 Pod 通过 `endpoints` 暴露出来。
Service Selector 将持续评估,结果被 POST 到一个名称为 `my-nginx` 的 Endpoint 对象上。
当 Pod 终止后,它会自动从 Endpoint 中移除,新的能够匹配上 Service Selector 的 Pod 将自动地被添加到 Endpoint 中。
检查该 Endpoint,注意到 IP 地址与在第一步创建的 Pod 是相同的。
```shell
$ kubectl describe svc my-nginx
Name: my-nginx
Namespace: default
Labels: run=my-nginx
Selector: run=my-nginx
Type: ClusterIP
IP: 10.0.162.149
Port: <unset> 80/TCP
Endpoints: 10.244.2.5:80,10.244.3.4:80
Session Affinity: None
No events.
$ kubectl get ep my-nginx
NAME ENDPOINTS AGE
my-nginx 10.244.2.5:80,10.244.3.4:80 1m
```
现在,能够从集群中任意节点上使用 curl 命令请求 Nginx Service `<CLUSTER-IP>:<PORT>`
注意 Service IP 完全是虚拟的,它从来没有走过网络,如果对它如何工作的原理感到好奇,可以阅读更多关于 [服务代理](/docs/user-guide/services/#virtual-ips-and-service-proxies) 的内容。
## 访问 Service
Kubernetes 支持两种主要的服务发现模式 —— 环境变量和 DNS。前者在单个节点上可用使用,然而后者必须使用 [kube-dns 集群插件](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/dns/README.md)。
### 环境变量
当 Pod 在 Node 上运行时,kubelet 会为每个活跃的 Service 添加一组环境变量。这会有一个顺序的问题。想了解为何,检查正在运行的 Nginx Pod 的环境变量(Pod 名称将不会相同):
```shell
$ kubectl exec my-nginx-3800858182-jr4a2 -- printenv | grep SERVICE
KUBERNETES_SERVICE_HOST=10.0.0.1
KUBERNETES_SERVICE_PORT=443
KUBERNETES_SERVICE_PORT_HTTPS=443
```
注意,还没有谈及到 Service。这是因为创建副本先于 Service。
这样做的另一个缺点是,调度器可能在同一个机器上放置所有 Pod,如果该机器宕机则所有的 Service 都会挂掉。
正确的做法是,我们杀掉 2 个 Pod,等待 Deployment 去创建它们。
这次 Service 会 *先于* 副本存在。这将实现调度器级别的 Service,能够使 Pod 分散创建(假定所有的 Node 都具有同样的容量),以及正确的环境变量:
```shell
$ kubectl scale deployment my-nginx --replicas=0; kubectl scale deployment my-nginx --replicas=2;
$ kubectl get pods -l run=my-nginx -o wide
NAME READY STATUS RESTARTS AGE IP NODE
my-nginx-3800858182-e9ihh 1/1 Running 0 5s 10.244.2.7 kubernetes-minion-ljyd
my-nginx-3800858182-j4rm4 1/1 Running 0 5s 10.244.3.8 kubernetes-minion-905m
```
可能注意到,Pod 具有不同的名称,因为它们被杀掉后并被重新创建。
```shell
$ kubectl exec my-nginx-3800858182-e9ihh -- printenv | grep SERVICE
KUBERNETES_SERVICE_PORT=443
MY_NGINX_SERVICE_HOST=10.0.162.149
KUBERNETES_SERVICE_HOST=10.0.0.1
MY_NGINX_SERVICE_PORT=80
KUBERNETES_SERVICE_PORT_HTTPS=443
```
### DNS
Kubernetes 提供了一个 DNS 插件 Service,它使用 skydns 自动为其它 Service 指派 DNS 名字。
如果它在集群中处于运行状态,可以通过如下命令来检查:
```shell
$ kubectl get services kube-dns --namespace=kube-system
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns 10.0.0.10 <none> 53/UDP,53/TCP 8m
```
如果没有在运行,可以 [启用它](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/dns/README.md#how-do-i-configure-it)。
本段剩余的内容,将假设已经有一个 Service,它具有一个长久存在的 IP(my-nginx),一个为该 IP 指派名称的 DNS 服务器(kube-dns 集群插件),所以可以通过标准做法,使在集群中的任何 Pod 都能与该 Service 通信(例如:gethostbyname)。
让我们运行另一个 curl 应用来进行测试:
```shell
$ kubectl run curl --image=radial/busyboxplus:curl -i --tty
Waiting for pod default/curl-131556218-9fnch to be running, status is Pending, pod ready: false
Hit enter for command prompt
```
然后,按回车并执行命令 `nslookup my-nginx`
```shell
[ root@curl-131556218-9fnch:/ ]$ nslookup my-nginx
Server: 10.0.0.10
Address 1: 10.0.0.10
Name: my-nginx
Address 1: 10.0.162.149
```
## Service 安全
到现在为止,我们只在集群内部访问了 Nginx server。在将 Service 暴露到 Internet 之前,我们希望确保通信信道是安全的。对于这可能需要:
* https 自签名证书(除非已经有了一个识别身份的证书)
* 使用证书配置的 Nginx server
* 使证书可以访问 Pod 的[秘钥](/docs/user-guide/secrets)
可以从 [Nginx https 示例](https://github.com/kubernetes/kubernetes/tree/{{< param "githubbranch" >}}/examples/https-nginx/) 获取所有上述内容,简明示例如下:
```shell
$ make keys secret KEY=/tmp/nginx.key CERT=/tmp/nginx.crt SECRET=/tmp/secret.json
$ kubectl create -f /tmp/secret.json
secret "nginxsecret" created
$ kubectl get secrets
NAME TYPE DATA AGE
default-token-il9rc kubernetes.io/service-account-token 1 1d
nginxsecret Opaque 2 1m
```
现在修改 Nginx 副本,启动一个使用在秘钥中的证书的 https 服务器和 Servcie,都暴露端口(80 和 443):
{{< code file="nginx-secure-app.yaml" >}}
关于 nginx-secure-app manifest 值得注意的点如下:
- 它在相同的文件中包含了 Deployment 和 Service 的规格
- [Nginx server](https://github.com/kubernetes/kubernetes/tree/{{< param "githubbranch" >}}/examples/https-nginx/default.conf) 处理 80 端口上的 http 流量,以及 443 端口上的 https 流量,Nginx Service 暴露了这两个端口。
- 每个容器访问挂载在 /etc/nginx/ssl 卷上的秘钥。这需要在 Nginx server 启动之前安装好。
```shell
$ kubectl delete deployments,svc my-nginx; kubectl create -f ./nginx-secure-app.yaml
```
这时可以从任何节点访问到 Nginx server。
```shell
$ kubectl get pods -o yaml | grep -i podip
podIP: 10.244.3.5
node $ curl -k https://10.244.3.5
...
<h1>Welcome to nginx!</h1>
```
注意最后一步我们是如何提供 `-k` 参数执行 curl命令的,这是因为在证书生成时,我们不知道任何关于运行 Nginx 的 Pod 的信息,所以不得不在执行 curl 命令时忽略 CName 不匹配的情况。
通过创建 Service,我们连接了在证书中的 CName 与在 Service 查询时被 Pod使用的实际 DNS 名字。
让我们从一个 Pod 来测试(为了简化使用同一个秘钥,Pod 仅需要使用 nginx.crt 去访问 Service):
{{< code file="curlpod.yaml" >}}
```shell
$ kubectl create -f ./curlpod.yaml
$ kubectl get pods -l app=curlpod
NAME READY STATUS RESTARTS AGE
curl-deployment-1515033274-1410r 1/1 Running 0 1m
$ kubectl exec curl-deployment-1515033274-1410r -- curl https://my-nginx --cacert /etc/nginx/ssl/nginx.crt
...
<title>Welcome to nginx!</title>
...
```
## 暴露 Service
对我们应用的某些部分,可能希望将 Service 暴露在一个外部 IP 地址上。
Kubernetes 支持两种实现方式:NodePort 和 LoadBalancer。
在上一段创建的 Service 使用了 `NodePort`,因此 Nginx https 副本已经就绪,如果使用一个公网 IP,能够处理 Internet 上的流量。
```shell
$ kubectl get svc my-nginx -o yaml | grep nodePort -C 5
uid: 07191fb3-f61a-11e5-8ae5-42010af00002
spec:
clusterIP: 10.0.162.149
ports:
- name: http
nodePort: 31704
port: 8080
protocol: TCP
targetPort: 80
- name: https
nodePort: 32453
port: 443
protocol: TCP
targetPort: 443
selector:
run: my-nginx
$ kubectl get nodes -o yaml | grep ExternalIP -C 1
- address: 104.197.41.11
type: ExternalIP
allocatable:
--
- address: 23.251.152.56
type: ExternalIP
allocatable:
...
$ curl https://<EXTERNAL-IP>:<NODE-PORT> -k
...
<h1>Welcome to nginx!</h1>
```
让我们重新创建一个 Service,使用一个云负载均衡器,只需要将 `my-nginx` Service 的 `Type``NodePort` 改成 `LoadBalancer`
```shell
$ kubectl edit svc my-nginx
$ kubectl get svc my-nginx
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
my-nginx 10.0.162.149 162.222.184.144 80/TCP,81/TCP,82/TCP 21s
$ curl https://<EXTERNAL-IP> -k
...
<title>Welcome to nginx!</title>
```
`EXTERNAL-IP` 列指定的 IP 地址是在公网上可用的。`CLUSTER-IP` 只在集群/私有云网络中可用。
注意,在 AWS 上类型 `LoadBalancer` 创建一个 ELB,它使用主机名(比较长),而不是 IP。
它太长以至于不能适配标准 `kubectl get svc` 的输出,事实上需要通过执行 `kubectl describe service my-nginx` 命令来查看它。
可以看到类似如下内容:
```shell
$ kubectl describe service my-nginx
...
LoadBalancer Ingress: a320587ffd19711e5a37606cf4a74574-1142138393.us-east-1.elb.amazonaws.com
...
```
## 进一步阅读
Kubernetes 也支持联合 Service,能够跨多个集群和云提供商,为 Service 提供逐步增强的可用性、更优的容错、更好的可伸缩性。
查看 [联合 Service 用户指南](/docs/concepts/cluster-administration/federation-service-discovery/) 获取更进一步信息。
@@ -1,25 +0,0 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: curl-deployment
spec:
replicas: 1
template:
metadata:
labels:
app: curlpod
spec:
volumes:
- name: secret-volume
secret:
secretName: nginxsecret
containers:
- name: curlpod
command:
- sh
- -c
- while true; do sleep 1; done
image: radial/busyboxplus:curl
volumeMounts:
- mountPath: /etc/nginx/ssl
name: secret-volume
@@ -1,419 +0,0 @@
---
approvers:
- davidopp
- thockin
title: DNS Pod 与 Service
redirect_from:
- "/docs/admin/dns/"
- "/docs/admin/dns.html"
---
## 介绍
Kubernetes 从 1.3 版本起, DNS 是内置的服务,通过插件管理器 [集群插件](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/README.md) 自动被启动。
Kubernetes DNS 在集群中调度 DNS Pod 和 Service ,配置 kubelet 以通知个别容器使用 DNS Service 的 IP 解析 DNS 名字。
## 怎样获取 DNS 名字?
在集群中定义的每个 Service(包括 DNS 服务器自身)都会被指派一个 DNS 名称。
默认,一个客户端 Pod 的 DNS 搜索列表将包含该 Pod 自己的 Namespace 和集群默认域。
通过如下示例可以很好地说明:
假设在 Kubernetes 集群的 Namespace `bar` 中,定义了一个Service `foo`
运行在Namespace `bar` 中的一个 Pod,可以简单地通过 DNS 查询 `foo` 来找到该 Service。
运行在 Namespace `quux` 中的一个 Pod 可以通过 DNS 查询 `foo.bar` 找到该 Service。
## 支持的 DNS 模式
下面各段详细说明支持的记录类型和布局。
如果任何其它的布局、名称或查询,碰巧也能够使用,这就需要研究下它们的实现细节,以免后续修改它们又不能使用了。
### Service
#### A 记录
“正常” Service(除了 Headless Service)会以 `my-svc.my-namespace.svc.cluster.local` 这种名字的形式被指派一个 DNS A 记录。这会解析成该 Service 的 Cluster IP。
“Headless” Service(没有Cluster IP)也会以 `my-svc.my-namespace.svc.cluster.local` 这种名字的形式被指派一个 DNS A 记录。
不像正常 Service,它会解析成该 Service 选择的一组 Pod 的 IP。
希望客户端能够使用这一组 IP,否则就使用标准的 round-robin 策略从这一组 IP 中进行选择。
#### SRV 记录
命名端口需要创建 SRV 记录,这些端口是正常 Service或 [Headless
Services](/docs/concepts/services-networking/service/#headless-services) 的一部分。
对每个命名端口,SRV 记录具有 `_my-port-name._my-port-protocol.my-svc.my-namespace.svc.cluster.local` 这种形式。
对普通 Service,这会被解析成端口号和 CNAME:`my-svc.my-namespace.svc.cluster.local`
对 Headless Service,这会被解析成多个结果,Service 对应的每个 backend Pod 各一个,包含 `auto-generated-name.my-svc.my-namespace.svc.cluster.local` 这种形式 Pod 的端口号和 CNAME。
#### 后向兼容性
上一版本的 kube-dns 使用 `my-svc.my-namespace.cluster.local` 这种形式的名字(后续会增加 'svc' 这一级),以后这将不再被支持。
### Pod
#### A 记录
如果启用,Pod 会以 `pod-ip-address.my-namespace.pod.cluster.local` 这种形式被指派一个 DNS A 记录。
例如,`default` Namespace 具有 DNS 名字 `cluster.local`,在该 Namespace 中一个 IP 为 `1.2.3.4` 的 Pod 将具有一个条目:`1-2-3-4.default.pod.cluster.local`
#### 基于 Pod hostname、subdomain 字段的 A 记录和主机名
当前,创建 Pod 后,它的主机名是该 Pod 的 `metadata.name` 值。
在 v1.2 版本中,用户可以配置 Pod annotation 通过 `pod.beta.kubernetes.io/hostname` 来设置 Pod 的主机名。
如果为 Pod 配置了 annotation,会优先使用 Pod 的名称作为主机名。
例如,给定一个 Pod,它具有 annotation `pod.beta.kubernetes.io/hostname: my-pod-name`,该 Pod 的主机名被设置为 “my-pod-name”。
在 v1.3 版本中,PodSpec 具有 `hostname` 字段,可以用来指定 Pod 的主机名。这个字段的值优先于 annotation `pod.beta.kubernetes.io/hostname`
在 v1.2 版本中引入了 beta 特性,用户可以为 Pod 指定 annotation,其中 `pod.beta.kubernetes.io/subdomain` 指定了 Pod 的子域名。
最终的域名将是 “<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>”。
举个例子,Pod 的主机名 annotation 设置为 “foo”,子域名 annotation 设置为 “bar”,在 Namespace “my-namespace” 中对应的 FQDN 为 “foo.bar.my-namespace.svc.cluster.local”。
在 v1.3 版本中,PodSpec 具有 `subdomain` 字段,可以用来指定 Pod 的子域名。
这个字段的值优先于 annotation `pod.beta.kubernetes.io/subdomain` 的值。
```yaml
apiVersion: v1
kind: Service
metadata:
name: default-subdomain
spec:
selector:
name: busybox
clusterIP: None
ports:
- name: foo # Actually, no port is needed.
port: 1234
targetPort: 1234
---
apiVersion: v1
kind: Pod
metadata:
name: busybox1
labels:
name: busybox
spec:
hostname: busybox-1
subdomain: default-subdomain
containers:
- image: busybox
command:
- sleep
- "3600"
name: busybox
---
apiVersion: v1
kind: Pod
metadata:
name: busybox2
labels:
name: busybox
spec:
hostname: busybox-2
subdomain: default-subdomain
containers:
- image: busybox
command:
- sleep
- "3600"
name: busybox
```
如果 Headless Service 与 Pod 在同一个 Namespace 中,它们具有相同的子域名,集群的 KubeDNS 服务器也会为该 Pod 的完整合法主机名返回 A 记录。
在同一个 Namespace 中,给定一个主机名为 “busybox-1” 的 Pod,子域名设置为 “default-subdomain”,名称为 “default-subdomain” 的 Headless Service Pod 将看到自己的 FQDN 为 “busybox-1.default-subdomain.my-namespace.svc.cluster.local”。
DNS 会为那个名字提供一个 A 记录,指向该 Pod 的 IP。
“busybox1” 和 “busybox2” 这两个 Pod 分别具有它们自己的 A 记录。
在Kubernetes v1.2 版本中,`Endpoints` 对象也具有 annotation `endpoints.beta.kubernetes.io/hostnames-map`
它的值是 map[string(IP)][endpoints.HostRecord] 的 JSON 格式,例如: '{"10.245.1.6":{HostName: "my-webserver"}}'。
如果是 Headless Service 的 `Endpoints`,会以 <hostname>.<service name>.<pod namespace>.svc.<cluster domain> 的格式创建 A 记录。
对示例中的 JSON 字符串,如果 `Endpoints` 是为名称为 “bar” 的 Headless Service 而创建的,其中一个 `Endpoints` 的 IP 是 “10.245.1.6”,则会创建一个名称为 “my-webserver.bar.my-namespace.svc.cluster.local” 的 A 记录,该 A 记录查询将返回 “10.245.1.6”。
`Endpoints` annotation 通常没必要由最终用户指定,但可以被内部的 Service Controller 用来提供上述功能。
在 v1.3 版本中,`Endpoints` 对象可以为任何 endpoint 指定 `hostname` 和 IP。
`hostname` 字段优先于通过 `endpoints.beta.kubernetes.io/hostnames-map` annotation 指定的主机名。
在 v1.3 版本中,下面的 annotation 是过时的:`pod.beta.kubernetes.io/hostname``pod.beta.kubernetes.io/subdomain``endpoints.beta.kubernetes.io/hostnames-map`
## 如何测试它是否可以使用?
### 创建一个简单的 Pod 作为测试环境
创建 `busybox.yaml` 文件,内容如下:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: default
spec:
containers:
- image: busybox
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
name: busybox
restartPolicy: Always
```
然后,用该文件创建一个 Pod
```
kubectl create -f busybox.yaml
```
### 等待这个 Pod 变成运行状态
获取它的状态,执行如下命令:
```
kubectl get pods busybox
```
可以看到如下内容:
```
NAME READY STATUS RESTARTS AGE
busybox 1/1 Running 0 <some-time>
```
### 验证 DNS 已经生效
一旦 Pod 处于运行中状态,可以在测试环境中执行如下 nslookup 查询:
```
kubectl exec -ti busybox -- nslookup kubernetes.default
```
可以看到类似如下的内容:
```
Server: 10.0.0.10
Address 1: 10.0.0.10
Name: kubernetes.default
Address 1: 10.0.0.1
```
如果看到了,说明 DNS 已经可以正确工作了。
### 问题排查技巧
如果执行 nslookup 命令失败,检查如下内容:
#### 先检查本地 DNS 配置
查看配置文件 resolv.conf。(关于更多信息,参考下面的 “从 Node 继承 DNS” 和 “已知问题”。)
```
kubectl exec busybox cat /etc/resolv.conf
```
按照如下方法(注意搜索路径可能会因为云提供商不同而变化)验证搜索路径和 Name Server 的建立:
```
search default.svc.cluster.local svc.cluster.local cluster.local google.internal c.gce_project_id.internal
nameserver 10.0.0.10
options ndots:5
```
#### 快速诊断
出现类似如下指示的错误,说明 kube-dns 插件或相关 Service 存在问题:
```
$ kubectl exec -ti busybox -- nslookup kubernetes.default
Server: 10.0.0.10
Address 1: 10.0.0.10
nslookup: can't resolve 'kubernetes.default'
```
或者
```
$ kubectl exec -ti busybox -- nslookup kubernetes.default
Server: 10.0.0.10
Address 1: 10.0.0.10 kube-dns.kube-system.svc.cluster.local
nslookup: can't resolve 'kubernetes.default'
```
#### 检查是否 DNS Pod 正在运行
使用 `kubectl get pods` 命令验证 DNS Pod 正在运行:
```
kubectl get pods --namespace=kube-system -l k8s-app=kube-dns
```
应该能够看到类似如下信息:
```
NAME READY STATUS RESTARTS AGE
...
kube-dns-v19-ezo1y 3/3 Running 0 1h
...
```
如果看到没有 Pod 运行,或 Pod 失败/结束,DNS 插件不能默认部署到当前的环境,必须手动部署。
#### 检查 DNS Pod 中的错误信息
使用 `kubectl logs` 命令查看 DNS 后台进程的日志:
```
kubectl logs --namespace=kube-system $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -o name) -c kubedns
kubectl logs --namespace=kube-system $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -o name) -c dnsmasq
kubectl logs --namespace=kube-system $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -o name) -c healthz
```
查看是否有任何可疑的日志。在行开头的字母 W、E、F 分别表示 警告、错误、失败。请搜索具有这些日志级别的日志行,通过 [Kubernetes 问题](https://github.com/kubernetes/kubernetes/issues) 报告意外的错误。
#### DNS 服务是否运行?
通过使用 `kubectl get service` 命令,验证 DNS 服务是否运行:
```
kubectl get svc --namespace=kube-system
```
应该能够看到:
```
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
...
kube-dns 10.0.0.10 <none> 53/UDP,53/TCP 1h
...
```
如果服务已经创建,或在这个例子中默认被创建,但是并没有看到,可以查看 [调试 Service 页面](/docs/tasks/debug-application-cluster/debug-service/) 获取更多信息。
```
kubectl get ep kube-dns --namespace=kube-system
```
应该能够看到类似如下信息:
```
NAME ENDPOINTS AGE
kube-dns 10.180.3.17:53,10.180.3.17:53 1h
```
如果没有看到 Endpoint,查看 [调试 Service 文档](/docs/tasks/debug-application-cluster/debug-service/) 中的 Endpoint 段内容。
关于更多 Kubernetes DNS 的示例,参考 Kubernetes GitHub 仓库中 [集群 DNS 示例](https://git.k8s.io/kubernetes/examples/cluster-dns)。
## Kubernetes Federation(多 Zone 支持)
在1.3 发行版本中,为多站点 Kubernetes 安装引入了集群 Federation 支持。这需要对 Kubernetes 集群 DNS 服务器处理 DNS 查询的方式,做出一些微小(后向兼容)改变,从而便利了对联合 Service 的查询(跨多个 Kubernetes 集群)。参考 [集群 Federation 管理员指南](/docs/concepts/cluster-administration/federation/) 获取更多关于集群 Federation 和多站点支持的细节。
## 工作原理
运行的 Kubernetes DNS Pod 包含 3 个容器 —— kubedns、dnsmasq 和负责健康检查的 healthz。
kubedns 进程监视 Kubernetes master 对 Service 和 Endpoint 操作的变更,并维护一个内存查询结构去处理 DNS 请求。dnsmasq 容器增加了一个 DNS 缓存来改善性能。为执行对 dnsmasq 和 kubedns 的健康检查,healthz 容器提供了一个单独的健康检查 Endpoint。
DNS Pod 通过一个静态 IP 暴露为一个 Service。一旦 IP 被分配,kubelet 会通过 `--cluster-dns=10.0.0.10` 标志将配置的 DNS 传递给每一个容器。
DNS 名字也需要域名,本地域名是可配置的,在 kubelet 中使用 `--cluster-domain=<default local domain>` 标志。
Kubernetes 集群 DNS 服务器(根据 [SkyDNS](https://github.com/skynetservices/skydns) 库)支持正向查询(A 记录),Service 查询(SRV 记录)和反向 IP 地址查询(PTR 记录)。
## 从 Node 继承 DNS
当运行 Pod 时,kubelet 将集群 DNS 服务器和搜索路径追加到 Node 自己的 DNS 设置中。如果 Node 能够在大型环境中解析 DNS 名字,Pod 也应该没问题。参考下面 "已知问题” 中给出的更多说明。
如果不想这样,或者希望 Pod 有一个不同的 DNS 配置,可以使用 kubelet 的 `--resolv-conf` 标志。设置为 "" 表示 Pod 将不继承自 DNS。设置为一个合法的文件路径,表示 kubelet 将使用这个文件而不是 `/etc/resolv.conf`
## 已知问题
Kubernetes 安装但并不配置 Node 的 resolv.conf 文件,而是默认使用集群 DNS的,因为那个过程本质上就是和特定的发行版本相关的。最终应该会被实现。
Linux libc 在限制为3个 DNS `nameserver` 记录和3个 DNS `search` 记录是不可能卡住的([查看 2005 年的一个 Bug](https://bugzilla.redhat.com/show_bug.cgi?id=168253))。Kubernetes 需要使用1个 `nameserver` 记录和3个 `search` 记录。这意味着如果本地安装已经使用了3个 `nameserver` 或使用了3个以上 `search`,那些设置将会丢失。作为部分解决方法, Node 可以运行 `dnsmasq` ,它能提供更多 `nameserver` 条目,但不能运行更多 `search` 条目。可以使用 kubelet 的 `--resolv-conf` 标志。
如果使用 3.3 版本的 Alpine 或更早版本作为 base 镜像,由于 Alpine 的一个已知问题,DNS 可能不会正确工作。查看 [这里](https://github.com/kubernetes/kubernetes/issues/30215) 获取更多信息。
## 参考
- [DNS 集群插件文档](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/dns/README.md)
## 下一步
- [集群中 DNS Service 自动伸缩](/docs/tasks/administer-cluster/dns-horizontal-autoscaling/)
@@ -1,21 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: hostaliases-pod
spec:
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "foo.local"
- "bar.local"
- ip: "10.1.2.3"
hostnames:
- "foo.remote"
- "bar.remote"
containers:
- name: cat-hosts
image: busybox
command:
- cat
args:
- "/etc/hosts"
@@ -1,9 +0,0 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test-ingress
spec:
backend:
serviceName: testsvc
servicePort: 80
@@ -1,103 +0,0 @@
---
approvers:
- thockin
- caseydavenport
- danwinship
title: 网络策略
---
{{< toc >}}
网络策略(NetworkPolicy)是一种关于pod间及pod与其他网络端点间所允许的通信规则的规范。
`NetworkPolicy` 资源使用标签选择pod,并定义选定pod所允许的通信规则。
## 前提
网络策略通过网络插件来实现,所以用户必须使用支持 `NetworkPolicy` 的网络解决方案 - 简单地创建资源对象,而没有控制器来使它生效的话,是没有任何作用的。
## 隔离和非隔离的Pod
默认情况下,Pod是非隔离的,它们接受任何来源的流量。
Pod可以通过相关的网络策略进行隔离。一旦命名空间中有网络策略选择了特定的Pod,该Pod会拒绝网络策略所不允许的连接。 (命名空间下其他未被网络策略所选择的Pod会继续接收所有的流量)
## `NetworkPolicy` 资源
通过[api参考](/docs/api-reference/{{< param "version" >}}/#networkpolicy-v1-networking)来了解资源定义。
下面是一个 `NetworkPolicy` 的示例:
```yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: test-network-policy
namespace: default
spec:
podSelector:
matchLabels:
role: db
ingress:
- from:
- namespaceSelector:
matchLabels:
project: myproject
- podSelector:
matchLabels:
role: frontend
ports:
- protocol: TCP
port: 6379
```
除非选择支持网络策略的网络解决方案,否则将上述示例发送到API服务器没有任何效果。
__必填字段__: 与所有其他的Kubernetes配置一样,`NetworkPolicy` 需要 `apiVersion``kind``metadata` 字段。 关于配置文件操作的一般信息,请参考 [这里](/docs/user-guide/simple-yaml)、 [这里](/docs/user-guide/configuring-containers)和 [这里](/docs/user-guide/working-with-resources)。
__spec__: `NetworkPolicy` [spec](https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status) 中包含了在一个命名空间中定义特定网络策略所需的所有信息
__podSelector__: 每个 `NetworkPolicy` 都包括一个 `podSelector` ,它对该策略所应用的一组Pod进行选择。因为 `NetworkPolicy` 目前只支持定义 `ingress` 规则,这里的 `podSelector` 本质上是为该策略定义 "目标pod" 。示例中的策略选择带有 "role=db" 标签的pod。空的 `podSelector` 选择命名空间下的所有pod。
__ingress__: 每个 `NetworkPolicy` 包含一个 `ingress` 规则的白名单列表。 (其中的)规则允许同时匹配 `from``ports` 部分的流量。示例策略中包含一条简单的规则: 它匹配一个单一的端口,来自两个来源中的一个, 第一个通过 `namespaceSelector` 指定,第二个通过 `podSelector` 指定。
所以,示例网络策略:
1. 隔离 "default" 命名空间下 "role=db" 的pod (如果它们不是已经被隔离的话)。
2. 允许从 "default" 命名空间下带有 "role=frontend" 标签的pod到 "default" 命名空间下的pod的6379 TCP端口的连接。
3. 允许从带有 "project=myproject" 标签的命名空间下的任何pod到 "default" 命名空间下的pod的6379 TCP端口的连接。
查看 [网络策略入门指南](/docs/getting-started-guides/network-policy/walkthrough) 了解更多示例。
## 默认策略
用户可以通过创建一个选择所有Pod,但是不允许任何通信的网络策略,来为一个命名空间创建 "默认的" 隔离策略:
```yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny
spec:
podSelector:
```
这可以确保即使Pod在未被其他任何网络策略所选择的情况下仍能被隔离。
或者,如果用户希望允许一个命名空间下的所有Pod的所有通信 (即使已经添加了策略,使得一些pod被 "隔离"),仍可以创建一个明确允许所有通信的策略:
```yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-all
spec:
podSelector:
ingress:
- {}
```
## 下一步呢?
- 查看 [声明网络策略](/docs/tasks/administer-cluster/declare-network-policy/)
来进行更多的示例演练
@@ -1,630 +0,0 @@
---
approvers:
- bprashanth
title: Service
redirect_from:
- "/docs/user-guide/services/"
- "/docs/user-guide/services/index.html"
---
Kubernetes [`Pod`](/docs/user-guide/pods) 是有生命周期的,它们可以被创建,也可以被销毁,然而一旦被销毁生命就永远结束。
通过 [`ReplicationController`](/docs/user-guide/replication-controller) 能够动态地创建和销毁 `Pod`(例如,需要进行扩缩容,或者执行 [滚动升级](/docs/user-guide/kubectl/v1.7/#rolling-update))。
每个 `Pod` 都会获取它自己的 IP 地址,即使这些 IP 地址不总是稳定可依赖的。
这会导致一个问题:在 Kubernetes 集群中,如果一组 `Pod`(称为 backend)为其它 `Pod` (称为 frontend)提供服务,那么那些 frontend 该如何发现,并连接到这组 `Pod` 中的哪些 backend 呢?
关于 `Service`
Kubernetes `Service` 定义了这样一种抽象:一个 `Pod` 的逻辑分组,一种可以访问它们的策略 —— 通常称为微服务。
这一组 `Pod` 能够被 `Service` 访问到,通常是通过 [`Label Selector`](/docs/concepts/overview/working-with-objects/labels/#label-selectors)(查看下面了解,为什么可能需要没有 selector 的 `Service`)实现的。
举个例子,考虑一个图片处理 backend,它运行了3个副本。这些副本是可互换的 —— frontend 不需要关心它们调用了哪个 backend 副本。
然而组成这一组 backend 程序的 `Pod` 实际上可能会发生变化,frontend 客户端不应该也没必要知道,而且也不需要跟踪这一组 backend 的状态。
`Service` 定义的抽象能够解耦这种关联。
对 Kubernetes 集群中的应用,Kubernetes 提供了简单的 `Endpoints` API,只要 `Service` 中的一组 `Pod` 发生变更,应用程序就会被更新。
对非 Kubernetes 集群中的应用,Kubernetes 提供了基于 VIP 的网桥的方式访问 `Service`,再由 `Service` 重定向到 backend `Pod`
{{< toc >}}
## 定义 Service
一个 `Service` 在 Kubernetes 中是一个 REST 对象,和 `Pod` 类似。
像所有的 REST 对象一样, `Service` 定义可以基于 POST 方式,请求 apiserver 创建新的实例。
例如,假定有一组 `Pod`,它们对外暴露了 9376 端口,同时还被打上 `"app=MyApp"` 标签。
```yaml
kind: Service
apiVersion: v1
metadata:
name: my-service
spec:
selector:
app: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
```
上述配置将创建一个名称为 “my-service” 的 `Service` 对象,它会将请求代理到使用 TCP 端口 9376,并且具有标签 `"app=MyApp"``Pod` 上。
这个 `Service` 将被指派一个 IP 地址(通常称为 “Cluster IP”),它会被服务的代理使用(见下面)。
`Service` 的 selector 将会持续评估,处理结果将被 POST 到一个名称为 “my-service” 的 `Endpoints` 对象上。
需要注意的是, `Service` 能够将一个接收端口映射到任意的 `targetPort`
默认情况下,`targetPort` 将被设置为与 `port` 字段相同的值。
可能更有趣的是,`targetPort` 可以是一个字符串,引用了 backend `Pod` 的一个端口的名称。
但是,实际指派给该端口名称的端口号,在每个 backend `Pod` 中可能并不相同。
对于部署和设计 `Service` ,这种方式会提供更大的灵活性。
例如,可以在 backend 软件下一个版本中,修改 Pod 暴露的端口,并不会中断客户端的调用。
Kubernetes `Service` 能够支持 `TCP``UDP` 协议,默认 `TCP` 协议。
### 没有 selector 的 Service
Servcie 抽象了该如何访问 Kubernetes `Pod`,但也能够抽象其它类型的 backend,例如:
* 希望在生产环境中使用外部的数据库集群,但测试环境使用自己的数据库。
* 希望服务指向另一个 [`Namespace`](/docs/user-guide/namespaces) 中或其它集群中的服务。
* 正在将工作负载转移到 Kubernetes 集群,和运行在 Kubernetes 集群之外的 backend。
在任何这些场景中,都能够定义没有 selector 的 `Service`
```yaml
kind: Service
apiVersion: v1
metadata:
name: my-service
spec:
ports:
- protocol: TCP
port: 80
targetPort: 9376
```
由于这个 `Service` 没有 selector,就不会创建相关的 `Endpoints` 对象。可以手动将 `Service` 映射到指定的 `Endpoints`
```yaml
kind: Endpoints
apiVersion: v1
metadata:
name: my-service
subsets:
- addresses:
- ip: 1.2.3.4
ports:
- port: 9376
```
注意:Endpoint IP 地址不能是 loopback127.0.0.0/8)、 link-local169.254.0.0/16)、或者 link-local 多播(224.0.0.0/24)。
访问没有 selector 的 `Service`,与有 selector 的 `Service` 的原理相同。请求将被路由到用户定义的 Endpoint(该示例中为 `1.2.3.4:9376`)。
ExternalName `Service``Service` 的特例,它没有 selector,也没有定义任何的端口和 Endpoint。
相反地,对于运行在集群外部的服务,它通过返回该外部服务的别名这种方式来提供服务。
```yaml
kind: Service
apiVersion: v1
metadata:
name: my-service
namespace: prod
spec:
type: ExternalName
externalName: my.database.example.com
```
当查询主机 `my-service.prod.svc.CLUSTER`时,集群的 DNS 服务将返回一个值为 `my.database.example.com``CNAME` 记录。
访问这个服务的工作方式与其它的相同,唯一不同的是重定向发生在 DNS 层,而且不会进行代理或转发。
如果后续决定要将数据库迁移到 Kubernetes 集群中,可以启动对应的 Pod,增加合适的 Selector 或 Endpoint,修改 `Service``type`
## VIP 和 Service 代理
在 Kubernetes 集群中,每个 Node 运行一个 `kube-proxy` 进程。`kube-proxy` 负责为 `Service` 实现了一种 VIP(虚拟 IP)的形式,而不是 `ExternalName` 的形式。
在 Kubernetes v1.0 版本,代理完全在 userspace。在 Kubernetes v1.1 版本,新增了 iptables 代理,但并不是默认的运行模式。
从 Kubernetes v1.2 起,默认就是 iptables 代理。
在 Kubernetes v1.0 版本,`Service` 是 “4层”(TCP/UDP over IP)概念。
在 Kubernetes v1.1 版本,新增了 `Ingress` API(beta 版),用来表示 “7层”(HTTP)服务。
### userspace 代理模式
这种模式,kube-proxy 会监视 Kubernetes master 对 `Service` 对象和 `Endpoints` 对象的添加和移除。
对每个 `Service`,它会在本地 Node 上打开一个端口(随机选择)。
任何连接到“代理端口”的请求,都会被代理到 `Service` 的backend `Pods` 中的某个上面(如 `Endpoints` 所报告的一样)。
使用哪个 backend `Pod`,是基于 `Service``SessionAffinity` 来确定的。
最后,它安装 iptables 规则,捕获到达该 `Service``clusterIP`(是虚拟 IP)和 `Port` 的请求,并重定向到代理端口,代理端口再代理请求到 backend `Pod`
网络返回的结果是,任何到达 `Service` 的 IP:Port 的请求,都会被代理到一个合适的 backend,不需要客户端知道关于 Kubernetes、`Service`、或 `Pod` 的任何信息。
默认的策略是,通过 round-robin 算法来选择 backend `Pod`
实现基于客户端 IP 的会话亲和性,可以通过设置 `service.spec.sessionAffinity` 的值为 `"ClientIP"` (默认值为 `"None"`)。
![userspace代理模式下Service概览图](/images/docs/services-userspace-overview.svg)
### iptables 代理模式
这种模式,kube-proxy 会监视 Kubernetes master 对 `Service` 对象和 `Endpoints` 对象的添加和移除。
对每个 `Service`,它会安装 iptables 规则,从而捕获到达该 `Service``clusterIP`(虚拟 IP)和端口的请求,进而将请求重定向到 `Service` 的一组 backend 中的某个上面。
对于每个 `Endpoints` 对象,它也会安装 iptables 规则,这个规则会选择一个 backend `Pod`
默认的策略是,随机选择一个 backend。
实现基于客户端 IP 的会话亲和性,可以将 `service.spec.sessionAffinity` 的值设置为 `"ClientIP"` (默认值为 `"None"`)。
和 userspace 代理类似,网络返回的结果是,任何到达 `Service` 的 IP:Port 的请求,都会被代理到一个合适的 backend,不需要客户端知道关于 Kubernetes、`Service`、或 `Pod` 的任何信息。
这应该比 userspace 代理更快、更可靠。然而,不像 userspace 代理,如果初始选择的 `Pod` 没有响应,iptables 代理能够自动地重试另一个 `Pod`,所以它需要依赖 [readiness probes](/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#defining-readiness-probes)。
![iptables代理模式下Service概览图](/images/docs/services-iptables-overview.svg)
## 多端口 Service
很多 `Service` 需要暴露多个端口。对于这种情况,Kubernetes 支持在 `Service` 对象中定义多个端口。
当使用多个端口时,必须给出所有的端口的名称,这样 Endpoint 就不会产生歧义,例如:
```yaml
kind: Service
apiVersion: v1
metadata:
name: my-service
spec:
selector:
app: MyApp
ports:
- name: http
protocol: TCP
port: 80
targetPort: 9376
- name: https
protocol: TCP
port: 443
targetPort: 9377
```
## 选择自己的 IP 地址
`Service` 创建的请求中,可以通过设置 `spec.clusterIP` 字段来指定自己的集群 IP 地址。
比如,希望替换一个已经已存在的 DNS 条目,或者遗留系统已经配置了一个固定的 IP 且很难重新配置。
用户选择的 IP 地址必须合法,并且这个 IP 地址在 `service-cluster-ip-range` CIDR 范围内,这对 API Server 来说是通过一个标识来指定的。
如果 IP 地址不合法,API Server 会返回 HTTP 状态码 422,表示值不合法。
### 为何不使用 round-robin DNS
一个不时出现的问题是,为什么我们都使用 VIP 的方式,而不使用标准的 round-robin DNS,有如下几个原因:
* 长久以来,DNS 库都没能认真对待 DNS TTL、缓存域名查询结果
* 很多应用只查询一次 DNS 并缓存了结果
* 就算应用和库能够正确查询解析,每个客户端反复重解析造成的负载也是非常难以管理的
我们尽力阻止用户做那些对他们没有好处的事情,如果很多人都来问这个问题,我们可能会选择实现它。
## 服务发现
Kubernetes 支持2种基本的服务发现模式 —— 环境变量和 DNS。
### 环境变量
`Pod` 运行在 `Node` 上,kubelet 会为每个活跃的 `Service` 添加一组环境变量。
它同时支持 [Docker links兼容](https://docs.docker.com/userguide/dockerlinks/) 变量(查看 [makeLinkVariables](http://releases.k8s.io/{{< param "githubbranch" >}}/pkg/kubelet/envvars/envvars.go#L49))、简单的 `{SVCNAME}_SERVICE_HOST``{SVCNAME}_SERVICE_PORT` 变量,这里 `Service` 的名称需大写,横线被转换成下划线。
举个例子,一个名称为 `"redis-master"` 的 Service 暴露了 TCP 端口 6379,同时给它分配了 Cluster IP 地址 10.0.0.11,这个 Service 生成了如下环境变量:
```shell
REDIS_MASTER_SERVICE_HOST=10.0.0.11
REDIS_MASTER_SERVICE_PORT=6379
REDIS_MASTER_PORT=tcp://10.0.0.11:6379
REDIS_MASTER_PORT_6379_TCP=tcp://10.0.0.11:6379
REDIS_MASTER_PORT_6379_TCP_PROTO=tcp
REDIS_MASTER_PORT_6379_TCP_PORT=6379
REDIS_MASTER_PORT_6379_TCP_ADDR=10.0.0.11
```
*这意味着需要有顺序的要求* —— `Pod` 想要访问的任何 `Service` 必须在 `Pod` 自己之前被创建,否则这些环境变量就不会被赋值。DNS 并没有这个限制。
### DNS
一个可选(尽管强烈推荐)[集群插件](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/README.md) 是 DNS 服务器。
DNS 服务器监视着创建新 `Service` 的 Kubernetes API,从而为每一个 `Service` 创建一组 DNS 记录。
如果整个集群的 DNS 一直被启用,那么所有的 `Pod` 应该能够自动对 `Service` 进行名称解析。
例如,有一个名称为 `"my-service"``Service`,它在 Kubernetes 集群中名为 `"my-ns"``Namespace` 中,为 `"my-service.my-ns"` 创建了一条 DNS 记录。
在名称为 `"my-ns"``Namespace` 中的 `Pod` 应该能够简单地通过名称查询找到 `"my-service"`
在另一个 `Namespace` 中的 `Pod` 必须限定名称为 `"my-service.my-ns"`
这些名称查询的结果是 Cluster IP。
Kubernetes 也支持对端口名称的 DNS SRVService)记录。
如果名称为 `"my-service.my-ns"``Service` 有一个名为 `"http"``TCP` 端口,可以对 `"_http._tcp.my-service.my-ns"` 执行 DNS SRV 查询,得到 `"http"` 的端口号。
Kubernetes DNS 服务器是唯一的一种能够访问 `ExternalName` 类型的 Service 的方式。
更多信息可以查看[DNS Pod 和 Service](/docs/concepts/services-networking/dns-pod-service/)。
## Headless Service
有时不需要或不想要负载均衡,以及单独的 Service IP。
遇到这种情况,可以通过指定 Cluster IP(`spec.clusterIP`)的值为 `"None"` 来创建 `Headless` Service。
这个选项允许开发人员自由寻找他们自己的方式,从而降低与 Kubernetes 系统的耦合性。
应用仍然可以使用一种自注册的模式和适配器,对其它需要发现机制的系统能够很容易地基于这个 API 来构建。
对这类 `Service` 并不会分配 Cluster IPkube-proxy 不会处理它们,而且平台也不会为它们进行负载均衡和路由。
DNS 如何实现自动配置,依赖于 `Service` 是否定义了 selector。
### 配置 Selector
对定义了 selector 的 Headless ServiceEndpoint 控制器在 API 中创建了 `Endpoints` 记录,并且修改 DNS 配置返回 A 记录(地址),通过这个地址直接到达 `Service` 的后端 `Pod` 上。
### 不配置 Selector
对没有定义 selector 的 Headless ServiceEndpoint 控制器不会创建 `Endpoints` 记录。
然而 DNS 系统会查找和配置,无论是:
* `ExternalName` 类型 Service 的 CNAME 记录
* 记录:与 Service 共享一个名称的任何 `Endpoints`,以及所有其它类型
## 发布服务 —— 服务类型
对一些应用(如 Frontend)的某些部分,可能希望通过外部(Kubernetes 集群外部)IP 地址暴露 Service。
Kubernetes `ServiceTypes` 允许指定一个需要的类型的 Service,默认是 `ClusterIP` 类型。
`Type` 的取值以及行为如下:
* `ClusterIP`:通过集群的内部 IP 暴露服务,选择该值,服务只能够在集群内部可以访问,这也是默认的 `ServiceType`
* `NodePort`:通过每个 Node 上的 IP 和静态端口(`NodePort`)暴露服务。`NodePort` 服务会路由到 `ClusterIP` 服务,这个 `ClusterIP` 服务会自动创建。通过请求 `<NodeIP>:<NodePort>`,可以从集群的外部访问一个 `NodePort` 服务。
* `LoadBalancer`:使用云提供商的负载局衡器,可以向外部暴露服务。外部的负载均衡器可以路由到 `NodePort` 服务和 `ClusterIP` 服务。
* `ExternalName`:通过返回 `CNAME` 和它的值,可以将服务映射到 `externalName` 字段的内容(例如, `foo.bar.example.com`)。
没有任何类型代理被创建,这只有 Kubernetes 1.7 或更高版本的 `kube-dns` 才支持。
### NodePort 类型
如果设置 `type` 的值为 `"NodePort"`Kubernetes master 将从给定的配置范围内(默认:30000-32767)分配端口,每个 Node 将从该端口(每个 Node 上的同一端口)代理到 `Service`。该端口将通过 `Service``spec.ports[*].nodePort` 字段被指定。
如果需要指定的端口号,可以配置 `nodePort` 的值,系统将分配这个端口,否则调用 API 将会失败(比如,需要关心端口冲突的可能性)。
这可以让开发人员自由地安装他们自己的负载均衡器,并配置 Kubernetes 不能完全支持的环境参数,或者直接暴露一个或多个 Node 的 IP 地址。
需要注意的是,Service 将能够通过 `<NodeIP>:spec.ports[*].nodePort``spec.clusterIp:spec.ports[*].port` 而对外可见。
### LoadBalancer 类型
使用支持外部负载均衡器的云提供商的服务,设置 `type` 的值为 `"LoadBalancer"`,将为 `Service` 提供负载均衡器。
负载均衡器是异步创建的,关于被提供的负载均衡器的信息将会通过 `Service``status.loadBalancer` 字段被发布出去。
```yaml
kind: Service
apiVersion: v1
metadata:
name: my-service
spec:
selector:
app: MyApp
ports:
- protocol: TCP
port: 80
targetPort: 9376
nodePort: 30061
clusterIP: 10.0.171.239
loadBalancerIP: 78.11.24.19
type: LoadBalancer
status:
loadBalancer:
ingress:
- ip: 146.148.47.155
```
来自外部负载均衡器的流量将直接打到 backend `Pod` 上,不过实际它们是如何工作的,这要依赖于云提供商。
在这些情况下,将根据用户设置的 `loadBalancerIP` 来创建负载均衡器。
某些云提供商允许设置 `loadBalancerIP`。如果没有设置 `loadBalancerIP`,将会给负载均衡器指派一个临时 IP。
如果设置了 `loadBalancerIP`,但云提供商并不支持这种特性,那么设置的 `loadBalancerIP` 值将会被忽略掉。
### AWS 内部负载均衡器
在混合云环境中,有时从虚拟私有云(VPC)环境中的服务路由流量是非常有必要的。
可以通过在 `Service` 中增加 `annotation` 来实现,如下所示:
```yaml
[...]
metadata:
name: my-service
annotations:
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
[...]
```
在水平分割的 DNS 环境中,需要两个 `Service` 来将外部和内部的流量路由到 Endpoint 上。
### AWS SSL 支持
对运行在 AWS 上部分支持 SSL 的集群,从 1.3 版本开始,可以为 `LoadBalancer` 类型的 `Service` 增加两个 annotation
```
metadata:
name: my-service
annotations:
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012
```
第一个 annotation 指定了使用的证书。它可以是第三方发行商发行的证书,这个证书或者被上传到 IAM,或者由 AWS 的证书管理器创建。
```yaml
metadata:
name: my-service
annotations:
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: (https|http|ssl|tcp)
```
第二个 annotation 指定了 `Pod` 使用的协议。
对于 HTTPS 和 SSLELB 将期望该 `Pod` 基于加密的连接来认证自身。
HTTP 和 HTTPS 将选择7层代理:ELB 将中断与用户的连接,当转发请求时,会解析 Header 信息并添加上用户的 IP 地址(`Pod` 将只能在连接的另一端看到该 IP 地址)。
TCP 和 SSL 将选择4层代理:ELB 将转发流量,并不修改 Header 信息。
### 外部 IP
如果外部的 IP 路由到集群中一个或多个 Node 上,Kubernetes `Service` 会被暴露给这些 `externalIPs`
通过外部 IP(作为目的 IP 地址)进入到集群,打到 `Service` 的端口上的流量,将会被路由到 `Service` 的 Endpoint 上。
`externalIPs` 不会被 Kubernetes 管理,它属于集群管理员的职责范畴。
根据 `Service` 的规定,`externalIPs` 可以同任意的 `ServiceType` 来一起指定。
在上面的例子中,`my-service` 可以在 80.11.12.10:80(外部 IP:端口)上被客户端访问。
```yaml
kind: Service
apiVersion: v1
metadata:
name: my-service
spec:
selector:
app: MyApp
ports:
- name: http
protocol: TCP
port: 80
targetPort: 9376
externalIPs:
- 80.11.12.10
```
## 不足之处
为 VIP 使用 userspace 代理,将只适合小型到中型规模的集群,不能够扩展到上千 `Service` 的大型集群。
查看 [最初设计方案](http://issue.k8s.io/1107) 获取更多细节。
使用 userspace 代理,隐藏了访问 `Service` 的数据包的源 IP 地址。
这使得一些类型的防火墙无法起作用。
iptables 代理不会隐藏 Kubernetes 集群内部的 IP 地址,但却要求客户端请求必须通过一个负载均衡器或 Node 端口。
`Type` 字段支持嵌套功能 —— 每一层需要添加到上一层里面。
不会严格要求所有云提供商(例如,GCE 就没必要为了使一个 `LoadBalancer` 能工作而分配一个 `NodePort`,但是 AWS 需要 ),但当前 API 是强制要求的。
## 未来工作
未来我们能预见到,代理策略可能会变得比简单的 round-robin 均衡策略有更多细微的差别,比如 master 选举或分片。
我们也能想到,某些 `Service` 将具有 “真正” 的负载均衡器,这种情况下 VIP 将简化数据包的传输。
我们打算为 L7HTTP`Service` 改进我们对它的支持。
我们打算为 `Service` 实现更加灵活的请求进入模式,这些 `Service` 包含当前 `ClusterIP``NodePort``LoadBalancer` 模式,或者更多。
## VIP 的那些骇人听闻的细节
对很多想使用 `Service` 的人来说,前面的信息应该足够了。
然而,有很多内部原理性的内容,还是值去理解的。
### 避免冲突
Kubernetes 最主要的哲学之一,是用户不应该暴露那些能够导致他们操作失败、但又不是他们的过错的场景。
这种场景下,让我们来看一下网络端口 —— 用户不应该必须选择一个端口号,而且该端口还有可能与其他用户的冲突。
这就是说,在彼此隔离状态下仍然会出现失败。
为了使用户能够为他们的 `Service` 选择一个端口号,我们必须确保不能有2个 `Service` 发生冲突。
我们可以通过为每个 `Service` 分配它们自己的 IP 地址来实现。
为了保证每个 `Service` 被分配到一个唯一的 IP,需要一个内部的分配器能够原子地更新 etcd 中的一个全局分配映射表,这个更新操作要先于创建每一个 `Service`
为了使 `Service` 能够获取到 IP,这个映射表对象必须在注册中心存在,否则创建 `Service` 将会失败,指示一个 IP 不能被分配。
一个后台 Controller 的职责是创建映射表(从 Kubernetes 的旧版本迁移过来,旧版本中是通过在内存中加锁的方式实现),并检查由于管理员干预和清除任意 IP 造成的不合理分配,这些 IP 被分配了但当前没有 `Service` 使用它们。
### IP 和 VIP
不像 `Pod` 的 IP 地址,它实际路由到一个固定的目的地,`Service` 的 IP 实际上不能通过单个主机来进行应答。
相反,我们使用 `iptables`(Linux 中的数据包处理逻辑)来定义一个虚拟IP地址(VIP),它可以根据需要透明地进行重定向。
当客户端连接到 VIP 时,它们的流量会自动地传输到一个合适的 Endpoint。
环境变量和 DNS,实际上会根据 `Service` 的 VIP 和端口来进行填充。
#### Userspace
作为一个例子,考虑前面提到的图片处理应用程序。
当创建 backend `Service` 时,Kubernetes master 会给它指派一个虚拟 IP 地址,比如 10.0.0.1。
假设 `Service` 的端口是 1234,该 `Service` 会被集群中所有的 `kube-proxy` 实例观察到。
当代理看到一个新的 `Service`, 它会打开一个新的端口,建立一个从该 VIP 重定向到新端口的 iptables,并开始接收请求连接。
当一个客户端连接到一个 VIP,iptables 规则开始起作用,它会重定向该数据包到 `Service代理` 的端口。
`Service代理` 选择一个 backend,并将客户端的流量代理到 backend 上。
这意味着 `Service` 的所有者能够选择任何他们想使用的端口,而不存在冲突的风险。
客户端可以简单地连接到一个 IP 和端口,而不需要知道实际访问了哪些 `Pod`
#### Iptables
再次考虑前面提到的图片处理应用程序。
当创建 backend `Service` 时,Kubernetes master 会给它指派一个虚拟 IP 地址,比如 10.0.0.1。
假设 `Service` 的端口是 1234,该 `Service` 会被集群中所有的 `kube-proxy` 实例观察到。
当代理看到一个新的 `Service`, 它会安装一系列的 iptables 规则,从 VIP 重定向到 per-`Service` 规则。
该 per-`Service` 规则连接到 per-`Endpoint` 规则,该 per-`Endpoint` 规则会重定向(目标 NAT)到 backend。
当一个客户端连接到一个 VIP,iptables 规则开始起作用。一个 backend 会被选择(或者根据会话亲和性,或者随机),数据包被重定向到这个 backend。
不像 userspace 代理,数据包从来不拷贝到用户空间,kube-proxy 不是必须为该 VIP 工作而运行,并且客户端 IP 是不可更改的。
当流量打到 Node 的端口上,或通过负载均衡器,会执行相同的基本流程,但是在那些案例中客户端 IP 是可以更改的。
## API 对象
在 Kubernetes REST API 中,Service 是 top-level 资源。关于 API 对象的更多细节可以查看:[Service API 对象](/docs/api-reference/{{< param "version" >}}/#service-v1-core)。
## 更多信息
阅读 [使用 Service 连接 Frontend 到 Backend](/docs/tutorials/connecting-apps/connecting-frontend-backend/)。
@@ -1,212 +0,0 @@
---
approvers:
- erictune
- soltysh
- janetkuo
title: Cron Job
redirect_from:
- "/docs/concepts/jobs/cron-jobs/"
- "/docs/concepts/jobs/cron-jobs.html"
- "/docs/user-guide/cron-jobs/"
- "/docs/user-guide/cron-jobs.html"
---
{{< toc >}}
## Cron Job 是什么?
_Cron Job_ 管理基于时间的 [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/),即:
* 在给定时间点只运行一次
* 在给定时间点周期性地运行
一个 CronJob 对象类似于 _crontab_ (cron table)文件中的一行。它根据指定的预定计划周期性地运行一个 Job,格式可以参考 [Cron](https://en.wikipedia.org/wiki/Cron) 。
**注意:** 在预定计划中,问号(`?`)和星号(`*`)的意义是相同的,表示给定字段的取值是任意可用值。
**注意:** 在 Kubernetes 1.4 版本引入了 ScheduledJob 资源,但从 1.5 版本开始改成了 CronJob。
典型的用法如下所示:
* 在给定的时间点调度 Job 运行
* 创建周期性运行的 Job,例如:数据库备份、发送邮件。
### 前提条件
当使用的 Kubernetes 集群,版本 >= 1.4(对 ScheduledJob),>= 1.5(对 CronJob),当启动 API Server(参考 [为集群开启或关闭 API 版本](/docs/admin/cluster-management/#turn-on-or-off-an-api-version-for-your-cluster) 获取更多信息)时,通过传递选项 `--runtime-config=batch/v2alpha1=true` 可以开启 batch/v2alpha1 API。
## 创建 Cron Job
下面是一个 Cron Job 的例子。它会每分钟运行一个 Job,打印出当前时间并输出问候语 hello。
% include code.html language="yaml" file="cronjob.yaml" ghlink="/docs/concepts/workloads/controllers/cronjob.yaml" %}
下载并运行该示例 Cron Job,然后执行如下命令:
```shell
$ kubectl create -f ./cronjob.yaml
cronjob "hello" created
```
可选地,使用 `kubectl run` 创建一个 Cron Job,不需要写完整的配置:
```shell
$ kubectl run hello --schedule="*/1 * * * *" --restart=OnFailure --image=busybox -- /bin/sh -c "date; echo Hello from the Kubernetes cluster"
cronjob "hello" created
```
创建该 Cron Job 之后,通过如下命令获取它的状态信息:
```shell
$ kubectl get cronjob hello
NAME SCHEDULE SUSPEND ACTIVE LAST-SCHEDULE
hello */1 * * * * False 0 <none>
```
如上所示,既没有 active 的 Job,也没有被调度的 Job。
等待并观察创建的 Job,大约一分钟时间:
```shell
$ kubectl get jobs --watch
NAME DESIRED SUCCESSFUL AGE
hello-4111706356 1 1 2s
```
现在能看到一个名称为 hello 的 Job 在运行。我们可以停止观察,并再次获取该 Job 的状态信息:
```shell
$ kubectl get cronjob hello
NAME SCHEDULE SUSPEND ACTIVE LAST-SCHEDULE
hello */1 * * * * False 0 Mon, 29 Aug 2016 14:34:00 -0700
```
应该能够看到名称为 “hello” 的 Job 在 `LAST-SCHEDULE` 指定的时间点被调度了。当前存在 0 个活跃(Active)的 Job,说明该 Job 已经被调度运行完成或失败。
现在,找到最近一次被调度的 Job 创建的 Pod,能够看到其中一个 Pod 的标准输出。注意,Job 名称和 Pod 名称是不一样的。
```shell
# Replace "hello-4111706356" with the job name in your system
$ pods=$(kubectl get pods --selector=job-name=hello-4111706356 --output=jsonpath={.items..metadata.name})
$ echo $pods
hello-4111706356-o9qcm
$ kubectl logs $pods
Mon Aug 29 21:34:09 UTC 2016
Hello from the Kubernetes cluster
```
## 删除 Cron Job
一旦不再需要 Cron Job,简单地可以使用 `kubectl` 命令删除它:
```shell
$ kubectl delete cronjob hello
cronjob "hello" deleted
```
这将会终止正在创建的 Job。然而,运行中的 Job 将不会被终止,不会删除 Job 或 它们的 Pod。为了清理那些 Job 和 Pod,需要列出该 Cron Job 创建的全部 Job,然后删除它们:
```shell
$ kubectl get jobs
NAME DESIRED SUCCESSFUL AGE
hello-1201907962 1 1 11m
hello-1202039034 1 1 8m
...
$ kubectl delete jobs hello-1201907962 hello-1202039034 ...
job "hello-1201907962" deleted
job "hello-1202039034" deleted
...
```
一旦 Job 被删除,由 Job 创建的 Pod 也会被删除。注意,所有由名称为 “hello” 的 Cron Job 创建的 Job 会以前缀字符串 “hello-” 进行命名。如果想要删除当前 Namespace 中的所有 Job,可以通过命令 `kubectl delete jobs --all` 立刻删除它们。
## Cron Job 限制
Cron Job 在每次调度运行时间内 _大概_ 会创建一个 Job 对象。我们之所以说 _大概_ ,是因为在特定的环境下可能会创建两个 Job,或者一个 Job 都没创建。我们尝试少发生这种情况,但却不能完全避免。因此,创建 Job 操作应该是 _幂等的_
Job 根据它所创建的 Pod 的并行度,负责重试创建 Pod,并就决定这一组 Pod 的成功或失败。Cron Job 根本不会去检查 Pod。
## 编写 Cron Job 规约
和其它 Kubernetes 配置一样,Cron Job 需要 `apiVersion``kind`、和 `metadata` 这三个字段。
关于如何实现一个配置文件的更新信息,参考文档 [部署应用](/docs/user-guide/deploying-applications)、
[配置容器](/docs/user-guide/configuring-containers) 和
[使用 kubectl 管理资源](/docs/user-guide/working-with-resources)。
Cron Job 也需要 [`.spec` 段](https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status)。
**注意:** 对一个 Cron Job 的所有修改,尤其是对其 `.spec` 的修改,仅会在下一次运行的时候生效。
### 调度
`.spec.schedule``.spec` 中必需的字段,它的值是 [Cron](https://en.wikipedia.org/wiki/Cron) 格式字的符串,例如:`0 * * * *`,或者 `@hourly`,根据指定的调度时间 Job 会被创建和执行。
### Job 模板
`.spec.jobTemplate` 是另一个 `.spec` 中必需的字段。它是 Job 的模板。
除了它可以是嵌套的,并且不具有 `apiVersion``kind` 字段之外,它和 [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/) 一样具有完全相同的模式(schema)。
参考 [编写 Job 规格](/docs/concepts/jobs/run-to-completion-finite-workloads/#writing-a-job-spec)。
### 启动 Job 的期限(秒级别)
`.spec.startingDeadlineSeconds` 字段是可选的。它表示启动 Job 的期限(秒级别),如果因为任何原因而错过了被调度的时间,那么错过执行时间的 Job 将被认为是失败的。如果没有指定,则没有期限。
### 并发策略
`.spec.concurrencyPolicy` 字段也是可选的。它指定了如何处理被 Cron Job 创建的 Job 的并发执行。只允许指定下面策略中的一种:
* `Allow`(默认):允许并发运行 Job
* `Forbid`:禁止并发运行,如果前一个还没有完成,则直接跳过下一个
* `Replace`:取消当前正在运行的 Job,用一个新的来替换
注意,当前策略只能应用于同一个 Cron Job 创建的 Job。如果存在多个 Cron Job,它们创建的 Job 之间总是允许并发运行。
### 挂起
`.spec.suspend` 字段也是可选的。如果设置为 `true`,后续所有执行都将被挂起。它对已经开始执行的 Job 不起作用。默认值为 `false`
### Job 历史限制
`.spec.successfulJobsHistoryLimit``.spec.failedJobsHistoryLimit` 这两个字段是可选的。它们指定了可以保留完成和失败 Job 数量的限制。
默认没有限制,所有成功和失败的 Job 都会被保留。然而,当运行一个 Cron Job 时,很快就会堆积很多 Job,推荐设置这两个字段的值。设置限制值为 `0`,相关类型的 Job 完成后将不会被保留。
@@ -1,163 +0,0 @@
---
approvers:
- erictune
title: DaemonSet
redirect_from:
- "/docs/admin/daemons/"
- "/docs/admin/daemons.html"
---
{{< toc >}}
## 什么是 DaemonSet
_DaemonSet_ 确保全部(或者某些)节点上运行一个 Pod 的副本。当有节点加入集群时,也会为他们新增一个 Pod 。
当有节点从集群移除时,这些 Pod 也会被回收。删除 DaemonSet 将会删除它创建的所有 Pod。
使用 DaemonSet 的一些典型用法:
- 运行集群存储 daemon,例如在每个节点上运行 `glusterd``ceph`
- 在每个节点上运行日志收集 daemon,例如`fluentd``logstash`
- 在每个节点上运行监控 daemon,例如 [Prometheus Node Exporter](https://github.com/prometheus/node_exporter)、`collectd`、Datadog 代理、New Relic 代理,或 Ganglia `gmond`
一个简单的用法是在所有的节点上都启动一个 DaemonSet,将被作为每种类型的 daemon 使用。
一个稍微复杂的用法是单独对每种 daemon 类型使用多个 DaemonSet,但具有不同的标志,和/或对不同硬件类型具有不同的内存、CPU要求。
## 编写 DaemonSet 规约
### 必需字段
和其它所有 Kubernetes 配置一样,DaemonSet 需要 `apiVersion``kind``metadata` 字段。
有关配置文件的基本信息,详见文档 [deploying applications](/docs/user-guide/deploying-applications/)、[配置容器](/docs/user-guide/configuring-containers/) 和 [资源管理](/docs/concepts/tools/kubectl/object-management-overview/) 。
DaemonSet 也需要一个 [`.spec`](https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status) 配置段。
### Pod 模板
`.spec` 唯一必需的字段是 `.spec.template`
`.spec.template` 是一个 [Pod 模板](/docs/user-guide/replication-controller/#pod-template)。
它与 [Pod](/docs/user-guide/pods) 具有相同的 schema,除了它是嵌套的,而且不具有 `apiVersion``kind` 字段。
除了 Pod 必需字段外,在 DaemonSet 中的 Pod 模板必须指定合理的标签(查看 [Pod Selector](#pod-selector))。
在 DaemonSet 中的 Pod 模板必须具有一个值为 `Always` 的 [`RestartPolicy`](/docs/user-guide/pod-states),或者未指定它的值,默认是 `Always`
### Pod Selector
`.spec.selector` 字段表示 Pod Selector,它与 [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/) 或其它资源的 `.spec.selector` 的作用是相同的。
`spec.selector` 表示一个对象,它由如下两个字段组成:
* `matchLabels` - 与 [ReplicationController](/docs/concepts/workloads/controllers/replicationcontroller/) 的 `.spec.selector` 的作用相同。
* `matchExpressions` - 允许构建更加复杂的 Selector,可以通过指定 key、value 列表,以及与 key 和 value 列表相关的操作符。
当上述两个字段都指定时,结果表示的是 AND 关系。
如果指定了 `.spec.selector`,必须与 `.spec.template.metadata.labels` 相匹配。如果没有指定,它们默认是等价的。如果与它们配置的不匹配,则会被 API 拒绝。
如果 Pod 的 label 与 selector 匹配,或者直接基于其它的 DaemonSet、或者 Controller(例如 ReplicationController),也不可以创建任何 Pod。
否则 DaemonSet Controller 将认为那些 Pod 是它创建的。Kubernetes 不会阻止这样做。一个场景是,可能希望在一个具有不同值的、用来测试用的节点上手动创建 Pod。
### 仅在某些节点上运行 Pod
如果指定了 `.spec.template.spec.nodeSelector`DaemonSet Controller 将在能够与 [Node Selector](/docs/concepts/configuration/assign-pod-node/) 匹配的节点上创建 Pod。
类似这种情况,可以指定 `.spec.template.spec.affinity`,然后 DaemonSet Controller 将在能够与 [Node Affinity](/docs/concepts/configuration/assign-pod-node/) 匹配的节点上创建 Pod。
如果根本就没有指定,则 DaemonSet Controller 将在所有节点上创建 Pod。
## 如何调度 Daemon Pod
正常情况下,Pod 运行在哪个机器上是由 Kubernetes 调度器来选择的。然而,由 Daemon Controller 创建的 Pod 已经确定了在哪个机器上(Pod 创建时指定了 `.spec.nodeName`),因此:
- DaemonSet Controller 并不关心一个节点的 [`unschedulable`](/docs/admin/node/#manual-node-administration) 字段。
- DaemonSet Controller 可以创建 Pod,即使调度器还没有启动,这对集群启动是非常有帮助的。
Daemon Pod 关心 [Taint 和 Toleration](/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature),它们会为没有指定 `tolerationSeconds``node.kubernetes.io/not-ready``node.alpha.kubernetes.io/unreachable` 的 Taint,创建具有 `NoExecute` 的 Toleration。这确保了当 alpha 特性的 `TaintBasedEvictions` 被启用时,发生节点故障,比如网络分区,这时它们将不会被清除掉(当 `TaintBasedEvictions` 特性没有启用,在这些场景下也不会被清除,但会因为 NodeController 的硬编码行为而被清除,而不会因为 Toleration 导致被清除)。
## 与 Daemon Pod 通信
与 DaemonSet 中的 Pod 进行通信,几种可能的模式如下:
- **Push**:配置 DaemonSet 中的 Pod 向其它 Service 发送更新,例如统计数据库。它们没有客户端。
- **NodeIP 和已知端口**DaemonSet 中的 Pod 可以使用 `hostPort`,从而可以通过节点 IP 访问到 Pod。客户端能通过某种方法知道节点 IP 列表,并且基于此也可以知道端口。
- **DNS**:创建具有相同 Pod Selector 的 [Headless Service](/docs/user-guide/services/#headless-services),然后通过使用 `endpoints` 资源或从 DNS 检索到多个 A 记录来发现 DaemonSet。
- **Service**:创建具有相同 Pod Selector 的 Service,并使用该 Service 随机访问到某个节点上的 daemon(没有办法访问到特定节点)。
## 更新 DaemonSet
如果修改了节点标签(Label),DaemonSet 将立刻向新匹配上的节点添加 Pod,同时删除新近不能够匹配的节点上的 Pod。
我们可以修改 DaemonSet 创建的 Pod。然而,不允许对 Pod 的所有字段进行更新。当下次节点(即使具有相同的名称)被创建时,DaemonSet Controller 还会使用最初的模板。
可以删除一个 DaemonSet。如果使用 `kubectl` 并指定 `--cascade=false` 选项,则 Pod 将被保留在节点上。然后可以创建具有不同模板的新 DaemonSet。具有不同模板的新 DaemonSet 将能够通过标签匹配并识别所有已经存在的 Pod。它不会修改或删除它们,即使是错误匹配了 Pod 模板。通过删除 Pod 或者删除节点,可以强制创建新的 Pod。
在 Kubernetes 1.6 或以后版本,可以在 DaemonSet 上 [执行滚动升级](/docs/tasks/manage-daemon/update-daemon-set/)。
未来的 Kubernetes 版本将支持节点的可控更新。
## DaemonSet 的可替代选择
### init 脚本
我们很可能希望直接在一个节点上启动 daemon 进程(例如,使用 `init``upstartd`、或 `systemd`)。这非常好,但基于 DaemonSet 来运行这些进程有如下一些好处:
- 像对待应用程序一样,具备为 daemon 提供监控和管理日志的能力。
- 为 daemon 和应用程序使用相同的配置语言和工具(如 Pod 模板、`kubectl`)。
- Kubernetes 未来版本可能会支持对 DaemonSet 创建 Pod 与节点升级工作流进行集成。
- 在资源受限的容器中运行 daemon,能够增加 daemon 和应用容器的隔离性。然而,这也实现了在容器中运行 daemon,但却不能在 Pod 中运行(例如,直接基于 Docker 启动)。
### 裸 Pod
可能要直接创建 Pod,同时指定其运行在特定的节点上。
然而,DaemonSet 替换了由于任何原因被删除或终止的 Pod,例如节点失败、例行节点维护、内核升级。由于这个原因,我们应该使用 DaemonSet 而不是单独创建 Pod。
### 静态 Pod
可能需要通过在一个指定目录下编写文件来创建 Pod,该目录受 Kubelet 所监视。这些 Pod 被称为 [静态 Pod](/docs/concepts/cluster-administration/static-pod/)。
不像 DaemonSet,静态 Pod 不受 kubectl 和其它 Kubernetes API 客户端管理。静态 Pod 不依赖于 apiserver,这使得它们在集群启动的情况下非常有用。
而且,未来静态 Pod 可能会被废弃掉。
### Replication Controller
DaemonSet 与 [Replication Controller](/docs/user-guide/replication-controller) 非常类似,它们都能创建 Pod,这些 Pod 对应的进程都不希望被终止掉(例如,Web 服务器、存储服务器)。
为无状态的 Service 使用 Replication Controller,比如前端(Frontend)服务,实现对副本的数量进行扩缩容、平滑升级,比之于精确控制 Pod 运行在某个主机上要重要得多。
需要 Pod 副本总是运行在全部或特定主机上,并需要先于其他 Pod 启动,当这被认为非常重要时,应该使用 Daemon Controller。
@@ -1,36 +0,0 @@
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: fluentd-elasticsearch
namespace: kube-system
labels:
k8s-app: fluentd-logging
spec:
template:
metadata:
labels:
name: fluentd-elasticsearch
spec:
containers:
- name: fluentd-elasticsearch
image: k8s.gcr.io/fluentd-elasticsearch:1.20
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi
volumeMounts:
- name: varlog
mountPath: /var/log
- name: varlibdockercontainers
mountPath: /var/lib/docker/containers
readOnly: true
terminationGracePeriodSeconds: 30
volumes:
- name: varlog
hostPath:
path: /var/log
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
@@ -1,947 +0,0 @@
---
approvers:
- bgrant0607
- janetkuo
title: Deployments
content_template: templates/concept
---
{{% capture overview %}}
A _Deployment_ controller provides declarative updates for [Pods](/docs/concepts/workloads/pods/pod/) and
[ReplicaSets](/docs/concepts/workloads/controllers/replicaset/).
You describe a _desired state_ in a Deployment object, and the Deployment controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove existing Deployments and adopt all their resources with new Deployments.
{{< note >}}
**Note:** You should not manage ReplicaSets owned by a Deployment. All the use cases should be covered by manipulating the Deployment object. Consider opening an issue in the main Kubernetes repository if your use case is not covered below.
{{< /note >}}
{{% /capture %}}
{{% capture body %}}
## Use Case
The following are typical use cases for Deployments:
* [Create a Deployment to rollout a ReplicaSet](#creating-a-deployment). The ReplicaSet creates Pods in the background. Check the status of the rollout to see if it succeeds or not.
* [Declare the new state of the Pods](#updating-a-deployment) by updating the PodTemplateSpec of the Deployment. A new ReplicaSet is created and the Deployment manages moving the Pods from the old ReplicaSet to the new one at a controlled rate. Each new ReplicaSet updates the revision of the Deployment.
* [Rollback to an earlier Deployment revision](#rolling-back-a-deployment) if the current state of the Deployment is not stable. Each rollback updates the revision of the Deployment.
* [Scale up the Deployment to facilitate more load.](#scaling-a-deployment)
* [Pause the Deployment](#pausing-and-resuming-a-deployment) to apply multiple fixes to its PodTemplateSpec and then resume it to start a new rollout.
* [Use the status of the Deployment](#deployment-status) as an indicator that a rollout has stuck
* [Clean up older ReplicaSets](#clean-up-policy) that you don't need anymore
## Creating a Deployment
Here is an example Deployment. It creates a ReplicaSet to bring up three nginx Pods.
{{< code file="nginx-deployment.yaml" >}}
Run the example by downloading the example file and then running this command:
```shell
$ kubectl create -f docs/user-guide/nginx-deployment.yaml --record
deployment "nginx-deployment" created
```
Setting the kubectl flag `--record` to `true` allows you to record current command in the annotations of
the resources being created or updated. It is useful for future introspection: for example, to see the
commands executed in each Deployment revision.
Then running `get` immediately will give:
```shell
$ kubectl get deployments
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx-deployment 3 0 0 0 1s
```
This indicates that the Deployment's number of desired replicas is 3 (according to deployment's `.spec.replicas`),
the number of current replicas (`.status.replicas`) is 0, the number of up-to-date replicas (`.status.updatedReplicas`)
is 0, and the number of available replicas (`.status.availableReplicas`) is also 0.
To see the Deployment rollout status, run:
```shell
$ kubectl rollout status deployment/nginx-deployment
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
deployment "nginx-deployment" successfully rolled out
```
Running the `get` again a few seconds later should give:
```shell
$ kubectl get deployments
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx-deployment 3 3 3 3 18s
```
This indicates that the Deployment has created all three replicas, and all replicas are up-to-date (contains the
latest pod template) and available (pod status is ready for at least Deployment's `.spec.minReadySeconds`). Running
`kubectl get rs` and `kubectl get pods` will show the ReplicaSet (RS) and Pods created.
```shell
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-deployment-2035384211 3 3 3 18s
```
You may notice that the name of the ReplicaSet is always `<the name of the Deployment>-<hash value of the pod template>`.
```shell
$ kubectl get pods --show-labels
NAME READY STATUS RESTARTS AGE LABELS
nginx-deployment-2035384211-7ci7o 1/1 Running 0 18s app=nginx,pod-template-hash=2035384211
nginx-deployment-2035384211-kzszj 1/1 Running 0 18s app=nginx,pod-template-hash=2035384211
nginx-deployment-2035384211-qqcnn 1/1 Running 0 18s app=nginx,pod-template-hash=2035384211
```
The created ReplicaSet ensures that there are three nginx Pods at all times.
{{< note >}}
**Note:** You must specify an appropriate selector and pod template labels in a Deployment (in this case,
`app = nginx`). That is, don't overlap with other controllers (including other Deployments, ReplicaSets,
StatefulSets, etc.). Kubernetes doesn't stop you from overlapping, and if multiple
controllers have overlapping selectors, those controllers may fight with each other and won't behave
correctly.
{{< /note >}}
### Pod-template-hash label
{{< note >}}
**Note:** Do not change this label.
{{< /note >}}
Note the pod-template-hash label in the example output in the pod labels above. This label is added by the
Deployment controller to every ReplicaSet that a Deployment creates or adopts. Its purpose is to make sure that child
ReplicaSets of a Deployment do not overlap. It is computed by hashing the PodTemplate of the ReplicaSet
and using the resulting hash as the label value that will be added in the ReplicaSet selector, pod template labels,
and in any existing Pods that the ReplicaSet may have.
## Updating a Deployment
{{< note >}}
**Note:** A Deployment's rollout is triggered if and only if the Deployment's pod template (that is, `.spec.template`)
is changed, for example if the labels or container images of the template are updated. Other updates, such as scaling the Deployment, do not trigger a rollout.
{{< /note >}}
Suppose that we now want to update the nginx Pods to use the `nginx:1.9.1` image
instead of the `nginx:1.7.9` image.
```shell
$ kubectl set image deployment/nginx-deployment nginx=nginx:1.9.1
deployment "nginx-deployment" image updated
```
Alternatively, we can `edit` the Deployment and change `.spec.template.spec.containers[0].image` from `nginx:1.7.9` to `nginx:1.9.1`:
```shell
$ kubectl edit deployment/nginx-deployment
deployment "nginx-deployment" edited
```
To see the rollout status, run:
```shell
$ kubectl rollout status deployment/nginx-deployment
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
deployment "nginx-deployment" successfully rolled out
```
After the rollout succeeds, you may want to `get` the Deployment:
```shell
$ kubectl get deployments
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx-deployment 3 3 3 3 36s
```
The number of up-to-date replicas indicates that the Deployment has updated the replicas to the latest configuration.
The current replicas indicates the total replicas this Deployment manages, and the available replicas indicates the
number of current replicas that are available.
We can run `kubectl get rs` to see that the Deployment updated the Pods by creating a new ReplicaSet and scaling it
up to 3 replicas, as well as scaling down the old ReplicaSet to 0 replicas.
```shell
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-deployment-1564180365 3 3 3 6s
nginx-deployment-2035384211 0 0 0 36s
```
Running `get pods` should now show only the new Pods:
```shell
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-deployment-1564180365-khku8 1/1 Running 0 14s
nginx-deployment-1564180365-nacti 1/1 Running 0 14s
nginx-deployment-1564180365-z9gth 1/1 Running 0 14s
```
Next time we want to update these Pods, we only need to update the Deployment's pod template again.
Deployment can ensure that only a certain number of Pods may be down while they are being updated. By
default, it ensures that at least 1 less than the desired number of Pods are up (1 max unavailable).
Deployment can also ensure that only a certain number of Pods may be created above the desired number of
Pods. By default, it ensures that at most 1 more than the desired number of Pods are up (1 max surge).
In a future version of Kubernetes, the defaults will change from 1-1 to 25%-25%.
For example, if you look at the above Deployment closely, you will see that it first created a new Pod,
then deleted some old Pods and created new ones. It does not kill old Pods until a sufficient number of
new Pods have come up, and does not create new Pods until a sufficient number of old Pods have been killed.
It makes sure that number of available Pods is at least 2 and the number of total Pods is at most 4.
```shell
$ kubectl describe deployments
Name: nginx-deployment
Namespace: default
CreationTimestamp: Tue, 15 Mar 2016 12:01:06 -0700
Labels: app=nginx
Selector: app=nginx
Replicas: 3 updated | 3 total | 3 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 1 max unavailable, 1 max surge
OldReplicaSets: <none>
NewReplicaSet: nginx-deployment-1564180365 (3/3 replicas created)
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
36s 36s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-2035384211 to 3
23s 23s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 1
23s 23s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 2
23s 23s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 2
21s 21s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 0
21s 21s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 3
```
Here we see that when we first created the Deployment, it created a ReplicaSet (nginx-deployment-2035384211)
and scaled it up to 3 replicas directly. When we updated the Deployment, it created a new ReplicaSet
(nginx-deployment-1564180365) and scaled it up to 1 and then scaled down the old ReplicaSet to 2, so that at
least 2 Pods were available and at most 4 Pods were created at all times. It then continued scaling up and down
the new and the old ReplicaSet, with the same rolling update strategy. Finally, we'll have 3 available replicas
in the new ReplicaSet, and the old ReplicaSet is scaled down to 0.
### Rollover (aka multiple updates in-flight)
Each time a new deployment object is observed by the deployment controller, a ReplicaSet is created to bring up
the desired Pods if there is no existing ReplicaSet doing so. Existing ReplicaSet controlling Pods whose labels
match `.spec.selector` but whose template does not match `.spec.template` are scaled down. Eventually, the new
ReplicaSet will be scaled to `.spec.replicas` and all old ReplicaSets will be scaled to 0.
If you update a Deployment while an existing rollout is in progress, the Deployment will create a new ReplicaSet
as per the update and start scaling that up, and will roll over the ReplicaSet that it was scaling up previously
-- it will add it to its list of old ReplicaSets and will start scaling it down.
For example, suppose you create a Deployment to create 5 replicas of `nginx:1.7.9`,
but then updates the Deployment to create 5 replicas of `nginx:1.9.1`, when only 3
replicas of `nginx:1.7.9` had been created. In that case, Deployment will immediately start
killing the 3 `nginx:1.7.9` Pods that it had created, and will start creating
`nginx:1.9.1` Pods. It will not wait for 5 replicas of `nginx:1.7.9` to be created
before changing course.
### Label selector updates
It is generally discouraged to make label selector updates and it is suggested to plan your selectors up front.
In any case, if you need to perform a label selector update, exercise great caution and make sure you have grasped
all of the implications.
* Selector additions require the pod template labels in the Deployment spec to be updated with the new label too,
otherwise a validation error is returned. This change is a non-overlapping one, meaning that the new selector does
not select ReplicaSets and Pods created with the old selector, resulting in orphaning all old ReplicaSets and
creating a new ReplicaSet.
* Selector updates -- that is, changing the existing value in a selector key -- result in the same behavior as additions.
* Selector removals -- that is, removing an existing key from the Deployment selector -- do not require any changes in the
pod template labels. No existing ReplicaSet is orphaned, and a new ReplicaSet is not created, but note that the
removed label still exists in any existing Pods and ReplicaSets.
## Rolling Back a Deployment
Sometimes you may want to rollback a Deployment; for example, when the Deployment is not stable, such as crash looping.
By default, all of the Deployment's rollout history is kept in the system so that you can rollback anytime you want
(you can change that by modifying revision history limit).
{{< note >}}
**Note:** A Deployment's revision is created when a Deployment's rollout is triggered. This means that the
new revision is created if and only if the Deployment's pod template (`.spec.template`) is changed,
for example if you update the labels or container images of the template. Other updates, such as scaling the Deployment,
do not create a Deployment revision, so that we can facilitate simultaneous manual- or auto-scaling.
This means that when you roll back to an earlier revision, only the Deployment's pod template part is
rolled back.
{{< /note >}}
Suppose that we made a typo while updating the Deployment, by putting the image name as `nginx:1.91` instead of `nginx:1.9.1`:
```shell
$ kubectl set image deployment/nginx-deployment nginx=nginx:1.91
deployment "nginx-deployment" image updated
```
The rollout will be stuck.
```shell
$ kubectl rollout status deployments nginx-deployment
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
```
Press Ctrl-C to stop the above rollout status watch. For more information on stuck rollouts,
[read more here](#deployment-status).
You will also see that both the number of old replicas (nginx-deployment-1564180365 and
nginx-deployment-2035384211) and new replicas (nginx-deployment-3066724191) are 2.
```shell
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-deployment-1564180365 2 2 0 25s
nginx-deployment-2035384211 0 0 0 36s
nginx-deployment-3066724191 2 2 2 6s
```
Looking at the Pods created, you will see that the 2 Pods created by new ReplicaSet are stuck in an image pull loop.
```shell
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-deployment-1564180365-70iae 1/1 Running 0 25s
nginx-deployment-1564180365-jbqqo 1/1 Running 0 25s
nginx-deployment-3066724191-08mng 0/1 ImagePullBackOff 0 6s
nginx-deployment-3066724191-eocby 0/1 ImagePullBackOff 0 6s
```
{{< note >}}
**Note:** The Deployment controller will stop the bad rollout automatically, and will stop scaling up the new
ReplicaSet. This depends on the rollingUpdate parameters (`maxUnavailable` specifically) that you have specified.
Kubernetes by default sets the value to 1 and spec.replicas to 1 so if you haven't cared about setting those
parameters, your Deployment can have 100% unavailability by default! This will be fixed in Kubernetes in a future
version.
{{< /note >}}
```shell
$ kubectl describe deployment
Name: nginx-deployment
Namespace: default
CreationTimestamp: Tue, 15 Mar 2016 14:48:04 -0700
Labels: app=nginx
Selector: app=nginx
Replicas: 2 updated | 3 total | 2 available | 2 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 1 max unavailable, 1 max surge
OldReplicaSets: nginx-deployment-1564180365 (2/2 replicas created)
NewReplicaSet: nginx-deployment-3066724191 (2/2 replicas created)
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
1m 1m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-2035384211 to 3
22s 22s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 1
22s 22s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 2
22s 22s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 2
21s 21s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 0
21s 21s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 3
13s 13s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-3066724191 to 1
13s 13s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-1564180365 to 2
13s 13s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-3066724191 to 2
```
To fix this, we need to rollback to a previous revision of Deployment that is stable.
### Checking Rollout History of a Deployment
First, check the revisions of this deployment:
```shell
$ kubectl rollout history deployment/nginx-deployment
deployments "nginx-deployment"
REVISION CHANGE-CAUSE
1 kubectl create -f docs/user-guide/nginx-deployment.yaml --record
2 kubectl set image deployment/nginx-deployment nginx=nginx:1.9.1
3 kubectl set image deployment/nginx-deployment nginx=nginx:1.91
```
Because we recorded the command while creating this Deployment using `--record`, we can easily see
the changes we made in each revision.
To further see the details of each revision, run:
```shell
$ kubectl rollout history deployment/nginx-deployment --revision=2
deployments "nginx-deployment" revision 2
Labels: app=nginx
pod-template-hash=1159050644
Annotations: kubernetes.io/change-cause=kubectl set image deployment/nginx-deployment nginx=nginx:1.9.1
Containers:
nginx:
Image: nginx:1.9.1
Port: 80/TCP
QoS Tier:
cpu: BestEffort
memory: BestEffort
Environment Variables: <none>
No volumes.
```
### Rolling Back to a Previous Revision
Now we've decided to undo the current rollout and rollback to the previous revision:
```shell
$ kubectl rollout undo deployment/nginx-deployment
deployment "nginx-deployment" rolled back
```
Alternatively, you can rollback to a specific revision by specify that in `--to-revision`:
```shell
$ kubectl rollout undo deployment/nginx-deployment --to-revision=2
deployment "nginx-deployment" rolled back
```
For more details about rollout related commands, read [`kubectl rollout`](/docs/user-guide/kubectl/{{< param "version" >}}/#rollout).
The Deployment is now rolled back to a previous stable revision. As you can see, a `DeploymentRollback` event
for rolling back to revision 2 is generated from Deployment controller.
```shell
$ kubectl get deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx-deployment 3 3 3 3 30m
$ kubectl describe deployment
Name: nginx-deployment
Namespace: default
CreationTimestamp: Tue, 15 Mar 2016 14:48:04 -0700
Labels: app=nginx
Selector: app=nginx
Replicas: 3 updated | 3 total | 3 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 1 max unavailable, 1 max surge
OldReplicaSets: <none>
NewReplicaSet: nginx-deployment-1564180365 (3/3 replicas created)
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
30m 30m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-2035384211 to 3
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 1
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 2
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 2
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 0
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-3066724191 to 2
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-3066724191 to 1
29m 29m 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-1564180365 to 2
2m 2m 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-3066724191 to 0
2m 2m 1 {deployment-controller } Normal DeploymentRollback Rolled back deployment "nginx-deployment" to revision 2
29m 2m 2 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 3
```
## Scaling a Deployment
You can scale a Deployment by using the following command:
```shell
$ kubectl scale deployment nginx-deployment --replicas=10
deployment "nginx-deployment" scaled
```
Assuming [horizontal pod autoscaling](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/) is enabled
in your cluster, you can setup an autoscaler for your Deployment and choose the minimum and maximum number of
Pods you want to run based on the CPU utilization of your existing Pods.
```shell
$ kubectl autoscale deployment nginx-deployment --min=10 --max=15 --cpu-percent=80
deployment "nginx-deployment" autoscaled
```
### Proportional scaling
RollingUpdate Deployments support running multiple versions of an application at the same time. When you
or an autoscaler scales a RollingUpdate Deployment that is in the middle of a rollout (either in progress
or paused), then the Deployment controller will balance the additional replicas in the existing active
ReplicaSets (ReplicaSets with Pods) in order to mitigate risk. This is called *proportional scaling*.
For example, you are running a Deployment with 10 replicas, [maxSurge](#max-surge)=3, and [maxUnavailable](#max-unavailable)=2.
```shell
$ kubectl get deploy
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx-deployment 10 10 10 10 50s
```
You update to a new image which happens to be unresolvable from inside the cluster.
```shell
$ kubectl set image deploy/nginx-deployment nginx=nginx:sometag
deployment "nginx-deployment" image updated
```
The image update starts a new rollout with ReplicaSet nginx-deployment-1989198191, but it's blocked due to the
maxUnavailable requirement that we mentioned above.
```shell
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-deployment-1989198191 5 5 0 9s
nginx-deployment-618515232 8 8 8 1m
```
Then a new scaling request for the Deployment comes along. The autoscaler increments the Deployment replicas
to 15. The Deployment controller needs to decide where to add these new 5 replicas. If we weren't using
proportional scaling, all 5 of them would be added in the new ReplicaSet. With proportional scaling, we
spread the additional replicas across all ReplicaSets. Bigger proportions go to the ReplicaSets with the
most replicas and lower proportions go to ReplicaSets with less replicas. Any leftovers are added to the
ReplicaSet with the most replicas. ReplicaSets with zero replicas are not scaled up.
In our example above, 3 replicas will be added to the old ReplicaSet and 2 replicas will be added to the
new ReplicaSet. The rollout process should eventually move all replicas to the new ReplicaSet, assuming
the new replicas become healthy.
```shell
$ kubectl get deploy
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx-deployment 15 18 7 8 7m
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-deployment-1989198191 7 7 0 7m
nginx-deployment-618515232 11 11 11 7m
```
## Pausing and Resuming a Deployment
You can pause a Deployment before triggering one or more updates and then resume it. This will allow you to
apply multiple fixes in between pausing and resuming without triggering unnecessary rollouts.
For example, with a Deployment that was just created:
```shell
$ kubectl get deploy
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
nginx 3 3 3 3 1m
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-2142116321 3 3 3 1m
```
Pause by running the following command:
```shell
$ kubectl rollout pause deployment/nginx-deployment
deployment "nginx-deployment" paused
```
Then update the image of the Deployment:
```shell
$ kubectl set image deploy/nginx-deployment nginx=nginx:1.9.1
deployment "nginx-deployment" image updated
```
Notice that no new rollout started:
```shell
$ kubectl rollout history deploy/nginx-deployment
deployments "nginx"
REVISION CHANGE-CAUSE
1 <none>
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-2142116321 3 3 3 2m
```
You can make as many updates as you wish, for example, update the resources that will be used:
```shell
$ kubectl set resources deployment nginx -c=nginx --limits=cpu=200m,memory=512Mi
deployment "nginx" resource requirements updated
```
The initial state of the Deployment prior to pausing it will continue its function, but new updates to
the Deployment will not have any effect as long as the Deployment is paused.
Eventually, resume the Deployment and observe a new ReplicaSet coming up with all the new updates:
```shell
$ kubectl rollout resume deploy/nginx-deployment
deployment "nginx" resumed
$ kubectl get rs -w
NAME DESIRED CURRENT READY AGE
nginx-2142116321 2 2 2 2m
nginx-3926361531 2 2 0 6s
nginx-3926361531 2 2 1 18s
nginx-2142116321 1 2 2 2m
nginx-2142116321 1 2 2 2m
nginx-3926361531 3 2 1 18s
nginx-3926361531 3 2 1 18s
nginx-2142116321 1 1 1 2m
nginx-3926361531 3 3 1 18s
nginx-3926361531 3 3 2 19s
nginx-2142116321 0 1 1 2m
nginx-2142116321 0 1 1 2m
nginx-2142116321 0 0 0 2m
nginx-3926361531 3 3 3 20s
^C
$ kubectl get rs
NAME DESIRED CURRENT READY AGE
nginx-2142116321 0 0 0 2m
nginx-3926361531 3 3 3 28s
```
{{< note >}}
**Note:** You cannot rollback a paused Deployment until you resume it.
{{< /note >}}
## Deployment status
A Deployment enters various states during its lifecycle. It can be [progressing](#progressing-deployment) while
rolling out a new ReplicaSet, it can be [complete](#complete-deployment), or it can [fail to progress](#failed-deployment).
### Progressing Deployment
Kubernetes marks a Deployment as _progressing_ when one of the following tasks is performed:
* The Deployment creates a new ReplicaSet.
* The Deployment is scaling up its newest ReplicaSet.
* The Deployment is scaling down its older ReplicaSet(s).
* New Pods become ready or available (ready for at least [MinReadySeconds](#min-ready-seconds)).
You can monitor the progress for a Deployment by using `kubectl rollout status`.
### Complete Deployment
Kubernetes marks a Deployment as _complete_ when it has the following characteristics:
* All of the replicas associated with the Deployment have been updated to the latest version you've specified, meaning any
updates you've requested have been completed.
* All of the replicas associated with the Deployment are available.
* No old replicas for the Deployment are running.
You can check if a Deployment has completed by using `kubectl rollout status`. If the rollout completed
successfully, `kubectl rollout status` returns a zero exit code.
```shell
$ kubectl rollout status deploy/nginx-deployment
Waiting for rollout to finish: 2 of 3 updated replicas are available...
deployment "nginx" successfully rolled out
$ echo $?
0
```
### Failed Deployment
Your Deployment may get stuck trying to deploy its newest ReplicaSet without ever completing. This can occur
due to some of the following factors:
* Insufficient quota
* Readiness probe failures
* Image pull errors
* Insufficient permissions
* Limit ranges
* Application runtime misconfiguration
One way you can detect this condition is to specify a deadline parameter in your Deployment spec:
([`spec.progressDeadlineSeconds`](#progress-deadline-seconds)). `spec.progressDeadlineSeconds` denotes the
number of seconds the Deployment controller waits before indicating (in the Deployment status) that the
Deployment progress has stalled.
The following `kubectl` command sets the spec with `progressDeadlineSeconds` to make the controller report
lack of progress for a Deployment after 10 minutes:
```shell
$ kubectl patch deployment/nginx-deployment -p '{"spec":{"progressDeadlineSeconds":600}}'
"nginx-deployment" patched
```
Once the deadline has been exceeded, the Deployment controller adds a DeploymentCondition with the following
attributes to the Deployment's `status.conditions`:
* Type=Progressing
* Status=False
* Reason=ProgressDeadlineExceeded
See the [Kubernetes API conventions](https://git.k8s.io/community/contributors/devel/api-conventions.md#typical-status-properties) for more information on status conditions.
{{< note >}}
**Note:** Kubernetes will take no action on a stalled Deployment other than to report a status condition with
`Reason=ProgressDeadlineExceeded`. Higher level orchestrators can take advantage of it and act accordingly, for
example, rollback the Deployment to its previous version.
{{< /note >}}
{{< note >}}
**Note:** If you pause a Deployment, Kubernetes does not check progress against your specified deadline. You can
safely pause a Deployment in the middle of a rollout and resume without triggering the condition for exceeding the
deadline.
{{< /note >}}
You may experience transient errors with your Deployments, either due to a low timeout that you have set or
due to any other kind of error that can be treated as transient. For example, let's suppose you have
insufficient quota. If you describe the Deployment you will notice the following section:
```shell
$ kubectl describe deployment nginx-deployment
<...>
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing True ReplicaSetUpdated
ReplicaFailure True FailedCreate
<...>
```
If you run `kubectl get deployment nginx-deployment -o yaml`, the Deployment status might look like this:
```
status:
availableReplicas: 2
conditions:
- lastTransitionTime: 2016-10-04T12:25:39Z
lastUpdateTime: 2016-10-04T12:25:39Z
message: Replica set "nginx-deployment-4262182780" is progressing.
reason: ReplicaSetUpdated
status: "True"
type: Progressing
- lastTransitionTime: 2016-10-04T12:25:42Z
lastUpdateTime: 2016-10-04T12:25:42Z
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: 2016-10-04T12:25:39Z
lastUpdateTime: 2016-10-04T12:25:39Z
message: 'Error creating: pods "nginx-deployment-4262182780-" is forbidden: exceeded quota:
object-counts, requested: pods=1, used: pods=3, limited: pods=2'
reason: FailedCreate
status: "True"
type: ReplicaFailure
observedGeneration: 3
replicas: 2
unavailableReplicas: 2
```
Eventually, once the Deployment progress deadline is exceeded, Kubernetes updates the status and the
reason for the Progressing condition:
```
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing False ProgressDeadlineExceeded
ReplicaFailure True FailedCreate
```
You can address an issue of insufficient quota by scaling down your Deployment, by scaling down other
controllers you may be running, or by increasing quota in your namespace. If you satisfy the quota
conditions and the Deployment controller then completes the Deployment rollout, you'll see the
Deployment's status update with a successful condition (`Status=True` and `Reason=NewReplicaSetAvailable`).
```
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing True NewReplicaSetAvailable
```
`Type=Available` with `Status=True` means that your Deployment has minimum availability. Minimum availability is dictated
by the parameters specified in the deployment strategy. `Type=Progressing` with `Status=True` means that your Deployment
is either in the middle of a rollout and it is progressing or that it has successfully completed its progress and the minimum
required new replicas are available (see the Reason of the condition for the particulars - in our case
`Reason=NewReplicaSetAvailable` means that the Deployment is complete).
You can check if a Deployment has failed to progress by using `kubectl rollout status`. `kubectl rollout status`
returns a non-zero exit code if the Deployment has exceeded the progression deadline.
```shell
$ kubectl rollout status deploy/nginx-deployment
Waiting for rollout to finish: 2 out of 3 new replicas have been updated...
error: deployment "nginx" exceeded its progress deadline
$ echo $?
1
```
### Operating on a failed deployment
All actions that apply to a complete Deployment also apply to a failed Deployment. You can scale it up/down, roll back
to a previous revision, or even pause it if you need to apply multiple tweaks in the Deployment pod template.
## Clean up Policy
You can set `.spec.revisionHistoryLimit` field in a Deployment to specify how many old ReplicaSets for
this Deployment you want to retain. The rest will be garbage-collected in the background. By default,
all revision history will be kept. In a future version, it will default to switch to 2.
{{< note >}}
**Note:** Explicitly setting this field to 0, will result in cleaning up all the history of your Deployment
thus that Deployment will not be able to roll back.
{{< /note >}}
## Use Cases
### Canary Deployment
If you want to roll out releases to a subset of users or servers using the Deployment, you
can create multiple Deployments, one for each release, following the canary pattern described in
[managing resources](/docs/concepts/cluster-administration/manage-deployment/#canary-deployments).
## Writing a Deployment Spec
As with all other Kubernetes configs, a Deployment needs `apiVersion`, `kind`, and `metadata` fields.
For general information about working with config files, see [deploying applications](/docs/tutorials/stateless-application/run-stateless-application-deployment/),
configuring containers, and [using kubectl to manage resources](/docs/tutorials/object-management-kubectl/object-management/) documents.
A Deployment also needs a [`.spec` section](https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status).
### Pod Template
The `.spec.template` is the only required field of the `.spec`.
The `.spec.template` is a [pod template](/docs/concepts/workloads/pods/pod-overview/#pod-templates). It has exactly the same schema as a [Pod](/docs/concepts/workloads/pods/pod/), except it is nested and does not have an
`apiVersion` or `kind`.
In addition to required fields for a Pod, a pod template in a Deployment must specify appropriate
labels and an appropriate restart policy. For labels, make sure not to overlap with other controllers. See [selector](#selector)).
Only a [`.spec.template.spec.restartPolicy`](/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy) equal to `Always` is
allowed, which is the default if not specified.
### Replicas
`.spec.replicas` is an optional field that specifies the number of desired Pods. It defaults to 1.
### Selector
`.spec.selector` is an optional field that specifies a [label selector](/docs/concepts/overview/working-with-objects/labels/)
for the Pods targeted by this deployment.
If specified, `.spec.selector` must match `.spec.template.metadata.labels`, or it will be rejected by
the API. If `.spec.selector` is unspecified, `.spec.selector.matchLabels` defaults to
`.spec.template.metadata.labels`.
A Deployment may terminate Pods whose labels match the selector if their template is different
from `.spec.template` or if the total number of such Pods exceeds `.spec.replicas`. It brings up new
Pods with `.spec.template` if the number of Pods is less than the desired number.
{{< note >}}
**Note:** You should not create other pods whose labels match this selector, either directly, by creating
another Deployment, or by creating another controller such as a ReplicaSet or a ReplicationController. If you
do so, the first Deployment thinks that it created these other pods. Kubernetes does not stop you from doing this.
{{< /note >}}
If you have multiple controllers that have overlapping selectors, the controllers will fight with each
other and won't behave correctly.
### Strategy
`.spec.strategy` specifies the strategy used to replace old Pods by new ones.
`.spec.strategy.type` can be "Recreate" or "RollingUpdate". "RollingUpdate" is
the default value.
#### Recreate Deployment
All existing Pods are killed before new ones are created when `.spec.strategy.type==Recreate`.
#### Rolling Update Deployment
The Deployment updates Pods in a [rolling update](/docs/tasks/run-application/rolling-update-replication-controller/)
fashion when `.spec.strategy.type==RollingUpdate`. You can specify `maxUnavailable` and `maxSurge` to control
the rolling update process.
##### Max Unavailable
`.spec.strategy.rollingUpdate.maxUnavailable` is an optional field that specifies the maximum number
of Pods that can be unavailable during the update process. The value can be an absolute number (for example, 5)
or a percentage of desired Pods (for example, 10%). The absolute number is calculated from percentage by
rounding down. The value cannot be 0 if `.spec.strategy.rollingUpdate.maxSurge` is 0. The default value is 25%.
For example, when this value is set to 30%, the old ReplicaSet can be scaled down to 70% of desired
Pods immediately when the rolling update starts. Once new Pods are ready, old ReplicaSet can be scaled
down further, followed by scaling up the new ReplicaSet, ensuring that the total number of Pods available
at all times during the update is at least 70% of the desired Pods.
##### Max Surge
`.spec.strategy.rollingUpdate.maxSurge` is an optional field that specifies the maximum number of Pods
that can be created over the desired number of Pods. The value can be an absolute number (for example, 5) or a
percentage of desired Pods (for example, 10%). The value cannot be 0 if `MaxUnavailable` is 0. The absolute number
is calculated from the percentage by rounding up. The default value is 25%.
For example, when this value is set to 30%, the new ReplicaSet can be scaled up immediately when the
rolling update starts, such that the total number of old and new Pods does not exceed 130% of desired
Pods. Once old Pods have been killed, the new ReplicaSet can be scaled up further, ensuring that the
total number of Pods running at any time during the update is at most 130% of desired Pods.
### Progress Deadline Seconds
`.spec.progressDeadlineSeconds` is an optional field that specifies the number of seconds you want
to wait for your Deployment to progress before the system reports back that the Deployment has
[failed progressing](#failed-deployment) - surfaced as a condition with `Type=Progressing`, `Status=False`.
and `Reason=ProgressDeadlineExceeded` in the status of the resource. The deployment controller will keep
retrying the Deployment. In the future, once automatic rollback will be implemented, the deployment
controller will roll back a Deployment as soon as it observes such a condition.
If specified, this field needs to be greater than `.spec.minReadySeconds`.
### Min Ready Seconds
`.spec.minReadySeconds` is an optional field that specifies the minimum number of seconds for which a newly
created Pod should be ready without any of its containers crashing, for it to be considered available.
This defaults to 0 (the Pod will be considered available as soon as it is ready). To learn more about when
a Pod is considered ready, see [Container Probes](/docs/concepts/workloads/pods/pod-lifecycle/#container-probes).
### Rollback To
`.spec.rollbackTo` is an optional field with the configuration the Deployment
should roll back to. Setting this field triggers a rollback, and this field will
be cleared by the server after a rollback is done.
Because this field will be cleared by the server, it should not be used
declaratively. For example, you should not perform `kubectl apply` with a
manifest with `.spec.rollbackTo` field set.
#### Revision
`.spec.rollbackTo.revision` is an optional field specifying the revision to roll
back to. Setting to 0 means rolling back to the last revision in history;
otherwise, means rolling back to the specified revision. This defaults to 0 when
[`spec.rollbackTo`](#rollback-to) is set.
### Revision History Limit
A Deployment's revision history is stored in the replica sets it controls.
`.spec.revisionHistoryLimit` is an optional field that specifies the number of old ReplicaSets to retain
to allow rollback. Its ideal value depends on the frequency and stability of new Deployments. All old
ReplicaSets will be kept by default, consuming resources in `etcd` and crowding the output of `kubectl get rs`,
if this field is not set. The configuration of each Deployment revision is stored in its ReplicaSets;
therefore, once an old ReplicaSet is deleted, you lose the ability to rollback to that revision of Deployment.
More specifically, setting this field to zero means that all old ReplicaSets with 0 replica will be cleaned up.
In this case, a new Deployment rollout cannot be undone, since its revision history is cleaned up.
### Paused
`.spec.paused` is an optional boolean field for pausing and resuming a Deployment. The only difference between
a paused Deployment and one that is not paused, is that any changes into the PodTemplateSpec of the paused
Deployment will not trigger new rollouts as long as it is paused. A Deployment is not paused by default when
it is created.
## Alternative to Deployments
### kubectl rolling update
[Kubectl rolling update](/docs/user-guide/kubectl/{{< param "version" >}}/#rolling-update) updates Pods and ReplicationControllers
in a similar fashion. But Deployments are recommended, since they are declarative, server side, and have
additional features, such as rolling back to any previous revision even after the rolling update is done.
{{% /capture %}}
@@ -1,45 +0,0 @@
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: frontend
# these labels can be applied automatically
# from the labels in the pod template if not set
# labels:
# app: guestbook
# tier: frontend
spec:
# this replicas value is default
# modify it according to your case
replicas: 3
# selector can be applied automatically
# from the labels in the pod template if not set,
# but we are specifying the selector here to
# demonstrate its usage.
selector:
matchLabels:
tier: frontend
matchExpressions:
- {key: tier, operator: In, values: [frontend]}
template:
metadata:
labels:
app: guestbook
tier: frontend
spec:
containers:
- name: php-redis
image: gcr.io/google_samples/gb-frontend:v3
resources:
requests:
cpu: 100m
memory: 100Mi
env:
- name: GET_HOSTS_FROM
value: dns
# If your cluster config does not include a dns service, then to
# instead access environment variables to find service host
# info, comment out the 'value: dns' line above, and uncomment the
# line below.
# value: env
ports:
- containerPort: 80
@@ -1,181 +0,0 @@
---
title: 垃圾收集
redirect_from:
- "/docs/concepts/abstractions/controllers/garbage-collection/"
- "/docs/concepts/abstractions/controllers/garbage-collection.html"
- "/docs/user-guide/garbage-collection/"
- "/docs/user-guide/garbage-collection.html"
content_template: templates/concept
---
{{% capture overview %}}
Kubernetes 垃圾收集器的角色是删除指定的对象,这些对象曾经有但以后不再拥有 Owner 了。
**注意**:垃圾收集是 beta 特性,在 Kubernetes 1.4 及以上版本默认启用。
{{% /capture %}}
{{% capture body %}}
## Owner 和 Dependent
某些 Kubernetes 对象是其它一些对象的 Owner。例如,一个 ReplicaSet 是一组 Pod 的 Owner。
具有 Owner 的对象被称为是 Owner 的 *Dependent*
每个 Dependent 对象具有一个指向其所属对象的 `metadata.ownerReferences` 字段。
有时,Kubernetes 会自动设置 `ownerReference` 的值。
例如,当创建一个 ReplicaSet 时,Kubernetes 自动设置 ReplicaSet 中每个 Pod 的 `ownerReference` 字段值。
在 1.6 版本,Kubernetes 会自动为某些对象设置 `ownerReference` 的值,这些对象是由 ReplicationController、ReplicaSet、StatefulSet、DaemonSet 和 Deployment 所创建或管理。
也可以通过手动设置 `ownerReference` 的值,来指定 Owner 和 Dependent 之间的关系。
这里有一个配置文件,表示一个具有 3 个 Pod 的 ReplicaSet
{{< code file="my-repset.yaml" >}}
如果创建该 ReplicaSet,然后查看 Pod 的 metadata 字段,能够看到 OwnerReferences 字段:
```shell
kubectl create -f https://k8s.io/docs/concepts/controllers/my-repset.yaml
kubectl get pods --output=yaml
```
输出显示了 Pod 的 Owner 是名为 my-repset 的 ReplicaSet
```shell
apiVersion: v1
kind: Pod
metadata:
...
ownerReferences:
- apiVersion: extensions/v1beta1
controller: true
blockOwnerDeletion: true
kind: ReplicaSet
name: my-repset
uid: d9607e19-f88f-11e6-a518-42010a800195
...
```
## 控制垃圾收集器删除 Dependent
当删除对象时,可以指定是否该对象的 Dependent 也自动删除掉。
自动删除 Dependent 也称为 *级联删除*
Kubernetes 中有两种 *级联删除* 的模式:*background* 模式和 *foreground* 模式。
如果删除对象时,不自动删除它的 Dependent,这些 Dependent 被称作是原对象的 *孤儿*
### Background 级联删除
*background 级联删除* 模式下,Kubernetes 会立即删除 Owner 对象,然后垃圾收集器会在后台删除这些 Dependent。
### Foreground 级联删除
*foreground 级联删除* 模式下,根对象首先进入 “删除中” 状态。在 “删除中” 状态会有如下的情况:
* 对象仍然可以通过 REST API 可见。
* 会设置对象的 `deletionTimestamp` 字段。
* 对象的 `metadata.finalizers` 字段包含了值 "foregroundDeletion"。
一旦对象被设置为 “删除中” 状态,垃圾收集器会删除对象的所有 Dependent。
垃圾收集器在删除了所有 “Blocking” 状态的 Dependent(对象的 `ownerReference.blockOwnerDeletion=true`)之后,它会删除 Owner 对象。
注意,在 “foreground 删除” 模式下,只有设置了 `ownerReference.blockOwnerDeletion` 值得 Dependent 才能阻止删除 Owner 对象。
在 Kubernetes 1.7 版本中将增加许可控制器(Admission Controller),基于 Owner 对象上的删除权限来控制用户去设置 `blockOwnerDeletion` 的值为 true,所以未授权的 Dependent 不能够延迟 Owner 对象的删除。
如果一个对象的 `ownerReferences` 字段被一个 Controller(例如 Deployment 或 ReplicaSet)设置,`blockOwnerDeletion` 会被自动设置,不需要手动修改这个字段。
### 设置级联删除策略
通过为 Owner 对象设置 `deleteOptions.propagationPolicy` 字段,可以控制级联删除策略。
可能的取值包括:“orphan”、“Foreground” 或 “Background”。
对很多 Controller 资源,包括 ReplicationController、ReplicaSet、StatefulSet、DaemonSet 和 Deployment,默认的垃圾收集策略是 `orphan`
因此,除非指定其它的垃圾收集策略,否则所有 Dependent 对象使用的都是 `orphan` 策略。
下面是一个在后台删除 Dependent 对象的例子:
```shell
kubectl proxy --port=8080
curl -X DELETE localhost:8080/apis/extensions/v1beta1/namespaces/default/replicasets/my-repset \
-d '{"kind":"DeleteOptions","apiVersion":"v1","propagationPolicy":"Background"}' \
-H "Content-Type: application/json"
```
下面是一个在前台删除 Dependent 对象的例子:
```shell
kubectl proxy --port=8080
curl -X DELETE localhost:8080/apis/extensions/v1beta1/namespaces/default/replicasets/my-repset \
-d '{"kind":"DeleteOptions","apiVersion":"v1","propagationPolicy":"Foreground"}' \
-H "Content-Type: application/json"
```
下面是一个孤儿 Dependent 的例子:
```shell
kubectl proxy --port=8080
curl -X DELETE localhost:8080/apis/extensions/v1beta1/namespaces/default/replicasets/my-repset \
-d '{"kind":"DeleteOptions","apiVersion":"v1","propagationPolicy":"Orphan"}' \
-H "Content-Type: application/json"
```
kubectl 也支持级联删除。
通过设置 `--cascade` 为 true,可以使用 kubectl 自动删除 Dependent 对象。
设置 `--cascade` 为 false,会使 Dependent 对象成为孤儿 Dependent 对象。
`--cascade` 的默认值是 true。
下面是一个例子,使一个 ReplicaSet 的 Dependent 对象成为孤儿 Dependent
```shell
kubectl delete replicaset my-repset --cascade=false
```
## 已知的问题
* 1.7 版本,垃圾收集不支持 [自定义资源](/docs/concepts/api-extension/custom-resources/),比如那些通过 CustomResourceDefinition 新增,或者通过 API server 聚集而成的资源对象。
[其它已知的问题](https://github.com/kubernetes/kubernetes/issues/26120)
{{% /capture %}}
{{% capture whatsnext %}}
[设计文档 1](https://git.k8s.io/community/contributors/design-proposals/garbage-collection.md)
[设计文档 2](https://git.k8s.io/community/contributors/design-proposals/synchronous-garbage-collection.md)
{{% /capture %}}
@@ -1,15 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: pi
spec:
template:
metadata:
name: pi
spec:
containers:
- name: pi
image: perl
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: Never
@@ -1,17 +0,0 @@
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: my-repset
spec:
replicas: 3
selector:
matchLabels:
pod-is-for: garbage-collection-example
template:
metadata:
labels:
pod-is-for: garbage-collection-example
spec:
containers:
- name: nginx
image: nginx
@@ -1,16 +0,0 @@
apiVersion: apps/v1beta1 # for versions before 1.6.0 use extensions/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 3
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
@@ -1,331 +0,0 @@
---
approvers:
- erictune
title: Init 容器
redirect_from:
- "/docs/concepts/abstractions/init-containers/"
- "/docs/concepts/abstractions/init-containers.html"
- "/docs/user-guide/pods/init-container/"
- "/docs/user-guide/pods/init-container.html"
content_template: templates/concept
---
{{% capture overview %}}
本页提供了 Init 容器的概览,它是一种专用的容器,在应用容器启动之前运行,并包括一些应用镜像中不存在的实用工具和安装脚本。
{{% /capture %}}
{{< toc >}}
这个特性在 1.6 版本已经退出 beta 版本。Init 容器可以在 PodSpec 中同应用的 `containers` 数组一起来指定。
beta 注解的值将仍然需要保留,并覆盖 PodSpec 字段值。
{{% capture body %}}
## 理解 Init 容器
[Pod](/docs/concepts/abstractions/pod/) 能够具有多个容器,应用运行在容器里面,但是它也可能有一个或多个先于应用容器启动的 Init 容器。
Init 容器与普通的容器非常像,除了如下两点:
* 它们总是运行到完成。
* 每个都必须在下一个启动之前成功完成。
如果 Pod 的 Init 容器失败,Kubernetes 会不断地重启该 Pod,直到 Init 容器成功为止。然而,如果 Pod 对应的 `restartPolicy` 值为 Never,它不会重新启动。
指定容器为 Init 容器,需要在 PodSpec 中添加 `initContainers` 字段,以 [v1.Container](/docs/api-reference/v1.6/#container-v1-core) 类型对象的 JSON 数组的形式,还有 app 的 `containers` 数组。
Init 容器的状态在 `status.initContainerStatuses` 字段中以容器状态数组的格式返回(类似 `status.containerStatuses` 字段)。
### 与普通容器的不同之处
Init 容器支持应用容器的全部字段和特性,包括资源限制、数据卷和安全设置。
然而,Init 容器对资源请求和限制的处理稍有不同,在下面 [资源](#resources) 处有说明。
而且 Init 容器不支持 Readiness Probe,因为它们必须在 Pod 就绪之前运行完成。
如果为一个 Pod 指定了多个 Init 容器,那些容器会按顺序一次运行一个。
每个 Init 容器必须运行成功,下一个才能够运行。
当所有的 Init 容器运行完成时,Kubernetes 初始化 Pod 并像平常一样运行应用容器。
## Init 容器能做什么?
因为 Init 容器具有与应用容器分离的单独镜像,它们的启动相关代码具有如下优势:
* 它们可以包含并运行实用工具,处于安全考虑,是不建议在应用容器镜像中包含这些实用工具的。
* 它们可以包含使用工具和定制化代码来安装,但是不能出现在应用镜像中。例如,创建镜像没必要 `FROM` 另一个镜像,只需要在安装过程中使用类似 `sed``awk``python``dig` 这样的工具。
* 应用镜像可以分离出创建和部署的角色,而没有必要联合它们构建一个单独的镜像。
* 它们使用 Linux Namespace,所以对应用容器具有不同的文件系统视图。因此,它们能够具有访问 Secret 的权限,而应用容器不能够访问。
* 它们在应用容器启动之前运行完成,然而应用容器并行运行,所以 Init 容器提供了一种简单的方式来阻塞或延迟应用容器的启动,直到满足了一组先决条件。
### 示例
下面是一些如何使用 Init 容器的想法:
* 等待一个 Service 完成创建,通过类似如下 shell 命令:
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; exit 1
* 注册这个 Pod 到远程服务器,通过在命令中调用 API,类似如下:
curl -X POST http://$MANAGEMENT_SERVICE_HOST:$MANAGEMENT_SERVICE_PORT/register -d 'instance=$(<POD_NAME>)&ip=$(<POD_IP>)'
* 在启动应用容器之前等一段时间,使用类似 `sleep 60` 的命令。
* 克隆 Git 仓库到数据卷。
* 将配置值放到配置文件中,运行模板工具为主应用容器动态地生成配置文件。例如,在配置文件中存放 POD_IP 值,并使用 Jinja 生成主应用配置文件。
更多详细用法示例,可以在 [StatefulSet 文档](/docs/concepts/abstractions/controllers/statefulsets/) 和 [Pod 初始化](/docs/tasks/configure-pod-container/configure-pod-initialization) 中找到。
### 使用 Init 容器
下面是 Kubernetes 1.5 版本 yaml 文件,展示了一个具有 2 个 Init 容器的简单 Pod。
第一个等待 `myservice` 启动,第二个等待 `mydb` 启动。
一旦这两个 Service 都启动完成,Pod 将开始启动。
```yaml
apiVersion: v1
kind: Pod
metadata:
name: myapp-pod
labels:
app: myapp
annotations:
pod.beta.kubernetes.io/init-containers: '[
{
"name": "init-myservice",
"image": "busybox",
"command": ["sh", "-c", "until nslookup myservice; do echo waiting for myservice; sleep 2; done;"]
},
{
"name": "init-mydb",
"image": "busybox",
"command": ["sh", "-c", "until nslookup mydb; do echo waiting for mydb; sleep 2; done;"]
}
]'
spec:
containers:
- name: myapp-container
image: busybox
command: ['sh', '-c', 'echo The app is running! && sleep 3600']
```
这是 Kubernetes 1.6 版本的新语法,尽管老的 annotation 语法仍然可以使用。我们已经把 Init 容器的声明移到 `spec` 中:
```yaml
apiVersion: v1
kind: Pod
metadata:
name: myapp-pod
labels:
app: myapp
spec:
containers:
- name: myapp-container
image: busybox
command: ['sh', '-c', 'echo The app is running! && sleep 3600']
initContainers:
- name: init-myservice
image: busybox
command: ['sh', '-c', 'until nslookup myservice; do echo waiting for myservice; sleep 2; done;']
- name: init-mydb
image: busybox
command: ['sh', '-c', 'until nslookup mydb; do echo waiting for mydb; sleep 2; done;']
```
1.5 版本的语法在 1.6 版本仍然可以使用,但是我们推荐使用 1.6 版本的新语法。
在 Kubernetes 1.6 版本中,Init 容器在 API 中新建了一个字段。
虽然期望使用 beta 版本的 annotation,但在未来发行版将会被废弃掉。
下面的 yaml 文件展示了 `mydb``myservice` 两个 Service
```
kind: Service
apiVersion: v1
metadata:
name: myservice
spec:
ports:
- protocol: TCP
port: 80
targetPort: 9376
---
kind: Service
apiVersion: v1
metadata:
name: mydb
spec:
ports:
- protocol: TCP
port: 80
targetPort: 9377
```
这个 Pod 可以使用下面的命令进行启动和调试:
```
$ kubectl create -f myapp.yaml
pod "myapp-pod" created
$ kubectl get -f myapp.yaml
NAME READY STATUS RESTARTS AGE
myapp-pod 0/1 Init:0/2 0 6m
$ kubectl describe -f myapp.yaml
Name: myapp-pod
Namespace: default
[...]
Labels: app=myapp
Status: Pending
[...]
Init Containers:
init-myservice:
[...]
State: Running
[...]
init-mydb:
[...]
State: Waiting
Reason: PodInitializing
Ready: False
[...]
Containers:
myapp-container:
[...]
State: Waiting
Reason: PodInitializing
Ready: False
[...]
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
16s 16s 1 {default-scheduler } Normal Scheduled Successfully assigned myapp-pod to 172.17.4.201
16s 16s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Pulling pulling image "busybox"
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Pulled Successfully pulled image "busybox"
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Created Created container with docker id 5ced34a04634; Security:[seccomp=unconfined]
13s 13s 1 {kubelet 172.17.4.201} spec.initContainers{init-myservice} Normal Started Started container with docker id 5ced34a04634
$ kubectl logs myapp-pod -c init-myservice # Inspect the first init container
$ kubectl logs myapp-pod -c init-mydb # Inspect the second init container
```
一旦我们启动了 `mydb``myservice` 这两个 Service,我们能够看到 Init 容器完成,并且 `myapp-pod` 被创建:
```
$ kubectl create -f services.yaml
service "myservice" created
service "mydb" created
$ kubectl get -f myapp.yaml
NAME READY STATUS RESTARTS AGE
myapp-pod 1/1 Running 0 9m
```
这个例子非常简单,但是应该能够为创建自己的 Init 容器提供一些启发。
## 具体行为
在 Pod 启动过程中,Init 容器会按顺序在网络和数据卷初始化之后启动。
每个容器必须在下一个容器启动之前成功退出。
如果由于运行时或失败退出,导致容器启动失败,它会根据 Pod 的 `restartPolicy` 指定的策略进行重试。
然而,如果 Pod 的 `restartPolicy` 设置为 Always,Init 容器失败时会使用 `RestartPolicy` 策略。
在所有的 Init 容器没有成功之前,Pod 将不会变成 `Ready` 状态。
Init 容器的端口将不会在 Service 中进行聚集。
正在初始化中的 Pod 处于 `Pending` 状态,但应该会将条件 `Initializing` 设置为 true。
如果 Pod [重启](#pod-restart-reasons),所有 Init 容器必须重新执行。
对 Init 容器 spec 的修改,被限制在容器 image 字段中。
更改 Init 容器的 image 字段,等价于重启该 Pod。
因为 Init 容器可能会被重启、重试或者重新执行,所以 Init 容器的代码应该是幂等的。
特别地,被写到 `EmptyDirs` 中文件的代码,应该对输出文件可能已经存在做好准备。
Init 容器具有应用容器的所有字段。
然而 Kubernetes 禁止使用 `readinessProbe`,因为 Init 容器不能够定义不同于完成(completion)的就绪(readiness)。
这会在验证过程中强制执行。
在 Pod 上使用 `activeDeadlineSeconds`,在容器上使用 `livenessProbe`,这样能够避免 Init 容器一直失败。
这就为 Init 容器活跃设置了一个期限。
在 Pod 中的每个 app 和 Init 容器的名称必须唯一;与任何其它容器共享同一个名称,会在验证时抛出错误。
### 资源
为 Init 容器指定顺序和执行逻辑,下面对资源使用的规则将被应用:
* 在所有 Init 容器上定义的,任何特殊资源请求或限制的最大值,是 *有效初始请求/限制*
* Pod 对资源的 *有效请求/限制* 要高于:
* 所有应用容器对某个资源的请求/限制之和
* 对某个资源的有效初始请求/限制
* 基于有效请求/限制完成调度,这意味着 Init 容器能够为初始化预留资源,这些资源在 Pod 生命周期过程中并没有被使用。
* Pod 的 *有效 QoS 层*,是 Init 容器和应用容器相同的 QoS 层。
基于有效 Pod 请求和限制来应用配额和限制。
Pod 级别的 cgroups 是基于有效 Pod 请求和限制,和调度器相同。
### Pod 重启的原因
Pod 能够重启,会导致 Init 容器重新执行,主要有如下几个原因:
* 用户更新 PodSpec 导致 Init 容器镜像发生改变。应用容器镜像的变更只会重启应用容器。
* Pod 基础设施容器被重启。这不多见,但某些具有 root 权限可访问 Node 的人可能会这样做。
* 当 `restartPolicy` 设置为 Always,Pod 中所有容器会终止,强制重启,由于垃圾收集导致 Init 容器完成的记录丢失。
## 支持与兼容性
Apiserver 版本为 1.6 或更高版本的集群,通过使用 `spec.initContainers` 字段来支持 Init 容器。
之前的版本可以使用 alpha 和 beta 注解支持 Init 容器。
`spec.initContainers` 字段也被加入到 alpha 和 beta 注解中,所以 Kubernetes 1.3.0 版本或更高版本可以执行 Init 容器,并且 1.6 版本的 apiserver 能够安全的回退到 1.5.x 版本,而不会使存在的已创建 Pod 失去 Init 容器的功能。
{{% /capture %}}
{{% capture whatsnext %}}
* [创建具有 Init 容器的 Pod](/docs/tasks/configure-pod-container/configure-pod-initialization/#creating-a-pod-that-has-an-init-container)
{{% /capture %}}
@@ -1,175 +0,0 @@
---
title: Pod 的生命周期
redirect_from:
- "/docs/user-guide/pod-states/"
- "/docs/user-guide/pod-states.html"
content_template: templates/concept
---
{{% capture overview %}}
{{< comment >}}Updated: 4/14/2015{{< /comment >}}
{{< comment >}}Edited and moved to Concepts section: 2/2/17{{< /comment >}}
该页面将描述 Pod 的生命周期。
{{% /capture %}}
{{% capture body %}}
## Pod phase
Pod 的 `status` 定义在 [PodStatus](/docs/resources-reference/v1.7/#podstatus-v1-core) 对象中,其中有一个 `phase` 字段。
Pod 的运行阶段(phase)是 Pod 在其生命周期中的简单宏观概述。该阶段并不是对容器或 Pod 的综合汇总,也不是为了做为综合状态机。
Pod 相位的数量和含义是严格指定的。除了本文档中列举的内容外,不应该再假定 Pod 有其他的 `phase` 值。
下面是 `phase` 可能的值:
- 挂起(Pending):Pod 已被 Kubernetes 系统接受,但有一个或者多个容器镜像尚未创建。等待时间包括调度 Pod 的时间和通过网络下载镜像的时间,这可能需要花点时间。
- 运行中(Running):该 Pod 已经绑定到了一个节点上,Pod 中所有的容器都已被创建。至少有一个容器正在运行,或者正处于启动或重启状态。
- 成功(Succeeded):Pod 中的所有容器都被成功终止,并且不会再重启。
- 失败(Failed):Pod 中的所有容器都已终止了,并且至少有一个容器是因为失败终止。也就是说,容器以非0状态退出或者被系统终止。
- 未知(Unknown):因为某些原因无法取得 Pod 的状态,通常是因为与 Pod 所在主机通信失败。
## Pod 状态
Pod 有一个 PodStatus 对象,其中包含一个 [PodCondition](/docs/resources-reference/v1.7/#podcondition-v1-core) 数组。 PodCondition 数组的每个元素都有一个 `type` 字段和一个 `status` 字段。`type` 字段是字符串,可能的值有 PodScheduled、Ready、Initialized 和 Unschedulable。`status` 字段是一个字符串,可能的值有 True、False 和 Unknown。
## 容器探针
[探针](/docs/resources-reference/v1.7/#probe-v1-core) 是由 [kubelet](/docs/admin/kubelet/) 对容器执行的定期诊断。要执行诊断,kubelet 调用由容器实现的 [Handler](https://godoc.org/k8s.io/kubernetes/pkg/api/v1#Handler)。有三种类型的处理程序:
- [ExecAction](/docs/resources-reference/v1.7/#execaction-v1-core):在容器内执行指定命令。如果命令退出时返回码为 0 则认为诊断成功。
- [TCPSocketAction](/docs/resources-reference/v1.7/#tcpsocketaction-v1-core):对指定端口上的容器的 IP 地址进行 TCP 检查。如果端口打开,则诊断被认为是成功的。
- [HTTPGetAction](/docs/resources-reference/v1.7/#httpgetaction-v1-core):对指定的端口和路径上的容器的 IP 地址执行 HTTP Get 请求。如果响应的状态码大于等于200 且小于 400,则诊断被认为是成功的。
每次探测都将获得以下三种结果之一:
- 成功:容器通过了诊断。
- 失败:容器未通过诊断。
- 未知:诊断失败,因此不会采取任何行动。
Kubelet 可以选择是否执行在容器上运行的两种探针执行和做出反应:
- `livenessProbe`:指示容器是否正在运行。如果存活探测失败,则 kubelet 会杀死容器,并且容器将受到其 [重启策略](/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy) 的影响。如果容器不提供存活探针,则默认状态为 `Success`
- `readinessProbe`:指示容器是否准备好服务请求。如果就绪探测失败,端点控制器将从与 Pod 匹配的所有 Service 的端点中删除该 Pod 的 IP 地址。初始延迟之前的就绪状态默认为 `Failure`。如果容器不提供就绪探针,则默认状态为 `Success`
### 该什么时候使用存活(liveness)和就绪(readiness)探针?
如果容器中的进程能够在遇到问题或不健康的情况下自行崩溃,则不一定需要存活探针; kubelet 将根据 Pod 的`restartPolicy` 自动执行正确的操作。
如果您希望容器在探测失败时被杀死并重新启动,那么请指定一个存活探针,并指定`restartPolicy` 为 Always 或 OnFailure。
如果要仅在探测成功时才开始向 Pod 发送流量,请指定就绪探针。在这种情况下,就绪探针可能与存活探针相同,但是 spec 中的就绪探针的存在意味着 Pod 将在没有接收到任何流量的情况下启动,并且只有在探针探测成功后才开始接收流量。
如果您希望容器能够自行维护,您可以指定一个就绪探针,该探针检查与存活探针不同的端点。
请注意,如果您只想在 Pod 被删除时能够排除请求,则不一定需要使用就绪探针;在删除 Pod 时,Pod 会自动将自身置于未完成状态,无论就绪探针是否存在。当等待 Pod 中的容器停止时,Pod 仍处于未完成状态。
## Pod 和容器状态
有关 Pod 容器状态的详细信息,请参阅 [PodStatus](/docs/resources-reference/v1.7/#podstatus-v1-core) 和 [ContainerStatus](/docs/resources-reference/v1.7/#containerstatus-v1-core)。请注意,报告的 Pod 状态信息取决于当前的 [ContainerState](/docs/resources-reference/v1.7/#containerstatus-v1-core)。
## 重启策略
PodSpec 中有一个 `restartPolicy` 字段,可能的值为 Always、OnFailure 和 Never。默认为 Always。 `restartPolicy` 适用于 Pod 中的所有容器。`restartPolicy` 仅指通过同一节点上的 kubelet 重新启动容器。失败的容器由 kubelet 以五分钟为上限的指数退避延迟(10秒,20秒,40秒...)重新启动,并在成功执行十分钟后重置。如 [Pod 文档](/docs/user-guide/pods/#durability-of-pods-or-lack-thereof) 中所述,一旦绑定到一个节点,Pod 将永远不会重新绑定到另一个节点。
## Pod 的生命
一般来说,Pod 不会消失,直到人为销毁他们。这可能是一个人或控制器。这个规则的唯一例外是成功或失败的 `phase` 超过一段时间(由 master 确定)的Pod将过期并被自动销毁。
有三种可用的控制器:
- 使用 [Job](/docs/concepts/jobs/run-to-completion-finite-workloads/) 运行预期会终止的 Pod,例如批量计算。Job 仅适用于重启策略为 `OnFailure``Never` 的 Pod。
- 对预期不会终止的 Pod 使用 [ReplicationController](/docs/concepts/workloads/controllers/replicationcontroller/)、[ReplicaSet](/docs/concepts/workloads/controllers/replicaset/) 和 [Deployment](/docs/concepts/workloads/controllers/deployment/) ,例如 Web 服务器。 ReplicationController 仅适用于具有 `restartPolicy` 为 Always 的 Pod。
- 提供特定于机器的系统服务,使用 [DaemonSet](/docs/concepts/workloads/controllers/daemonset/) 为每台机器运行一个 Pod 。
所有这三种类型的控制器都包含一个 PodTemplate。建议创建适当的控制器,让它们来创建 Pod,而不是直接自己创建 Pod。这是因为单独的 Pod 在机器故障的情况下没有办法自动复原,而控制器却可以。
如果节点死亡或与集群的其余部分断开连接,则 Kubernetes 将应用一个策略将丢失节点上的所有 Pod 的 `phase` 设置为 Failed。
## 示例
### 高级 liveness 探针示例
存活探针由 kubelet 来执行,因此所有的请求都在 kubelet 的网络命名空间中进行。
```yaml
apiVersion: v1
kind: Pod
metadata:
labels:
test: liveness
name: liveness-http
spec:
containers:
- args:
- /server
image: k8s.gcr.io/liveness
livenessProbe:
httpGet:
# when "host" is not defined, "PodIP" will be used
# host: my-host
# when "scheme" is not defined, "HTTP" scheme will be used. Only "HTTP" and "HTTPS" are allowed
# scheme: HTTPS
path: /healthz
port: 8080
httpHeaders:
- name: X-Custom-Header
value: Awesome
initialDelaySeconds: 15
timeoutSeconds: 1
name: liveness
```
### 状态示例
- Pod 中只有一个容器并且正在运行。容器成功退出。
- 记录完成事件。
- 如果 `restartPolicy` 为:
- Always:重启容器;Pod `phase` 仍为 Running。
- OnFailurePod `phase` 变成 Succeeded。
- NeverPod `phase` 变成 Succeeded。
- Pod 中只有一个容器并且正在运行。容器退出失败。
- 记录失败事件。
- 如果 `restartPolicy` 为:
- Always:重启容器;Pod `phase` 仍为 Running。
- OnFailure:重启容器;Pod `phase` 仍为 Running。
- NeverPod `phase` 变成 Failed。
- Pod 中有两个容器并且正在运行。有一个容器退出失败。
- 记录失败事件。
- 如果 restartPolicy 为:
- Always:重启容器;Pod `phase` 仍为 Running。
- OnFailure:重启容器;Pod `phase` 仍为 Running。
- Never:不重启容器;Pod `phase` 仍为 Running。
- 如果有一个容器没有处于运行状态,并且两个容器退出:
- 记录失败事件。
- 如果 `restartPolicy` 为:
- Always:重启容器;Pod `phase` 仍为 Running。
- OnFailure:重启容器;Pod `phase` 仍为 Running。
- NeverPod `phase` 变成 Failed。
- Pod 中只有一个容器并处于运行状态。容器运行时内存超出限制:
- 容器以失败状态终止。
- 记录 OOM 事件。
- 如果 `restartPolicy` 为:
- Always:重启容器;Pod `phase` 仍为 Running。
- OnFailure:重启容器;Pod `phase` 仍为 Running。
- Never: 记录失败事件;Pod `phase` 仍为 Failed。
- Pod 正在运行,磁盘故障:
- 杀掉所有容器。
- 记录适当事件。
- Pod `phase` 变成 Failed。
- 如果使用控制器来运行,Pod 将在别处重建。
- Pod 正在运行,其节点被分段。
- 节点控制器等待直到超时。
- 节点控制器将 Pod `phase` 设置为 Failed。
- 如果是用控制器来运行,Pod 将在别处重建。
{{% /capture %}}
@@ -1,72 +0,0 @@
---
approvers:
- jessfraz
title: Pod Preset
content_template: templates/concept
---
{{% capture overview %}}
本文提供了 PodPreset 的概述。 在 pod 创建时,用户可以使用 `podpreset` 对象将特定信息注入
pod 中,这些信息可以包括 secret、 卷、卷挂载和环境变量。
{{% /capture %}}
{{< toc >}}
{{% capture body %}}
## 理解 Pod Preset
`Pod Preset` 是一种 API 资源,在 pod 创建时,用户可以用它将额外的运行时需求信息注入 pod。
使用[标签选择器(label selector](/docs/concepts/overview/working-with-objects/labels/#label-selectors)来指定 Pod Preset 所适用的 pod。
使用 Pod Preset 使得 pod 模板编写者不必显式地为每个 pod 设置信息。
这样,使用特定服务的 pod 模板编写者不需要了解该服务的所有细节。
了解更多的相关背景信息,请参考 [ PodPreset 设计提案](https://git.k8s.io/community/contributors/design-proposals/service-catalog/pod-preset.md)。
## PodPreset 如何工作
Kubernetes 提供了准入控制器 (`PodPreset`),该控制器被启用时,会将 Pod Preset
应用于接收到的 pod 创建请求中。
当出现 pod 创建请求时,系统会执行以下操作:
1. 检索所有可用 `PodPresets`
1. 检查 `PodPreset` 的标签选择器与要创建的 pod 的标签是否匹配。
1. 尝试合并 `PodPreset` 中定义的各种资源,并注入要创建的 pod。
1. 发生错误时抛出事件,该事件记录了 pod 信息合并错误,同时在 _不注入_ `PodPreset` 信息的情况下创建 pod。
1. 为改动的 pod spec 添加注解,来表明它被 `PodPreset` 所修改。 注解形如:
`podpreset.admission.kubernetes.io/podpreset-<pod-preset name>": "<resource version>"`
一个 Pod 可能不与任何 Pod Preset 匹配,也可能匹配多个 Pod Preset。 同时,一个 `PodPreset`
可能不应用于任何 Pod,也可能应用于多个 Pod。 当 `PodPreset` 应用于一个或多个 Pod 时,Kubernetes
修改 pod spec。 对于 `Env``EnvFrom``VolumeMounts` 的改动, Kubernetes 修改 pod
中所有容器的规格,对于卷的改动,Kubernetes 修改 Pod spec。
{{< note >}}
**注意:** Pod Preset 能够在适当的时候修改 Pod spec 的 `spec.containers` 字段,
但是不会应用于 `initContainers` 字段。
{{< /note >}}
### 为特定 Pod 禁用 Pod Preset
在一些情况下,用户不希望 pod 被 pod preset 所改动,这时,用户可以在 pod spec 中添加形如
`podpreset.admission.kubernetes.io/exclude: "true"` 的注解。
## 启用 Pod Preset
为了在集群中使用 Pod Preset,必须确保以下几点:
1. 已启用 api 类型 `settings.k8s.io/v1alpha1/podpreset`。 这可以通过在 API 服务器的
`--runtime-config` 配置项中包含 `settings.k8s.io/v1alpha1=true` 来实现。
1. 已启用准入控制器 `PodPreset`。 启用的一种方式是在 API 服务器的 `--admission-control`
配置项中包含 `PodPreset`
1. 已经通过在相应的名字空间中创建 `PodPreset` 对象,定义了 Pod preset。
{{% /capture %}}
{{% capture whatsnext %}}
* [使用 PodPreset 将信息注入 Pods](/docs/tasks/inject-data-application/podpreset/)
{{% /capture %}}
@@ -1,187 +0,0 @@
---
title: 同 Pod 内的容器使用共享卷通信
redirect_from:
- "/docs/user-guide/pods/multi-container/"
- "/docs/user-guide/pods/multi-container.html"
- "/docs/tasks/configure-pod-container/communicate-containers-same-pod/"
- "/docs/tasks/configure-pod-container/communicate-containers-same-pod.html"
content_template: templates/task
---
{{% capture overview %}}
本文旨在说明如何让一个 Pod 内的两个容器使用一个卷(Volume)进行通信。
{{% /capture %}}
{{% capture prerequisites %}}
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
{{% /capture %}}
{{% capture steps %}}
## 创建一个包含两个容器的 Pod
在这个练习中,你会创建一个包含两个容器的 Pod。两个容器共享一个卷用于他们之间的通信。
Pod 的配置文件如下:
{{< code file="two-container-pod.yaml" >}}
在配置文件中,你可以看到 Pod 有一个共享卷,名为 `shared-data`
配置文件中的第一个容器运行了一个 nginx 服务器。共享卷的挂载路径是 `/usr/share/nginx/html`
第二个容器是基于 debian 镜像的,有一个 `/pod-data` 的挂载路径。第二个容器运行了下面的命令然后终止。
echo Hello from the debian container > /pod-data/index.html
注意,第二个容器在 nginx 服务器的根目录下写了 `index.html` 文件。
创建一个包含两个容器的 Pod
kubectl create -f https://k8s.io/docs/tasks/access-application-cluster/two-container-pod.yaml
查看 Pod 和容器的信息:
kubectl get pod two-containers --output=yaml
这是输出的一部分:
apiVersion: v1
kind: Pod
metadata:
...
name: two-containers
namespace: default
...
spec:
...
containerStatuses:
- containerID: docker://c1d8abd1 ...
image: debian
...
lastState:
terminated:
...
name: debian-container
...
- containerID: docker://96c1ff2c5bb ...
image: nginx
...
name: nginx-container
...
state:
running:
...
你可以看到 debian 容器已经被终止了,而 nginx 服务器依然在运行。
进入 nginx 容器的 shell
kubectl exec -it two-containers -c nginx-container -- /bin/bash
在 shell 中,确认 nginx 还在运行。
root@two-containers:/# ps aux
输出类似于这样:
USER PID ... STAT START TIME COMMAND
root 1 ... Ss 21:12 0:00 nginx: master process nginx -g daemon off;
回忆一下,debian 容器在 nginx 的根目录下创建了 `index.html` 文件。
使用 `curl` 向 nginx 服务器发送一个 GET 请求:
root@two-containers:/# apt-get update
root@two-containers:/# apt-get install curl
root@two-containers:/# curl localhost
输出表示 nginx 提供了 debian 容器写的页面:
Hello from the debian container
{{% /capture %}}
{{% capture discussion %}}
## 讨论
Pod 能有多个容器的主要原因是为了支持辅助应用(helper applications),以协助主应用(primary application)。
辅助应用的典型例子是数据抽取,数据推送和代理。辅助应用和主应用经常需要相互通信。
就如这个练习所示,通信通常是通过共享文件系统完成的,或者,也通过回环网络接口 localhost 完成。
举个网络接口的例子,web 服务器带有一个协助程序用于拉取 Git 仓库的更新。
在本练习中的卷为 Pod 生命周期中的容器相互通信提供了一种方法。如果 Pod 被删除或者重建了,
任何共享卷中的数据都会丢失。
{{% /capture %}}
{{% capture whatsnext %}}
* 更多学习内容
[混合容器的方式](http://blog.kubernetes.io/2015/06/the-distributed-system-toolkit-patterns.html)。
* 学习 [模块化架构的混合容器](http://www.slideshare.net/Docker/slideshare-burns)。
* 参见 [配置一个使用存储卷的 Pod](/docs/tasks/configure-pod-container/configure-volume-storage/)。
* 参见 [](/docs/api-reference/{{< param "version" >}}/#volume-v1-core)。
* 参见 [Pod](/docs/api-reference/{{< param "version" >}}/#pod-v1-core).
{{% /capture %}}
@@ -1,126 +0,0 @@
---
approvers:
- bprashanth
- davidopp
title: 配置你的云平台防火墙
---
许多云服务商(比如 Google Compute Engine)定义防火墙以防止服务无意间暴露到 internet 上。
当暴露服务给外网时,你可能需要在防火墙上开启一个或者更多的端口来支持服务。
本文描述了这个过程,以及其他云服务商的具体信息。
## 负载均衡(LoadBalancer)服务的访问限制
当以 `spec.type: LoadBalancer` 使用服务时,你可以使用 `spec.loadBalancerSourceRanges` 指定允许访问负载均衡的 IP 段。
这个字段采用 CIDR 的 IP 段,Kubernetes 会使用这个段配置防火墙。支持这个功能的平台目前有 Google Compute EngineGoogle Kubernetes Engine 和 AWS。
如果云服务商不支持这个功能,这个字段会被忽略。
假设 10.0.0.0/8 是内部的子网。在下面这个例子中,会创建一个只有集群内部 ip 可以访问的负载均衡器。
集群外部的客户端是无法访问这个负载均衡器的。
```yaml
apiVersion: v1
kind: Service
metadata:
name: myapp
spec:
ports:
- port: 8765
targetPort: 9376
selector:
app: example
type: LoadBalancer
loadBalancerSourceRanges:
- 10.0.0.0/8
```
这个例子中,会创建一个只能被 IP 为 130.211.204.1 和 130.211.204.2 的客户端访问的负载据衡器。
```yaml
apiVersion: v1
kind: Service
metadata:
name: myapp
spec:
ports:
- port: 8765
targetPort: 9376
selector:
app: example
type: LoadBalancer
loadBalancerSourceRanges:
- 130.211.204.1/32
- 130.211.204.2/32
```
### 谷歌计算引擎(Google Compute Engine
当以 `spec.type: LoadBalancer` 使用服务时,防火墙会被自动打开。
然而,当以 `spec.type: NodePort` 使用服务时,防火墙默认 *不会* 被打开。
Google Compute Engine 的防火墙文档在[别处](https://cloud.google.com/compute/docs/networking#firewalls_1)。
你可以使用 `gcloud` 命令行工具添加一个防火墙:
```shell
$ gcloud compute firewall-rules create my-rule --allow=tcp:<port>
```
**注意**
使用 Google Compute Engine 平台的防火墙时有一个重要的关于安全的注意点:
在 Kubernetes v1.0.0 版本,GCE 防火墙是定义按虚拟机(VM)来的,而不是按 ip 来的。
这就意味着当你在防火墙上打开一个服务端口时,任何在那台虚拟机 IP 上的同一端口的服务
都有被外部访问的潜在可能。注意,这对于其他 Kubernetes 服务来说不是问题,因为他们监
听的 IP 地址与主机节点的外部 IP 地址不同。
考虑一下:
* 你创建了一个服务,使用了外部服务均衡 (IP 地址为 1.2.3.4) 和 80 端口。
* 你在防火墙上为集群的所有节点都打开了 80 端口,所以外部的服务可以向你的
服务发送数据包。
* 你又在虚拟机(IP 为2.3.4.5)上使用 80 端口启动了一台 nginx 服务器.
这个 nginx 在虚拟机的外部 IP 地址上也被暴露到了 internet 上。
因此,在 Google Compute Engine 或者 Google Kubernetes Engine 上开启防火墙端口时请
小心。你可能无意间把其他服务也暴露给了 internet。
这个问题会在 Kubernetes 后续版本中被修复。
### 其他云服务商
即将更新
@@ -1,224 +0,0 @@
---
title: 使用 Service 把前端连接到后端
content_template: templates/tutorial
---
{{% capture overview %}}
本任务会描述如何创建前端微服务和后端微服务。后端微服务是一个 hello 欢迎程序。
前端和后端的连接是通过 Kubernetes 服务对象(Service object)完成的。
{{% /capture %}}
{{% capture objectives %}}
* 使用部署对象(Deployment object)创建并运行一个微服务
* 从后端将流量路由到前端
* 使用服务对象把前端应用连接到后端应用
{{% /capture %}}
{{% capture prerequisites %}}
* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
* 本任务使用 [外部负载均衡服务](/docs/tasks/access-application-cluster/create-external-load-balancer/)
所以需要对应的可支持此功能的环境。如果你的环境不能支持,你可以使用
[NodePort](/docs/user-guide/services/#type-nodeport) 类型的服务代替。
{{% /capture %}}
{{% capture lessoncontent %}}
### 使用部署对象(Deployment)创建后端
后端是一个简单的 hello 欢迎微服务应用。这是后端应用的 Deployment 配置文件:
{{< code file="hello.yaml" >}}
创建后端 Deployment
```
kubectl create -f https://k8s.io/docs/tasks/access-application-cluster/hello.yaml
```
查看后端的 Deployment 信息:
```
kubectl describe deployment hello
```
输出类似于:
```
Name: hello
Namespace: default
CreationTimestamp: Mon, 24 Oct 2016 14:21:02 -0700
Labels: app=hello
tier=backend
track=stable
Selector: app=hello,tier=backend,track=stable
Replicas: 7 updated | 7 total | 7 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 1 max unavailable, 1 max surge
OldReplicaSets: <none>
NewReplicaSet: hello-3621623197 (7/7 replicas created)
Events:
...
```
### 创建后端服务对象(Service object
前端连接到后端的关键是 Service。Service 创建一个固定 IP 和 DNS 解析名入口,
使得后端微服务可达。Service 使用 selector 标签来寻找目标 Pod。
首先,浏览 Service 的配置文件:
{{< code file="hello-service.yaml" >}}
配置文件中,你可以看到 Service 将流量路由到包含 `app: hello``tier: backend` 标签的 Pod。
创建 `hello` Service
```
kubectl create -f https://k8s.io/docs/tasks/access-application-cluster/hello-service.yaml
```
此时,你已经有了一个在运行的后端 Deployment,你也有了一个 Service 用于路由网络流量。
### 创建前端应用
既然你已经有了后端应用,你可以创建一个前端应用连接到后端。前端应用通过 DNS 名连接到后端的工作 Pods。
DNS 名是 "hello",也就是 Service 配置文件中 `name` 字段的值。
前端 Deployment 中的 Pods 运行一个 nginx 镜像,这个已经配置好镜像去寻找后端的 hello Service。
只是 nginx 的配置文件:
{{< code file="frontend/frontend.conf" >}}
与后端类似,前端用包含一个 Deployment 和一个 Service。Service 的配置文件包含了 `type: LoadBalancer`
也就是说,Service 会使用你的云服务商的默认负载均衡设备。
{{< code file="frontend.yaml" >}}
创建前端 Deployment 和 Service
```
kubectl create -f https://k8s.io/docs/tasks/access-application-cluster/frontend.yaml
```
通过输出确认两个资源都已经被创建:
```
deployment "frontend" created
service "frontend" created
```
**注意**:这个 nginx 配置文件是被打包在 [容器镜像](/docs/tasks/access-application-cluster/frontend/Dockerfile) 里的。
更好的方法是使用 [ConfigMap](/docs/tasks/configure-pod-container/configure-pod-configmap/),这样的话你可以更轻易地更改配置。
### 与前端 Service 交互
一旦你创建了 LoadBalancer 类型的 Service,你可以使用这条命令查看外部 IP:
```
kubectl get service frontend
```
外部 IP 字段的生成可能需要一些时间。如果是这种情况,外部 IP 会显示为 `<pending>`
```
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
frontend 10.51.252.116 <pending> 80/TCP 10s
```
使用相同的命令直到它显示外部 IP 地址:
```
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
frontend 10.51.252.116 XXX.XXX.XXX.XXX 80/TCP 1m
```
### 通过前端发送流量
前端和后端已经完成连接了。你可以使用 curl 命令通过你的前端 Service 的外部 IP 访问服务端点。
```
curl http://<EXTERNAL-IP>
```
后端生成的消息输出如下:
```
{"message":"Hello"}
```
{{% /capture %}}
{{% capture whatsnext %}}
* 了解更多 [Services](/docs/concepts/services-networking/service/)
* 了解更多 [ConfigMaps](/docs/tasks/configure-pod-container/configure-pod-configmap/)
{{% /capture %}}
@@ -1,34 +0,0 @@
kind: Service
apiVersion: v1
metadata:
name: frontend
spec:
selector:
app: hello
tier: frontend
ports:
- protocol: "TCP"
port: 80
targetPort: 80
type: LoadBalancer
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: frontend
spec:
replicas: 1
template:
metadata:
labels:
app: hello
tier: frontend
track: stable
spec:
containers:
- name: nginx
image: "gcr.io/google-samples/hello-frontend:1.0"
lifecycle:
preStop:
exec:
command: ["/usr/sbin/nginx","-s","quit"]
@@ -1,19 +0,0 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: hello
spec:
replicas: 7
template:
metadata:
labels:
app: hello
tier: backend
track: stable
spec:
containers:
- name: hello
image: "gcr.io/google-samples/hello-go-gke:1.0"
ports:
- name: http
containerPort: 80
@@ -1,33 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
labels:
name: redis
redis-sentinel: "true"
role: master
name: redis-master
spec:
containers:
- name: master
image: k8s.gcr.io/redis:v1
env:
- name: MASTER
value: "true"
ports:
- containerPort: 6379
resources:
limits:
cpu: "0.1"
volumeMounts:
- mountPath: /redis-master-data
name: data
- name: sentinel
image: kubernetes/redis:v1
env:
- name: SENTINEL
value: "true"
ports:
- containerPort: 26379
volumes:
- name: data
emptyDir: {}
@@ -1,412 +0,0 @@
---
approvers:
- derekwaynecarr
- janetkuo
title: 应用资源配额和限额
redirect_from:
- "/docs/admin/resourcequota/walkthrough/"
- "/docs/admin/resourcequota/walkthrough.html"
- "/docs/tasks/configure-pod-container/apply-resource-quota-limit/"
- "/docs/tasks/configure-pod-container/apply-resource-quota-limit.html"
content_template: templates/task
---
{{% capture overview %}}
本示例展示了在一个 namespace 中控制资源用量的典型设置。
本文展示了以下资源的使用: [Namespace](/docs/admin/namespaces), [ResourceQuota](/docs/concepts/policy/resource-quotas/) 和 [LimitRange](/docs/tasks/configure-pod-container/limit-range/)。
{{% /capture %}}
{{% capture prerequisites %}}
* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
{{% /capture %}}
{{% capture steps %}}
## 场景
集群管理员正在操作一个代表用户群体的集群,他希望控制一个特定 namespace 中可以被使用的资源总量,以达到促进对集群的公平共享及控制成本的目的。
集群管理员有以下目标:
* 限制运行中 pods 使用的计算资源数量
* 限制 persistent volume claims 数量以控制对存储的访问
* 限制 load balancers 数量以控制成本
* 防止使用 node ports 以保留稀缺资源
* 提供默认计算资源请求以实现更好的调度决策
## 创建 namespace
本示例将在一个自定义的 namespace 中运行,以展示相关概念。
让我们创建一个叫做 quota-example 的新 namespace
```shell
$ kubectl create namespace quota-example
namespace "quota-example" created
$ kubectl get namespaces
NAME STATUS AGE
default Active 2m
kube-system Active 2m
quota-example Active 39s
```
## 应用 object-count 配额到 namespace
集群管理员想要控制下列资源:
* persistent volume claims
* load balancers
* node ports
我们来创建一个简单的配额,用于控制这个 namespace 中那些资源类型的对象数量。
```shell
$ kubectl create -f https://k8s.io/docs/tasks/configure-pod-container/rq-object-counts.yaml --namespace=quota-example
resourcequota "object-counts" created
```
配额系统将察觉到有一个配额被创建,并且会计算 namespace 中的资源消耗量作为响应。这应该会很快发生。
让我们显示一下配额来观察这个 namespace 中当前被消耗的资源:
```shell
$ kubectl describe quota object-counts --namespace=quota-example
Name: object-counts
Namespace: quota-example
Resource Used Hard
-------- ---- ----
persistentvolumeclaims 0 2
services.loadbalancers 0 2
services.nodeports 0 0
```
配额系统现在将阻止用户创建比各个资源指定数量更多的资源。
## 应用计算资源配额到 namespace
为了限制这个 namespace 可以被使用的计算资源数量,让我们创建一个跟踪计算资源的配额。
```shell
$ kubectl create -f https://k8s.io/docs/tasks/configure-pod-container/rq-compute-resources.yaml --namespace=quota-example
resourcequota "compute-resources" created
```
让我们显示一下配额来观察这个 namespace 中当前被消耗的资源:
```shell
$ kubectl describe quota compute-resources --namespace=quota-example
Name: compute-resources
Namespace: quota-example
Resource Used Hard
-------- ---- ----
limits.cpu 0 2
limits.memory 0 2Gi
pods 0 4
requests.cpu 0 1
requests.memory 0 1Gi
```
配额系统现在会防止 namespace 拥有超过 4 个没有终止的 pods。此外它还将强制 pod 中的每个容器配置一个 `request` 并为 `cpu``memory` 定义 `limit`
## 应用默认资源请求和限制
Pod 的作者很少为它们的 pods 指定资源请求和限制。
既然我们对项目应用了配额,我们来看一下当终端用户通过创建一个没有 cpu 和 内存限制的 pod 时会发生什么。这通过在 pod 里创建一个 nginx 容器实现。
作为演示,让我们来创建一个运行 nginx 的 deployment
```shell
$ kubectl run nginx --image=nginx --replicas=1 --namespace=quota-example
deployment "nginx" created
```
现在我们来看一下创建的 pods。
```shell
$ kubectl get pods --namespace=quota-example
```
发生了什么?我一个 pods 都没有!让我们 describe 这个 deployment 来看看发生了什么。
```shell
$ kubectl describe deployment nginx --namespace=quota-example
Name: nginx
Namespace: quota-example
CreationTimestamp: Mon, 06 Jun 2016 16:11:37 -0400
Labels: run=nginx
Selector: run=nginx
Replicas: 0 updated | 1 total | 0 available | 1 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 1 max unavailable, 1 max surge
OldReplicaSets: <none>
NewReplicaSet: nginx-3137573019 (0/1 replicas created)
...
```
Deployment 创建了一个对应的 replica set 并尝试按照大小来创建一个 pod。
让我们看看 replica set 的更多细节。
```shell
$ kubectl describe rs nginx-3137573019 --namespace=quota-example
Name: nginx-3137573019
Namespace: quota-example
Image(s): nginx
Selector: pod-template-hash=3137573019,run=nginx
Labels: pod-template-hash=3137573019
run=nginx
Replicas: 0 current / 1 desired
Pods Status: 0 Running / 0 Waiting / 0 Succeeded / 0 Failed
No volumes.
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
4m 7s 11 {replicaset-controller } Warning FailedCreate Error creating: pods "nginx-3137573019-" is forbidden: Failed quota: compute-resources: must specify limits.cpu,limits.memory,requests.cpu,requests.memory
```
Kubernetes API server 拒绝了 replica set 创建一个 pod 的请求,因为我们的 pods 没有为 `cpu``memory` 指定 `requests``limits`
因此,我们来为 pod 指定它可以使用的 `cpu``memory` 默认数量。
```shell
$ kubectl create -f https://k8s.io/docs/tasks/configure-pod-container/rq-limits.yaml --namespace=quota-example
limitrange "limits" created
$ kubectl describe limits limits --namespace=quota-example
Name: limits
Namespace: quota-example
Type Resource Min Max Default Request Default Limit Max Limit/Request Ratio
---- -------- --- --- --------------- ------------- -----------------------
Container memory - - 256Mi 512Mi -
Container cpu - - 100m 200m -
```
如果 Kubernetes API server 发现一个 namespace 中有一个创建 pod 的请求,并且 pod 中的容器没有设置任何计算资源请求时,作为准入控制的一部分,一个默认的 request 和 limit 将会被应用。
在本例中,创建的每个 pod 都将拥有如下的计算资源限制:
```shell
$ kubectl run nginx \
--image=nginx \
--replicas=1 \
--requests=cpu=100m,memory=256Mi \
--limits=cpu=200m,memory=512Mi \
--namespace=quota-example
```
由于已经为我们的 namespace 申请了默认的计算资源,我们的 replica set 应该能够创建它的 pods 了。
```shell
$ kubectl get pods --namespace=quota-example
NAME READY STATUS RESTARTS AGE
nginx-3137573019-fvrig 1/1 Running 0 6m
```
而且如果打印出我们在这个 namespace 中的配额使用情况:
```shell
$ kubectl describe quota --namespace=quota-example
Name: compute-resources
Namespace: quota-example
Resource Used Hard
-------- ---- ----
limits.cpu 200m 2
limits.memory 512Mi 2Gi
pods 1 4
requests.cpu 100m 1
requests.memory 256Mi 1Gi
Name: object-counts
Namespace: quota-example
Resource Used Hard
-------- ---- ----
persistentvolumeclaims 0 2
services.loadbalancers 0 2
services.nodeports 0 0
```
就像你看到的,创建的 pod 消耗了明确的计算资源量,并且正被 Kubernetes 正确的追踪着。
## 高级配额 scopes
让我们想象一下如果你不希望为你的 namespace 指定默认计算资源使用量。
作为替换,你希望用户在它们的 namespace 中运行指定数量的 `BestEffort` pods,以从宽松的计算资源中获得好处。然后要求用户为需要更高质量服务的 pods 配置一个显式的资源请求。
让我们新建一个拥有两个配额的 namespace 来演示这种行为:
```shell
$ kubectl create namespace quota-scopes
namespace "quota-scopes" created
$ kubectl create -f https://k8s.io/docs/tasks/configure-pod-container/rq-best-effort.yaml --namespace=quota-scopes
resourcequota "best-effort" created
$ kubectl create -f https://k8s.io/docs/tasks/configure-pod-container/rq-not-best-effort.yaml --namespace=quota-scopes
resourcequota "not-best-effort" created
$ kubectl describe quota --namespace=quota-scopes
Name: best-effort
Namespace: quota-scopes
Scopes: BestEffort
* Matches all pods that have best effort quality of service.
Resource Used Hard
-------- ---- ----
pods 0 10
Name: not-best-effort
Namespace: quota-scopes
Scopes: NotBestEffort
* Matches all pods that do not have best effort quality of service.
Resource Used Hard
-------- ---- ----
limits.cpu 0 2
limits.memory 0 2Gi
pods 0 4
requests.cpu 0 1
requests.memory 0 1Gi
```
在这种场景下,一个没有配置计算资源请求的 pod 将会被 `best-effort` 配额跟踪。
而配置了计算资源请求的则会被 `not-best-effort` 配额追踪。
让我们创建两个 deployments 作为演示:
```shell
$ kubectl run best-effort-nginx --image=nginx --replicas=8 --namespace=quota-scopes
deployment "best-effort-nginx" created
$ kubectl run not-best-effort-nginx \
--image=nginx \
--replicas=2 \
--requests=cpu=100m,memory=256Mi \
--limits=cpu=200m,memory=512Mi \
--namespace=quota-scopes
deployment "not-best-effort-nginx" created
```
虽然没有指定默认的 limits`best-effort-nginx` deployment 还是会创建 8 个 pods。这是由于它被 `best-effort` 配额追踪,而 `not-best-effort` 配额将忽略它。`not-best-effort` 配额将追踪 `not-best-effort-nginx` deployment,因为它创建的 pods 具有 `Burstable` 服务质量。
让我们列出 namespace 中的 pods
```shell
$ kubectl get pods --namespace=quota-scopes
NAME READY STATUS RESTARTS AGE
best-effort-nginx-3488455095-2qb41 1/1 Running 0 51s
best-effort-nginx-3488455095-3go7n 1/1 Running 0 51s
best-effort-nginx-3488455095-9o2xg 1/1 Running 0 51s
best-effort-nginx-3488455095-eyg40 1/1 Running 0 51s
best-effort-nginx-3488455095-gcs3v 1/1 Running 0 51s
best-effort-nginx-3488455095-rq8p1 1/1 Running 0 51s
best-effort-nginx-3488455095-udhhd 1/1 Running 0 51s
best-effort-nginx-3488455095-zmk12 1/1 Running 0 51s
not-best-effort-nginx-2204666826-7sl61 1/1 Running 0 23s
not-best-effort-nginx-2204666826-ke746 1/1 Running 0 23s
```
如你看到的,所有 10 个 pods 都已经被准许创建。
让我们 describe 这个 namespace 当前的配额使用情况:
```shell
$ kubectl describe quota --namespace=quota-scopes
Name: best-effort
Namespace: quota-scopes
Scopes: BestEffort
* Matches all pods that have best effort quality of service.
Resource Used Hard
-------- ---- ----
pods 8 10
Name: not-best-effort
Namespace: quota-scopes
Scopes: NotBestEffort
* Matches all pods that do not have best effort quality of service.
Resource Used Hard
-------- ---- ----
limits.cpu 400m 2
limits.memory 1Gi 2Gi
pods 2 4
requests.cpu 200m 1
requests.memory 512Mi 1Gi
```
如你看到的,`best-effort` 配额追踪了我们在 `best-effort-nginx` deployment 中创建的 8 个 pods 的资源用量,而 `not-best-effort` 配额追踪了我们在 `not-best-effort-nginx` deployment 中创的两个 pods 的用量。
Scopes 提供了一种来对任何配额文档追踪的资源集合进行细分的机制,给操作人员部署和追踪资源消耗带来更大的灵活性。
`BestEffort``NotBestEffort` scopes 之外,还有用于限制长时间运行和有时限 pods 的scopes。`Terminating` scope 将匹配任何 `spec.activeDeadlineSeconds` 不为 `nil` 的 pod。`NotTerminating` scope 将匹配任何 `spec.activeDeadlineSeconds``nil` 的 pod。这些 scopes 允许你基于 pods 在你集群中 node 上的预期持久程度来为它们指定配额。
{{% /capture %}}
{{% capture discussion %}}
## 总结
消耗节点 cpu 和 memory 资源的动作受到 namespace 配额定义的硬性配额限制的管制。
任意消耗那些资源的动作能够被调整,或者获得一个 namespace 级别的默认值以符合你最终的目标。
可以基于服务质量或者在你集群中节点上的预期持久程度来分配配额。
{{% /capture %}}
@@ -1,226 +0,0 @@
---
approvers:
- lavalamp
- thockin
title: 集群管理
---
{{< toc >}}
本文描述了和集群生命周期相关的几个主题:创建新集群、更新集群的 master 和 worker 节点、执行节点维护(例如升级内核)以及升级运行中集群的 Kubernetes API 版本。
## 创建和配置集群
要在一组机器上安装 Kubernetes, 请根据您的环境,查阅现有的 [入门指南](/docs/getting-started-guides/)
## 升级集群
集群升级当前是配套提供的,某些发布版本在升级时可能需要特殊处理。推荐管理员在升级他们的集群前,同时查阅 [发行说明](https://git.k8s.io/kubernetes/CHANGELOG.md) 和版本具体升级说明。
* [升级到 1.6](/docs/admin/upgrade-1-6)
### 升级 Google Compute Engine 集群
Google Compute Engine Open Source (GCE-OSS) 通过删除和重建 master 来支持 master 升级。通过维持相同的 Persistent Disk (PD) 以保证在升级过程中保留数据。
GCE 的 Node 升级采用 [管理实例组](https://cloud.google.com/compute/docs/instance-groups/),每个节点将被顺序的删除,然后使用新软件重建。任何运行在那个节点上的 Pod 需要用 Replication Controller 控制,或者在扩容之后手动重建。
开源 Google Compute Engine (GCE) 集群上的升级过程由 `cluster/gce/upgrade.sh` 脚本控制。
运行 `cluster/gce/upgrade.sh -h` 获取使用说明。
例如,只将 master 升级到一个指定的版本 (v1.0.2):
```shell
cluster/gce/upgrade.sh -M v1.0.2
```
或者,将整个集群升级到最新的稳定版本:
```shell
cluster/gce/upgrade.sh release/stable
```
### 升级 Google Kubernetes Engine 集群
Google Kubernetes Engine 自动升级 master 组件(例如 `kube-apiserver``kube-scheduler`)至最新版本。它还负责 master 运行的操作系统和其它组件。
节点升级过程由用户初始化,[Google Kubernetes Engine 文档](https://cloud.google.com/kubernetes-engine/docs/clusters/upgrade) 里有相关描述。
### 在其他平台上升级集群
不同的供应商和工具管理升级的过程各不相同。建议您查阅它们有关升级的主要文档。
* [kops](https://github.com/kubernetes/kops)
* [kubespray](https://github.com/kubernetes-incubator/kubespray)
* [CoreOS Tectonic](https://coreos.com/tectonic/docs/latest/admin/upgrade.html)
* ...
## 调整集群大小
如果集群资源短缺,您可以轻松的添加更多的机器,如果集群正运行在[节点自注册模式](/docs/admin/node/#self-registration-of-nodes)下的话。如果正在使用的是 GCE 或者 Google Kubernetes Engine,这将通过调整管理节点的实例组的大小完成。在 [Google Cloud Console page](https://console.developers.google.com) 的 `Compute > Compute Engine > Instance groups > your group > Edit group` 下修改实例数量或使用 gcloud CLI 都可以完成这个任务。
```shell
gcloud compute instance-groups managed resize kubernetes-minion-group --size 42 --zone $ZONE
```
实例组将负责在新机器上放置恰当的镜像并启动它们。Kubelet 将向 API server 注册它的节点以使其可以用于调度。如果您对 instance group 进行缩容,系统将会随机选取节点来终止。
在其他环境上,您可能需要手动配置机器并告诉 Kubelet API server 在哪台机器上运行。
### 集群自动伸缩
如果正在使用 GCE 或者 Google Kubernetes Engine,您可以配置您的集群,使其能够基于 pod 需求自动重新调整大小。
如 [Compute Resource](/docs/concepts/configuration/manage-compute-resources-container/) 所述,用户可以控制预留多少 CPU 和内存来分配给 pod。这个信息被 Kubernetes scheduler 用来寻找一个运行 pod 的地方。如果没有一个节点有足够的空闲容量(或者不能满足其他 pod 的需求),这个 pod 就需要等待某些 pod 结束,或者一个新的节点被添加。
集群 autoscaler 查找不能被调度的 pod 并检查添加一个新节点(和集群中其它节点类似的)是否有帮助。如果是的话,它将调整集群的大小以容纳等待调度的 pod。
如果发现在一段延时时间内(默认10分钟,将来有可能改变)某些节点不再需要,集群 autoscaler 也会缩小集群。
集群 autoscaler 在每一个实例组(GCE)或节点池(Google Kubernetes Engine)上配置。
如果您使用 GCE,那么您可以在使用 kube-up.sh 脚本创建集群的时候启用它。要想配置集群 autoscaler,您需要设置三个环境变量:
* `KUBE_ENABLE_CLUSTER_AUTOSCALER` - 如果设置为 true 将启用集群 autoscaler。
* `KUBE_AUTOSCALER_MIN_NODES` - 集群的最小节点数量。
* `KUBE_AUTOSCALER_MAX_NODES` - 集群的最大节点数量。
示例:
```shell
KUBE_ENABLE_CLUSTER_AUTOSCALER=true KUBE_AUTOSCALER_MIN_NODES=3 KUBE_AUTOSCALER_MAX_NODES=10 NUM_NODES=5 ./cluster/kube-up.sh
```
在 Google Kubernetes Engine 上,您可以在创建、更新集群或创建一个特别的节点池(您希望自动伸缩的)时,通过给对应的 `gcloud` 命令传递 `--enable-autoscaling` `--min-nodes``--max-nodes` 来配置集群 autoscaler。
示例:
```shell
gcloud container clusters create mytestcluster --zone=us-central1-b --enable-autoscaling --min-nodes=3 --max-nodes=10 --num-nodes=5
```
```shell
gcloud container clusters update mytestcluster --enable-autoscaling --min-nodes=1 --max-nodes=15
```
**集群 autoscaler 期望节点未被手动修改过(例如通过 kubectl 添加标签),因为那些属性可能不能被传递到相同节点组中的新节点上。**
## 维护节点
如果需要重启节点(例如内核升级、libc 升级、硬件维修等),且停机时间很短时,当 Kubelet 重启后,它将尝试重启调度到节点上的 pod。如果重启花费较长时间(默认时间为 5 分钟,由 controller-manager 的 `--pod-eviction-timeout` 控制),节点控制器将会结束绑定到这个不可用节点上的 pod。如果存在对应的 replica set(或者 replication controller)时,则将在另一个节点上启动 pod 的新副本。所以,如果所有的 pod 都是复制而来,那么在不是所有节点都同时停机的前提下,升级可以在不需要特殊调整情况下完成。
如果您希望更多的控制升级过程,可以使用下面的工作流程:
使用 `kubectl drain` 优雅的结束节点上的所有 pod 并同时标记节点为不可调度:
```shell
kubectl drain $NODENAME
```
在您正试图使节点离线时,这将阻止新的 pod 落到它们上面。
对于有 replica set 的 pod 来说,它们将会被新的 pod 替换并且将被调度到一个新的节点。此外,如果 pod 是一个 service 的一部分,则客户端将被自动重定向到新的 pod。
对于没有 replica set 的 pod,您需要手动启动 pod 的新副本,并且如果它不是 service 的一部分,您需要手动将客户端重定向到这个 pod。
在节点上执行维护工作。
重新使节点可调度:
```shell
kubectl uncordon $NODENAME
```
如果删除了节点的虚拟机实例并重新创建,那么一个新的可调度节点资源将被自动创建(只在您使用支持节点发现的云服务提供商时;当前只有 Google Compute Engine,不包括在 Google Compute Engine 上使用 kube-register 的 CoreOS)。相关详细信息,请查阅 [节点](/docs/admin/node)。
## 高级主题
### 升级到不同的 API 版本
当新的 API 版本发布时,您可能需要升级集群支持新的 API 版本(例如当 'v2' 发布时从 'v1' 切换到 'v2')。
这不是一个经常性的事件,但需要谨慎的处理。这里有一系列升级到新 API 版本的步骤。
1. 开启新 API 版本。
2. 升级集群存储来使用新版本。
3. 升级所有配置文件。识别使用旧 API 版本 endpoint 的用户。
4. 运行 `cluster/update-storage-objects.sh` 升级存储中的现有对象为新版本。
5. 关闭旧 API 版本。
### 打开或关闭集群的 API 版本
可以在启动 API server 时传递 `--runtime-config=api/<version>` 标志来打开或关闭特定的 API 版本。例如:要关闭 v1 API,请传递 `--runtime-config=api/v1=false`。运行时配置还支持两个特殊键值:api/all 和 api/legacy,分别控制全部和遗留 API。例如要关闭除 v1 外全部 API 版本,请传递 `--runtime-config=api/all=false,api/v1=true`。对于这些标志来说,_legacy_ API 指那些被显式废弃的 API(例如 `v1beta3`)。
### 切换集群存储的 API 版本
存储于磁盘中,用于在集群内部代表 Kubernetes 活跃资源的对象使用特定的 API 版本书写。当支撑的 API 改变时,这些对象可能需要使用更新的 API 重写。重写失败将最终导致资源不再能够被 Kubernetes API server 解析或使用。
`kube-apiserver` 二进制文件的 `KUBE_API_VERSIONS` 环境变量控制了集群支持的 API 版本。列表中的第一个版本被用作集群的存储版本。因此,要设置特定的版本为存储版本,请将其放在 `KUBE_API_VERSIONS` 参数值版本列表的最前面。您需要重启 `kube-apiserver` 二进制以使这个变量的改动生效。
### 切换配置文件为新 API 版本
可以使用 `kubectl convert` 命令对不同 API 版本的配置文件进行转换。
```shell
kubectl convert -f pod.yaml --output-version v1
```
更多选项请参考 [kubectl convert](/docs/user-guide/kubectl/v1.6/#convert) 命令用法。
@@ -1,33 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kube-dns-autoscaler
namespace: kube-system
labels:
k8s-app: kube-dns-autoscaler
spec:
selector:
matchLabels:
k8s-app: kube-dns-autoscaler
template:
metadata:
labels:
k8s-app: kube-dns-autoscaler
spec:
containers:
- name: autoscaler
image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.1
resources:
requests:
cpu: "20m"
memory: "10Mi"
command:
- /cluster-proportional-autoscaler
- --namespace=kube-system
- --configmap=kube-dns-autoscaler
- --target=<SCALE_TARGET>
# When cluster is using large nodes(with more cores), "coresPerReplica" should dominate.
# If using small nodes, "nodesPerReplica" should dominate.
- --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"min":1}}
- --logtostderr=true
- --v=2
@@ -1,11 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: default-mem-demo-2
spec:
containers:
- name: defalt-mem-demo-2-ctr
image: nginx
resources:
limits:
memory: "1Gi"
@@ -1,43 +0,0 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
labels:
component: scheduler
tier: control-plane
name: my-scheduler
namespace: kube-system
spec:
replicas: 1
template:
metadata:
labels:
component: scheduler
tier: control-plane
version: second
spec:
containers:
- command:
- /usr/local/bin/kube-scheduler
- --address=0.0.0.0
- --leader-elect=false
- --scheduler-name=my-scheduler
image: gcr.io/my-gcp-project/my-kube-scheduler:1.0
livenessProbe:
httpGet:
path: /healthz
port: 10251
initialDelaySeconds: 15
name: kube-second-scheduler
readinessProbe:
httpGet:
path: /healthz
port: 10251
resources:
requests:
cpu: '0.1'
securityContext:
privileged: false
volumeMounts: []
hostNetwork: false
hostPID: false
volumes: []
@@ -1,14 +0,0 @@
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: pod-quota-demo
spec:
replicas: 3
template:
metadata:
labels:
purpose: quota-demo
spec:
containers:
- name: pod-quota-demo
image: nginx
@@ -1,11 +0,0 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc-quota-demo-2
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 4Gi
@@ -1,16 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: cpu-demo-2
spec:
containers:
- name: cpu-demo-ctr-2
image: vish/stress
resources:
limits:
cpu: "100"
requests:
cpu: "100"
args:
- -cpus
- "2"
@@ -1,16 +0,0 @@
apiVersion: v1
kind: Pod
metadata:
name: cpu-demo
spec:
containers:
- name: cpu-demo-ctr
image: vish/stress
resources:
limits:
cpu: "1"
requests:
cpu: "0.5"
args:
- -cpus
- "2"

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