Commit Graph

381 Commits (23471aabee750447441cd0cef09b9cf303a46796)

Author SHA1 Message Date
Sean McGinnis 1c58d4bd37
Update use of deprecated ioutils module
The ioutils module was deprecated in Go 1.16. This updates the example test code
to use the newer recommended replacement.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2024-03-13 11:59:11 -05:00
Kubernetes Prow Robot 291e3bf7cf
Merge pull request #45460 from HarkuLi/fix/tutorial-seccomp
Add missing syscalls in fine-grained profile of seccomp tutorial
2024-03-13 04:10:54 -07:00
Kubernetes Prow Robot f48e66caa7
Merge pull request #45471 from tallclair/apparmor
Refresh AppArmor documentation
2024-03-13 02:49:45 -07:00
Tim Allclair 49ace75b78 Refresh AppArmor documentation 2024-03-07 16:05:43 -08:00
HarkuLi b189e2087e Add missing syscalls in fine-grained profile of seccomp tutorial 2024-03-07 17:38:52 +08:00
Kubernetes Prow Robot ce4c04347b
Merge pull request #45385 from network-charles/network-charles-patch-2
Changing the Image Specified in the ReplicaSet Documentation
2024-03-06 15:23:50 -08:00
Charles Uneze 436e53834c
Update frontend.yaml 2024-03-05 22:25:58 +01:00
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