Commit Graph

292 Commits

Author SHA1 Message Date
Rajesh Jain 0747ad3dbf
Update overview.md
Use Kubernetes Common Labels (e.g. app.kubernetes.io/name, etc.) if appropriate instead of customized ones.
2020-12-23 14:39:51 -08:00
lostsquirrel 89b3cc978b
change token_id to token-id 2020-12-23 16:48:01 +08:00
Johnny Lim b537556b2d
Fix typo 2020-12-23 15:21:12 +09:00
Pavel Nosov 815fe37905
Fix typo in manage-resources-containers.md 2020-12-17 20:43:17 +03:00
Kubernetes Prow Robot 77362e21ec
Merge pull request #25498 from adambkaplan/ssh-auth-secret-caution
Caution Note for ssh-auth Secrets
2020-12-16 13:50:31 -08:00
Kubernetes Prow Robot 5e1e6196f2
Merge pull request #25027 from scoulomb-dup-fork/secret-env-var
Env var are not updated after a secret update
2020-12-08 21:26:50 -08:00
Sylvain Coulombel d77262740b Env var are not updated after a secret update 2020-12-08 21:12:03 +01:00
Adam Kaplan 7b80f63dbc Caution Note for ssh-auth Secrets
Adds a `caution` note that SSH key pairs do not establish trust between
clients and servers. A secondary method is required to establish trust
between an SSH client and host server, such as fixed `known_hosts` file.
Clients which do not establish adequate trust are vulnerable to "man in
the middle" impersonation attacks.

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
2020-12-08 12:21:08 -05:00
amyXia1994 75cd79a136
Update secret.md
fix minor syntax error
2020-12-07 21:28:37 +08:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Adam Jacob f2a9a3ef81 Explain the insecure by default nature of secrets
This PR adds a paragraph explaining the insecure by default nature of k8s secrets, and points users at the documentation to turn on encryption at rest and RBAC.

I think a second page needs to be created showing the correct combination of RBAC rules for various cases, which should eventually replace the link to the RBAC documentation.
2020-12-02 12:49:02 -08:00
Kubernetes Prow Robot 6f0128c21f
Merge pull request #24897 from tengqm/zh-resync-secret
[zh] Resync docs/concepts/configuration/secret.md
2020-12-02 05:40:50 -08:00
Qiming Teng 72a2bafb47 [zh] Resync docs/concepts/configuration/secret.md 2020-11-26 13:36:27 +08:00
reylejano-rxm d8ae37587e Merge remote-tracking branch 'upstream/master' into dev-1.20 to keep in sync - 11-25-2020 2020-11-25 07:03:22 -08:00
Tim Bannister 59dcd57cc9 Revise cluster management task
After removing the sections of the page that are not in line with the
content guide, there is little left.

Edit pages that link to removed task to no longer link there.
Redirect using 302 status so that there is a future opportunity to reinstate
the page or something like it.

- Avoid links to removed cluster management task
- Broaden applicability of “Safely Drain A Node”
- Add (stub) cluster upgrade task page
- Add a basic page about upgrading your cluster.
- Add a task page about enabling or disabling HTTP APIs
2020-11-20 10:22:25 +00:00
Somtochi Onyekwere ba77c903ed Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-19 17:09:49 +01:00
Sundeep Malladi 97629eba26
Update configmap.md 2020-11-18 10:40:55 -06:00
Sylvain COULOMBEL 08fbeb5953 Use configmap inside a k8s pod command, as entrypoint is docker specific 2020-11-17 22:34:17 +01:00
reylejano-rxm 48266bd653 Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-04 10:32:10 -08:00
Tim Hockin 300c2e8545 Better docs for standard topology labels
As per KEP 1659, topology labels are now more formalized.  Move away
from the older `failure-domain.beta` names ands use `topology` names
instead.
2020-11-03 11:27:58 -08:00
Qiming Teng ab58775702 Add secret type documentation 2020-10-29 09:26:44 +08:00
eagleusb 45ec60bed5
Merge master into dev-1.20 to keep in sync 2020-10-22 17:44:02 +02:00
Qiming Teng 070023b24a Fix links in concepts section 2020-10-22 14:24:56 +08:00
ljnaresh 64085d63a8 Move Pod Overhead concept inside Scheduling & Eviction 2020-10-15 01:13:17 +02:00
reylejano-rxm 34695f9380 dev-1.20 branch version for pod-lifecycle.md for feature state for k8s version 2020-10-14 09:35:18 -07:00
Kubernetes Prow Robot 9b8bf10f3a
Merge pull request #24402 from SumoLogic/master
Add explicit info about pod limits being applied to requests
2020-10-12 17:39:22 -07:00
Kubernetes Prow Robot aa426328ab
Merge pull request #24101 from ldynia/patch-1
changing image to nginx because game.example/demo-game does not exist
2020-10-12 17:09:24 -07:00
Kubernetes Prow Robot 245f8b6170
Merge pull request #23929 from SergeyKanzhelev/pidlimiting
pid limiting documentation
2020-10-09 01:15:07 -07:00
perk 4d94040676 Add explicit info about pod limits being applied to requests 2020-10-07 11:14:05 +02:00
Kubernetes Prow Robot 9e01fb5560
Merge pull request #24037 from RULCSoft/fix-typos
Fix typos
2020-10-02 07:25:20 -07:00
Kubernetes Prow Robot 158286c4b7
Merge pull request #23807 from tengqm/improve-configmap-concept
Improve ConfigMap concept
2020-09-30 16:46:54 -07:00
Qiming Teng b1490ef95f Improve ConfigMap concept
This PR adds some missing information to the ConfigMap concept page.
2020-10-01 07:33:52 +08:00
ldynia 7dc69cfa0b
Update configmap.md
Changing nginx to alpine, This way it's more generic giving it generic context.
2020-09-24 15:06:15 +02:00
ldynia 8dcf08a4d0
image does not exist
docker pull game.example/demo-game results with Error response from daemon: Get https://game.example/v2/: dial tcp: lookup game.example: no such host.
Therefore is better to change image to nginx
2020-09-24 13:03:53 +02:00
Jorge Vallecillo 1213635880 Fix typos 2020-09-21 15:36:01 -06:00
Sergey Kanzhelev 7b7ed6bb10 documentation for pid limiting functionality 2020-09-17 17:00:28 +00:00
Kubernetes Prow Robot db6ed81b5d
Merge pull request #23856 from christomas1/patch-1
Update manage-resources-containers.md
2020-09-13 22:00:58 -07:00
Kubernetes Prow Robot c901c84e55
Merge pull request #23782 from tengqm/create-secret-tasks
Separating tasks from Secret concept
2020-09-13 17:20:57 -07:00
Chris Tomas c1f104e5f8
Update manage-resources-containers.md
Removed the "env" object from the "Meaning of memory" section. It has no utility.
2020-09-13 14:33:38 -05:00
Qiming Teng 995b067fdb Separating tasks from Secret concept
There are many contents in the (*very big*) Secret concept page which
are actually tasks. This PR proposes a separation of some contents
into separate tasks, so that we have a (hopefully) better organization
of the content and we make room for improvement to the concept itself.

Note that the creation of the `configmap-secret` directory (instead of
`secret`) is an intent to create a folder for both ConfigMap and Secret,
both of which are about configurations though there are quite some
differences between them.
2020-09-13 21:06:58 +08:00
noms 7e22ae5adc
Fix for 23732 (#23822)
* Fix for 23732

Explicitly specify that consumed as environment variables  require pod restart to refresh.

* Remove note tag

Remove note tag as suggested
2020-09-12 17:10:58 -07:00
Tim Bannister b5b9d88433 Add headings for Immutable ConfigMaps and Secrets 2020-09-06 16:03:35 +01:00
Sascha Grunert 91f4a125c0
Remove the feature gate part from immutable secrets/configmaps
The feature is in `beta` since Kubernetes v1.19.0 so it is enabled per
default. This means that we can omit the hint to enable the feature
gate manually.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-09-01 14:32:18 +02:00
Jubayer Abdullah Joy 11b10784fd
Move “Resource Bin Packing” into Scheduling & Eviction section (#1)
Signed-off-by: Jubayer Abdullah Joy <jubayerjoy98@gmail.com>
2020-08-29 01:42:14 +06:00
Kubernetes Prow Robot 70b75e16f0
Merge pull request #22981 from shuuji3/en/replace-special-quote-with-normal-ones
Replace special quote characters with normal ones
2020-08-26 14:55:02 -07:00
Savitha Raghunathan 95c94c03d5 resolving conflicts 2020-08-23 12:13:37 -04:00
Kubernetes Prow Robot e258284e9d
Merge pull request #23090 from pjhwa/fix-23089
Fix issue with k8s.io/docs/concepts/configuration/secret/
2020-08-22 08:19:39 -07:00
Alec Lombardo e9c9b557fa Fix typo in resource unit documentation.
The spec specified a "plain integer or as a fixed-point integer", but a fixed-point number is the correct terminology.

As such, 1.7Gi and 1Gi should both work.
2020-08-21 09:32:42 -04:00
zionwu 29c518c175 Fix wrong number in example of resource-bin-packing.md 2020-08-12 20:23:00 +08:00
Jerry Park 05e11bb98d Fix issue with k8s.io/docs/concepts/configuration/secret/ 2020-08-12 04:41:34 +00:00
TAKAHASHI Shuuji c6a96128c4
Replace special quote characters with normal ones. 2020-08-11 21:05:22 +09:00
Savitha Raghunathan 53c71ad3f9 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-08-03 16:09:39 -04:00
Kubernetes Prow Robot e4f6797510
Merge pull request #22557 from tengqm/fix-links-concepts
Fix links in concepts section
2020-08-01 15:43:40 -07:00
Savitha Raghunathan e2a861c2f9 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-07-27 19:10:42 -04:00
Eric Briand 052b7fb852
Renamed super.mycompany.com into images.my-company.example 2020-07-27 16:09:07 +02:00
Qiming Teng 0bdcd44e6b Replace reference to redirect entries (1)
We are referencing the redirect entries in the docs, at many places.
These references should be updated to the correct content page.
2020-07-27 13:22:53 +08:00
Kubernetes Prow Robot b2b2f055d8
Merge pull request #22627 from uthark/patch-1
Fixed typo in feature gate name.
2020-07-26 20:22:16 -07:00
Tim Bannister 49eee8fd3d
Revise Pod concept (#22603)
* Revise Pod concept

Adapt the existing Pod documentation to suit the Docsy theme, by
promoting the Pod concept itself to /docs/concepts/workloads/pods/

Following on from this, update the Pod Lifecycle page to cover the
lifecycle of a Pod and follow on directly from the Pod concept,
for readers keen to understand things in detail.

This change also removes the automatic contents list from the Pod
overview page. Instead, the new page links to all the pages
inside the Pod section.

* Update links to Pod concept

Link to updated content

* Incorporate Pod concept suggestions

Co-authored-by: Celeste Horgan <celeste@cncf.io>

* Revise StatefulSet suggestion for Pod concept

Co-authored-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Celeste Horgan <celeste@cncf.io>
2020-07-26 20:18:16 -07:00
Eric Briand 39ad302c82
Use more real container examples 2020-07-24 13:54:08 +02:00
Oleg Atamanenko e5e0faf011
Fixed typo in feature gate name.
Fixed typo.

related PR: https://github.com/kubernetes/kubernetes/pull/86377/
2020-07-21 12:01:45 -07:00
Kubernetes Prow Robot 6ec8665bba
Merge pull request #22429 from Huang-Wei/postfilter-doc
Document the changes of scheduler PostFilter extension point
2020-07-14 13:21:22 -07:00
Kubernetes Prow Robot 2ea1d221c7
Merge pull request #21453 from denkensk/update-non-preempt-beta
Update non-preempting option Doc
2020-07-14 10:11:21 -07:00
Wei Huang 481aa2cce0
Remove the "How to disable preemption" stanza and rewordings 2020-07-13 09:51:12 -07:00
Wei Huang e2fd28a35b
Document the changes of scheduler PostFilter extension point 2020-07-13 09:51:12 -07:00
Savitha Raghunathan 0ebc16c10c resolving conflicts 2020-07-08 16:01:48 -04:00
Jerry Park 64f62106c1 Fix issue of document link in some documents 2020-07-05 22:46:08 +09:00
Kubernetes Prow Robot 9c5dc4c8a8
Merge pull request #21999 from sftim/20200623_clarify_configmapvolumesource_items_array
Explain ConfigMap volume source items array
2020-06-30 18:04:06 -07:00
Kubernetes Prow Robot 4ea12e0ef2
Merge pull request #21904 from merishlalla/patch-1
Update the correct values for allocated resources per namespace
2020-06-30 17:48:06 -07:00
Savitha Raghunathan 220d754880 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-06-30 18:02:37 -04:00
wojtekt 0d7d24195d Promote immutable secrets/configmaps to Beta 2020-06-29 07:53:37 +02:00
Kubernetes Prow Robot 86d373b0f9
Merge pull request #21997 from sftim/20200622_tidy_concepts_section_post_docsy
Tidy concepts section post-Docsy
2020-06-27 17:12:14 -07:00
Tim Bannister 3ff7312cff Add descriptions to Concept sections
Each section directly beneath Concepts gains a description.
2020-06-25 17:09:58 +01:00
Maciej Szulik 00f502fa6a
Update kubectl run from docs where necessary
kubectl run starting from 1.18 is creating only Pods and there is no option to
create any other resource. Users should be using kubectl create
commands instead. This update the documentation in all those places
where kubectl create should be used instead or changes description to
reflect the situation.
2020-06-25 13:37:14 +02:00
Tim Bannister d9f82c9500 Explain ConfigMap volume source items array
The existing ConfigMap concept incorrectly states that you must use
different ConfigMap objects if you want to configure both environment
variables and file-like configuration items at the same time.

Reword to give the correct advice.
2020-06-24 22:11:56 +01:00
Behzad 439f9f437f
Update configmap.md
Add quotation marks around the value of the key "player_initial_lives" in configuration file of the ConfigMap called "game-demo". Otherwise, kubectl version 1.18 gives the following error with the command "kubectl apply -f game-demo-configMap.yaml"

Error from server (BadRequest): error when creating "game-demo-configMap.yaml": ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap.Data: ReadString: expects " or n, but found 3, error found in #10 byte of ...|l_lives":3,"ui_prope|..., bigger context ...|player.maximum-lives=5\n","player_initial_lives":3,"ui_properties_file_name":"user-interface.propert|...
2020-06-19 17:57:40 +02:00
merishlalla 730f645283
Update the correct values for allocated resources
In the example, Memory limits and Memory requests per namespace don't add up correctly to the total displayed under Total requests.
2020-06-19 12:19:22 +02:00
Kubernetes Prow Robot ae05ac0e98
Merge pull request #21835 from mokua/patch-4
Update configmap.md
2020-06-17 15:44:06 -07:00
Richard Mokua 69c280df02
Update configmap.md 2020-06-17 07:53:27 +02:00
Richard Mokua 9a6e4c260d
Update configmap.md 2020-06-17 07:45:19 +02:00
Kubernetes Prow Robot d0024d7d44
Merge pull request #21148 from sftim/20200523_tidy_job_concept
Rename and tidy Job concept page
2020-06-12 22:51:56 -07:00
Kubernetes Prow Robot 65b60d156e
Merge pull request #21067 from jqmichael/patch-5
Added comments to RequestedToCapacityRatio formula
2020-06-12 19:49:55 -07:00
Artsiom Kaval 0ec8638025
Fix missuse of Secret vs ConfigMap 2020-06-12 03:54:17 +03:00
Tim Bannister 8f9551638b Rename Job concept page
(including Netlify redirects)
2020-06-11 23:13:23 +01:00
jqmichael 27f44d7010 Added comments to RequestedToCapacityRatio formula 2020-06-10 16:51:36 -07:00
Kubernetes Prow Robot 5d0a157c01
Merge pull request #21028 from scoulomb/concept-conf-secret
In concept secret, add consumption as environment variable
2020-06-10 09:00:52 -07:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
Soumith Kumar Mudugonda 88b703c95b Changes on Wrong Feature Gate Name #21357 2020-06-09 00:01:14 +02:00
Alex Wang 4439f795f8 update non preempt beta 2020-06-08 23:58:58 +08:00
Adam 473ab23e80
Update configmap.md
Fixed configmap -> configMap
2020-06-07 21:16:28 +02:00
wojtekt d7e11597ed Document self-updating feature for ConfigMap 2020-06-03 13:03:01 +02:00
wawa0210 6ad483fb8e
Clarify behavior of `imagePullPolicy: Always` 2020-05-23 08:55:33 +08:00
Kubernetes Prow Robot bcc860271e
Merge pull request #21034 from jqmichael/patch-4
Clarified Secrets file mode
2020-05-21 12:58:37 -07:00
jqmichael 14448d73b7 Clarified Secrets file mode
1. The example is using YAML which supports octal notation. Updated the corresponding doc.
2. Clarified we need to follow the symlink to find the correct file mode.
2020-05-19 10:02:20 -07:00
WangYun 198c1cbdcd
overview.md typo
It seems there is a blank in `headless-` and `service`, which leads to error format
2020-05-19 08:08:03 +08:00
Sylvain COULOMBEL 4f18583d19 In concept secret, add consumption as environment variable 2020-05-17 16:54:52 +02:00
Adam Kaplan 55e17b86f2 mv "Assign Pods" and "Taints and Tolerations" concepts to "Scheduling and Eviction"
* Moved "Assigning Pods to Nodes" article to Concepts -> Scheduling and Eviction
* Moved "Taints and Tolerations" article to Concepts -> Scheduling and Eviction
* Updated weight of the "Kubernetes Scheduler" article so it appears first
* Updated redirects
* Replaced links to "Assigning Pods to Nodes" and "Taints and Tolerations" articles
to avoid redirects.

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
2020-05-11 11:29:16 -04:00
Kubernetes Prow Robot 2da45fa3a6
Merge pull request #17509 from sftim/20191109_node_concept_improvements
Improve Node, Taints, and Tolerations concepts
2020-05-09 08:59:51 -07:00
willise fd16ff5529 docs: reorganize topologyKey constraints
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
2020-05-09 14:44:25 +08:00
Joel 524e6c275a
Added optional key name for --from-file. 2020-04-30 11:42:56 -07:00
ViBiOh 71f95e719a
fix: Metadata name of ConfigMap must be lower case 2020-04-30 11:32:30 +02:00