Commit Graph

1325 Commits

Author SHA1 Message Date
rm 680f6fc086 Update automated-tasks-with-cron-jobs.md (#19043) 2020-02-10 08:09:53 -08:00
Mariyan Dimitrov b70d434b36 Add kubectl patch example with quotes on Windows (#18853)
* Add kubectl patch example with quotes on Windows

When running the `kubectl patch` example, on Windows systems you get an
error when passing the patch request in single quotes. Passing it in
double quotes with the inner ones escaped produced the desired behavior
as is in the example given for Linux systems. I've added a small note
for Windows users to have that in mind.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>

* Use Hugo note shortcode

Windows note is placed inside a
[shortcode](https://kubernetes.io/docs/contribute/style/style-guide/#shortcodes)
to be consistent with the style guide.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>

* Remove shell Markdown syntax

I've removed the shell syntax from the Windows example and have changed
the description to be the same as the one used in
[jsonpath](https://kubernetes.io/docs/reference/kubectl/jsonpath/)
document to be more consistent. The jsonpath example uses cmd syntax,
though it is note inside a note shortcode, therefore I've opted out of
using any syntax as it seems to break rendering inside the shortcode.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>

* Add cmd markdown syntax and fix order list

I've tested this locally with `make docker-serve` on my Linux machine
and finally things are looking better, I've managed to address these two
issues:

- the Windows example is now inside `note` shortcode and also the cmd
syntax renders correctly on the page

- the list of steps broke after the first one, I've indented a paragraph
and now the steps are in the expected order

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>

* Remove command prompt from example

According to the [style guide](https://kubernetes.io/docs/contribute/style/style-guide/#don-t-include-the-command-prompt), the command prompt should not be included when showing an example. This commit removes it for consistency with the style guide.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>
2020-02-08 11:23:53 -08:00
Alexander Zimmermann 01e3420896 Separated commands from output (#19023) 2020-02-07 11:59:46 -08:00
Katarzyna Kańska 1e6d12b9e0 Fix of pull request #18960 (#18974)
* Fix of pull request #18960

* Add yaml configuration file snippets

* Remove redundant code snippet for  command
2020-02-07 11:43:45 -08:00
Jacky Wu b9ff4f1bf8 fix: add dns search record limit note. (#18913) 2020-02-07 11:31:46 -08:00
Tim Bannister ecda7af470 Reword kubelet live reconfiguration task (#18629)
- Revise version requirements
- Use glossary tooltips in summary
- Use sentence case for headings
- Write kubelet in lowercase where appropriate
- Add “What's next” section
2020-02-07 11:13:46 -08:00
Tim Bannister 40869a3695 Use built-in version check & metadata (#18542) 2020-02-07 10:29:46 -08:00
Andrew Sy Kim 79e1b94c91 Add common examples to Service Topology documentation (#18712)
* service topology: add missing 'enabling service topology' page

Signed-off-by: Andrew Sy Kim <kiman@vmware.com>

* service topology: add common examples

Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2020-02-06 13:11:26 -08:00
Sharjeel Aziz 21447e7d22 Update kubectl create configmap section (#18885) 2020-02-06 13:07:25 -08:00
Tim Bannister a84463852e Revise “Encrypting Secret Data at Rest” (#18810)
* Drop reference to old Kubernetes versions

At the time of writing, Kubernetes v1.13 is the oldest supported
version, and encryption-at-rest is no longer alpha.

* Tidy whitespace

* Add table caption

* Set metadata for required Kubernetes version
2020-02-06 13:03:24 -08:00
Katarzyna Kańska 5e9716e6b5 Update horizontal-pod-autoscale-walkthrough.md (#18960)
Update command for creating php-apache deployment due to the following warning: `kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.`
2020-02-03 10:45:21 -08:00
Arjun d0cf343dd1 Revert "Configurable Scaling for the HPA (#18157)" (#18963)
This reverts commit 5dbfaafe1a.
2020-02-03 08:21:22 -08:00
Neil Jerram ef5550f12e Fix that dual-stack does not require Kubenet specifically (#18924)
* Fix that dual-stack does not require Kubenet specifically

Rather it requires a network plugin that supports dual-stack, and
others are available, including Calico.

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

Added link to doc about network plugins

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-02-03 02:09:21 -08:00
Julian V. Modesto 3dcb84268c Document dry-run authorization requirements (#18235)
* Document dry-run write access requirement.

- Add section on dry-run authorization
- Refer to dry-run authorization for diff
- Consistently hyphenate dry-run

* Update content/en/docs/reference/using-api/api-concepts.md

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-01-31 01:52:21 -08:00
Jie Shen 02a8e64b08 Fix typo for tasks/access-kubernetes-api/configure-aggregation-layer.md (#18652) 2020-01-29 15:14:13 -08:00
Tim Bannister 8b42027bbb Revise version requirements (#18688)
Assume that the reader is running a version of Kubernetes that supports
the Secret resource.
2020-01-29 15:02:14 -08:00
Jacky Wu c7dc8c141a feat: add ephermeral container approach inside pod debug page. (#18754) 2020-01-29 14:28:14 -08:00
Mariyan Dimitrov cbb20be969 Fix small typos (#18886)
* Fix small typos

Small typos noticed and fixed in:

- configure-upgrade-etcd.md

- reconfigure-kubelet.md

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>

* Rephrase a paragraph on etcd upgrade

en\docs\tasks\administer-cluster\configure-upgrade-etcd.md

Following a suggestion in #18886, I've rephrased a sentence on etcd
upgrade prerequisites.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>
2020-01-29 12:06:16 -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
makocchi 27a407e886 Clean up extensions/v1beta1 in docs (#18839) 2020-01-24 06:30:33 -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
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
Marc Bihlmaier 571d2ff008 fix version link to changelog (#18747) 2020-01-17 07:58: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
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
tom1299 ffb37e6a70 Add missing article (#18707)
Added missing article in one of the sentences
2020-01-15 05:49:32 -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
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
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
Sharjeel Aziz 1b269add17 Updates kubectl version command to use --client flag. (#18125) 2020-01-15 01:13:32 -08:00
ares 6dcda9ef58 fix-up 404 urls (#18008) 2020-01-14 11:11:20 -08:00
Arjun 5dbfaafe1a Configurable Scaling for the HPA (#18157)
* Add configurable scale behavior.

* Added documentation about configurable scaling in the HPA

Signed-off-by: Arjun Naik <arjun.rn@gmail.com>

Co-authored-by: Joseph Burnett <josephburnett79@gmail.com>
2020-01-14 09:31:19 -08:00
Rob Scott c1921541ef Providing more detail on EndpointSlice implementation (#18343) 2020-01-14 09:29:18 -08:00
André Martins 5cb0e3d7b4 Update Cilium related docs (#18563)
* Extend Cilium CNI plugin description

Mention that it works on top of other CNI plugins due to the CNI
chaining [1].

[1]: http://docs.cilium.io/en/v1.6/gettingstarted/cni-chaining/

Signed-off-by: Martynas Pumputis <m@lambda.lt>

* Update Cilium installation steps for kubeadm

- Use the latest v1.6 Cilium.
- By default, Cilium no longer needs/deploys ETCD store.

Signed-off-by: Martynas Pumputis <m@lambda.lt>

* Update Cilium NetworkPolicy guide

- Update minikube min version requirement.
- Use Cilium v1.6.
- Remove the etcd store bits, as Cilium v1.6 no longer depend on
  it by default.

Signed-off-by: Martynas Pumputis <m@lambda.lt>

* Update Cilium installation steps for kubeadm

- How to run without kube-proxy.

Signed-off-by: Martynas Pumputis <m@lambda.lt>

Co-authored-by: Martynas Pumputis <m@lambda.lt>
2020-01-13 04:35:36 -08:00
ThoTischner 7fc323d451 Explain how a config map could be updated immediately in a pod. (#18082) 2020-01-12 08:33:37 -08:00
Manuel Rüger f3cde84ea7 kubectl-plugin example: Double-quote to prevent word splitting (#18081)
See: https://www.shellcheck.net/wiki/SC2086

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-01-12 08:31:37 -08:00
Jonathan McCall ed95607ae6 Be more explicit about what kind of probe (#17943)
My guess is that this refers to a TCP probe as opposed to the HTTP probe referred to above.
2020-01-12 08:21:37 -08:00
Tim Bannister e86f038b11 Remove version checks for Job and CronJob task pages (#18337)
* Specify minimum Kubernetes version for Job tasks

Ask for v1.8 because CronJob went beta in v1.8 and some of the Job pages
reference CronJob.

* Drop version check from Job / CronJob task pages.

Assume that readers have Kubernetes v1.8 or newer.
2020-01-10 12:52:40 -08:00
Tim Bannister 27ec99ffbb Use built-in version check & metadata (#18338) 2020-01-10 11:30:36 -08:00
giri c1327715d0 Update namespaces.md (#18373) 2020-01-09 09:25:46 -08:00
kvaps 391eef3c2f use madison instead of policy (#18558) 2020-01-09 01:55:46 -08:00
Rahul Kumar Singh 20e31c3f5c Added More Base64 Tool (#17982)
I noticed this https://www.base64encode.org/ Tool is not working in the safari browser, So I added alternative tool that I found is working on safari and another browser.

Please Check Link that I added :)

Thanks
2020-01-08 05:57:40 -08:00
helight a975a0787f fix words issue (#18312)
* fix words issue

* fix word

* fix word

* fix review issue on static-pod.md
2020-01-04 17:57:40 -08:00
Lubomir I. Ivanov f510b223e9 kubeadm: improvements to the cert management documentation (#18397)
- move the sections about custom certificates and external CA
to the kubeadm-certs page
- minor cleanups to the kubeadm-certs page, including updated output
for the check-expiration command
- link the implementation details page to the new locations
for custom certs and external CA
2020-01-03 09:45:42 -08:00