Skip to content

Commit 972c95c

Browse files
committed
Merge branch 'master' of https://github.com/kubernetes/website into es/docs/concepts_workloads_controllers/deployment_and_gc
2 parents 3028119 + d6116de commit 972c95c

File tree

4,198 files changed

+412542
-455111
lines changed

Some content is hidden

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

4,198 files changed

+412542
-455111
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ charset = utf-8
55
max_line_length = 80
66
trim_trailing_whitespace = true
77

8-
[*.{html,js,json,sass,md,mmark,toml,yaml}]
8+
[*.{css,html,js,json,sass,md,mmark,toml,yaml}]
99
indent_style = space
1010
indent_size = 2
1111

.github/ISSUE_TEMPLATE/support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Support Request
3-
about: Support request or question relating to Kubernetes Dashboard project
3+
about: Support request or question relating to Kubernetes Website project
44
labels:
55
- triage/support
66
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1-
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2-
> Remember to delete this note before submitting your pull request.
3-
>
4-
> For pull requests on 1.15 Features: set Milestone to 1.15 and Base Branch to dev-1.15
5-
>
6-
> For pull requests on Chinese localization, set Base Branch to release-1.14
7-
>
8-
> For pull requests on Korean Localization: set Base Branch to dev-1.14-ko.\<latest team milestone>
9-
>
10-
> If you need Help on editing and submitting pull requests, visit:
11-
> https://kubernetes.io/docs/contribute/start/#improve-existing-content.
12-
>
13-
> If you need Help on choosing which branch to use, visit:
14-
> https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
15-
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16-
>
1+
<!-- 🛈
2+
3+
Hello!
4+
5+
Remember to ADD A DESCRIPTION and delete this note before submitting
6+
your pull request. The description should explain what will change,
7+
and why.
8+
9+
PLEASE title the FIRST commit appropriately, so that if you squash all
10+
your commits into one, the combined commit message makes sense.
11+
For overall help on editing and submitting pull requests, visit:
12+
https://kubernetes.io/docs/contribute/start/#improve-existing-content
13+
14+
Use the default base branch, “master”, if you're documenting existing
15+
features in the English localization.
16+
17+
If you're working on a different localization (not English), or you
18+
are documenting a feature that will be part of a future release, see
19+
https://kubernetes.io/docs/contribute/new-content/overview/#choose-which-git-branch-to-use
20+
for advice.
21+
22+
-->

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ resources/
3333
# Netlify Functions build output
3434
package-lock.json
3535
functions/
36-
node_modules/
36+
node_modules/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/docsy"]
2+
path = themes/docsy
3+
url = https://github.com/google/docsy.git

.htmltest.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
DirectoryPath: public/docs
2+
IgnoreDirectoryMissingTrailingSlash: true
3+
CheckExternal: false
4+
IgnoreAltMissing: true
5+
CheckImages: false
6+
CheckScripts: false
7+
CheckMeta: false
8+
CheckMetaRefresh: false
9+
CheckLinks: false
10+
EnforceHTML5: false
11+
EnforceHTTPS: false
12+
IgnoreDirectoryMissingTrailingSlash: false
13+
IgnoreInternalEmptyHash: true
14+
IgnoreEmptyHref: true
15+
IgnoreDirs:
16+
- "reference/generated/kubernetes-api"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
FROM alpine:latest
88

9-
MAINTAINER Luc Perkins <[email protected]>
9+
LABEL maintainer="Luc Perkins <[email protected]>"
1010

1111
RUN apk add --no-cache \
1212
curl \

Makefile

Lines changed: 48 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
DOCKER = docker
2-
HUGO_VERSION = 0.53
3-
DOCKER_IMAGE = kubernetes-hugo
4-
DOCKER_RUN = $(DOCKER) run --rm --interactive --tty --volume $(CURDIR):/src
5-
NODE_BIN = node_modules/.bin
6-
NETLIFY_FUNC = $(NODE_BIN)/netlify-lambda
1+
HUGO_VERSION = $(shell grep ^HUGO_VERSION netlify.toml | tail -n 1 | cut -d '=' -f 2 | tr -d " \"\n")
2+
NODE_BIN = node_modules/.bin
3+
NETLIFY_FUNC = $(NODE_BIN)/netlify-lambda
4+
5+
# The CONTAINER_ENGINE variable is used for specifying the container engine. By default 'docker' is used
6+
# but this can be overridden when calling make, e.g.
7+
# CONTAINER_ENGINE=podman make container-image
8+
CONTAINER_ENGINE ?= docker
9+
CONTAINER_IMAGE = kubernetes-hugo
10+
CONTAINER_RUN = $(CONTAINER_ENGINE) run --rm --interactive --tty --volume $(CURDIR):/src
11+
12+
CCRED=\033[0;31m
13+
CCEND=\033[0m
714

815
.PHONY: all build build-preview help serve
916

@@ -18,32 +25,60 @@ build: ## Build site with production settings and put deliverables in ./public
1825
build-preview: ## Build site with drafts and future posts enabled
1926
hugo --buildDrafts --buildFuture
2027

28+
deploy-preview: ## Deploy preview site via netlify
29+
hugo --enableGitInfo --buildFuture -b $(DEPLOY_PRIME_URL)
30+
2131
functions-build:
2232
$(NETLIFY_FUNC) build functions-src
2333

2434
check-headers-file:
2535
scripts/check-headers-file.sh
2636

27-
production-build: check-hugo-versions build check-headers-file ## Build the production site and ensure that noindex headers aren't added
37+
production-build: build check-headers-file ## Build the production site and ensure that noindex headers aren't added
2838

29-
non-production-build: check-hugo-versions ## Build the non-production site, which adds noindex headers to prevent indexing
39+
non-production-build: ## Build the non-production site, which adds noindex headers to prevent indexing
3040
hugo --enableGitInfo
3141

3242
serve: ## Boot the development server.
3343
hugo server --buildFuture
3444

3545
docker-image:
36-
$(DOCKER) build . --tag $(DOCKER_IMAGE) --build-arg HUGO_VERSION=$(HUGO_VERSION)
46+
@echo -e "$(CCRED)**** The use of docker-image is deprecated. Use container-image instead. ****$(CCEND)"
47+
$(MAKE) container-image
3748

3849
docker-build:
39-
$(DOCKER_RUN) $(DOCKER_IMAGE) hugo
50+
@echo -e "$(CCRED)**** The use of docker-build is deprecated. Use container-build instead. ****$(CCEND)"
51+
$(MAKE) container-build
4052

4153
docker-serve:
42-
$(DOCKER_RUN) -p 1313:1313 $(DOCKER_IMAGE) hugo server --buildFuture --bind 0.0.0.0
54+
@echo -e "$(CCRED)**** The use of docker-serve is deprecated. Use container-serve instead. ****$(CCEND)"
55+
$(MAKE) container-serve
56+
57+
container-image:
58+
$(CONTAINER_ENGINE) build . \
59+
--network=host \
60+
--tag $(CONTAINER_IMAGE) \
61+
--build-arg HUGO_VERSION=$(HUGO_VERSION)
62+
63+
container-build:
64+
$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo
65+
66+
container-serve:
67+
$(CONTAINER_RUN) --mount type=tmpfs,destination=/src/resources,tmpfs-mode=0755 -p 1313:1313 $(CONTAINER_IMAGE) hugo server --buildFuture --bind 0.0.0.0
4368

4469
test-examples:
4570
scripts/test_examples.sh install
4671
scripts/test_examples.sh run
4772

48-
check-hugo-versions:
49-
scripts/hugo-version-check.sh $(HUGO_VERSION)
73+
.PHONY: link-checker-setup
74+
link-checker-image-pull:
75+
$(CONTAINER_ENGINE) pull wjdp/htmltest
76+
77+
docker-internal-linkcheck:
78+
@echo -e "$(CCRED)**** The use of docker-internal-linkcheck is deprecated. Use container-internal-linkcheck instead. ****$(CCEND)"
79+
$(MAKE) container-internal-linkcheck
80+
81+
container-internal-linkcheck: link-checker-image-pull
82+
$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo --config config.toml,linkcheck-config.toml --buildFuture
83+
$(CONTAINER_ENGINE) run --mount type=bind,source=$(CURDIR),target=/test --rm wjdp/htmltest htmltest
84+

OWNERS

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ approvers:
77
- sig-docs-en-owners # Defined in OWNERS_ALIASES
88

99
emeritus_approvers:
10-
- chenopis
11-
- jaredbhatti
10+
# chenopis, you're welcome to return when you're ready to resume PR wrangling
11+
# jaredbhatti, you're welcome to return when you're ready to resume PR wrangling
12+
# stewart-yu, you're welcome to return when you're ready to resume PR wrangling
13+
- stewart-yu
1214

1315
labels:
14-
- sig/docs
16+
- sig/docs

0 commit comments

Comments
 (0)