Commit Graph

2777 Commits

Author SHA1 Message Date
Kyle Smith 45d22102c6 Add Hyperlink to Kubernetes API (#18852) 2020-01-27 08:01:03 -08:00
Naoki Oketani d6024d62f5 remove $ following the style guide (#18855) 2020-01-27 07:59:08 -08:00
Jie Shen fb788cfba3 Fix typo in en/docs/contribute/style/content-guilde.md (#18862) 2020-01-27 01:35:05 -08:00
makocchi ba42867f68 Clean up extensions/v1beta1 in docs (#18838) 2020-01-26 14:23:02 -08:00
Mariyan Dimitrov 143b5c0019 Fix typo in Scalability section (#18866)
The phrase `very larger` is not valid, it is supposed to be either `very
large` or `larger`. Propose to have it `very large`.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>
2020-01-26 05:53:01 -08:00
Sharjeel Aziz 2d410f35c5 Fix for a typo (#18822) 2020-01-24 08:30:32 -08:00
Naoki Oketani bb06ed1193 fix an example path (#18848) 2020-01-24 06:32:32 -08:00
makocchi 27a407e886 Clean up extensions/v1beta1 in docs (#18839) 2020-01-24 06:30:33 -08:00
Joe Betz 6e83202424 Followup fixes for: Add resource version section to api-concepts (#18069)
* Followup fixes for: Add resource version section to api-concepts documentation

* Apply feedback

* Apply feedback

* Switch paragraph to active voice
2020-01-23 08:20:51 -08:00
Shivang Goswami 649c3d3f3b Remove user-journeys legacy content #18615 (#18779) 2020-01-21 20:26:35 -08:00
Steve Bang e6308dc66e Correct description of kubectl (#18172)
* Correct description of kubectl

Given that `kubectl` is not a [command line interface (CLI)](https://en.wikipedia.org/wiki/Command-line_interface), I suggest calling it what it is -- a control utility (ctl = control). The term "tool" is commonly used in place of "utility," including the `kubectl` docs.

A CLI presents the user with a command prompt at which the user can enter multiple command lines that a command-line interpreter interprets and processes. Think of `bash`, `emacs`, or a SQL shell.  Since `kubectl` is not run in a shell, it is not a CLI.

Here are related docs that correctly refer to `kubectl` as a "command-line tool":

- https://kubernetes.io/docs/reference/tools/#kubectl
- https://kubernetes.io/docs/reference/glossary/?fundamental=true#term-kubectl
- https://kubernetes.io/docs/tasks/tools/install-kubectl/
- https://kubernetes.io/docs/reference/kubectl/kubectl/

* Update content/en/docs/reference/kubectl/overview.md

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>

Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-01-21 10:03:37 -08:00
lemon 11c462e6f1 Fix deployment name in docs/tasks/administer-cluster/dns-horizontal-autoscaling.md (#18772) 2020-01-19 19:45:36 -08:00
Xin Chen 902db8c6f6 Fixed outdated ECR credential debug message (#18631)
* Fixed outdated ECR credential debug message

The log message for troubleshooting kubelet auto fetching ECR credentils issue has been changed (noticed since 1.14), and the new message reads like this when verbose log level is set to 3:

      - `aws_credentials.go:109] unable to get ECR credentials from cache, checking ECR API`
      - `aws_credentials.go:116] Got ECR credentials from ECR API for <Your ECR AWS Account ID>.dkr.ecr.us-east-1.amazonaws.com`

This is based on the kubelet source code: 
    https://github.com/kubernetes/kubernetes/blob/release-1.14/pkg/credentialprovider/aws/aws_credentials.go#L91

This PR is to fix this and to avoid confusion for more people who are troubleshooting the kubelet ECR issue.

* Update content/en/docs/concepts/containers/images.md

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-01-19 07:33:36 -08:00
0xC45 b57509bbf6 Install legacy iptables binaries for Ubuntu/Debian (#18625)
On the latest Debian 10, the `arptables-legacy` and `ebtables-legacy` binaries are not installed by default. Although the (non-legacy) versions are installed by default, it appears the respective packages that provide the legacy binaries must be installed in order to switch to the legacy alternatives. If you attempt to switch to the legacy alternatives without installing the `arptables` and `ebtables` packages, you will see an error:
```
update-alternatives: error: alternative /usr/sbin/arptables-legacy for arptables not registered; not setting
```

I have confirmed that the packages are present on Debian 10 and Ubuntu 19.10 and they provide the legacy alternatives. See:
* https://packages.ubuntu.com/eoan/amd64/iptables/filelist
* https://packages.ubuntu.com/eoan/amd64/arptables/filelist
* https://packages.ubuntu.com/eoan/amd64/ebtables/filelist
* https://packages.debian.org/buster/amd64/iptables/filelist
* https://packages.debian.org/buster/amd64/arptables/filelist
* https://packages.debian.org/buster/amd64/ebtables/filelist
2020-01-18 09:45:35 -08:00
YAMAMOTO Takashi 9bfc5d8966 Stop mentioning LegacyNodeRoleBehavior for ServiceNodeExclusion labels (#17542)
The text gives me an impression that LegacyNodeRoleBehavior somehow
affects which label is in effect. But actually it doesn't.
2020-01-18 09:43:35 -08:00
Mariyan Dimitrov cda86d62c0 en: Fix minor semantical issue (#18752)
On the page, it says `as you .KUBECONFIG` whereas it is meant `as your
.KUBECONFIG`. Minor annoyance, but still benefits fixing. One char PR.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>
2020-01-18 09:31:35 -08:00
Gerasimos Dimitriadis 5772d582ea Fix typo in manifests path (#18753) 2020-01-18 09:29:36 -08:00
Shivesh Abhishek b647b6ec55 Update field-selectors.md (#18641) 2020-01-18 08:41:35 -08:00
Aanand Ramachandran 7879c46450 Added a new section on Azure CNI (#17830)
* Added a new section on Azure CNI

Azure provides a CNI for native integration of Kubernetes Pods in a Virtual Network. I have added a short description of this CNI and provided links to important documentation

* Update networking.md

* Made updates based on comments

This is much closer to what you are recommending. Please take a look
2020-01-18 08:39:35 -08:00
Marc Bihlmaier 571d2ff008 fix version link to changelog (#18747) 2020-01-17 07:58:57 -08:00
wawa e3a7a56878 Remove redundant information when deploy flannel on kubernetes include windows node (#18274) 2020-01-17 07:54:59 -08:00
Gerasimos Dimitriadis 4e1f73a736 Add HPA as aka for Horizontal Pod Autoscaler (#18502) 2020-01-17 04:44:55 -08:00
Lubomir I. Ivanov 8de8d173bb kubeadm: remove some CNI plugins from the kubeadm setup guide (#17694)
The kubeadm survey for 1.13:
https://docs.google.com/forms/d/1A855D054FZfdvNbx6mAa54tcZ204GmPCIhxe1UrXKd8/edit#responses

The kubeadm survey for 1.13:
https://docs.google.com/forms/d/1A855D054FZfdvNbx6mAa54tcZ204GmPCIhxe1UrXKd8/edit#responses

Revealed the top 3 plugins in terms of popularity are:

Flannel
Calico
WeaveNet
The kubeadm maintainers are in contact with the maintainers
of these plugins and can provide support and updates to this guide.

The rest of the plugins in the guide are unmaintained, by the kubeadm team!

Some plugins are not in the CNCF landscape, or maintained by the kubeadm team, but still
present in the guide.

Remove the following non-CNCF / unmaintained plugins:

AWS VPC
Romana
Juniper*
Canal (it is an alternative to Calico and already explained in the
Calico guide)
Add note that users can still defer to this page for more options and a more complete list:
https://kubernetes.io/docs/concepts/cluster-administration/networking/Revealed the top 3 plugins in terms of popularity are:
- Flannel
- Calico
- WeaveNet

The kubeadm maintainers are in contact with the maintainers
of these plugins and can provide support and updates to this guide.

Some plugins are not in the CNCF landscape, but still
covered in this page:
https://kubernetes.io/docs/concepts/cluster-administration/networking/

Remove the following non-CNCF plugins:
- AWS VPC
- Romana
- Juniper*
- Canal (it is an alternative to Calico and already explained in the
Calico guide)

Add note that users can still defer to this page for more options:
https://kubernetes.io/docs/concepts/cluster-administration/networking/
2020-01-17 03:46:56 -08:00
makocchi 50c24e3e4e Fix the link for conjure-up (#18529)
* fix the link for conjure-up

* Fix the link for conjure-up to docs.conjure-up.io
2020-01-17 03:42:57 -08:00
Lubomir I. Ivanov 08ce770ff6 kubeadm-upgrade.md: add more details for upgrade rollbacks (#18424)
Introduce a couple of paragraphs explaining what backup folders
kubeadm creates during upgrade.
2020-01-16 16:42:56 -08:00
Alexander Zhukov f5bfa04aa4 Fix the typo (#18732)
"AND of exact match" in the "Affinity and anti-affinity" section should be "AND or exact match"
2020-01-16 15:32:43 -08:00
Rodrigo Queiro 8aba9c656b Bump nvidia-device-plugin.yml to 1.0.0-beta4 (#18725)
This resolves `no matches for kind "DaemonSet" in version "extensions/v1beta1"` with Kubernetes >=1.16.
2020-01-16 15:31:44 -08:00
Ajay Kemparaj fc4de6b721 coresPerReplica and nodesPerReplica are both floats (#18733)
https://github.com/kubernetes-incubator/cluster-proportional-autoscaler/blob/master/pkg/autoscaler/controller/linearcontroller/linear_controller.go#L51-L52
2020-01-16 15:14:44 -08:00
Kartik494 9b9910c0d4 Update k8s.io/docs/tutorials/hello-minikube (#18673)
* Update k8s.io/docs/tutorials/hello-minikube

* Update hello-minikube.md
2020-01-16 09:48:22 -08:00
Ismail Alidzhikov 66372da95e Add Alibaba Cloud cloud-controller-manager (#18255)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-01-16 06:58:22 -08:00
Sascha Grunert c4a51a2ecc Add note about service CIDR bug to changes (#18489)
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-16 06:48:25 -08:00
RA489 558c513c05 Add more weight to minikube over kind (#18719) 2020-01-16 06:32:23 -08:00
Fabio Alessandro Locati 99ca9c0397 Use Control Plane instead of Master (#18438)
* Use Control Plane instead of Master

* improve image. The SVG was not matching the PNG, so I basically had to re-create it from scratch. I kept the visual similarities as mush as possible

* remove tautological phrase

* fix glossary references as well

* improve cluster glossary to move from Master to Control Plane

* improve english form
2020-01-16 05:24:22 -08:00
Gerasimos Dimitriadis 8f8bb5c2bf Fix pod status phases + more (#18537)
* Fix pod status phases + more

A number of improvements introduced in the glossary entry for Pod Lifecycle
* Completed / CrashLoopBackOff were removed from the list of pod status phases
* The link to PodStatus in the generated kubernetes api was parametrized regarding version
* Minor editorial changes

* Rework Pod Lifecycle entry to better describe term

The term definition was reworked after the review comments from
kbhawkey
2020-01-16 02:20:22 -08:00
mvgijssel ff79db8c5e Update vmware shared folder location (#18674)
Related https://github.com/kubernetes/minikube/issues/6013

When using the `vmware` driver  for minikube the shared folder will be in `/mnt/hgfs` instead of directly on root `/`.
2020-01-15 08:23:32 -08:00
camper42 cd3020bca2 Fix typo: default-manager -> default-scheduler (#18649) 2020-01-15 06:13:32 -08:00
tom1299 ffb37e6a70 Add missing article (#18707)
Added missing article in one of the sentences
2020-01-15 05:49:32 -08:00
Maya Kaczorowski 7b08e599ca Add link to K8s bug bounty to K8s website (#18690) 2020-01-15 05:09:32 -08:00
Jan-Philip Gehrcke f6c402a2bd jobs: clarify that there is no `restartPolicy` for the job itself (#18605)
Sometimes, as it happened to me, a Pod's `restartPolicy` 
is mistakenly taken as the corresponding Job's restart policy.

That was concluded before, here:
https://github.com/kubernetes/community/pull/583/files

The confusion happened here:
https://github.com/kubernetes/kubernetes/issues/30243
https://github.com/kubernetes/kubernetes/issues/43964

And here:
https://github.com/jaegertracing/jaeger-kubernetes/issues/32

This commit tries to clarify that there is no `restartPolicy` for
the job itself, and that using either of `backoffLimit` and
`activeDeadlineSeconds` may result in permanent failure.
2020-01-15 04:51:31 -08:00
Jacky Wu f9a939c5cf fix: correct broken link for `Enable endpointslices` page. (#18705) 2020-01-15 04:37:31 -08:00
Anoop Kumar b826b24782 Looping over logs of all jobs using a single command (#18183)
* Looping over logs of all jobs using a single command

Using the label constuct `-l` to loop over output of all jobs (or pods) using a single command

* Update content/en/docs/tasks/job/parallel-processing-expansion.md

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-01-15 04:35:32 -08:00
David Ashpole 3a7e506a90 Add descriptions of CPU and Memory metrics (#18689)
* Add descriptions of CPU and Memory metrics

* Update content/en/docs/tasks/debug-application-cluster/resource-metrics-pipeline.md

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

* address comments

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-01-15 03:13:32 -08:00
Deepankar Malhan 51aaacaf76 Update kubernetes-api.md (#17406)
* Update kubernetes-api.md

Updated the docs to reflect a change that has already been made in v1.14 instead of going to be made in v1.14 with us being at v1.16 now.

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

Co-Authored-By: Barnabas Makonda <6409210+makoscafee@users.noreply.github.com>

Co-authored-by: Barnabas Makonda <6409210+makoscafee@users.noreply.github.com>
2020-01-15 03:11:33 -08:00
kvaps 4b35f3e44a Use --allow-change-held-packages flag (#17376) 2020-01-15 03:09:33 -08:00
mantri425 42852ae505 Correcting the yaml file contents (#17915)
* Update scheduling-hugepages.md

Correcting the yaml file contents, verified the pod deployment

* Update content/en/docs/tasks/manage-hugepages/scheduling-hugepages.md

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-01-15 02:43:32 -08:00
Erik Stidham 412e372af9 Update Calico add-on bullet (#18536)
* Update Calico add-on bullet

* Review update
2020-01-15 01:21:33 -08:00
Sharjeel Aziz 69ceca708e Updated document commands to use placeholders. Incorporated feedback. (#18208) 2020-01-15 01:19:32 -08:00
Antonio Ojea d2dc2c60c6 Use dnsutils image for DNS debugging (#18001)
DNS debugging documentation is using a busybox image as example.
This image has different known issues with the way it resolves
the DNS names in k8s, creating confusion with users that try to
follow the docs.

The e2e tests use a custom small image ~4.3MB for DNS testing
with all the necessary tools. Also, the fact that this image is
being used for the k8s e2e testing guarantees it's compatibility.
2020-01-15 01:17:32 -08:00
David M. Lentz a3c0cc68e8 Update kube-scheduler.md (#18133)
Fix typo.
2020-01-15 01:15:32 -08:00
Sharjeel Aziz 1b269add17 Updates kubectl version command to use --client flag. (#18125) 2020-01-15 01:13:32 -08:00