Commit Graph

474 Commits (dev-1.34)

Author SHA1 Message Date
Marcus Noble 83d7d73cbb
Fix `auditAnnotations` example 2024-03-03 11:53:35 +00:00
Charles Uneze ba73d898df
Update frontend.yaml
changed it from nginx to nginx:1.14.2
2024-02-29 20:09:04 +01:00
Charles Uneze 0ce9c35100
Update frontend.yaml 2024-02-28 23:34:08 +01:00
Kubernetes Prow Robot bc36254f7b
Merge pull request #44503 from mhash17/patch-2
Update networkpolicy.yaml - match yaml code formatting
2024-01-22 04:46:18 +01:00
Kubernetes Prow Robot 35a38cf349
Merge pull request #44290 from azn-abel/44190
Replaced unavailable image in https://k8s.io/docs/tutorials/stateless-application/guestbook/
2024-01-09 15:07:13 +01:00
Qiming Teng a2b9c21c81 Revise test case logic
Major revisions included:

- Fake Job labels and selectors generation for validation.
- Remove obsolete PVC validation options.
- Include newly discovered manifests into the test case.
- Remove tests related to PodSecurityPolicy which is gone forever.
2023-12-25 15:33:49 +08:00
Qiming Teng fa637e4d58 Fix an error about volume name identified by test case 2023-12-25 15:30:42 +08:00
mhash17 f04d1d603d
Update networkpolicy.yaml
Harmonizing indent of the yaml to be equal in formatting to other code examples in network-policies.md
2023-12-24 20:47:32 +01:00
Kubernetes Prow Robot 28c702a195
Merge pull request #44095 from sftim/20231126_improve_job_tutorials
Improve tutorials for Job
2023-12-21 18:21:31 +01:00
Tim Bannister b1c2faf984 Switch StorageClass example to code shortcode 2023-12-20 13:48:30 +00:00
Abel Lu eda3bed86c Update gb-redis-follower image to Google's newer image 2023-12-19 13:05:40 -05:00
Abel Lu 1d8c8700ef Replaced unavailable image for guestbook tutorial for issues #44190 #44415 #44224 #44277 2023-12-19 12:12:19 -05:00
Tim Bannister 7e75688d69 Improve tutorials for Job
Co-authored-by: Kundan Kumar <kundan.kumar@india.nec.com>
2023-12-07 19:49:24 +00:00
Kat Cosgrove 45fb394ca7
Merge main into dev-1.29 to maintain sync 2023-12-07 15:59:56 +00:00
Kubernetes Prow Robot 9eedb8451e
Merge pull request #43688 from MeenuyD/autoscaling
Change HorizontalPodAutoscaler walkthrough to use autoscaling/v2 API group
2023-12-07 14:40:13 +01:00
Zadkiel Aharonian fa92a23f3a
fix: typo in validatingadmissionpolicy/replicalimit-param sample 2023-12-02 17:04:21 +01:00
Kubernetes Prow Robot 62ab7c4c32
Merge pull request #43946 from tkashem/apf-v1-doc
Update APF documentation for GA
2023-11-28 19:03:31 +01:00
Kat Cosgrove 2d9fbc1c7e
Merge remote-tracking branch 'upstream/main' into dev-1.29 2023-11-22 22:07:26 +00:00
Abu Kashem 1c3945fa7e
apiserver: update APF documentation for GA 2023-11-22 14:49:27 -05:00
Aritra Ghosh 071262933b
Adding script for cgroup v2 memory available.sh (#41931)
* script for cgroup v2 memory available.sh

* Update content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md

Co-authored-by: Michael <haifeng.yao@daocloud.io>

* Update memory-available-cgroupv2.sh

---------

Co-authored-by: Michael <haifeng.yao@daocloud.io>
2023-11-22 02:07:28 +01:00
Taahir Ahmed 6dd3091e55 ClusterTrustBundles: Document projected volumes 2023-11-21 09:22:39 -08:00
Todd Neal 6af570122a
add more clarification regarding priorityClassName use with DaemonSet (#40851)
* add more clarification regarding priorityClassName use with DaemonSet

* Update daemonset.md

---------

Co-authored-by: Qiming Teng <tengqm@outlook.com>
2023-11-07 03:36:51 +01:00
dancer1325 5f3b2c023a fix(en.examples.pods.security.seccomp): update hashicorp/http-echo version 2023-10-29 12:31:38 +01:00
MeenuyD 362d083ac7 fix:HorizontalPodAutoscaler Walkthrough uses autoscaling/v1 resource 2023-10-25 22:33:33 +05:30
Shannon Kularathna cc62cbfda3 Move YAML snippets to examples directory and include with code shortcode 2023-10-05 18:40:34 -04:00
Mohammed Affan 9d9b06845e Fix initialDelaySeconds of container lifecycle 2023-10-02 16:18:43 +05:30
Kubernetes Prow Robot 88eed6b91a
Merge pull request #41715 from killshotrevival/main
Added 'command' block for some busybox pod's scripts
2023-09-19 14:26:55 -07:00
MeenuyD 3347d5c1ff
Fix mismatched API groups in ValidatingAdmissionPolicy page (#42879)
* Change text in Pod Security Admission metrics

* remove changes from the metrics.md file

* Correct in the page about ValidatingAdmissionPolicy uses a mixture of API groups

* Revert "remove changes from the metrics.md file"

This reverts commit da450f4471.
2023-09-05 10:10:50 -07:00
natherz97 fbd11ee83e Add section for APF good practices 2023-08-24 16:17:48 -07:00
Qiming Teng 60bf42a527 Update test cases for v1.28
This PR makes sure the manifests under `content/en/examples`
are valid in v1.28. The primary fixes are:

- Updated the go.mod/go.sum file for testing against v1.28.0 release.
- Revise test case code to ensure newly added manifests are tested;
- Adapt Pod validation options to upstream validation code change;
- Move a ValidatingWebhookConfiguration YAML back to inline because
  the manifest cannot validate against the validator. The CA bundle
  referenced is not a valid string (base64 encoded). That means the
  YAML cannot be used/tested as is by users.
2023-08-18 09:03:30 +08:00
qingwave 0a1909c694 sidecar container example use retry tail 2023-08-16 09:10:59 +00:00
Ruyi Guo 0a7a3e0e61
Update content/en/examples/application/deployment-sidecar.yaml
Co-authored-by: Gunju Kim <gjkim042@gmail.com>
2023-08-16 16:24:18 +08:00
qingwave a0cbba38a9 fix sidecar example in init-container doc 2023-08-16 07:49:51 +00:00
Kubernetes Prow Robot 5755e4362a
Merge pull request #42060 from a-hilaly/beta-match-conditions
Graduate AdmissionWebhookMatchConditions to beta
2023-08-09 08:49:51 -07:00
Tim Bannister 20b43d6095
Merge branch 'main' into 'dev-1.28' 2023-08-09 11:13:31 +01:00
Amine 42078a08fb Fix typos and add comments to the match conditions example 2023-08-09 09:38:48 +02:00
Alex Zielenski fe7759b734
ValidatingAdmissionPolicy: add docs for new per namespace policy params feature (#42219)
* document per namespace params

* switch examples to codenew, fixup some typos

* more formatting and codenew

* use codenew instead of code

* fixup headings
2023-08-08 13:35:52 -07:00
Kubernetes Prow Robot 6a6bf06972
Merge pull request #40230 from chirag0002/duplicated-examples
removed duplicated examples
2023-08-08 11:12:16 -07:00
Jiahui Feng 4dfef3e53f
Document ValidatingAdmissionPolicy variable composition and namespaceObject (#42220)
* variable composition.

* mention namespaceObject.

* Apply suggestions from code review

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

* separate commands from output.

* YAML comment.

* Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md

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

* no shell prompt.

* Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md

Co-authored-by: Joe Betz <jpbetz@google.com>

* Update content/en/docs/reference/access-authn-authz/validating-admission-policy.md

Co-authored-by: Joe Betz <jpbetz@google.com>

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
2023-08-08 07:52:16 -07:00
Kubernetes Prow Robot 962bf89914
Merge pull request #41802 from matthyx/sidecar
Add initial (alpha) documentation about sidecar containers
2023-08-07 08:50:32 -07:00
Michał Woźniak 9e66b18a02 Job Backoff Limit per index review remarks
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>
2023-08-03 16:54:04 +02:00
Matthias Bertschy fde22b5031 adding Sidecar Containers alpha feature
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2023-08-01 17:13:12 +02:00
Michal Wozniak 08f4d48476 Docs update for Alpha JobBackoffLimitPerIndex 2023-07-27 13:52:54 +02:00
Amine f9c824917f convert the `ValidatingWebhookConfiguration` example into a manifest using a codenew shortcode 2023-07-24 23:10:55 +01:00
twelcon 54be184f07
Added 'command' block for some busybox pods script 2023-06-21 22:00:38 +05:30
J.P. Dowd b1740c8dad Remove unneeded quotes. 2023-06-19 12:20:56 -04:00
J.P. Dowd 602b20bcf4 Update images to mySQL 8.0 and Wordpress 6.2.1. This example will now work on ARM based systems (Macbook M1 chips+).
Configured database image to create the required database and a non-root user for the Wordpress site.
2023-06-19 11:52:11 -04:00
Dhairya-Arora01 cae9b11262
Created new task page - Running Pods on Only Some Nodes (#39972)
* Added pod-some-nodes in manage-daemon of taskks

* Changedd the code file reference

* Added the code ouput

* Added the suggested changes

* Update content/en/docs/tasks/manage-daemon/pods-some-nodes.md

Co-authored-by: Nitish Kumar <justnitish06@gmail.com>

* Suggested changes

* Update content/en/docs/tasks/manage-daemon/pods-some-nodes.md

Co-authored-by: Rey Lejano <rlejano@gmail.com>

* Update content/en/docs/tasks/manage-daemon/pods-some-nodes.md

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

* Update content/en/docs/tasks/manage-daemon/pods-some-nodes.md

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

* Update content/en/docs/tasks/manage-daemon/pods-some-nodes.md

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

* Update content/en/docs/tasks/manage-daemon/pods-some-nodes.md

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

---------

Co-authored-by: Nitish Kumar <justnitish06@gmail.com>
Co-authored-by: Rey Lejano <rlejano@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-05-09 18:58:59 -07:00
Qiming Teng ad7c0712c6 Fix examples test for 1.27
- Some examples are actually not good "examples", i.e. they are not
  not ready for the users to try out.
- Some examples are failing the validation in their current format.
- Some examples skipped the test case.

These issues are fixed.
2023-04-16 17:26:12 +08:00
Mickey Boxell 9252eb08f5 Merge remote-tracking branch 'upstream/main' into dev-1.27 2023-04-10 12:20:33 -07:00
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