Commit Graph

2981 Commits

Author SHA1 Message Date
Zach Corleissen 329c823aa6 KEP 1327: Apply feedback for third party and dual sourced content (#19486)
* Apply feedback for third party and dual sourced content

Add feedback from sftim

clarify which slack

* Limit third-party content to OSS

See https://github.com/kubernetes/enhancements/pull/1327#discussion_r392966251 for more discussion
2020-03-17 15:45:25 -07:00
Brian Pursley e1397c9e2d Fixed incorrect commands for generating docs (#19693)
I followed the process for generating docs, but encountered and fixed some problems along the way due to incorrect commands in the documentation:
* Fixed incorrect go get source for `github.com/kubernetes-sigs/reference-docs`
* Fixed syntax error in shell commands by changing `$(GOPATH)` to `$GOPATH`
* Fixed wrong variable name, changed `WEB_ROOT` to `K8S_WEBROOT` to match what Makefile expects
2020-03-17 13:05:27 -07:00
inductor 4297f3b29c Update nginx to modern versions (#19198)
* update nginx versions

* update

* update examples
2020-03-17 10:48:23 -07:00
James Spurin 9e0f7b4eb3 update command nslookup target to include fully qualified service name, namespace picked up from running pod (#19603) 2020-03-16 14:34:30 -07:00
Daniel 246c052f5d Updating release note link (#19585) 2020-03-16 09:10:43 -07:00
Rajesh Deshpande 8aafa4ab9d Correcting name of concept 'Container Enviorment Variables' (#19279)
* Correcting name of concept 'Container Enviorment Variables'

This page discusses the container environment and container environment variables are part of it. So removing a 'variable' word to make it more correct.

* Correcting references 

Correcting references

* Correcting reference links

Correcting reference links
2020-03-16 09:08:44 -07:00
Anastas Dancha 1f958e0744 updating cheatsheet.md with command to get containerIDs of all initContainer (#19243)
* adding cheatsheet.md

adding kubectl command to get containerIDs of all
initContainers for every Pod in the cluster
helps to identify stopped container which should not be removed,
when running manual cleanup of stopped containers on K8s cluster nodes

* adding more context for finding initContainer IDs

* removing reference to github issue

Signed-off-by: Anastas Dancha <anapsix@random.io>
2020-03-15 23:12:35 -07:00
Tim Bannister 9e5b981f80 Add description (#19538) 2020-03-15 23:08:35 -07:00
Tim Bannister f9aa0bc0e5 Revise “What is Kubernetes” (#19534)
* Expand list of places Kubernetes can run

As well as GKE, there are AKS, EKS, and more.

* Add page description

* Link to blog post about Borg

The blog post has (a better) link to Google's paper about Borg. Because
of the historical relevance of that paper and that blog article to the
history of Kubernetes, I think it's OK to link there.

Linking to the blog article provides a less academic introduction to the
history of Kubernetes, with the option to click through and learn things
in detail.
2020-03-15 23:06:35 -07:00
CJ Cullen 08c535577b Add to the PSP warning about PVs that hostPath PVs cannot be made read-only. (#19504) 2020-03-15 23:04:35 -07:00
Johnny Lim fa286e842e Fix typo (#19651) 2020-03-15 23:02:35 -07:00
zhouya0 a794297373 Fix pod anti-affinity topology key (#19587) 2020-03-15 23:00:35 -07:00
Tim Bannister 19c883dd82 Admit that some objects don't have a spec (#18050)
Whilst most objects have a spec, it will confuse readers who come to
this page from a page about an object that doesn't (eg Secret,
Namespace, Role).
2020-03-15 22:58:35 -07:00
wawa 72129e2a0e Enhanced FileOrCreate description (#19442)
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2020-03-15 22:56:36 -07:00
Jie Shen 26d8e0c539 Change languge type for sample in multiple-zones.md (#19436) 2020-03-15 22:54:35 -07:00
RA489 6d37f8ccfc improvements to the br_netfilter documentation for kubeadm (#19610) 2020-03-15 22:50:35 -07:00
Qiming Teng 8ea63bde2f Drop 'federation' from cluster admin concepts (#19525)
Almost all links on the federation page are gone. Federation related
contents should be cleanly removed.
2020-03-15 22:48:35 -07:00
Tim Bannister 43212d6bc7 Reword pod priority and preemption concept (#17508)
* Remove mentions of unsupported Kubernetes versions

No need to mention supported-since-this-version details for Kubernetes
releases that are now out of support.

* Warn about disabling preemption

* Tweak wording

* Add What's next section

* Tweak Pod priority troubleshooting advice

Reshape the advice about pod priority troubleshooting to explain
user-induced issues (and define expected behavior). If the reader
detects behavior that does not match the documentation, they have
observed a bug and can report that via the usual routes.

* Rewords notes on Pod priority vs. QoS

* Move warning into page body
2020-03-15 22:42:35 -07:00
Sagar Velankar f29221f4c4 Issue #17556 (#17557)
Issue #17556

Problem:

Below Lines are incorrect

If you specify multiple nodeSelectorTerms associated with nodeAffinity types, then the pod can be scheduled onto a node if one of the nodeSelectorTerms is satisfied.

If you specify multiple matchExpressions associated with nodeSelectorTerms, then the pod can be scheduled onto a node only if all matchExpressions can be satisfied.

Proposed Solution:

They need to be corrected to below

If you specify multiple nodeSelectorTerms associated with nodeAffinity types, then the pod can be scheduled onto a node only if all nodeSelectorTerms can be satisfied.

If you specify multiple matchExpressions associated with nodeSelectorTerms, then the pod can be scheduled onto a node if one of the matchExpressions is satisfied.
2020-03-15 22:40:35 -07:00
Tim Bannister d341eee62e Add cross-references to fundamental concepts (#18092) 2020-03-15 22:30:35 -07:00
Tim Bannister ec909fd010 Add overview for container concept (#18090) 2020-03-15 22:28:35 -07:00
Tim Bannister 6f48108c95 Cleanup container probes task (#18233)
* Fix markdown for sample output

Don't highlight this sample output as if it's Bourne shell code.

* Tweak capitalization

- Pod is an API object type
- Container exists in the Kubernetes API, but you can't:
  kubectl get container
- Socket isn't an API object type

* Pin source to relevant release

Handle case where sample Golang server changes in master branch post
release.

* Tweak page wording

- Reword a heading in What's Next to explain the links
- explain context for a probe
2020-03-15 22:24:35 -07:00
steadysupply b2e7dee806 Grammar correction (#19083)
* Grammar correction

* Update ingress.md
2020-03-15 22:20:35 -07:00
Tim Bannister 8999de5238 Fix glossary definitions for cluster infrastructure & operations (#18317)
- Fix category typo
- Reword
2020-03-15 22:18:35 -07:00
neo502721 1e5d05293b change the job example k8s.io to kubernetes.io (#18699)
k8s.io No longer accessible
2020-03-15 22:14:35 -07:00
makocchi 6c0e47e652 Add defails about enabling or disabling extensions/v1beta1 api group (#18842) 2020-03-15 22:12:35 -07:00
Tim Bannister d9a74ae5fc Tidy port forward task (#18765)
* Reword to follow style guidelines

* Highlight commands as shell code

* Specify minimum version

This metadata alters the behavior of the {{< version-check >}}
shortcode.

* Downgrade warning to note

I don't see any adverse consequences if the reader is unaware that port
forwarding for UDP is not yet implemented.
2020-03-15 22:10:35 -07:00
Tim Bannister 83637c1ed2 Correct meaning of scheduling affinity benefits (#18764)
Commit f5bfa04aa4 incorrectly reworded the
benefits of using affinity / anti-affinity for Pod scheduling.
Revise this with new wording.
2020-03-15 22:08:35 -07:00
makocchi 08e21a1e90 Clean up extensions/v1beta1 in docs [reference/using-api/api-overview.md] (#18840)
* Clean up extensions/v1beta1 in docs

* Mention about resources in the extensions/v1beta1 api group
2020-03-15 22:06:36 -07:00
Manuel Rüger 1d08290c55 AdmissionControllers: Rewrite PodTolerationRestriction (#18849)
Personally the explanation was quite difficult to understand without looking into the code.
I hope I managed to simplify it a bit and added an example how to add annotations to a
namespace so they can be consumed by the PodTolerationRestriction admission
controller.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-03-15 22:04:35 -07:00
Daniel Helfand 9e289296c2 fix typos and styling for limitrange doc (#18961) 2020-03-15 22:02:35 -07:00
Tim Bannister be7d845c41 Revise “Using Source IP” task (#19007)
* Revise tutorial prerequisites

- Set and use min-kubernetes-server-version metadata
- Combine existing prerequisite sections

* Switch to documentation IPv4 addresses

Use documentation IPv4 addresses as per
https://tools.ietf.org/html/rfc5737

* Tidy Source IP tutorial

* Migrate to definition list

Also reword some definitions
2020-03-15 22:00:36 -07:00
Louis Raymond a869f00509 Update cheatsheet.md (#19039)
Replaced 'if' ZSH kubectl autocomplete with a more compact form
2020-03-15 21:58:35 -07:00
Qiming Teng e0a03c0ebd Resource name constraints (5) (#19122)
xref: #17969, #19099, #18746
2020-03-15 21:52:36 -07:00
Chris Chinchilla 01e7453cdf Update "what is kubernetes" subheading (#19115)
* Update what-is-kubernetes.md

The sub heading felt awkward as it was asking a question, but there was no question mark. As question marks in headings are not ideal in technical documentation anyway, I thought swapping the word order slightly made it sounds _slightly_ better.

* Update content/en/docs/concepts/overview/what-is-kubernetes.md

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-03-15 21:50:35 -07:00
nirroz93 9cc2aa225a correct example (#19137)
if you will try this it will give an error: "found character that cannot start any token"

same for all versions
2020-03-15 21:48:35 -07:00
Tim Bannister c5d7d32151 Reword API Server aggregation (#19141)
* Reword API Server aggregation

* Document custom resources ahead of APIService

CustomResourceDefinition is the newer, shinier and often more
appropriate resource to help with cases where APIService was not a good
fit. Switch order to mention the custom resources page first, which
introduces both APIService and CustomResourceDefinition.
2020-03-15 21:46:35 -07:00
davidgfolch 7007e8156f Config elasticsearch installed in minikube host (#19200)
* config elasticsearch installed in minikube host

Link to how to config an elasticsearch server in minikube host machine.

* config elasticsearch installed in minikube host

Link to how to config an elasticsearch server in minikube host machine.
2020-03-15 21:40:35 -07:00
Rajesh Deshpande 7b4ad25f13 Correcting example from namespaces-walkthrough task (#19294)
* Correcting deployment example

As 'kubectl run' command is deprecated, creating deployment with deployment manifest and apply command.

* Deployment manifest for snowflake example

Deployment manifest for snowflake example
2020-03-15 21:32:35 -07:00
Rajesh Deshpande c68f3883c2 Correcting inconsistency of storage class name (#19295)
Correcting inconsistency of storage class name
2020-03-15 21:30:35 -07:00
Tsahi Duek 5f496a6ce6 Changed 'caBundle' description (#19341)
It is not clear that the 'caBundle' field in the Mutating/Validating webhook object is used for client-side validation from the admission controller itself.
The comment which appears at the source code is much more clear --> https://github.com/kubernetes/api/blob/master/admissionregistration/v1beta1/types.go#L534-L537

My suggestion is to change the description to match the documentation which is IMO much more clear
2020-03-15 21:28:35 -07:00
Rajesh Deshpande a9719704e9 Removing non required details about the context (#19334)
Removing non-required details about the context
2020-03-15 21:26:36 -07:00
Naoki Oketani e37b117a3f remove example of deprecated option: kubectl get --export (#19336) 2020-03-15 21:24:35 -07:00
Stephen Cprek 186b9e0186 Clarify 2 second extended grace period for preStop (#19348) 2020-03-15 21:22:35 -07:00
Chris McInerney 8d1f0dec7b Update D2iQ Kommander link (#19353)
Update the table with the proper link for D2iQ's Kommander.
2020-03-15 21:20:35 -07:00
vergissmiNET 588dfad489 Update cluster-intro.html (#19446) 2020-03-15 21:14:35 -07:00
Hanyu Cui c667b22ef2 Instructions to upgrade Bash for shell autocompletion (#19561)
* Instructions to upgrade Bash for shell autocompletion

* Tweak

* Clarification
2020-03-15 21:04:35 -07:00
divya-mohan0209 e2c9be736a Signposting added in /docs/home to redirect users to /training (#19592)
* Update _index.md

Signpost readers from /docs/home/ to /training/ #19554

* Added the link to reroute users from /docs/home to /training

* Signposting for users added

* Updated _index.md
2020-03-15 20:48:35 -07:00
Jacky Wu d089656267 doc: remove federation tests in example and some federation content. (#19581) 2020-03-15 20:46:35 -07:00
Enshin Andrey 04b20e1dce Update custom-resources.md (#19597) 2020-03-15 20:38:35 -07:00