Commit Graph

369 Commits (a86cebbc948be52aa95fd1bb562d14b8902cf60d)

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