Commit Graph

915 Commits

Author SHA1 Message Date
inductor 4297f3b29c Update nginx to modern versions (#19198)
* update nginx versions

* update

* update examples
2020-03-17 10:48:23 -07:00
Daniel 246c052f5d Updating release note link (#19585) 2020-03-16 09:10:43 -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
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
Qiming Teng e0a03c0ebd Resource name constraints (5) (#19122)
xref: #17969, #19099, #18746
2020-03-15 21:52:36 -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
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
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
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
Jacky Wu d089656267 doc: remove federation tests in example and some federation content. (#19581) 2020-03-15 20:46:35 -07:00
Rajesh Deshpande 24f8ec395b Correcting heading syntax (#19609)
Correcting heading syntax
2020-03-15 02:24:35 -07:00
Rajesh Deshpande 4af7b0f5bd Changing all incorrect headings of task 'list-all-running-container-images' (#19300)
* Correcting all headings

All tasks of this page list down container images and not container itself. so changing all headings to make it correct.

* Correcting case 

Correcting case
2020-03-12 15:10:38 -07:00
Franco Giovanolli f9e2dbbed9 Delete insecure external link. (#19567)
* Delete insecure external link.

Delete insecure external link. The website hasn't an HTTPS version.
Also, the project (https://github.com/kubernetes-retired/contrib/tree/master/node-perf-dash) will be archived 2 years ago.

* Update reserve-compute-resources.md

* Remove link to blog for the same reason.
2020-03-12 06:58:39 -07:00
tom1299 7ac1614f74 Harmonize Pod Preset tasks (#18128) 2020-03-11 01:33:36 -07:00
prameshj 4d09c4efac Update nodelocaldns.md with config steps. (#18716)
Remove references to 169.254.20.10 as the default.

Update content/en/docs/tasks/administer-cluster/nodelocaldns.md
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2020-03-10 16:31:36 -07:00
Tim Hockin 4a02480867 Do a top-to-bottom review of "debug-services" (#19152)
* Do a top-to-bottom review of "debug-services"

I frequently refer people to this doc, so I thought it would make sense
to review it.  Overall ot was pretty up to date. I did a cleanup pass
and moved a few things around.  Mostly cosmetic.

* Fix backticked resources in "debug-services"

* Fix code vs output blocks in "debug-services"

* Remove prompts from code blocks

* s/we/you/

* Apply feedback edits
2020-03-10 07:17:37 -07:00
Raghu Katti c2b7c035f3 Added cluster-health check instructions (#18958)
* Added cluster-health check instructions

* Added cluster info command

Added cluster info command

* Fixed Cluster health check instruction

* Fixed typo in documentation
2020-03-09 09:29:38 -07:00
RA489 d29ede7f47 Document minikube Podman support (#19514) 2020-03-08 20:07:34 -07:00
Kubernetes Prow Robot 80d26d3b7d Minor correction on 'safely drain node' task page (#19299)
* Minor correction on safely drain node task

1. 'kubectl drain' command drains node and not a machine. So the machine word is replaced with node. 
2. Also, add reference link to maintenance on a node task in what's next section

* Correcting link

Correcting link
2020-03-05 11:44:38 -08:00
Kubernetes Prow Robot 6635262bbc Resource name constraints (4) (#19121)
xref: #17969, #19099, #18746
2020-03-05 11:28:38 -08:00
Kubernetes Prow Robot b92ea5765e Update PDB sample (#19460) 2020-03-05 08:30:38 -08:00
Kubernetes Prow Robot 3d63002fa3 Resource name constraints (3) (#19120)
xref: #17969, #19099, #18746
2020-03-05 06:18:38 -08:00
Abhishek Jaisingh c04ffcdce8 Clarify At-Most-One Semantic For DaemonSet Update (#19283)
* Clarify At-Most-One Semantic For DaemonSet Update

Make it explicit, that at most one pod will run on each node while updating a daemonset. As mentioned here: https://github.com/kubernetes/kubernetes/issues/48841

* Clarify Update Strategy For DaemonSet Pods Only
2020-03-03 09:23:38 -08:00
Andrew Allbright 1242c008a8 Update some instances of latin abbreviation e.g. to alternative phrases (#19182) 2020-02-29 23:12:40 -08:00
Qiming Teng 6318dbb124 Resource name constraints (2) (#19119)
xref: #17969, #19099, #18746
2020-02-28 12:10:38 -08:00
Charlie Drage 8f3784295b Update the version of Kompose to 1.21.0 (#19306)
Updates the documentation for installation Kompose to 1.21.0 rather than 1.16.0
2020-02-27 01:57:19 -08:00
Richard Samuelson 844803a0c4 Remove contradictory statements (#19321)
Remove contradictory statements (Use a local tool trusted by your OS vs. recommend to use online base64 tool)
2020-02-27 01:15:20 -08:00
Sascha Grunert 3ecfc9f47f Fix wrong CHANGELOG locations (#19089)
We prefixed the CHANGELOG path in k/k with `CHANGELOG/`, which should
reflect every part of the website as well.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-02-25 05:42:49 -08:00
Rajesh Deshpande 646b7a5f63 Adding reference to node concept page. (#19263)
* Adding reference to node concept page.

This page discuss about assigning pods to the node but missing reference to the node concept page. So for better navigation added this reference in what's next section

* Correcting syntax

Correcting syntax

* Adding glossary tooltip for 'node'

Adding glossary tooltip for 'node'
2020-02-24 09:14:48 -08:00
Jacky Wu f24680eab5 doc: remove tasks federation index from tasks main page. (#19205) 2020-02-19 17:15:03 -08:00
Jacky Wu e433c954d0 Kill all federation v1 related tasks pages. (#17949) 2020-02-19 13:03:46 -08:00
Kartik Sharma da7e88a8a4 Issue with k8s.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/ (#18560) 2020-02-15 07:03:28 -08:00
Jie Shen 1c20ac7db5 Correct note shortcode for run-replicated-stateful-application.md (#19132) 2020-02-14 23:27:27 -08:00
Fangyuan Li b0aac61731 Reduce ambiguity on nodePort (#18928)
* Reduce ambiguity on nodePort

At first sight, nodePort looks a lot like service.Spec.NodePort, though it just means a port allocated from "--service-node-port-range". Replacing "nodePort" with "node port" to add some clarity.

* Update content/en/docs/tasks/access-application-cluster/create-external-load-balancer.md

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

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-02-13 00:52:35 -08:00
pierwill d856dfcd39 Add note on none driver in minikube installation docs (#18430)
* Add newlines to `none` VM driver docs

* Add note on `none` driver in minikube installation docs

Link to documentation describing possible security and data loss issues

* minikube: Add caution block to `none` vm driver

* Edit Debian-related minikube instructions

Update section on the `none` driver.
2020-02-13 00:20:35 -08:00
Sharjeel Aziz c8eb9126e9 Cleanup and implement style guidelines. (#18980)
* Reworded paragraphs to reduce ambiguity.
* Added min-kubernetes-server-version metadata.
* Converted yaml to a downloadable resource.
2020-02-12 11:06:51 -08:00
Qiming Teng b550c6c051 Remove shortcode 'code' (#19035)
A long time ago, we added a new shortcode `codenew` as a replacement of
the `code` shortcode. The intention was to consolidate all example
manifests to a single subdirectory, i.e. `content/<lang>/examples`. Now
this transition is almost over. We have only two instances where the old
`code` shortcode is referenced.

This PR makes the `policy.rego` file inlined content so that all
referenes to `code` are killed. We can safely drop the `code` shortcode.
If desired, we can rename the `codenew` shortcode to `code` in a
(series of) separate PR(s).
2020-02-10 19:52:00 -08:00
Naoki Oketani ae7ace0f71 Replace links with redirect destination (#19038) 2020-02-10 18:18:01 -08:00
Celeste Horgan eddbb00cbe Convert to {{ note }} shortcode (#19054) 2020-02-10 10:55:54 -08:00
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