Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged main dev 1.31 #47302

Closed
Closed
Changes from 1 commit
Commits
Show all changes
352 commits
Select commit Hold shift + click to select a range
677af83
[zh] Add kubectl_set_subject.md
windsonsea Jun 21, 2024
1bac303
[zh] Add kubectl_set_resources.md
windsonsea Jun 21, 2024
4479978
[zh-cn] Add kubectl_rollout_status.md
my-git9 Jun 22, 2024
18de0ab
[zh-cn] Add kubectl_rollout_undo.md
my-git9 Jun 22, 2024
947a345
[zh] Add kubectl_set_serviceaccount.md
windsonsea Jun 21, 2024
5b9115f
[zh-cn] Add kubectl_rollout_history.md
my-git9 Jun 21, 2024
4e10990
kubectl_rollout_pause.md
my-git9 Jun 21, 2024
eccd0eb
[zh-cn] Add kubectl_rollout_restart.md
my-git9 Jun 22, 2024
b2d41a9
[zh-cn] Add kubectl_rollout_resume.md
my-git9 Jun 22, 2024
d14300c
[es] Fix link to 'Node heartbeats' section
Arhell Jun 22, 2024
bcd4794
[zh-cn] Add kubectl_auth_can-i.md
my-git9 Jun 22, 2024
5b0c588
[zh] Add kubectl_set_selector.md
windsonsea Jun 21, 2024
a035023
[zh-cn] Add kubectl_auth_whoami.md
my-git9 Jun 22, 2024
3f6e145
[zh-cn] Add kubectl_auth_reconcile.md
my-git9 Jun 22, 2024
c09bdd4
[zh-cn] Add kubectl_apply/_index.md
my-git9 Jun 23, 2024
c060a4e
[zh-cn] Add kubectl_autoscale/_index.md
my-git9 Jun 23, 2024
9bb39e8
Updated content/hi/docs/tutorials/kubernetes-basics/create-cluster/cl…
utkarsh-singh1 Oct 13, 2023
7917093
[zh] Add kubectl_describe/_index.md
windsonsea Jun 23, 2024
fb6afb4
updated the wrong link in default storage classes
Adarsh-verma-14 Jun 24, 2024
7dbb8f2
[zh] Add kubectl_create_quota.md
windsonsea Jun 7, 2024
4057c17
[zh-cn] Add kubectl_apply_set-last-applied.md
my-git9 Jun 24, 2024
53da35b
[zh-cn] Fix indentation in sample policy
tengqm Jun 25, 2024
b86d9d4
update: nodes.md
Okabe-Junya Jun 24, 2024
637bed9
[zh] Sync storage/storage-classes.md
windsonsea May 28, 2024
7cf3e6c
[zh] Add kubectl_explain/_index.md
windsonsea Jun 23, 2024
bcc17b3
[zh] Add kubectl_port-forward/_index.md
windsonsea Jun 23, 2024
2397bd6
[zh] Add kubectl_patch/_index.md
windsonsea Jun 24, 2024
a155313
[zh-cn] Add kubectl_apply_edit-last-applied.md
my-git9 Jun 23, 2024
5cafc74
[zh] Add kubectl_proxy/_index.md
windsonsea Jun 24, 2024
22a0346
[zh] Fix two notes format
windsonsea May 24, 2024
9e208e3
[zh] Add kubectl_create_secret_tls.md
windsonsea Jun 11, 2024
60b9e97
[zh] Add kubectl_diff/_index.md
windsonsea Jun 14, 2024
6609a3e
Update cpu-management-policies.md
chenk008 Jun 23, 2024
479802b
sync namespaces statefulset basic-stateful-set
asa3311 Jun 26, 2024
8d9fcab
kubernetes.io/basic-auth: The Kubernetes API does not verify that the…
pegasas Jun 7, 2024
7717d25
fix failing image pull and update commands and ouput
ktvargo-ms Jun 21, 2024
1f9d2a4
[ja] Update operator.md: Removed KUDO
Arhell Jun 25, 2024
5e820ef
[ja] Translate content/ja/docs/reference/glossary/dynamic-volume-prov…
Kei-Ta Jun 27, 2024
2b092e3
[zh] Add kubectl_scale/_index.md
windsonsea Jun 27, 2024
f81bf7d
[zh] Add kubectl_replace/_index.md
windsonsea Jun 26, 2024
76a10a8
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github…
nilekhc Jun 26, 2024
dd48ec5
sync flow-control
asa3311 Jun 26, 2024
44a12c9
Style unfixed vulnerabilities in bold
sftim Jun 27, 2024
06af596
Update configure-service-account.md
martinvelez Jun 27, 2024
444c89a
Include CVE status in RSS feed
jbiers Jun 27, 2024
8048265
CVE status as Category field
jbiers Jun 27, 2024
c506e30
aws-internal-load-balancer-spaces-alignment
Zeeshan50522 Jun 25, 2024
5f07c62
alignment annotation
Zeeshan50522 Jun 25, 2024
9c533f7
Improve etcd task introduction
sftim Jun 10, 2024
8fd37a8
fix: minimum feasible nodes 50->100
ebiiim Jun 27, 2024
f5cf345
Update horizontal-pod-autoscale-walkthrough.md
dr0ptp4kt Jun 28, 2024
1fed4d6
[zh] Add kubectl_apply_view-last-applied.md
windsonsea Jun 26, 2024
a9e6047
[ko] fix: minimum feasible nodes 50->100
ebiiim Jun 29, 2024
12b21ff
[zh] fix: minimum feasible nodes 50->100
ebiiim Jun 29, 2024
7593944
[zh-cn] Add kubectl_edit/_index.md
my-git9 Jun 30, 2024
2cb44e2
Removed duplicate feature state shortcode
dipesh-rawat Jun 30, 2024
e22383a
[ja]Translate content/ja/docs/reference/command-line-tools-reference/…
kohbis Jul 1, 2024
64cb936
[ja] Fix link to 'Node heartbeats' section
Arhell Jun 24, 2024
32665c2
[ja] fix: minimum feasible nodes 50->100
ebiiim Jun 29, 2024
9559afb
add description about debugging profile
mochizuki875 Jun 27, 2024
ff5002d
[zh] Fix CA in authentication example
Arhell Jul 1, 2024
707cf1a
[id] Update operator.md: Removed KUDO
Arhell Jun 28, 2024
0586c5f
[id] fix: minimum feasible nodes 50->100
ebiiim Jun 29, 2024
7da0f61
[ja] Add description about debugging profile (#47050)
mochizuki875 Jul 1, 2024
01bdfa5
[zh-cn] Sync translate-compose-kubernetes
my-git9 Jun 27, 2024
324db4f
[zh-cn] Add kubectl_drain
my-git9 Jun 29, 2024
2cd3ec4
Clean up after the 10th birthday
sftim Jun 30, 2024
69b5858
[zh] Add kubectl_get/_index.md
windsonsea Jun 28, 2024
67c9d37
Update schedule to reflect patch cycle changes
saschagrunert Jul 2, 2024
95668ad
fixes typo
DhritiShikhar Jul 2, 2024
a03a585
[hi] kubectl debian install guide does not mention gnupg at all
Arhell Jul 2, 2024
9d3c3ef
[es] kubectl debian install guide does not mention gnupg at all
Arhell Jul 2, 2024
dade384
fixes typo
DhritiShikhar Jul 2, 2024
deb39f4
[ja] Localization inconsistencies of contents of "Running in multiple…
EigoOda Jul 3, 2024
01d68bc
[ja] Translate content/en/docs/reference/glossary/device-plugin.md in…
Kei-Ta Jul 3, 2024
d7a2367
[zh-cn] Add kubectl_wait/_index.md
my-git9 Jun 30, 2024
969cc38
[zh] Sync debug-application/debug-running-pod.md
windsonsea Jul 2, 2024
d7c9f11
fix typo: extraMounts -> extraVolumes
RichardSufliarsky Jul 3, 2024
da878f3
Typo fix
tamilselvan1102 Jul 4, 2024
a2fb7da
Replace Bing with PageFind search for users in China
cjyabraham Jun 10, 2024
c0a14bd
Increase weight of title in pagefind results
cjyabraham Jun 24, 2024
b89c9c6
Override bad padding on search input
cjyabraham Jun 24, 2024
75d68bb
Don't add new entries to search history here
cjyabraham Jun 22, 2024
0276f52
refactor: update k8s network model section
abhilasha2418 Jul 4, 2024
1813856
nit: add new line
abhilasha2418 Jul 4, 2024
bc929be
Update German install-kubectl-linux.md
froth Jun 27, 2024
cb0d122
Translate further sentences to German
froth Jun 27, 2024
f91b33d
Update content/de/docs/tasks/tools/install-kubectl-linux.md
froth Jul 4, 2024
e973115
Update content/de/docs/tasks/tools/install-kubectl-linux.md
froth Jul 4, 2024
c7fc860
Revise caption for multi-container example
sftim May 24, 2024
0b9717c
Improve explanation of Pod lifetime
sftim May 24, 2024
325cf97
Fix stale info about Pod scheduling readiness
sftim Jun 3, 2024
257c524
[zh] Sync pods/pod-lifecycle.md
windsonsea Jul 5, 2024
2fd8b35
fix the broken link for discovery document
Adarsh-verma-14 Jul 4, 2024
fe9a0c0
registered restartedAt annotation
Ritikaa96 Jul 1, 2024
b5c4e60
editing as per the reviews received
Ritikaa96 Jul 2, 2024
2eddf9b
Adding consistency to current style
Ritikaa96 Jul 5, 2024
af52b8e
Convert image to vector SVG (#45968)
thisisharrsh Jul 6, 2024
f07d1a6
[ja] kubectl debian install guide does not mention gnupg at all
Arhell Jul 4, 2024
f918e92
Localize content/en/docs/reference/glossary/disruption.md into Hindi …
sandeepkanabar Jul 8, 2024
1ef6eae
Update CRI-O install link
saschagrunert Jul 8, 2024
cc74fae
[zh] Add kubectl_run/_index.md
windsonsea Jun 28, 2024
b839a05
[pt] Bump cri-tools version to v1.30.0
Arhell Jul 8, 2024
195c831
[pt] Update operator.md: Removed KUDO
Arhell Jun 29, 2024
0fde53f
[zh-cn] Localize cloud-native-security.md
lbzss Jul 8, 2024
d5a0c00
[zh] Sync administer-cluster/configure-upgrade-etcd.md
windsonsea Jul 8, 2024
1810a84
fix type on k8s.io/zh-cn/docs/concepts/workloads/controllers/replicat…
pegasas Jul 4, 2024
3b7a505
Update README-uk.md
Andygol Feb 4, 2024
0a00059
Update assign-pod-node.md
anavalo Jul 9, 2024
351beb7
Clarify sentence
network-charles Jul 6, 2024
5b9f871
[zh] Add ingress class name to example-ingress.yaml
Arhell Jul 9, 2024
af07daa
cleanup(search): drop some bind leftovers
TPXP Jul 8, 2024
04f6d6c
sync kubeadm-reconfigure configure-service-account kubectl-node-debug…
asa3311 Jul 8, 2024
5fc9163
[zh] Add volume-attributes-classes.md
windsonsea Jul 4, 2024
e16d5f3
Update hello-minikube.md
cjcullen Apr 15, 2024
28b1388
Update content/en/docs/tutorials/hello-minikube.md
cjcullen Jun 27, 2024
71669f6
add warning about hostPath volumes (#47129)
pegasas Jul 10, 2024
d2dbfa1
[es] Add ingress class name to example-ingress.yaml
Arhell Jul 10, 2024
1499aca
sync kubernetes-api assign-pod-node container-runtimes
asa3311 Jul 11, 2024
8814aac
[ja] Translate "DIY: Create Your Own Cloud with Kubernetes (Part 1)" …
b1gb4by Jul 11, 2024
acca57d
[ja] Translate "DIY: Create Your Own Cloud with Kubernetes (Part 2)" …
b1gb4by Jul 11, 2024
635ae67
[ja] Translate "DIY: Create Your Own Cloud with Kubernetes (Part 3)" …
b1gb4by Jul 11, 2024
a8b4992
docs: Add "Spotlight on SIG Node"
b1gb4by Jul 1, 2024
6a4cf52
docs: fix
b1gb4by Jul 9, 2024
a4fde9e
added contains-group-kinds annotation and updated contains-group-reso…
T-Lakshmi Jul 9, 2024
0f6dd9e
updated with grammer correction
T-Lakshmi Jul 10, 2024
d27abaf
fix: invalid link paths
b1gb4by Jul 12, 2024
4be6692
[zh] Add translations to labels-annotations-taints/_index.md
windsonsea Jul 10, 2024
d49bb2c
[zh] Sync storage-version-migration.md
windsonsea Jul 12, 2024
5743e4b
[zh] Sync concepts/storage/volumes.md
windsonsea Jul 11, 2024
bc21d30
Update limit-storage-consumption.md
chymy Jul 12, 2024
c743a3e
Update 2015 blog to include author in front-matter
dipesh-rawat Apr 22, 2024
93eb067
replace "do to" with "due to "
bydeath Jun 6, 2024
81b6a9c
Add Liveness, Readiness, and Startup Probes Concepts and supply clean…
pegasas Aug 3, 2023
d6a1a77
Update content/en/docs/concepts/configuration/liveness-readiness-star…
pegasas Apr 1, 2024
a37c32d
Update content/en/docs/concepts/configuration/liveness-readiness-star…
pegasas Apr 1, 2024
4834f5b
Update content/en/docs/concepts/configuration/liveness-readiness-star…
pegasas Jun 11, 2024
1bf2a4d
Fix gMSA credspec definitions
avin3sh Jul 10, 2024
4582c88
Add caution for using memory-backed emptydir (#44949)
shu-mutou Jul 12, 2024
07b6db5
[en] Reduce GracePeriod to 300 sec for deploying Cassandra with a Sta…
abhilasha2418 Jul 4, 2024
8926391
[bn] Add ingress class name to example-ingress.yaml
Arhell Jul 13, 2024
b364622
[zh-cn] Sync services-networking/*
my-git9 Jul 14, 2024
5018f6b
sync cloud-controller-manager limit-storage-consumption horizontal-po…
asa3311 Jul 15, 2024
9799143
[zh] add liveness-readiness-startup-probes.md
windsonsea Jul 15, 2024
c506a15
[zh-cn] sync configure-gmsa
my-git9 Jul 15, 2024
516e369
Update volume-health-monitoring.md
mavk Jul 16, 2024
3a16d4c
[zh-cn] sync storage/volumes.md
my-git9 Jul 14, 2024
8e7df49
[zh] Add cluster-autoscaling.md
windsonsea Jul 16, 2024
d64410e
Update the GitHub repo url of Java Operator SDK
haoxins Jul 16, 2024
85361fc
[zh-cn] sync configure-liveness-readiness-startup-probes.md
my-git9 Jul 16, 2024
bcc5546
Update extensible-admission-controllers.md
davidxia Jul 16, 2024
3d1c3b4
Update hello-minikube.md
lukaszw-at-itstartechs Jul 16, 2024
d2da108
updated default and min value
kundan2707 Jul 16, 2024
150f796
[zh] Fix mismatched parentheses in cel.md
Arhell Jul 16, 2024
ae2864b
[ja] Add ingress class name to example-ingress.yaml
Arhell Jul 14, 2024
8349419
[ja] Translate node-resource-managers.md into Japanese
Kei-Ta Jul 17, 2024
cdbf6eb
Update content/ja/docs/concepts/policy/node-resource-managers.md
Kei-Ta Jul 17, 2024
d8a54d0
Clean up updating-configuration-via-a-configmap.md
windsonsea Jul 17, 2024
196b794
[zh] Add change-pv-access-mode-readwriteoncepod.md
windsonsea Jul 17, 2024
c794108
[zh-cn] sync configuration/secret.md
my-git9 Jul 17, 2024
fb11952
[zh-cn] sync extend-kubernetes/operator.md
my-git9 Jul 17, 2024
97c322d
Fixed a dead link in AppArmor doc
Jul 18, 2024
bbe8b45
Clarify kubelet serving and client cert CN values
micahhausler Jul 9, 2024
2a12217
Add links to CertificateSigningRequest API
rodrigc Jul 18, 2024
d8e1dc2
Update certificate-signing-requests.md
tengqm Jul 18, 2024
3095822
[zh] Sync feature gates: port-forward-websockets and iptables-ownersh…
windsonsea Jul 18, 2024
723b862
sync certificate-signing-requests rbac
asa3311 Jul 18, 2024
6f821c0
updating sched
jimangel Jul 18, 2024
63878e4
[es] Service without selectors, command correction issue
Arhell Jul 18, 2024
e0a32a9
miss matched secret as shown in setup
masonyc Jul 18, 2024
a5ad13a
[zh-cn] sync tutorials/hello-minikube.md
my-git9 Jul 18, 2024
a814da3
[zh-cn] sync security/apparmor.md
my-git9 Jul 18, 2024
79863e9
[zh] Delete rewrite-target annotation in ingress example
Arhell Jul 18, 2024
475f4bd
Fix typos in managing-secret-using-kustomize.md
windsonsea Jul 19, 2024
d2f3ccf
[zh] Sync managing-secret-using-kustomize.md
windsonsea Jul 19, 2024
30adc05
Increase readability by refining the wording in cpu-management-polici…
JoeyC-Dev Jun 6, 2024
620ea48
Added Annotation storage.alpha.kubernetes.io/migrated-plugins
Ritikaa96 Feb 13, 2024
608ad0f
adding improvements
Ritikaa96 Feb 16, 2024
26b59ef
removing CSIMigration reference as the CSIMigration feature gate is …
Ritikaa96 Jul 18, 2024
38b1d16
Add kubernetes 1.31 deprecations and removals blog
a-mccarthy Jun 21, 2024
18c77d1
update publication date
a-mccarthy Jun 27, 2024
07273e8
Adding content for mid-cycle blog
a-mccarthy Jul 9, 2024
611cb82
remove typos
a-mccarthy Jul 9, 2024
6849b21
Apply suggestions from code review
a-mccarthy Jul 11, 2024
49794b3
updating to use relative links
a-mccarthy Jul 14, 2024
bb15579
Apply suggestions from code review
a-mccarthy Jul 16, 2024
abe6ac4
minor edits and adding line wrapping at the end of setences
a-mccarthy Jul 16, 2024
9787f83
Apply suggestions from code review
a-mccarthy Jul 17, 2024
c0a29ce
remove kustomize deprecation section
a-mccarthy Jul 17, 2024
4de69c4
Apply suggestions from code review
a-mccarthy Jul 18, 2024
b5f88da
remove runonce mode deprecation and small edits
a-mccarthy Jul 18, 2024
3709f83
update KEP 4004 to be more clear
a-mccarthy Jul 18, 2024
3070703
Apply suggestions from code review
a-mccarthy Jul 19, 2024
f60225a
Update file for new publication date
a-mccarthy Jul 19, 2024
cab5853
fix: link typo in crd docs
tkxkd0159 Jul 19, 2024
89225e4
Disentangle CRD additional printer columns & field selector sectiosn
sbueringer Jul 19, 2024
64f9de0
[zh-cn] sync labels-annotations-taints/_index.md
my-git9 Jul 19, 2024
3b52ab1
[zh] Sync a task: custom-resource-definitions.md
windsonsea Jul 20, 2024
af4ba31
fix link error
shogo452 Jul 21, 2024
ccea3ef
[ja] Delete rewrite-target annotation in ingress example
Arhell Jul 21, 2024
4176a49
[zh] Sync a task: cpu-management-policies.md
windsonsea Jul 20, 2024
931d89f
[zh-cn] sync configmap-secret/managing-secret-using-kustomize
my-git9 Jul 21, 2024
ae2ffce
[zh-cn] Localize blog: 2024-07-19-kubernetes-1.31-deprecations-and-re…
my-git9 Jul 20, 2024
970666f
[es] Delete rewrite-target annotation in ingress example
Arhell Jul 22, 2024
f811eaf
[ja] Translate content/en/docs/concepts/workloads/autoscaling.md into…
kohbis Jul 22, 2024
d9102b8
update: author
Okabe-Junya Jul 13, 2024
578656d
cp content/en/docs/contribute/participate/roles-and-responsibilities.…
Okabe-Junya Jul 13, 2024
43aed34
[Ja] Future gates transulation
tamilselvan1102 Jul 12, 2024
ce90722
updated to UT-8
tamilselvan1102 Jul 12, 2024
209780e
Update content/ja/docs/reference/glossary/feature-gates.md
tamilselvan1102 Jul 22, 2024
10012ab
Update content/ja/docs/reference/glossary/feature-gates.md
tamilselvan1102 Jul 22, 2024
300c966
Update content/ja/docs/reference/glossary/feature-gates.md
tamilselvan1102 Jul 22, 2024
d1d841a
[zh-cn] sync configure-liveness-readiness-startup-probes.md
my-git9 Jul 22, 2024
7f3824a
Coorect kube-scheduler text
steve-hardman Jul 22, 2024
8dda443
Update container-lifecycle-hooks.md
network-charles Jun 7, 2024
ddf1678
[zh] Add kubectl_delete/_index.md
windsonsea Jul 3, 2024
b32993e
[zh] Add kubectl_expose/_index.md
windsonsea Jul 5, 2024
0f71823
[zh] Sync manage-resources-containers.md
windsonsea Jul 15, 2024
fda7510
[zh] Add updating-configuration-via-a-configmap.md
windsonsea Jul 22, 2024
008d102
[zh-cn] Resync localization strings
mengjiao-liu Jul 23, 2024
4ebb887
Fix feature gate ZeroLimitedNominalConcurrencyShares in v1.30
tengqm Jul 24, 2024
5b9ddec
[zh] Sync a feature gate: zero-limited-nominal-concurrency-shares.md
windsonsea Jul 25, 2024
6603974
[bn] Delete rewrite-target annotation in ingress example
Arhell Jul 19, 2024
5b9d389
[zh-cn] sync kubeadm/kubeadm-init.md
my-git9 Jul 19, 2024
9aba769
Add feature gate WatchFromStorageWithoutResourceVersion for v1.30
tengqm Jul 24, 2024
3e6e36b
Fix feature gate status for ContainerCheckpoint in v1.30
tengqm Jul 24, 2024
e98c588
Fix a link text in secret.md
windsonsea Jul 24, 2024
4445117
Fix CRD CEL transition rule error message example
sbueringer Jun 28, 2024
a10a954
[zh] Sync container-checkpoint and watch-from-storage-without-resourc…
windsonsea Jul 26, 2024
a968650
[zh-cn] sync kubelet-checkpoint-api custom-resource-definitions
my-git9 Jul 26, 2024
3b7bfc6
[ja] Translate reference/setup-tools/kubeadm/kubeadm-config into Japa…
levi106 Jul 26, 2024
9603ab5
Registered deprecated & removed release audit annotation
Ritikaa96 Jul 25, 2024
d68e71a
editing as per reviews
Ritikaa96 Jul 25, 2024
3e48d6d
Add feature gate for MutatingAdmissionPolicy in v1.30
tengqm Jul 24, 2024
a147348
[de] Remove self referencing link
Arhell Jul 25, 2024
36fdbc1
Add `/sys/devices/virtual/powercap` to Masked Paths in security-conte…
yosshi825 Jul 22, 2024
bd25b94
Specify likely etcd restart steps for etcdctl-based restore. (#47167)
dr0ptp4kt Jul 26, 2024
ee97d28
Update configure-liveness-readiness-startup-probes.md (#47098)
sankalp-khare Jul 26, 2024
4896dd9
[zh-cn] sync configuration/secret
my-git9 Jul 26, 2024
1bad15f
Add issue link info to PR template
stmcginnis Feb 1, 2024
f0564dd
Add feature gate RetryGenerateName for v1.30
tengqm Jul 24, 2024
2476de6
[pl] Remove self referencing link
Arhell Jul 27, 2024
ac5f2c2
[zh] Sync a feature gate: retry-generate-name.md
windsonsea Jul 28, 2024
27b4ab1
Clarify remark about object names wrt CRD
MikeSpreitzer May 8, 2024
8554675
[pt] Add ingress class name to example-ingress.yaml
Arhell Jul 15, 2024
1f5959d
[zh] Fix the wrong link in default storage classes
Arhell Jul 28, 2024
25686d3
Fix typo filename: "dynamice" to "dynamic"
mengjiao-liu Jul 29, 2024
2e70b4a
Update documented metrics for v1.30
mengjiao-liu Jul 29, 2024
36cb1bc
[zh] Add a feature gate: mutating-admission-policy
windsonsea Jul 29, 2024
c2b7168
update: layouts/blog
Okabe-Junya Jul 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[zh] Fix two notes format
  • Loading branch information
windsonsea authored and hacktivist123 committed Jul 29, 2024
commit 22a0346478e058d65a0110f8d0f63c81b1af36ea
156 changes: 75 additions & 81 deletions content/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ Pod 就会被从 {{< glossary_tooltip text="API 服务器" term_id="kube-apiserv
集群会从头开始重试,赋予 Pod 完整的体面终止限期。

<!--
An example flow:
Pod termination flow, illustrated with an example:

1. You use the `kubectl` tool to manually delete a specific Pod, with the default grace period
(30 seconds).
Expand All @@ -999,7 +999,7 @@ An example flow:
as terminating (a graceful shutdown duration has been set), the kubelet begins the local Pod
shutdown process.
-->
下面是一个例子
Pod 终止流程,如下例所示

1. 你使用 `kubectl` 工具手动删除某个特定的 Pod,而该 Pod 的体面终止限期是默认值(30 秒)。

Expand Down Expand Up @@ -1027,14 +1027,15 @@ An example flow:

如果 `preStop` 回调在体面期结束后仍在运行,kubelet 将请求短暂的、一次性的体面期延长 2 秒。

{{< note >}}
<!--
If the `preStop` hook needs longer to complete than the default grace period allows,
you must modify `terminationGracePeriodSeconds` to suit this.
-->
如果 `preStop` 回调所需要的时间长于默认的体面终止限期,你必须修改
`terminationGracePeriodSeconds` 属性值来使其正常工作。
{{< /note >}}
<!--
If the `preStop` hook needs longer to complete than the default grace period allows,
you must modify `terminationGracePeriodSeconds` to suit this.
-->

{{< note >}}
如果 `preStop` 回调所需要的时间长于默认的体面终止限期,你必须修改
`terminationGracePeriodSeconds` 属性值来使其正常工作。
{{< /note >}}

<!--
1. The kubelet triggers the container runtime to send a TERM signal to process 1 inside each
Expand All @@ -1043,14 +1044,17 @@ An example flow:

2. `kubelet` 接下来触发容器运行时发送 TERM 信号给每个容器中的进程 1。

{{< note >}}
<!--
The containers in the Pod receive the TERM signal at different times and in an arbitrary
order. If the order of shutdowns matters, consider using a `preStop` hook to synchronize.
There is [special ordering](#termination-with-sidecars) if the Pod has any
{{< glossary_tooltip text="sidecar containers" term_id="sidecar-container" >}} defined.
Otherwise, the containers in the Pod receive the TERM signal at different times and in
an arbitrary order. If the order of shutdowns matters, consider using a `preStop` hook
to synchronize (or switch to using sidecar containers).
-->
Pod 中的容器会在不同时刻收到 TERM 信号,接收顺序也是不确定的。
如果关闭的顺序很重要,可以考虑使用 `preStop` 回调逻辑来协调。
{{< /note >}}

如果 Pod 中定义了{{< glossary_tooltip text="Sidecar 容器" term_id="sidecar-container" >}},
则存在[特殊排序](#termination-with-sidecars)。否则,Pod 中的容器会在不同的时间和任意的顺序接收
TERM 信号。如果关闭顺序很重要,考虑使用 `preStop` 钩子进行同步(或者切换为使用 Sidecar 容器)。

<!--
1. At the same time as the kubelet is starting graceful shutdown of the Pod, the control plane
Expand Down Expand Up @@ -1097,74 +1101,31 @@ An example flow:
[探索 Pod 及其端点的终止行为](/zh-cn/docs/tutorials/services/pods-and-endpoint-termination-flow/)
中找到有关如何实现连接排空的更多详细信息。

{{<note>}}
<!--
If you don't have the `EndpointSliceTerminatingCondition` feature gate enabled
in your cluster (the gate is on by default from Kubernetes 1.22, and locked to default in 1.26),
then the Kubernetes control plane removes a Pod from any relevant EndpointSlices as soon as the Pod's
termination grace period _begins_. The behavior above is described when the
feature gate `EndpointSliceTerminatingCondition` is enabled.
-->
如果你的集群中没有启用 EndpointSliceTerminatingCondition 特性门控
(该门控从 Kubernetes 1.22 开始默认开启,在 1.26 中锁定为默认),
那么一旦 Pod 的终止宽限期开始,Kubernetes 控制平面就会从所有的相关 EndpointSlices 中移除 Pod。
上述行为是在 EndpointSliceTerminatingCondition 特性门控被启用时描述的。
{{</note>}}
<a id="pod-termination-beyond-grace-period" />

{{<note>}}
<!--
Beginning with Kubernetes 1.29, if your Pod includes one or more sidecar containers
(init containers with an Always restart policy), the kubelet will delay sending
the TERM signal to these sidecar containers until the last main container has fully terminated.
The sidecar containers will be terminated in the reverse order they are defined in the Pod spec.
This ensures that sidecar containers continue serving the other containers in the Pod until they are no longer needed.
-->
从 Kubernetes 1.29 开始,如果你的 Pod 包含一个或多个 Sidecar
容器(重启策略为 `Always` 的 Init 容器),kubelet 将延迟向这些
Sidecar 容器发送 TERM 信号,直到最后一个主容器完全终止。
Sidecar 容器将以 Pod 规约中定义的相反顺序终止。
这可确保 Sidecar 容器继续为 Pod 中的其他容器提供服务,直到不再需要它们为止。

<!--
Note that slow termination of a main container will also delay the termination of the sidecar containers.
If the grace period expires before the termination process is complete, the Pod may enter emergency termination.
In this case, all remaining containers in the Pod will be terminated simultaneously with a short grace period.
-->
请注意,主容器的缓慢终止也会延迟边车容器的终止。
如果宽限期在终止过程完成之前到期,Pod 可能会进入紧急终止状态。
在这种情况下,Pod 中的所有剩余容器将在短暂的宽限期内同时终止。

<!--
Similarly, if the Pod has a preStop hook that exceeds the termination grace period, emergency termination may occur.
In general, if you have used preStop hooks to control the termination order without sidecar containers, you can now
remove them and allow the kubelet to manage sidecar termination automatically.
1. The kubelet ensures the Pod is shut down and terminated
1. When the grace period expires, if there is still any container running in the Pod, the
kubelet triggers forcible shutdown.
The container runtime sends `SIGKILL` to any processes still running in any container in the Pod.
The kubelet also cleans up a hidden `pause` container if that container runtime uses one.
1. The kubelet transitions the Pod into a terminal phase (`Failed` or `Succeeded` depending on
the end state of its containers).
1. The kubelet triggers forcible removal of the Pod object from the API server, by setting grace period
to 0 (immediate deletion).
1. The API server deletes the Pod's API object, which is then no longer visible from any client.
-->
同样,如果 Pod 的 preStop 回调超过了终止宽限期,则可能会发生紧急终止。
一般来说,如果你在没有 Sidecar 容器的情况下使用 preStop 回调来控制终止顺序,
那么现在可以删除它们从而允许 kubelet 自动管理 Sidecar 终止。
{{</note>}}
4. kubelet 确保 Pod 被关闭和终止

<!--
1. When the grace period expires, the kubelet triggers forcible shutdown. The container runtime sends
`SIGKILL` to any processes still running in any container in the Pod.
The kubelet also cleans up a hidden `pause` container if that container runtime uses one.
1. The kubelet transitions the Pod into a terminal phase (`Failed` or `Succeeded` depending on
the end state of its containers). This step is guaranteed since version 1.27.
1. The kubelet triggers forcible removal of Pod object from the API server, by setting grace period
to 0 (immediate deletion).
1. The API server deletes the Pod's API object, which is then no longer visible from any client.
-->
1. 超出终止宽限期限时,`kubelet` 会触发强制关闭过程。容器运行时会向 Pod
中所有容器内仍在运行的进程发送 `SIGKILL` 信号。
`kubelet` 也会清理隐藏的 `pause` 容器,如果容器运行时使用了这种容器的话。
1. 超出终止宽限期限时,如果 Pod 中仍有容器在运行,kubelet 会触发强制关闭过程。
容器运行时会向 Pod 中所有容器内仍在运行的进程发送 `SIGKILL` 信号。
`kubelet` 也会清理隐藏的 `pause` 容器,如果容器运行时使用了这种容器的话。

1. `kubelet` 将 Pod 转换到终止阶段(`Failed` 或 `Succeeded` 具体取决于其容器的结束状态)。
这一步从 1.27 版本开始得到保证。
1. `kubelet` 将 Pod 转换到终止阶段(`Failed` 或 `Succeeded`,具体取决于其容器的结束状态)。

1. `kubelet` 触发强制从 API 服务器上删除 Pod 对象的逻辑,并将体面终止限期设置为 0
(这意味着马上删除)。
1. kubelet 通过将宽限期设置为 0(立即删除),触发从 API 服务器强制移除 Pod 对象的操作。

1. API 服务器删除 Pod 的 API 对象,从任何客户端都无法再看到该对象。
1. API 服务器删除 Pod 的 API 对象,从任何客户端都无法再看到该对象。

<!--
### Forced Pod termination {#pod-termination-forced}
Expand Down Expand Up @@ -1195,13 +1156,11 @@ begin immediate cleanup.
将宽限期限强制设置为 `0` 意味着立即从 API 服务器删除 Pod。
如果 Pod 仍然运行于某节点上,强制删除操作会触发 `kubelet` 立即执行清理操作。

{{< note >}}
<!--
You must specify an additional flag `--force` along with `--grace-period=0`
Using kubectl, You must specify an additional flag `--force` along with `--grace-period=0`
in order to perform force deletions.
-->
你必须在设置 `--grace-period=0` 的同时额外设置 `--force` 参数才能发起强制删除请求。
{{< /note >}}
使用 kubectl 时,你必须在设置 `--grace-period=0` 的同时额外设置 `--force` 参数才能发起强制删除请求。

<!--
When a force deletion is performed, the API server does not wait for confirmation
Expand Down Expand Up @@ -1231,6 +1190,41 @@ documentation for
如果你需要强制删除 StatefulSet 的 Pod,
请参阅[从 StatefulSet 中删除 Pod](/zh-cn/docs/tasks/run-application/force-delete-stateful-set-pod/) 的任务文档。

<!--
### Pod shutdown and sidecar containers {##termination-with-sidecars}

If your Pod includes one or more
[sidecar containers](/docs/concepts/workloads/pods/sidecar-containers/)
(init containers with an Always restart policy), the kubelet will delay sending
the TERM signal to these sidecar containers until the last main container has fully terminated.
The sidecar containers will be terminated in the reverse order they are defined in the Pod spec.
This ensures that sidecar containers continue serving the other containers in the Pod until they
are no longer needed.
-->
### Pod 关闭和 Sidecar 容器 {#termination-with-sidecars}

如果你的 Pod 包含一个或多个 [Sidecar 容器](/zh-cn/docs/concepts/workloads/pods/sidecar-containers/)
(重启策略为 Always 的 Init 容器),kubelet 将延迟向这些 Sidecar 容器发送 TERM 信号,
直到最后一个主容器已完全终止。Sidecar 容器将按照它们在 Pod 规约中被定义的相反顺序被终止。
这样确保了 Sidecar 容器继续为 Pod 中的其他容器提供服务,直到完全不再需要为止。

<!--
This means that slow termination of a main container will also delay the termination of the sidecar containers.
If the grace period expires before the termination process is complete, the Pod may enter [forced termination](#pod-termination-beyond-grace-period).
In this case, all remaining containers in the Pod will be terminated simultaneously with a short grace period.

Similarly, if the Pod has a `preStop` hook that exceeds the termination grace period, emergency termination may occur.
In general, if you have used `preStop` hooks to control the termination order without sidecar containers, you can now
remove them and allow the kubelet to manage sidecar termination automatically.
-->
这意味着主容器的慢终止也会延迟 Sidecar 容器的终止。
如果在终止过程完成之前宽限期已到,Pod 可能会进入[强制终止](#pod-termination-beyond-grace-period)阶段。
在这种情况下,Pod 中所有剩余的容器将在某个短宽限期内被同时终止。

同样地,如果 Pod 有一个 `preStop` 钩子超过了终止宽限期,可能会发生紧急终止。
总体而言,如果你以前使用 `preStop` 钩子来控制没有 Sidecar 的 Pod 中容器的终止顺序,
你现在可以移除这些钩子,允许 kubelet 自动管理 Sidecar 的终止。

<!--
### Garbage collection of Pods {#pod-garbage-collection}

Expand Down