Skip to content

Commit 20efd69

Browse files
committed
Merge master into dev-1.22 to keep in sync
Signed-off-by: Ritu Panjwani <[email protected]>
2 parents d8f4b5c + 1e402f8 commit 20efd69

File tree

58 files changed

+849
-798
lines changed

Some content is hidden

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

58 files changed

+849
-798
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ help: ## Show this help.
1919
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
2020

2121
module-check:
22-
@git submodule status --recursive | awk '/^[+-]/ {printf "\033[31mWARNING\033[0m Submodule not initialized: \033[34m%s\033[0m\n",$$2}' 1>&2
22+
@git submodule status --recursive | awk '/^[+-]/ {err = 1; printf "\033[31mWARNING\033[0m Submodule not initialized: \033[34m%s\033[0m\n",$$2} END { if (err != 0) print "You need to run \033[32mmake module-init\033[0m to initialize missing modules first"; exit err }' 1>&2
23+
24+
module-init:
25+
@echo "Initializing submodules..." 1>&2
26+
@git submodule update --init --recursive --depth 1
2327

2428
all: build ## Build site with production settings and put deliverables in ./public
2529

content/en/_index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ <h2>The Challenges of Migrating 150+ Microservices to Kubernetes</h2>
4343
<button id="desktopShowVideoButton" onclick="kub.showVideo()">Watch Video</button>
4444
<br>
4545
<br>
46-
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-north-america/?utm_source=kubernetes.io&utm_medium=nav&utm_campaign=kccncna20" button id="desktopKCButton">Attend KubeCon NA virtually on November 17-20, 2020</a>
46+
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-north-america/?utm_source=kubernetes.io&utm_medium=nav&utm_campaign=kccncna21" button id="desktopKCButton">Attend KubeCon North America on October 11-15, 2021</a>
4747
<br>
4848
<br>
4949
<br>
5050
<br>
51-
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/?utm_source=kubernetes.io&utm_medium=nav&utm_campaign=kccnceu21" button id="desktopKCButton">Attend KubeCon EU virtually on May 4 – 7, 2021</a>
51+
<a href="https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/?utm_source=kubernetes.io&utm_medium=nav&utm_campaign=kccnceu21" button id="desktopKCButton">Revisit KubeCon EU 2021</a>
5252
</div>
5353
<div id="videoPlayer">
5454
<iframe data-url="https://www.youtube.com/embed/H06qrNmGqyE?autoplay=1" frameborder="0" allowfullscreen></iframe>
@@ -58,4 +58,4 @@ <h2>The Challenges of Migrating 150+ Microservices to Kubernetes</h2>
5858

5959
{{< blocks/kubernetes-features >}}
6060

61-
{{< blocks/case-studies >}}
61+
{{< blocks/case-studies >}}

content/en/blog/_posts/2018-01-00-Core-Workloads-Api-Ga.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The core workloads API surface is stable, but it’s still software, and softwar
9595
--Kenneth Owens, Software Engineer, Google
9696

9797

98-
- [Download](http://get.k8s.io/) Kubernetes
98+
- [Download](https://get.k8s.io/) Kubernetes
9999
- Get involved with the Kubernetes project on [GitHub](https://github.com/kubernetes/kubernetes)
100100
- Post questions (or answer questions) on [Stack Overflow](http://stackoverflow.com/questions/tagged/kubernetes)
101101
- Connect with the community on [Slack](http://slack.k8s.io/)

content/en/docs/concepts/cluster-administration/flow-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,6 @@ When you enable the API Priority and Fairness feature, the kube-apiserver serves
526526

527527

528528
For background information on design details for API priority and fairness, see
529-
the [enhancement proposal](https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20190228-priority-and-fairness.md).
529+
the [enhancement proposal](https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1040-priority-and-fairness).
530530
You can make suggestions and feature requests via [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery)
531531
or the feature's [slack channel](http://kubernetes.slack.com/messages/api-priority-and-fairness).

content/en/docs/concepts/policy/pod-security-policy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,12 +464,12 @@ allowed prefix, and a `readOnly` field indicating it must be mounted read-only.
464464
For example:
465465

466466
```yaml
467-
allowedHostPaths:
468-
# This allows "/foo", "/foo/", "/foo/bar" etc., but
469-
# disallows "/fool", "/etc/foo" etc.
470-
# "/foo/../" is never valid.
471-
- pathPrefix: "/foo"
472-
readOnly: true # only allow read-only mounts
467+
allowedHostPaths:
468+
# This allows "/foo", "/foo/", "/foo/bar" etc., but
469+
# disallows "/fool", "/etc/foo" etc.
470+
# "/foo/../" is never valid.
471+
- pathPrefix: "/foo"
472+
readOnly: true # only allow read-only mounts
473473
```
474474
475475
{{< warning >}}There are many ways a container with unrestricted access to the host

content/en/docs/concepts/scheduling-eviction/resource-bin-packing.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,40 @@ each resource to score nodes based on the request to capacity ratio. This
2626
allows users to bin pack extended resources by using appropriate parameters
2727
and improves the utilization of scarce resources in large clusters. The
2828
behavior of the `RequestedToCapacityRatioResourceAllocation` priority function
29-
can be controlled by a configuration option called
30-
`requestedToCapacityRatioArguments`. This argument consists of two parameters
31-
`shape` and `resources`. The `shape` parameter allows the user to tune the
32-
function as least requested or most requested based on `utilization` and
33-
`score` values. The `resources` parameter consists of `name` of the resource
34-
to be considered during scoring and `weight` specify the weight of each
35-
resource.
29+
can be controlled by a configuration option called `RequestedToCapacityRatioArgs`.
30+
This argument consists of two parameters `shape` and `resources`. The `shape`
31+
parameter allows the user to tune the function as least requested or most
32+
requested based on `utilization` and `score` values. The `resources` parameter
33+
consists of `name` of the resource to be considered during scoring and `weight`
34+
specify the weight of each resource.
3635

3736
Below is an example configuration that sets
3837
`requestedToCapacityRatioArguments` to bin packing behavior for extended
3938
resources `intel.com/foo` and `intel.com/bar`.
4039

4140
```yaml
42-
apiVersion: v1
43-
kind: Policy
41+
apiVersion: kubescheduler.config.k8s.io/v1beta1
42+
kind: KubeSchedulerConfiguration
43+
profiles:
4444
# ...
45-
priorities:
46-
# ...
47-
- name: RequestedToCapacityRatioPriority
48-
weight: 2
49-
argument:
50-
requestedToCapacityRatioArguments:
51-
shape:
52-
- utilization: 0
53-
score: 0
54-
- utilization: 100
55-
score: 10
56-
resources:
57-
- name: intel.com/foo
58-
weight: 3
59-
- name: intel.com/bar
60-
weight: 5
61-
```
45+
pluginConfig:
46+
- name: RequestedToCapacityRatio
47+
args:
48+
shape:
49+
- utilization: 0
50+
score: 10
51+
- utilization: 100
52+
score: 0
53+
resources:
54+
- name: intel.com/foo
55+
weight: 3
56+
- name: intel.com/bar
57+
weight: 5
58+
```
59+
60+
Referencing the `KubeSchedulerConfiguration` file with the kube-scheduler
61+
flag `--config=/path/to/config/file` will pass the configuration to the
62+
scheduler.
6263

6364
**This feature is disabled by default**
6465

content/en/docs/concepts/scheduling-eviction/taint-and-toleration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ weight: 40
1010

1111

1212
<!-- overview -->
13-
[_Node affinity_](/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity),
13+
[_Node affinity_](/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
1414
is a property of {{< glossary_tooltip text="Pods" term_id="pod" >}} that *attracts* them to
1515
a set of {{< glossary_tooltip text="nodes" term_id="node" >}} (either as a preference or a
1616
hard requirement). _Taints_ are the opposite -- they allow a node to repel a set of pods.

content/en/docs/concepts/services-networking/topology-aware-hints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ weight: 45
1313

1414
_Topology Aware Hints_ enable topology aware routing by including suggestions
1515
for how clients should consume endpoints. This approach adds metadata to enable
16-
consumers of EndpointSlice and / or and Endpoints objects, so that traffic to
16+
consumers of EndpointSlice and / or Endpoints objects, so that traffic to
1717
those network endpoints can be routed closer to where it originated.
1818

1919
For example, you can route traffic within a locality to reduce
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Viewing Site Analytics
3+
content_type: concept
4+
weight: 100
5+
card:
6+
name: contribute
7+
weight: 100
8+
---
9+
10+
<!-- overview -->
11+
12+
This page contains information about the kubernetes.io analytics dashboard.
13+
14+
15+
<!-- body -->
16+
17+
[View the dashboard](https://datastudio.google.com/reporting/fede2672-b2fd-402a-91d2-7473bdb10f04).
18+
19+
This dashboard is built using Google Data Studio and shows information collected on kubernetes.io using Google Analytics.
20+
21+
### Using the dashboard
22+
23+
By default, the dashboard shows all collected analytics for the past 30 days. Use the date selector to see data from a different date range. Other filtering options allow you to view data based on user location, the device used to access the site, the translation of the docs used, and more.
24+
25+
If you notice an issue with this dashboard, or would like to request any improvements, please [open an issue](https://github.com/kubernetes/website/issues/new/choose).

content/en/docs/contribute/generate-ref-docs/contribute-upstream.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ Go to `<k8s-base>` and run these scripts:
134134
hack/update-generated-swagger-docs.sh
135135
hack/update-openapi-spec.sh
136136
hack/update-generated-protobuf.sh
137-
hack/update-api-reference-docs.sh
138137
```
139138

140139
Run `git status` to see what was generated.
@@ -143,8 +142,6 @@ Run `git status` to see what was generated.
143142
On branch master
144143
...
145144
modified: api/openapi-spec/swagger.json
146-
modified: api/swagger-spec/apps_v1.json
147-
modified: docs/api-reference/apps/v1/definitions.html
148145
modified: staging/src/k8s.io/api/apps/v1/generated.proto
149146
modified: staging/src/k8s.io/api/apps/v1/types.go
150147
modified: staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

0 commit comments

Comments
 (0)