Tim Hockin
c299e28877
Change dnsutils from jessie-dnsutils to agnhost
2024-08-30 20:57:02 -07:00
Qiming Teng
14f2970929
Fix examples test for v1.31
...
This PR updates the test case for manifest examples.
The test case is there to ensure all example manifests can pass the
API validation for v1.31.
2024-08-27 20:47:01 +08:00
Kubernetes Prow Robot
6156fd9e40
Merge pull request #46920 from everpeace/dev-1.31-KEP-3619-SupplementalGroupsPolicy
...
[dev-1.31] KEP-3619: Fine-grained SupplementalGroups control
2024-07-27 04:38:44 -07:00
Kubernetes Prow Robot
a6ac7264d8
Merge pull request #46946 from saschagrunert/oci-volumesource-docs
...
Document OCI volume sources / KEP-4639
2024-07-25 04:32:21 -07:00
Sascha Grunert
a12454f2dc
Add ImageVolume documentation
...
Add a basic task how to use image volumes in pods.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-25 13:17:33 +02:00
Shingo Omura
c5f020c0e4
KEP-3619: Fine-grained SupplementalGroups control
2024-07-10 22:16:44 +09:00
abhilasha2418
f784557584
[en] Reduce GracePeriod to 300 sec for deploying Cassandra with a StatefulSet
2024-07-04 14:55:03 +05:30
Kubernetes Prow Robot
86a76b43c1
Merge pull request #46761 from pegasas/issues/46546
...
Delete rewrite-target annotation in ingress example
2024-06-12 11:27:23 -07:00
pegasas
74b46cda84
Delete rewrite-target annotation in ingress example
2024-06-11 08:16:29 +08:00
shayan
e9c7b069d5
Modify registry.k8s.io/nginx-slim version from 0.8 to 0.24
2024-06-04 11:10:02 +03:30
shayan
d5b194da5b
Modify the image node-hello to hello-app ( #46582 )
2024-06-01 16:13:16 -07:00
Kubernetes Prow Robot
005a562f0c
Merge pull request #45878 from tomoaki-ii/revise-statefulset-tuto
...
Correcting scenario inconsistencies and output checks
2024-06-01 14:10:02 -07:00
Kubernetes Prow Robot
2791673562
Merge pull request #46568 from robert-cronin/fix/tutorial-image-deprecation-error
...
Update node-hello image to Google's newer image
2024-05-29 16:50:28 -07:00
Kubernetes Prow Robot
2ebd76e2f3
Merge pull request #46229 from 24online24/main
...
Add ingress class name to example-ingress.yaml
2024-05-29 08:37:43 -07:00
Robert Cronin
990c64b145
Update node-hello image to Google's newer image
2024-05-29 22:50:38 +10:00
Robert Cronin
fa033cd15f
Update node-hello image to Google's newer image
2024-05-28 10:36:38 +10:00
Kubernetes Prow Robot
2edb736570
Merge pull request #46285 from tengqm/fix-examples-test
...
Fix examples test
2024-05-14 10:35:11 -07:00
tomoaki-ii
b798f42d06
Update web.yaml
...
Change the container image of the Statefulset in the first document(application/web/web.yaml ) to registry.k8s.io/nginx-slim:0.7
2024-05-14 14:15:25 +09:00
Qiming Teng
5228bdb02d
Fix a Job example which fails the manifest validation
2024-05-09 11:02:37 +08:00
Qiming Teng
fb29fd8997
Update test case to cover newly added files
2024-05-09 11:02:17 +08:00
Aditya Samant
cd6148bc97
Change the host for the ingress tutorial, to mitigate a security risk.
2024-05-07 13:50:32 +05:30
Rares Chiuzbaian
7b8e37f0cb
Add ingress class name to example-ingress.yaml
2024-05-06 22:40:57 +03:00
Kubernetes Prow Robot
f7a1bfed88
Merge pull request #45819 from 7sunarni/main
...
Rename example pod-with-affinity-anti-affinity.yaml
2024-05-03 18:23:47 -07:00
Kubernetes Prow Robot
61f8737cbd
Merge pull request #44540 from adityasamant25/configmaps-secrets
...
Document updating configuration via a ConfigMap
2024-04-17 14:13:26 -07:00
drewhagen
4c6ba12390
Merge main into dev-1.30 to keep in sync
2024-04-16 15:55:38 -05:00
Jintao Zhang
5bd5f71287
update ValidatingAdmissionPolicy to v1
...
since v1.30 ValidatingAdmissionPolicy graduate to GA
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2024-04-14 07:09:07 +08:00
James Spurin
4aa2c8e081
switch liveness image to multi-arch agnhost
2024-04-11 17:08:46 +01:00
7sunarni
3054b8562d
example(affinity): rename pod-with-affinity-anti-affinity.yaml => pod-with-affinity-preferred-weight.yaml
...
Signed-off-by: 7sunarni <710720732@qq.com>
2024-04-10 16:19:42 +08:00
Aditya Samant
3efc5cde2f
Updating Configuration via a Configmap
...
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-04-05 09:16:51 +05:30
Kubernetes Prow Robot
deb1be8892
Merge pull request #45135 from tenzen-y/job-success-policy-doc
...
Add JobSuccessPolicy Doc
2024-03-25 20:09:19 -07:00
Akihiro Suda
ca9e4725d1
KEP-3857: Recursive Read-only (RRO) mounts
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-26 03:59:26 +09:00
Yuki Iwai
d79de0290a
KEP-3998: Clarify the example
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-03-26 02:41:36 +09:00
Yuki Iwai
32fd60c16e
KEP-3998: Make the explanation for rules more clarify
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-03-26 02:09:25 +09:00
Yuki Iwai
92a00327bb
KEP-3998: Add JobSuccessPolicy Documentation
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-03-26 01:37:15 +09:00
Tim Allclair
4f11f83a45
AppArmor v1.30 docs update
2024-03-19 14:25:06 -07:00
Kubernetes Prow Robot
3b6274d696
Merge pull request #45155 from jpbetz/crd-field-selectors
...
Add docs for CRD field selection
2024-03-18 08:24:50 -07:00
Joe Betz
8c0a57a1e1
Add docs for CRD field selection
2024-03-18 11:09:04 -04:00
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
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