Commit Graph

340 Commits (c8575a2bcdb99d16d0e68543a6060cd1374b021d)

Author SHA1 Message Date
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