Skip to content

Commit 730302b

Browse files
Merge branch 'main' into patch-1
2 parents eed5171 + b47948a commit 730302b

File tree

1,703 files changed

+106738
-203885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,703 files changed

+106738
-203885
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# change is that the Hugo version is now an overridable argument rather than a fixed
55
# environment variable.
66

7-
FROM golang:1.18-alpine
7+
FROM docker.io/library/golang:1.20-alpine
88

99
LABEL maintainer="Luc Perkins <[email protected]>"
1010

@@ -24,7 +24,7 @@ RUN mkdir $HOME/src && \
2424
cd "hugo-${HUGO_VERSION}" && \
2525
go install --tags extended
2626

27-
FROM golang:1.18-alpine
27+
FROM docker.io/library/golang:1.20-alpine
2828

2929
RUN apk add --no-cache \
3030
runuser \

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ CONTAINER_ENGINE ?= docker
99
IMAGE_REGISTRY ?= gcr.io/k8s-staging-sig-docs
1010
IMAGE_VERSION=$(shell scripts/hash-files.sh Dockerfile Makefile | cut -c 1-12)
1111
CONTAINER_IMAGE = $(IMAGE_REGISTRY)/k8s-website-hugo:v$(HUGO_VERSION)-$(IMAGE_VERSION)
12-
CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src"
12+
# Mount read-only to allow use with tools like Podman in SELinux mode
13+
# Container targets don't need to write into /src
14+
CONTAINER_RUN = "$(CONTAINER_ENGINE)" run --rm --interactive --tty --volume "$(CURDIR):/src:ro,Z"
1315

1416
CCRED=\033[0;31m
1517
CCEND=\033[0m
@@ -38,7 +40,7 @@ build-preview: module-check ## Build site with drafts and future posts enabled
3840
hugo --cleanDestinationDir --buildDrafts --buildFuture --environment preview
3941

4042
deploy-preview: ## Deploy preview site via netlify
41-
hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
43+
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --buildFuture --environment preview -b $(DEPLOY_PRIME_URL)
4244

4345
functions-build:
4446
$(NETLIFY_FUNC) build functions-src
@@ -47,11 +49,11 @@ check-headers-file:
4749
scripts/check-headers-file.sh
4850

4951
production-build: module-check ## Build the production site and ensure that noindex headers aren't added
50-
hugo --cleanDestinationDir --minify --environment production
52+
GOMAXPROCS=1 hugo --cleanDestinationDir --minify --environment production
5153
HUGO_ENV=production $(MAKE) check-headers-file
5254

5355
non-production-build: module-check ## Build the non-production site, which adds noindex headers to prevent indexing
54-
hugo --cleanDestinationDir --enableGitInfo --environment nonprod
56+
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --environment nonprod
5557

5658
serve: module-check ## Boot the development server.
5759
hugo server --buildFuture --environment development

OWNERS_ALIASES

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ aliases:
3232
- bradtopol
3333
- divya-mohan0209
3434
- kbhawkey
35-
- krol3
3635
- natalisucks
3736
- nate-double-u
3837
- onlydole
3938
- reylejano
39+
- Rishit-dagli # 1.28 Release Team Docs Lead
4040
- sftim
4141
- tengqm
4242
sig-docs-en-reviews: # PR reviews for English content
@@ -53,11 +53,17 @@ aliases:
5353
- shannonxtreme
5454
- tengqm
5555
sig-docs-es-owners: # Admins for Spanish content
56+
- 92nqb
57+
- krol3
5658
- electrocucaracha
5759
- raelga
60+
- ramrodo
5861
sig-docs-es-reviews: # PR reviews for Spanish content
62+
- 92nqb
63+
- krol3
5964
- electrocucaracha
6065
- raelga
66+
- ramrodo
6167
sig-docs-fr-owners: # Admins for French content
6268
- awkif
6369
- feloy
@@ -134,13 +140,15 @@ aliases:
134140
- chenrui333
135141
- howieyuen
136142
- mengjiao-liu
143+
- my-git9
137144
- SataQiu
138145
- Sea-n
139146
- tanjunchen
140147
- tengqm
141148
- windsonsea
142149
- xichengliudui
143150
sig-docs-zh-reviews: # PR reviews for Chinese content
151+
- asa3311
144152
- chenrui333
145153
- chenxuc
146154
- howieyuen
@@ -161,7 +169,6 @@ aliases:
161169
- edsoncelio
162170
- femrtnz
163171
- jcjesus
164-
- rikatz
165172
- stormqueen1990
166173
- yagonobre
167174
sig-docs-pt-reviews: # PR reviews for Portugese content
@@ -170,7 +177,6 @@ aliases:
170177
- femrtnz
171178
- jcjesus
172179
- mrerlison
173-
- rikatz
174180
- stormqueen1990
175181
- yagonobre
176182
sig-docs-vi-owners: # Admins for Vietnamese content

README-zh.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ This repository contains the assets required to build the [Kubernetes website an
2222
<!--
2323
## Using this repository
2424
25-
You can run the website locally using Hugo (Extended version), or you can run it in a container runtime. We strongly recommend using the container runtime, as it gives deployment consistency with the live website.
25+
You can run the website locally using [Hugo (Extended version)](https://gohugo.io/), or you can run it in a container runtime. We strongly recommend using the container runtime, as it gives deployment consistency with the live website.
2626
-->
2727
## 使用这个仓库
2828

29-
可以使用 Hugo(扩展版)在本地运行网站,也可以在容器中运行它。强烈建议使用容器,因为这样可以和在线网站的部署保持一致。
29+
可以使用 [Hugo(扩展版)](https://gohugo.io/)在本地运行网站,也可以在容器中运行它。强烈建议使用容器,因为这样可以和在线网站的部署保持一致。
3030

3131
<!--
3232
## Prerequisites
@@ -150,11 +150,11 @@ This will start the local Hugo server on port 1313. Open up your browser to <htt
150150
## 构建 API 参考页面
151151

152152
<!--
153-
The API reference pages located in `content/en/docs/reference/kubernetes-api` are built from the Swagger specification, using <https://github.com/kubernetes-sigs/reference-docs/tree/master/gen-resourcesdocs>.
153+
The API reference pages located in `content/en/docs/reference/kubernetes-api` are built from the Swagger specification, also known as OpenAPI specification, using <https://github.com/kubernetes-sigs/reference-docs/tree/master/gen-resourcesdocs>.
154154
155155
To update the reference pages for a new Kubernetes release follow these steps:
156156
-->
157-
位于 `content/en/docs/reference/kubernetes-api` 的 API 参考页面是根据 Swagger 规范构建的,使用 <https://github.com/kubernetes-sigs/reference-docs/tree/master/gen-resourcesdocs>
157+
位于 `content/en/docs/reference/kubernetes-api` 的 API 参考页面是使用 <https://github.com/kubernetes-sigs/reference-docs/tree/master/gen-resourcesdocs> 根据 Swagger 规范(也称为 OpenAPI 规范)构建的
158158

159159
要更新 Kubernetes 新版本的参考页面,请执行以下步骤:
160160

api-ref-assets/api/swagger.json

Lines changed: 11717 additions & 8245 deletions
Large diffs are not rendered by default.

api-ref-assets/config/fields.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
- initContainerStatuses
100100
- containerStatuses
101101
- ephemeralContainerStatuses
102+
- resize
102103

103104
- definition: io.k8s.api.core.v1.Container
104105
field_categories:
@@ -127,6 +128,7 @@
127128
- name: Resources
128129
fields:
129130
- resources
131+
- resizePolicy
130132
- name: Lifecycle
131133
fields:
132134
- lifecycle
@@ -219,6 +221,9 @@
219221
fields:
220222
- volumeMounts
221223
- volumeDevices
224+
- name: Resources
225+
fields:
226+
- resizePolicy
222227
- name: Lifecycle
223228
fields:
224229
- terminationMessagePath

api-ref-assets/config/toc.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@ parts:
6666
- name: PriorityClass
6767
group: scheduling.k8s.io
6868
version: v1
69-
- name: PodScheduling
69+
- name: PodSchedulingContext
7070
group: resource.k8s.io
71-
version: v1alpha1
71+
version: v1alpha2
7272
- name: ResourceClaim
7373
group: resource.k8s.io
74-
version: v1alpha1
74+
version: v1alpha2
7575
- name: ResourceClaimTemplate
7676
group: resource.k8s.io
77-
version: v1alpha1
77+
version: v1alpha2
7878
- name: ResourceClass
7979
group: resource.k8s.io
80-
version: v1alpha1
80+
version: v1alpha2
8181
- name: Service Resources
8282
chapters:
8383
- name: Service
@@ -148,6 +148,12 @@ parts:
148148
- name: CertificateSigningRequest
149149
group: certificates.k8s.io
150150
version: v1
151+
- name: ClusterTrustBundle
152+
group: certificates.k8s.io
153+
version: v1alpha1
154+
- name: SelfSubjectReview
155+
group: authentication.k8s.io
156+
version: v1beta1
151157
- name: Authorization Resources
152158
chapters:
153159
- name: LocalSubjectAccessReview
@@ -191,6 +197,9 @@ parts:
191197
- name: PodDisruptionBudget
192198
group: policy
193199
version: v1
200+
- name: IPAddress
201+
group: networking.k8s.io
202+
version: v1alpha1
194203
- name: Extend Resources
195204
chapters:
196205
- name: CustomResourceDefinition

assets/scss/_base.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,16 @@ main {
102102
}
103103
}
104104

105+
::selection {
106+
background: #326ce5;
107+
color: white;
108+
}
109+
110+
::-moz-selection {
111+
background: #326ce5;
112+
color: white;
113+
}
114+
105115
// HEADER
106116

107117
#hamburger {

assets/scss/_custom.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@ body {
4545
}
4646
}
4747

48+
/* Complex table layout support */
49+
50+
.td-content, body.td-content {
51+
table.complex-layout {
52+
tbody tr,
53+
tbody tr:nth-of-type(2n+1) {
54+
/* Avoid stripes */
55+
background-color: initial;
56+
}
57+
tbody tr:not(:last-child) > td[colspan] {
58+
/* provide a visual break between rows */
59+
padding-bottom: 1.5em;
60+
}
61+
tbody > tr > th[scope="row"]:first-child {
62+
min-width: 9em;
63+
}
64+
tbody > tr > th[rowspan] {
65+
vertical-align: middle;
66+
}
67+
border-collapse: separate;
68+
border-spacing: 0 0;
69+
max-width: calc(max(min(100vw, 110%), 40vw));
70+
}
71+
}
4872

4973
/* Emphasize first paragraph of running text on site front page */
5074
body.td-home main[role="main"] > section:first-of-type .content p:first-child {

content/de/_index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ <h2>Die Herausforderungen bei der Migration von über 150 Microservices auf Kube
4242
<button id="desktopShowVideoButton" onclick="kub.showVideo()">Video ansehen</button>
4343
<br>
4444
<br>
45-
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-north-america/" button id="desktopKCButton">Besuchen die KubeCon North America vom 24. bis 28. Oktober 2022</a>
45+
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/" button id="desktopKCButton">Besuche die KubeCon Europe vom 18. bis 21. April 2023</a>
4646
<br>
4747
<br>
4848
<br>
4949
<br>
50-
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/" button id="desktopKCButton">Besuche die KubeCon Europe vom 17. bis 21. April 2023</a>
50+
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-north-america/" button id="desktopKCButton">Besuche die KubeCon North America vom 6. bis 9. November 2023</a>
5151
</div>
5252
<div id="videoPlayer">
5353
<iframe data-url="https://www.youtube.com/embed/H06qrNmGqyE?autoplay=1" frameborder="0" allowfullscreen></iframe>

0 commit comments

Comments
 (0)