Commit Graph

3509 Commits

Author SHA1 Message Date
Rodrigo Campos 69b9e71ff6 content: hostUsers can't be ignored from 1.30
Now the kubelet asks the runtime for the features it supports and if it
doesn't report user namespaces support, then the kubelet will fail the
pod creation.

Therefore, it is no longer possible for the field to be ignored.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-03-19 14:59:40 +01:00
Rodrigo Campos b327397fc6 content: Fix typo in userns example
We were showing 4294967295 for the uid_map file, that is how it looks on
the host (not the container). Let's fix that.

While we are there, let's improve the explanation too.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-03-19 14:59:39 +01:00
Rodrigo Campos 271bb1a8fb content: Mark userns as beta in 1.30
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-03-19 14:59:39 +01:00
Kubernetes Prow Robot 3b6274d696
Merge pull request #45155 from jpbetz/crd-field-selectors
Add docs for CRD field selection
2024-03-18 08:24:50 -07:00
Joe Betz 8c0a57a1e1 Add docs for CRD field selection 2024-03-18 11:09:04 -04:00
Walid Ghallab bed970676c Fix documentation for parallel processing work queue tasks.
Changes in details:
- Add instructions to run redis server, since without it the rest of the steps won't work.
- For work-queue jobs, instruct the user to leave the completions number unset (as setting it to 1 won't run more than one job in parallel, and is different when left unset).
- Change the package installation to python3, as python package is no longer available
2024-03-18 02:48:50 +01:00
Vyom-Yadav 1eb315a43a
Merge remote-tracking branch 'upstream/main' into dev-1.30 2024-03-15 16:42:11 +05:30
Kubernetes Prow Robot b8ec2eb353
Merge pull request #45280 from jsafrane/selinux-rwx-alpha
Document SELinuxMount feature gate
2024-03-15 00:38:24 -07:00
Nilekh Chaudhari 48fdee2334
docs: adds documentation for Storage Version Migration
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2024-03-14 17:56:42 +00:00
fbauzac d798896198
Update content/en/docs/tasks/tools/install-kubectl-linux.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-03-13 15:17:35 +01:00
fbauzac 9319773960
Update content/en/docs/tasks/tools/install-kubectl-linux.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-03-13 15:17:26 +01:00
Daniel Shebib e64910f778 Add feature gate to example 2024-03-12 14:41:25 -05:00
Jan Safranek 6a1761c33a Document SELinuxMount feature gate
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-03-12 16:51:54 +01:00
Charles Uneze faeb20fab9
Update resource-usage-monitoring.md 2024-03-11 17:06:57 +01:00
Kubernetes Prow Robot 4d804f9417
Merge pull request #45469 from Kheiden/patch-1
Update install-kubectl-windows.md
2024-03-11 04:10:55 -07:00
Nick Neisen fe501f8bfa
Change cri-dockerd links to official docs in the english content 2024-03-08 11:46:54 -07:00
Kurt Heiden 6d3a106bc0
Update install-kubectl-windows.md 2024-03-07 12:36:39 -07:00
Tim Bannister b39e01b971 Add concept page about cluster autoscaling
Co-Authored-By: Niranjan Darshann <niranjan.darshan@india.nec.com>
2024-03-05 10:46:37 +00:00
Kensei Nakada 98f0a91e95
graduate HPAContainerMetrics to stable 2024-03-02 14:03:22 +09:00
Celeste Horgan f000899edf Merge remote-tracking branch 'upstream/main' into dev-1.30 2024-02-29 17:57:20 +01:00
varadaprasanth 3ac8160b85
Update service-access-application-cluster.md
Formatted for the documentation standards
2024-02-29 17:51:06 +05:30
Kubernetes Prow Robot fc52c54fcd
Merge pull request #44693 from adityasamant25/issue-44687
Remove hostPort field from the liveness probe examples to align with Kubernetes best practices.
2024-02-28 08:23:49 -08:00
Kubernetes Prow Robot f3193b5116
Merge pull request #45377 from drewhagen/merged-main-dev-1.30
Merge main branch into dev-1.30
2024-02-28 02:30:30 -08:00
Kubernetes Prow Robot 6d5a60c089
Merge pull request #45307 from eaudetcobello/patch-1
Fix wording in configure-upgrade-etcd.md
2024-02-27 13:36:21 -08:00
Bart Jeukendrup ea6624ee62
Clarify in the documentation that 27017 is the official TCP port for MongoDB 2024-02-26 17:12:05 +01:00
Kubernetes Prow Robot bb24ce5ab8
Merge pull request #45095 from clementnuss/patch-3
docs(kubeadm-upgrade): add consideration on etcd upgrade impact
2024-02-23 21:33:25 -08:00
Oluebube Princes Egbuna 1710de7e11 Merge remote-tracking branch 'upstream/main' into dev-1.30 2024-02-23 21:33:57 +01:00
eaudetcobello a8ec490629 Various wording improvements throughout the file. 2024-02-23 16:23:13 +00:00
cShirley14 d6459c1823
Update content/en/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md
Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
2024-02-22 11:32:53 -06:00
Chantal Shirley 713d621b60 fix: update broken links 2024-02-21 12:56:16 -06:00
Oluebube Princes Egbuna e1465e035a Merge remote-tracking branch 'upstream/main' into dev-1.30 2024-02-20 11:46:04 +01:00
Kubernetes Prow Robot 51b0ebc934
Merge pull request #45073 from neolit123/1.30-add-external-ca-notes
kubeadm-certs: add notes about different external CA approaches
2024-02-16 09:53:39 -08:00
Kubernetes Prow Robot 217f88267f
Merge pull request #44832 from adityasamant25/kubeadm-upgrade
Use sudo for elevated permissions while upgrading clusters using kubeadm
2024-02-15 12:24:12 -08:00
Clément Nussbaumer 2dc571df77
docs(kubeadm-upgrade): add consideration on etcd upgrade impact
relates to https://github.com/kubernetes/kubeadm/issues/2991#issuecomment-1932337556

Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>

Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
2024-02-14 08:03:53 +01:00
Kubernetes Prow Robot fd764e39ae
Merge pull request #44951 from sftim/20240130_revise_encryption_at_rest
Reword advice about encryption-at-rest opt outs
2024-02-13 22:48:21 -08:00
Puru 69706582d4
Fix mermaid syntax error 2024-02-13 14:14:10 +05:45
steve-hardman 0290715170
Fix path for example yaml in 'Coarse Parallel Processing Using a Work Queue' task page (#45022)
* Fix link for example yaml

* Fix link for example yaml

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>

---------

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2024-02-12 11:12:06 -08:00
Lubomir I. Ivanov 9593771ee9 kubeadm-certs: add notes about different external CA approaches
There are multiple ways to prepare the credentials for use
with "external CA" mode:
- manual
- using kubeadm CSRs
- using kubeadm phases
2024-02-09 12:23:03 +02:00
drewhagen e4da56ebcb Merge remote-tracking branch 'upstream/main' into merged-main-dev-1.30 2024-02-02 09:19:40 -06:00
Kubernetes Prow Robot 74aea8146b
Merge pull request #44800 from sftim/20240118_improve_sidecar_container_docs
Update docs around sidecar containers
2024-02-01 09:24:48 -08:00
Tim Bannister 6d6b17abd1 Reword advice about encryption-at-rest opt outs
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2024-01-31 15:59:25 +00:00
Tim Bannister 5a859a79d8 Fix highlighting for added lines 2024-01-30 17:48:46 +00:00
Tim Bannister 07b14de027
Fix highlighting 2024-01-30 17:02:25 +00:00
Carlos Eduardo Arango Gutierrez c4937ba3a4
Document NFD for GPU Labeling
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-01-30 17:23:54 +01:00
Kubernetes Prow Robot 54ab2e8149
Merge pull request #44897 from mengjiao-liu/fix-dns-autoscaler-name
Fix Deployment and ConfigMap name in the dns-horizontal-autoscaling page
2024-01-26 17:46:31 +01:00
Kubernetes Prow Robot 6089916922
Merge pull request #44801 from sftim/20240118_revise_encryption_at_rest
Revise introduction to encryption at rest page
2024-01-26 17:27:42 +01:00
Kubernetes Prow Robot 54145dd9cb
Merge pull request #43824 from ptrovatelli/patch-1
Update configure-upgrade-etcd.md
2024-01-26 02:47:03 +01:00
Mengjiao Liu 7e2f696572 Fix Deployment and ConfigMap name in the dns-horizontal-autoscaling page 2024-01-25 15:51:03 +08:00
Aditya Samant c6e210f8f1 Added sudo permissions as necessary. 2024-01-24 15:32:46 +05:30
Kubernetes Prow Robot 1ab49249ab
Merge pull request #44823 from my-git9/patch-13962
Correct incorrect expressions for debug-pods
2024-01-23 14:20:48 +01:00
Kubernetes Prow Robot ca81744686
Merge pull request #44831 from 1000Delta/fix_access-cluster-services
Fix access-cluster-services.md list indent
2024-01-23 14:17:48 +01:00
Abel Lu cfc9eb01da
Additional links to "What's next" in determine-reason-pod-failure.md (#44288)
Issue #44207
2024-01-22 04:31:23 +01:00
DeltaX 586fd88b02 Fix access-cluster-services.md list indent 2024-01-21 15:58:46 +08:00
xin.li 5fcc71ad51 [en] Correct incorrect expressions
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-01-20 23:44:36 +08:00
Kubernetes Prow Robot fbf9b4fd7c
Merge pull request #44776 from BRONSOLO/patch-1
Update encrypt-data.md
2024-01-19 23:22:41 +01:00
Tim Bannister dd7e3966ef Revise introduction to encryption at rest page
Help readers check if they need to follow the task.
2024-01-19 00:23:25 +00:00
Tim Bannister 5bbb5ace30 Update docs around sidecar containers 2024-01-18 23:57:04 +00:00
Cintia Sanchez Garcia 26e760da6e Update references to CNCF landscape (v2)
This PR updates all the references to the CNCF landscape (v2). This includes migrating to the new embeddable views that the new landscape provides, changing how iframe-resizer is used and updating a few links.

Related to #44022

Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2024-01-18 12:36:45 +01:00
Christine K 09e79db506
Add example command to create /etc/apt/keyrings directory (#43626)
* create folder for key

The following command will fail without the folder created manually beforhand.
```
curl -fsSL https://dl.k8s.io/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg
```

* updated instruction

updated according to the comment in the PR

* updated mkdir part

* Updated mkdir
2024-01-17 17:01:14 +01:00
Kubernetes Prow Robot ef9194bdf3
Merge pull request #44721 from sftim/20240112_revise_encryption_at_rest
Recommend replicating encryption key for API data encryption at rest
2024-01-17 16:56:30 +01:00
Chuck Bronson b1929ab8a8
Update encrypt-data.md
Fix as ---> at typo
2024-01-17 10:40:02 -05:00
Aditya Samant 5799e6e4c6 Fix the links in the ConfigMap documentation related to projection of keys and file permissions. 2024-01-15 14:17:34 +05:30
PrashantDesale2004 0f9ab60a3c
Update CoreDNS installation docs
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-01-14 20:29:41 +05:30
PrashantDesale2004 5ee30f167a fixed installation guide in using CoreDNS for Service Discovery page 2024-01-14 19:41:35 +05:30
Kubernetes Prow Robot cb27724d3e
Merge pull request #43247 from srm09/patch-1
Fixes comment for webhook conversion strategy
2024-01-13 07:06:22 +01:00
Tim Bannister 0e05396f1b Recommend replicating encryption key
When using API encryption at rest without KMS, the same encryption key
must be securely replicated to all the hosts that run a kube-apiserver.

Document that.
2024-01-12 14:38:25 +00:00
Aditya Samant 05a4ab128a Remove hostPort field from the liveness probe examples to align with Kubernetes best practices. 2024-01-10 08:59:02 +05:30
John Huang 8106c6e092
Add notes on kubeadm clusters version (#44683)
* Add notes on kubeadm clusters version

Update content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>

move into additional information

* Update content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-01-09 18:07:50 +01:00
fbauzac e15b943a5a
install-kubectl-linux.md: add chmods
The keyring needs to be readable by _apt, otherwise "apt update" prints the following kind of error:

W: GPG error: https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.29/deb  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 234654DA9A296436
E: The repository 'https://pkgs.k8s.io/core:/stable:/v1.29/deb  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

kubernetes.list needs to be world-readable, otherwise command-not-found prints warnings such as:

WARNING:root:could not open file '/etc/apt/sources.list.d/kubernetes.list'
2024-01-09 10:01:10 +01:00
Tim Bannister bfbe2db97b Highlight initial comment
Make the initial comment extra obvious to readers.
2024-01-08 17:55:46 +00:00
Kubernetes Prow Robot ec8a3cb52d
Merge pull request #44532 from sftim/20231226_encryption_at_rest
Improve docs around API data encryption at rest
2024-01-08 18:32:23 +01:00
Kubernetes Prow Robot cca14eff62
Merge pull request #44571 from hunshcn/fix/link
fix outdated link/anchor
2024-01-07 23:15:35 +01:00
Kubernetes Prow Robot a416215bbf
Merge pull request #42446 from pacoxu/pacoxu-patch-1
Make image registry hostname more obvious in example
2024-01-07 23:06:53 +01:00
Kubernetes Prow Robot f646fb0627
Merge pull request #43808 from morhook/patch-1
Add a clarification for autoscaling on minikube
2024-01-05 10:26:43 +01:00
hunshcn bcc55ae7c9
fix outdated link/anchor
Signed-off-by: hunshcn <hunsh.cn@gmail.com>
2024-01-03 15:00:11 +08:00
Kubernetes Prow Robot e2509cb624
Merge pull request #44506 from Takashiidobe/fix-typos
fix typos
2024-01-02 19:29:55 +01:00
Tim Bannister e17cd06c3d Revise guidance for rotating a decryption key 2024-01-02 11:14:30 +00:00
Tim Bannister b749f91f12 Document avoiding plain text retrieval
When you have set up your cluster for encryption at rest, you can take
this defence in depth measure to make sure that anything held without
encryption causes a retrieval error (which is then more likely to flag
that there is a problem).
2024-01-02 11:14:30 +00:00
Qiming Teng 8b46ec4047 Fix several link errors 2024-01-01 21:15:50 +08:00
hunshcn 6a7240f55b
fix serviceaccount-token-volume-projection link 2023-12-28 21:39:19 +08:00
Kubernetes Prow Robot c807f97145
Merge pull request #44355 from hunshcn/sysctl
update safe sysctls (v1.29)
2023-12-27 12:44:29 +01:00
Kubernetes Prow Robot 0f285fd32d
Merge pull request #44085 from sftim/20231125_explain_protection_encryption_keys
Explain more about protection for encryption keys (API data encryption at rest)
2023-12-26 07:18:49 +01:00
hunshcn fc8e79b96c
update safe sysctl
Signed-off-by: hunshcn <hunsh.cn@gmail.com>
2023-12-25 10:47:54 +08:00
Takashiidobe d536e46dbd fix typos 2023-12-24 21:00:53 -05:00
Tim Bannister ada845e5e1 Link to KMS setup doc 2023-12-22 11:33:36 +00:00
Tim Bannister 9f8b35d93f Redo API encryption at rest explanation
- Explain importance of protecting keys and other material that can be
  used to decrypt data in etcd
- Revise the explanation for a non-KMS setup example
2023-12-22 11:33:36 +00:00
Kubernetes Prow Robot bd4d92763f
Merge pull request #44043 from steve-hardman/fix-kubectl-mac-step
Fix cleanup instruction in macOS kubectl installation page
2023-12-22 07:45:54 +01:00
Kubernetes Prow Robot 967593f3dd
Merge pull request #44266 from adityasamant25/issue-32835
Changes to reflect the deprecation of pod-manifest-path argument
2023-12-22 07:43:12 +01:00
Kubernetes Prow Robot 7b3ebb32fb
Merge pull request #43634 from able8/patch-1
Fixed a typo on page "Create an External Load Balancer"
2023-12-22 03:56:37 +01:00
Paco Xu 9e097396b9 use image from DUMMY_SERVER in the example 2023-12-22 10:31:25 +08:00
Kubernetes Prow Robot 057c9633a3
Merge pull request #44227 from windsonsea/changey
Clean up change-default-storage-class and access-cluster-api tasks
2023-12-22 02:21:22 +01:00
Kubernetes Prow Robot 28c702a195
Merge pull request #44095 from sftim/20231126_improve_job_tutorials
Improve tutorials for Job
2023-12-21 18:21:31 +01:00
giiiiiithub 5605ae7b99
fix the Chinese single quotes in the code to English single quotes 2023-12-20 17:06:26 +08:00
Kubernetes Prow Robot 74f94da59e
Merge pull request #44408 from testwill/patch-3
fix: container not sandbox
2023-12-20 09:40:21 +01:00
steve-hardman 242296af2a
Remove extra character
Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2023-12-20 00:34:51 +00:00
steve-hardman 80353185f5
Remove extra character 2023-12-19 23:17:19 +00:00
windsonsea d1d6eda640 Clean up change-default-storage-class.md 2023-12-19 08:57:48 +08:00
Tobias 7ffd84798f
Fix broken hyperlink for 'Cosign Keyless Signatures' in "Verify Signed Kubernetes Artifacts" guide (#44235)
* fix broken links to cosign signing page

* remove changes to zn translation

* change link to https://docs.sigstore.dev/signing/overview/
2023-12-18 11:08:33 +01:00
guangwu 9b28c20c8b
fix: container not sandbox 2023-12-18 10:45:01 +08:00
windsonsea e9c2827477 Fix a link in custom-resource-definitions task 2023-12-15 09:07:10 +08:00