Commit Graph

474 Commits (dev-1.34)

Author SHA1 Message Date
Kubernetes Prow Robot 47d961a98d
Merge pull request #39977 from jkh52/konnectivity-refresh
Konnectivity example refresh.
2023-04-08 04:19:14 -07:00
Aditya Samant 6e151a305a Migrated to use the v1beta3 API version of FlowSchema 2023-04-04 20:23:27 +05:30
Jiahui Feng 0d862b9afe message expression and type checking. 2023-04-03 09:38:13 -07:00
Joe Betz cf37b594f2
KEP-3488 ValidatingAdmissionPolicy: Enforcement actions, audit annotations, and secondary authz (#40098)
* Document auditAnnotations, validationActions and authorizer

* Apply suggestions from code review

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Apply suggestions from code review

Co-authored-by: Tim Allclair <timallclair@gmail.com>

* Apply feedback

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Allclair <timallclair@gmail.com>
2023-04-03 08:55:52 -07:00
Tim Allclair 27460b23fa
AdmissionWebhookMatchConditions feature documentation (#40058)
* AdmissionWebhookMatchConditions feature documentation

* #squash ivelichkovich feedback

* #squash sftim feedback

* Correct statement about request.object

* #squash: sftim feedback

* #squash jpbetz feedback

* #squash: denied function removed

* #squash fix match conditions example

* #squash fix expression quoting

* #squash scope authorizatoin check example

* #squash separate RBAC webhook example

* #squash sftim feedback

* #squash add shared client config for example

* Don't use yaml anchors in example
2023-04-03 08:23:51 -07:00
Joseph Anttila Hall d922bb2122
Konnectivity example refresh. 2023-03-31 16:10:39 -07:00
Vinay Kulkarni a4eca1afc6
Documentation for in-place pod resize feature (#39845)
* Documentation for in-place pod resize feature

Fix issues from review feedback

Update content/en/docs/tasks/configure-pod-container/resize-container-resources.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

Better wording and formatting of overview section

Add descriptions about allocatedResources, resources, and resize fields

Update content/en/docs/tasks/configure-pod-container/resize-container-resources.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

Update content/en/docs/tasks/configure-pod-container/resize-container-resources.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

Apply suggestions from code review

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Simplify the changes by using bullet points

* Apply suggestions from code review

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

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-03-30 19:59:48 -07:00
Kubernetes Prow Robot 0cbb4d0e7a
Merge pull request #39809 from mimowo/update-docs-about-handling-deleted-pods
Update docs for KEP3329: "Retriable and non-retriable Pod failures for jobs
2023-03-22 22:28:22 -07:00
Kubernetes Prow Robot b9db3fc482
Merge pull request #40200 from cici37/mc
KEP-3488 ValidatingAdmissionPolicy: MatchConditions
2023-03-22 13:32:22 -07:00
Cici Huang d9a2c85ba5 Update example expression 2023-03-22 20:29:16 +00:00
Cici Huang 457c26b997 Adding MatchConditions into ValidatingAdmissionPolicy 2023-03-22 20:23:48 +00:00
Chirag0002 9d5ab09a6f removed duplicated examples 2023-03-23 00:39:56 +05:30
Michal Wozniak 801b556183 Update for KEP3329: "Retriable and non-retriable Pod failures for Jobs"
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-03-21 15:56:19 +01:00
Mickey Boxell 79fd7f88d6 Merge remote-tracking branch 'upstream/main' into dev-1.27 2023-03-20 21:58:19 -05:00
Sergey Kanzhelev ae17e46f73
Document behavior of endpoints with the feature EndpointSliceTerminatingCondition (#36791)
* new behavior of endpoints with the feature gate EndpointSliceTerminatingCondition

* Update content/en/docs/concepts/workloads/pods/pod-lifecycle.md

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

* Update content/en/docs/concepts/workloads/pods/pod-lifecycle.md

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

* Update content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

* fixing feature gate versions

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2023-03-15 08:32:17 -07:00
Kubernetes Prow Robot bd456cf518
Merge pull request #39824 from mickeyboxell/merged-main-dev-1.27
Merged main dev 1.27
2023-03-10 07:00:40 -08:00
Wei Huang fc019615ab
Doc for Beta feature PodSchedulingReadiness 2023-03-06 09:02:48 -08:00
Tim Bannister 04cfb74c48 Await input in Pod Security Admission demo script
Don't run through the whole thing including cleanup - let the user have
a go first.
2023-03-02 22:39:41 +00:00
Tim Bannister c6b3f34d5b Automatically clean up after deploying PSA examples
Readers who want to skip the clean up can edit these scripts; it seems
fair to assume that a reader who wants that would know how to edit a
shell script and delete lines from it.
2023-03-02 22:39:41 +00:00
Tim Bannister 25a926e465 Assume that kind provides Pod Security Admission
Given that Pod Security Admission has been beta and then generally
available for a while, assume that kind gives the reader a cluster than
includes this feature.
2023-03-02 22:39:41 +00:00
Tim Bannister c38e5c00fb Avoid creating local manifest for PSA tutorials
The kubectl tool includes a client for fetching manifests using HTTP,
and we usually rely on that for tutorials. Switch to an approach where
we don't create a manifest on the filesystem and then apply that.
2023-03-02 22:39:41 +00:00
Kubernetes Prow Robot b9a6337c0a
Merge pull request #39184 from tengqm/fix-examples-test
Fix examples test for newly changed example manifest
2023-02-19 17:51:37 -08:00
Reeta Singh f78e3bf0e5
updating Pod DNS config example to use documentation IP address (#39169)
* updating Pod DNS config example to use documentation IP address

* add this is an example in note

* empty commit
2023-02-07 22:44:59 -08:00
Kubernetes Prow Robot 831f795747
Merge pull request #38083 from shannonxtreme/using-secrets
Improve wording around Secrets as environment variables
2023-02-06 19:52:58 -08:00
Qiming Teng 6fc72c0680 Fix examples test for newly changed example manifest
The newly changed `my-scheduler.yaml` breaks the test case.
This PR fixes it.
2023-02-06 20:53:06 +08:00
Kubernetes Prow Robot f7b3b67b87
Merge pull request #39144 from tengqm/fix-39108
Fix Deployment YAML used for SSA
2023-01-29 07:02:35 -08:00
Kartik Sharma e6cef6dd29
Add rolebinding to Configure Multiple Schedulers (#38208)
* Add rolebinding to Configure Multiple Schedulers

* Update content/en/docs/tasks/extend-kubernetes/configure-multiple-schedulers.md

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

* Update content/en/docs/tasks/extend-kubernetes/configure-multiple-schedulers.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Update content/en/docs/tasks/extend-kubernetes/configure-multiple-schedulers.md

Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-01-29 06:06:43 -08:00
Qiming Teng 7a3ca9e383 Fix Deployment YAML used for SSA 2023-01-29 21:46:12 +08:00
Qiming Teng 2a80b2609d Fix examples and test cases
There are examples oversighted by the test case.
This PR adds those paths to the test case and fixes the errors
identified.
2023-01-02 16:36:51 +08:00
Youhei Sakurai 8312e0917d
[en] Add missing required `type` field to LimitRange example (#38706)
* Add missing required `type` field to examples

Although `LimitRange.spec.limits.type` was mandated in 2020, a few
LimitRange examples still miss the field, so they may confuse people
referring.

* Add missing required `type` field

Although `LimitRange.spec.limits.type` was mandated in 2020, one
LimitRange example still misses the field, so a validation error may
confuse people referring.
2023-01-01 20:21:31 -08:00
Kubernetes Prow Robot 5889524710
Merge pull request #38597 from tengqm/tweak-network-policies
Tweak network policies
2022-12-22 07:45:27 -08:00
Kubernetes Prow Robot 8fcc80b1c4
Merge pull request #38320 from RobertNorthard/main
Removed spec.Replicas from example application deployment manifest for HPA scaling walkthrough
2022-12-22 05:17:27 -08:00
Qiming Teng d62e46d973 Make multiport egress policy a standalone YAML 2022-12-22 20:25:18 +08:00
Qiming Teng ef936a197c Fix example test for working with 1.26 code base
This commit updates the validation logic by adding new validation
options required by 1.26 and also adds new YAMLs to the test cases.
2022-12-17 09:36:44 +08:00
Kubernetes Prow Robot a894ba1063
Merge pull request #38348 from tengqm/fix-example-test
Fix examples test
2022-12-15 19:53:35 -08:00
carolina valencia 1ade49eb9c Merge remote-tracking branch 'upstream/main' into dev-1.26 2022-12-09 20:25:55 -03:00
Qiming Teng 756beeac28 Fix examples test
There is a newly added YAML not covered by the test case. This PR adds
it to the test case.
2022-12-09 11:38:25 +08:00
Jérôme Petazzoni b623f83280
Annotations are mappings, not sequences 2022-12-08 14:57:31 +01:00
Rob 7da0167da6
Removed deployment replica count 2022-12-07 20:11:09 +00:00
Kubernetes Prow Robot cec61c1754
Merge pull request #38052 from krol3/merged-main-dev-1.26
Merge main branch into dev-1.26
2022-11-29 11:59:09 -08:00
Kubernetes Prow Robot 49e11abdb5
Merge pull request #37675 from Huang-Wei/alpha-pod-scheduling-readiness
Doc for Alpha feature PodSchedulingReadiness
2022-11-27 17:02:06 -08:00
Shannon Kularathna b592215c13 Move mounted Secrets sections verbatim to task page 2022-11-25 20:22:39 +00:00
Esteban Cano 32b5c6184b
updated nginx version to follow examples correctly
following examples https://kubernetes.io/docs/tasks/run-application/run-stateless-application-deployment/#scaling-the-application-by-increasing-the-replica-count
If you update replicas from 2 to 4 using the last deployment yaml, nginx version was 1.16.1, so 2 containers were already created and 2 new ones (that's why the table referenced as "The output is similar to this" shows AGE as 25s and 2m). If this deployment has nginx version 1.14.2, all containers will be recreated instead of just adding 2, so it can be confusing for the newcomers
2022-11-19 18:04:55 -03:00
Wei Huang 21a7c4cc7e
Doc for Alpha feature PodSchedulingReadiness 2022-11-18 10:41:53 -08:00
Kubernetes Prow Robot f3248058fd
Merge pull request #33654 from sftim/20190601_task_configure_service_account_reword
Reword tasks relating to ServiceAccounts
2022-11-09 13:50:56 -08:00
Kubernetes Prow Robot c6ec678fe7
Merge pull request #37491 from Rishit-dagli/Rishit-dagli-configmaps-pods
Update example to configure pods from configmap
2022-10-29 09:20:40 -07:00
Kubernetes Prow Robot 89a4542cb5
Merge pull request #37529 from bishal7679/switch-json-manifest
For namespace walkthrough, switch example manifests to YAML
2022-10-29 08:14:40 -07:00
Kubernetes Prow Robot 1a2d59e27e
Merge pull request #35234 from mcameron/patch-1
Update dnsutils.yaml example to prevent constant restarts
2022-10-29 07:20:39 -07:00
Bishal Das 18ae4051f7 updated json manifest to yaml
Signed-off-by: Bishal Das <bishalhnj127@gmail.com>
2022-10-26 10:11:46 +05:30
Rishit Dagli 6d0f8be9bc Update example to configure pods 2022-10-25 10:44:37 -04:00
Tim Bannister f9db6ae934
Reword “Managing Service Accounts” task 2022-10-22 02:56:42 +01:00
Tim Bannister 1eef742465
Favor EndpointSlice over Endpoints
Document EndpointSlice as the preferred and most appropriate mechanism
to record the backing endpoints of a Service.

Co-authored-by: Rob Scott <rob.scott87@gmail.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-10-11 12:38:39 +01:00
Sergey Kanzhelev 0eabe496cd limit ranger clarification 2022-10-10 17:46:28 +00:00
Kubernetes Prow Robot 210f802bd3
Merge pull request #36596 from Intimaria/patch-1
use $HOSTNAME env variable instead of hostname command in new Oracle based mysql container
2022-09-21 18:51:02 -07:00
Kubernetes Prow Robot 031f87ed5f
Merge pull request #36501 from liggitt/podsecurity-ga
Update pod security configuration docs for v1
2022-09-20 07:23:20 -07:00
Kubernetes Prow Robot 8fa319efb8
Merge pull request #36832 from tengqm/fix-example-test
Fix examples test
2022-09-19 14:31:34 -07:00
Kubernetes Prow Robot 1e70b5c76e
Merge pull request #36457 from rogue-gamer-ryt/chore/remove_docker_mentions
Removed usage of docker from replicationControllers, containers, pods and daemonsets
2022-09-15 08:31:23 -07:00
Qiming Teng 6730a5387f Fix examples test
This PR fixes the examples test so that all YAML manifests under
examples directory are assured to be working under 1.25.

The content/js/examples/examples_test.go is out-dated and it is blocking
the `go mod tidy` run unfortunately. So this PR removes it.
2022-09-15 19:35:40 +08:00
Intimaria 9283a6905c
Update mysql-statefulset.yaml
As per the issue #35432, hostname command is no longer available as mysql:5.7 is based on oracle. 
For the command on line 27 to work, it is sufficient to use the $HOSTNAME variable which is set in the container,
for it to work effectively.
2022-09-04 22:26:22 -03:00
Jordan Liggitt 7eba57d4de
Update pod security configuration docs for v1 2022-09-01 17:29:53 -04:00
rogue-gamer-ryt d7a2a8f45a Removed docker mentions from daemonset code sample 2022-09-01 23:26:33 +05:30
Dario Tranchitella 38b646b424 fix(konnectivity): using default container repository and last tag 2022-08-30 19:54:30 +02:00
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03:00
Kubernetes Prow Robot ba191c2011
Merge pull request #35803 from ameukam/1-25-registry-k8s-io
Update docs to reference new container image registry
2022-08-18 08:26:22 -07:00
Arnaud Meukam a180cd6853
Update docs to reference new container image registry
k8s.gcr.io is deprecated in favor of registry.k8s.io. The kubernetes
codebase have been updated with the new endpoint.

Ref: https://github.com/kubernetes/k8s.io/issues/3411

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2022-08-18 16:35:26 +02:00
Kubernetes Prow Robot fae72f6cc0
Merge pull request #35235 from kinvolk/rata/userns
Add docs for user namespaces in pods - phase 1 (KEP-127)
2022-08-18 07:28:23 -07:00
Rodrigo Campos 501cde25c7
Add doc for user namespaces in stateless pods
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-08-18 11:13:00 +02:00
Kubernetes Prow Robot b942e01d7d
Merge pull request #35745 from Rishit-dagli/Rishit-dagli-hpa
Remove unnecessary instructions for HPA task
2022-08-17 14:54:47 -07:00
Michal Wozniak c47a025713 Add docs for KEP-3329 Retriable and non-retriable Pod failures for Jobs
Code review remarks and suggested commit updates are co-authored

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
Co-authored-by: Paola Cortés <51036950+cortespao@users.noreply.github.com>

# Conflicts:
#	content/en/docs/reference/command-line-tools-reference/feature-gates.md
2022-08-15 13:22:37 +02:00
William Steinford d6a1ba2a6d Fix the grammar by using the verb form 'set up' where appropriate instead of the noun 'setup' 2022-08-08 16:48:26 -04:00
Rishit Dagli aa27eb3a1e Remove unnecessary instructions and use registry.k8s.io 2022-08-07 10:08:04 +00:00
Max Cameron 9fd96d52fb
Update dnsutils.yaml 2022-07-22 10:02:05 +01:00
Kubernetes Prow Robot 46aae33827
Merge pull request #34116 from TheRealDwright/update-docs-labels
update docs labels
2022-07-21 20:43:39 -07:00
Mike Hummel a15cc475d8
lates version of perl fails with the example code, need to use v5.34.0 (#34414)
* lates version of perl fails with the example code, need to use v5.34.0

* fix perl version in example job.yaml, is not working with actual latest
2022-07-21 10:23:54 -07:00
Kubernetes Prow Robot c4d77e3ab0
Merge pull request #34785 from lambdanis/fix-node-affinity-docs
Fix regressions in node affinity docs
2022-07-16 07:46:54 -07:00
Kubernetes Prow Robot dba3d59c9f
Merge pull request #34839 from lshgdut/main
Fix wrong guide for egress selection.
2022-07-13 05:29:37 -07:00
alanssitis 79e4dee5d9 fix typo in job example 2022-07-12 20:45:31 -07:00
Daniel Wright f9ebc90ff7
[en] update en docs to use recommended labels 2022-07-11 08:45:48 -07:00
monk 950b8747a3 Fix wrong guide for egress selection.
This PR fix the wrong guide according to the commit bellow:

[apiserver: support egress selection name 'controlplane' and deprecate 'master'](a0aebf96ec)
2022-07-06 20:54:46 +08:00
Anna Kapuscinska f4a62ba2e6 Fix regressions in node affinity docs 2022-07-03 07:45:46 +01:00
Remo Andreoli 3132fbe4f0
Fix wrong label key in scheduling example (#32646)
* Fixed deprecated comment in scheduling-eviction/assign-pod-node.md regarding example pods/pod-with-affinity-anti-affinity.yaml

* Changed the example to a more appropriate one
2022-06-23 18:11:19 -07:00
Rishit Dagli 83fdfc0651 Update mysql-statefulset.yaml 2022-06-23 10:39:53 +00:00
Matt McClure 1ee7c15023
Update job.yaml
The perl command fails at image version >5.34:

```
> docker run -it perl:5.36 bash
...
root@783a8ea24899:/# perl -Mbignum=bpi -wle "print bpi(2000)"
Can't use an undefined value as an ARRAY reference at /usr/local/lib/perl5/5.36.0/Math/BigInt/Calc.pm line 1049.```

> docker run -it perl:5.35 bash
...
docker: Error response from daemon: manifest for perl:5.35 not found: manifest unknown: manifest unknown.```

> docker run -it perl:5.34 bash
...
root@d4efc70c15b5:/# perl -Mbignum=bpi -wle "print bpi(2000)"
3.141592653589793238...
```
2022-06-22 13:59:19 -04:00
Tim Bannister 37400750f6 Add recommended labels 2022-06-20 10:57:01 +01:00
Mengjiao Liu efcaf3f3ea Revert an incorrect fix in mysql-configmap.yaml 2022-05-12 21:23:26 +08:00
Nate W 5ead53b3e8 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-05-02 10:29:49 -07:00
Kubernetes Prow Robot f57b6a42a9
Merge pull request #32221 from amitech/patch-1
Updated configure-liveness-readiness-startup-probes.md
2022-04-30 10:07:12 -07:00
Kubernetes Prow Robot d4bbdb5aa7
Merge pull request #33219 from chrisnegus/dockershim-podsecurity-docs
Update pod security docs for dockershim removal
2022-04-28 08:17:50 -07:00
Nate W 712f45dee4 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-26 13:11:13 -07:00
Christopher Negus a34a0567f9 Updated wording in yaml file 2022-04-26 13:59:38 +00:00
Christopher Negus 59d3e1e7a2 Update pod security docs for dockershim removal 2022-04-26 13:39:55 +00:00
Kubernetes Prow Robot eed5cc1598
Merge pull request #33196 from kinzhi/kinzhi34
[zh]Update content/zh/examples/README.md
2022-04-25 21:42:52 -07:00
wei.wang 6dbf0cfaf8 [zh]Update content/zh/examples/README.md 2022-04-25 23:50:10 +08:00
wei.wang 68dbecde3a [zh]Update content/zh/examples/application/mysql/mysql-services.yaml 2022-04-25 23:36:20 +08:00
Nate W 0135d3642b Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-19 15:45:28 -07:00
Kubernetes Prow Robot 3920b5e71f
Merge pull request #32813 from tengqm/networkpolicy-example
Move NetworkPolicy into examples
2022-04-16 13:57:10 -07:00
Mengjiao Liu 812dafd7ef Fix mysql-configmap.yaml error 2022-04-12 12:05:40 +08:00
Qiming Teng b51b1d6b1d Move NetworkPolicy into examples 2022-04-08 16:00:56 +08:00
Nate W 22643121ff Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-04 09:40:29 -07:00
Raghu Katti 1c418bddd2
Added retry option to tail
If the logs get rotated the above tail would fail. -F ensures that it is logrotate proof.
2022-03-31 13:08:23 -04:00
Nate W 7c67921f3f Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-28 08:48:23 -07:00
Kubernetes Prow Robot 39fd63ba12
Merge pull request #31989 from guettli/31930__fix_busybox_image_1.28
fix busybox image to version 1.28
2022-03-25 15:45:59 -07:00
Kubernetes Prow Robot b2097006f0
Merge pull request #29385 from shannonxtreme/assign-pods-nodes
Refactor Assigning Pods to Nodes
2022-03-23 01:01:59 -07:00
Nate W ee1a85d08e Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-21 07:53:48 -07:00
dirc 56067a41c8 fixed order for resources: requests and limits 2022-03-18 16:35:44 +01:00
Amit Sharma a60e9203e0
Update exec-liveness.yaml 2022-03-12 14:42:48 +05:30
Thomas Guettler 7122a4498a fix busybox image to 1.28 (issues with `nslookup`).
Changes where done with these commands:

reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples
reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples

Related issues:

 https://github.com/docker-library/busybox/issues/48
 https://github.com/kubernetes/kubernetes/issues/66924
2022-03-02 20:48:26 +01:00
Lubomir I. Ivanov 806518df13 kubeadm: update references of "master" label/taint for 1.24
In 1.24 kubeadm will:
- stop using the "master" label on CP nodes.
- start tainting CP nodes with both "master" and "control-plane" taints.

In 1.25 the "master" taint will be removed.

Adjust references of the "master" label/taint to the above.
2022-02-23 19:22:50 +02:00
Kubernetes Prow Robot 2d6d22ddec
Merge pull request #31440 from MikeSpreitzer/note-apf-autoupdate
Catch APF description up with recent developments
2022-02-03 03:05:45 -08:00
Jordan Liggitt 111c3eaabe Update TLS doc to use example signer for arbitrary https server 2022-02-01 12:22:32 -05:00
Kubernetes Prow Robot 5313a873f2
Merge pull request #31419 from ingvagabund/multiple-schedulers-fix-secure-port
Configure multiple schedulers: switch to the secure ports
2022-02-01 08:40:10 -08:00
Jan Chaloupka a475c2147e Configure multiple schedulers: switch to the secure ports
Starting v1.23 the kube-scheduler no longer provides insecure serving.
2022-02-01 11:03:01 +01:00
Kubernetes Prow Robot 1d552afaa6
Merge pull request #30737 from mfbieber/ingress-class-name-in-example
Added ingressClassName: nginx to Ingress example
2022-01-24 11:37:35 -08:00
Mike Spreitzer 2bfc31833f Catch APF description up with recent developments
Primarily the change, in release 1.22, of how configuration objects
are maintained.

Also describe the new priority level.

Also move the sections on defaults and health check configuration to
follow the description of configuration objects.
2022-01-21 13:06:51 -05:00
Shannon Kularathna 4650e1df61 Refactor Assign Pods to Nodes 2022-01-21 15:27:20 +00:00
Michelle Fernandez Bieber e21f0563f3 Added ingressClassName: nginx to Ingress example, mentioned to the necessity of it and referenced to the section describing that further 2022-01-07 22:15:42 +01:00
Tammer Saleh 19845f593e The `schedule: "*/1 * * * *"` is the same as "* * * * *" 2021-12-29 00:19:02 +00:00
Qiming Teng 5f8e58a2c0 Fix errors detected by the test case
The service account token one must have `serviceAccountName` specified
in order to be successfully validated.
The PV duplicate example can only refer to an existing volume.
2021-12-15 12:50:30 +08:00
Qiming Teng 440ebd1e0e Fix example test code
This commit adapts the example test case to 1.23.
2021-12-15 12:49:45 +08:00
Pushkar Joglekar d1e25451d3 Added shell script examples
Fixed nits, broken links and numbering

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
Co-authored-by: Jim Angel <jimangel@users.noreply.github.com>
2021-12-08 10:41:55 +05:30
Jesse Butler 584421fe11 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-06 08:55:54 -05:00
Kubernetes Prow Robot d2d722ae30
Merge pull request #30223 from slayer321/add-volume-example
docs: add PV duplicate example
2021-12-05 15:12:32 -08:00
Sergey Kanzhelev 3797c338a7 grpc field name consistency 2021-12-01 18:57:07 +00:00
Sergey Kanzhelev ef6668539c gRPC probes 2021-11-30 23:35:27 +00:00
Kubernetes Prow Robot 66c07ae9ad
Merge pull request #30109 from sftim/20211016_revise_seccomp_tutorial
Revise seccomp tutorial
2021-11-20 10:36:59 -08:00
Kubernetes Prow Robot cee6c712bd
Merge pull request #30366 from aravindhp/windows-projected-volume
storage: document Windows projected volume limitations
2021-11-16 16:11:53 -08:00
Aravindh Puthiyaparambil c0dd24a8ba
storage: create new file for projected volumes
Move inline examples into the examples folder
2021-11-08 16:07:33 -08:00
Aaron Crickenberger 156173d622 replace dnsutils example image
The gcr.io/kubernetes-e2e-test-images repo is deprecated and will
eventually go away. Use an equivalent image from the project-owned
k8s.gcr.io repo
2021-11-03 14:32:58 -07:00
slayer321 d283c1f545 docs: add PV duplicate example 2021-10-25 09:52:46 -04:00
chirangaalwis fc25753118 Remove unnecessary comment 2021-10-18 20:32:38 +05:30
chirangaalwis b06baf8f80 Re-order ConfigMap definition 2021-10-16 21:52:09 +05:30
Tim Bannister 97a7bbcea8 Expand on runtime default part of seccomp tutorial 2021-10-16 13:02:04 +01:00
chirangaalwis 0add8b4a53 Remove --bind-address kube-scheduler argument
Defaults to 0.0.0.0
2021-10-16 13:30:24 +05:30
chirangaalwis 067f8a9370 Update custom scheduler example for v1.22+
Remove invalid scheduler args, add new scheduler args and add new Scheduler Configuration for defining scheduler name
2021-10-16 12:49:55 +05:30
Nitesh Seram d3a5a71e88
remove addonmanager.kubernetes.io labels 2021-09-28 10:49:37 +05:30
Kubernetes Prow Robot 59b6a8be50
Merge pull request #29187 from sanusatyadarshi/patch-1
Added missing ServiceAccount, ClusterRole and ClusterRoleBinding to DNS Horizontal Autoscaler.
2021-09-26 18:52:22 -07:00
Qiming Teng 1846afe3d5 Fix test case for examples
This is an adaptation for 1.22.
2021-08-09 22:29:17 +08:00
Sanu Satyadarshi 0032199ed6
Add missing ServiceAccount
Added missing ServiceAccount, ClusterRole and ClusterRoleBinding.

https://github.com/kubernetes/website/issues/15280
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml
2021-08-02 12:55:33 +05:30
Victor Palade 3c95e6a96b Merge master into dev-1.22 to keep in sync 2021-07-27 18:47:27 +03:00
Kubernetes Prow Robot acc7252970
Merge pull request #29025 from robscott/endpoints-rbac
Adding documentation about Endpoints write access in wake of CVE-2021-25740
2021-07-26 23:20:45 -07:00
Rob Scott d710925768
Adding documentation about Endpoints write access in wake of CVE-2021-25740 2021-07-26 11:32:06 -07:00
Kubernetes Prow Robot 11ca5f06dc
Merge pull request #28530 from Shubham82/Add-MongoDB-yamls
Add MongoDB deployment and service.
2021-07-22 05:05:51 -07:00
Samuel Roth e0d4b53b1c incorporating initial round of feedback 2021-07-21 15:33:46 +00:00
Tim Allclair ae1ae50454 Address PR feedback 2021-06-24 10:16:32 -07:00
Tim Allclair 6cc9bf8293 Update PodSecurityStandards to match PodSecurity KEP 2021-06-24 10:16:32 -07:00
Shubham Kuchhal 21ca9a224f Add MongoDB deployment and service. 2021-06-21 18:27:52 +05:30
Qiming Teng 584097ebfa Adapt examples test for latest change 2021-06-18 09:23:39 +08:00
Jim Angel ff0018b97e updating tutorial to match source 2021-06-17 18:45:40 +00:00
Qiming Teng 126e636fb5 Fix test cases for examples
This PR updates the test case to use for v1.21
2021-06-14 13:01:34 +08:00
Kubernetes Prow Robot 836fb1c8d1
Merge pull request #27246 from vajdaz/master
Fix typo in worker.py example script
2021-05-19 00:52:51 -07:00
Kubernetes Prow Robot 7dfc7f8567
Merge pull request #27893 from jeffreyvdhondel/patch-1
Operator: Exists missing
2021-05-18 07:55:32 -07:00
Kubernetes Prow Robot 11eda2afb6
Merge pull request #27504 from gecube/master
Update konnectivity to 0.0.16 and update ZH docs accordingly
2021-05-09 07:26:47 -07:00
Jeffrey van den Hondel 38374a03b0
Operator: Exists missing
The Operator Exists is missing without this operator there will be no pod deployed on the master node.
2021-05-06 15:40:45 +02:00
Bridget Kromhout f7a0a0a951
"*-controller-manager" typo fix
I noticed a typo in a recent blog post, and a similar typo appears in
the comments for some examples. This PR corrects these typos.

Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
2021-04-14 16:40:32 -05:00
George Gaál 02099e2dd3 Update konnectivity to 0.0.16 and update ZH docs accordingly 2021-04-11 14:24:40 +03:00
Zoltan Vajda a8adf49a78 Fix typo in worker.py example script 2021-03-30 14:24:34 +02:00
Morten Torkildsen d341b96fb3 Promote Pod Disruption Budgets to GA 2021-03-29 19:58:50 -07:00
Kubernetes Prow Robot 87852360b3
Merge pull request #26723 from hbagdi/ingress-class-namespaced-params
Ingress class namespaced params
2021-03-29 11:23:57 -07:00
Kubernetes Prow Robot b8a717edf1
Merge pull request #27083 from soltysh/cronjob_ga
Update docs for CronJob GA
2021-03-28 23:08:44 -07:00
Maciej Szulik dba902447c
Update docs for CronJob GA 2021-03-26 16:51:42 +01:00
Harry Bagdi 80391efa7e KEP-2365: documentation for namespace-scoped parameters reference 2021-03-26 13:34:46 +05:30
Rey Lejano 9d56683e8b Merge master into dev-1.21 to keep in sync - SIG-Release 1.21 Docs team 3/17/21
Fixed merge conflict with /docs/reference/command-line-tools-reference/kube-apiserver.md and preferred master
2021-03-17 21:29:04 -07:00
Jai Govindani b407a0103b
docs(configure-redis-using-configmap): update for clarity (#25712)
* docs(configure-redis-using-configmap): update for clarity

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): incorrect volumeMount index

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): show Pod status as Running, separate commands from output

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): typo

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): configmap name

Signed-off-by: Jai Govindani <jai@honestbank.com>
2021-03-17 13:13:19 -07:00
Aldo Culquicondor 552566fcfa Documentation for Indexed completion mode
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2021-03-16 16:54:44 -04:00
Miguel Angel Garcia a6eb08d778 fix cronjob code for examples 2021-02-11 12:24:35 +01:00
Kubernetes Prow Robot 539e524882
Merge pull request #26273 from Cweiping/feature/clairly_resource_quota_limit_for_PriorityClass
Clarify ResourceQuota limit for PriorityClass
2021-02-09 01:59:31 -08:00
Weiping Cai 188ccc220b
Clairly Resourcequota limit for PriorityClass
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2021-02-09 16:05:04 +08:00
Kubernetes Prow Robot af76e77672
Merge pull request #26141 from jimangel/remove-redis-and-master-slave-terminology-2
Remove Master/Slave terminology from stateless application tutorial.
2021-02-07 00:13:12 -08:00
Kubernetes Prow Robot c02a6c0ac2
Merge pull request #26086 from tengqm/fix-example-tests
Fix example tests
2021-02-06 06:57:11 -08:00
Brock R 36170e4193
Fixed a small field name spelling mistake.
`resourceName` is incorrect and fails upon apply/install. `resourceNames` is the correct file name.
2021-01-27 14:27:43 -07:00
Paul Czarkowski 99029b97d7 Remove Master/Slave terminology from stateless application tutorial.
The stateless application tutorial is littered with unsuitable terminology. This update switches the database technology to a database that has already updated their own terminology as well as removes the terminology from the tutorial itself.

The advanced logging tutorial followup is set to Draft as it will take a larger effort to convert that, and I'm not convinced its even in a working state right now.

A followup PR to the examples repo to be referenced here will be made.

Addresses #22918

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>

address comments in PR

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>

remove confusing comment about dns, we can assume k8s has kube-dns

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2021-01-19 04:19:23 +00:00
Qiming Teng 06228c06a9 Fix examples tests
This PR updates the go.mod file so that tests of the example manifests
are run against the 1.20 branch. The missing test cases for newly added
examples are also added. To perform tests on your local machine, run the
following command on the root of your local clone:

```
go test k8s.io/website/content/en/examples
```
2021-01-16 14:09:28 +08:00
Qiming Teng a11047c153 Clean PodPreset docs, examples and links 2021-01-14 13:26:29 +08:00
Leonardo Murillo f7b29716fd
Enhancements in clarity to access-application-cluster/connecting-frontend-backend.md (#25927)
* Enhancements in clarity to docs/tasks/access-application-cluster/connecting-frontend-backend.md

* Code review comments

* Reverting name of service due to backed value in Dockerimage
2021-01-13 17:47:03 -08:00
Naoki Oketani f5f40c16f9 clean up too old comments for v1.9 or before in examples 2021-01-09 16:13:00 +09:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Kubernetes Prow Robot f2a78fa5d5
Merge pull request #23119 from devries/statefulset-mysql-language
Replace master/slave with primary/replica in MySQL StatefulSet example
2020-12-02 01:04:50 -08:00
Zhang Yong f979037143 CronJob example should include imagePullPolicy: IfNotPresent 2020-11-30 10:19:00 +08:00
Somtochi Onyekwere ba77c903ed Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-19 17:09:49 +01:00
Sylvain COULOMBEL 1ec78b1f28 Improve configmap usage as pod command and args 2020-11-17 21:54:25 +01:00
Mike Spreitzer bf23ba2aa9
Update API Priority and Fairness doc for graduatino to beta (#24975) 2020-11-14 01:55:04 -08:00
Andrei Kvapil 798b5c9f2a
Add missing steps to configure konnectivity-server (#24141)
* Add missing steps to configure konnectivity-server

* Update content/en/docs/tasks/extend-kubernetes/setup-konnectivity.md

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

* Update content/en/docs/tasks/extend-kubernetes/setup-konnectivity.md

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

* Update content/en/docs/tasks/extend-kubernetes/setup-konnectivity.md

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

* update konnectivity manifests

* remove tcp configuration

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-11-12 23:52:23 -08:00
Bridget Kromhout 8a3244fdd1 Dual-stack docs for Kubernetes 1.20
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Lachlan Evenson <lachlan.evenson@microsoft.com>
2020-11-10 16:10:45 -06:00
Tim Hockin 300c2e8545 Better docs for standard topology labels
As per KEP 1659, topology labels are now more formalized.  Move away
from the older `failure-domain.beta` names ands use `topology` names
instead.
2020-11-03 11:27:58 -08:00
Kubernetes Prow Robot e028d3d81c
Merge pull request #24580 from zhiguo-lu/zh-translate-reference-certificate-signing-requests
Translate reference/certificate-signing-requests.md into Chinese and fix a bug in origin file, #24065
2020-10-18 01:46:12 -07:00
luzg 5dab375fd3 Translate reference/certificate-signing-requests.md into Chinese and fix a bug in origin file, 24065
make change according to Tengqm's comment
2020-10-16 22:27:15 +08:00
Kubernetes Prow Robot a2659dc137
Merge pull request #24578 from Tej-Singh-Rana/k8s-tej
Replaced URL
2020-10-15 01:10:24 -07:00
Tej-Singh-Rana 856ea6292e
replaced URL 2020-10-15 10:12:25 +05:30
Qiming Teng 9fa03cbdf1 Move example-ingress.yaml
The commit (a79db9d5de) made the sample
YAML for Ingress a standalone file, but it was placed into a NEW
`examples/ingress` directory. This PR moves it to
`examples/service/networking` subdirectory where all other Ingress
examples are located. Having a single file under a dedicated directory
seems not good.
2020-10-12 11:17:08 +08:00
Weiping Cai a79db9d5de
fix example-ingress.yaml format error
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-10-10 10:03:46 +08:00
Christopher Montoro 7fc8f1a220
Update the example for kubectl port-forward
Clarify that `REMOTE_PORT` is interpreted as identifying a _Service_ port when provided `TYPE` is `service`.
Also, highlight support for specifying a named port as `REMOTE_PORT`.
2020-10-07 22:02:37 -04:00
Jerry Park 45a5a5210f Fix issue with tasks/administer-cluster/out-of-resource/ 2020-10-01 13:13:59 +09:00
Christopher De Vries 4bb76cd0fb Change secondary to replica and use primary as an adjective consistently 2020-08-14 08:04:50 -04:00
Christopher De Vries 044d11de32 Replace master/slave with primary/secondary where possible 2020-08-13 08:59:24 -04:00
Anna Jung 09d0f598fa Merge master into dev-1.19 to keep in sync 2020-08-11 08:34:02 -05:00
Kubernetes Prow Robot 6126c42ba1
Merge pull request #22683 from MikeSpreitzer/doc-health-for-strangers
Document the health-for-strangers workaround
2020-08-04 16:04:28 -07:00
Mike Spreitzer 499d0f4df1 Tweaked wording and added codenew example re health-for-strangers 2020-07-31 15:30:57 -04:00
Savitha Raghunathan e2a861c2f9 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-07-27 19:10:42 -04:00
Cweiping c80c9c40c1
fix page configure-multiple-schedulers/#enable-leader-election style error (#22642)
* fix https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/#enable-leader-election style error

Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>

* fix https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/#enable-leader-election style error

Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-07-26 20:16:16 -07:00
Kubernetes Prow Robot 3841d72380
Merge pull request #21278 from hasheddan/seccomp
Add documentation for Seccomp GA
2020-07-20 12:14:39 -07:00