Commit Graph

501 Commits

Author SHA1 Message Date
Abigail McCarthy 06b957d01d Update page weights in tutorial/security section 2023-01-10 11:42:58 -05:00
Kubernetes Prow Robot 7aee017354
Merge pull request #38720 from nikitar/main
Remove an incorrect warning when using katacoda tutorials
2023-01-06 06:06:00 -08:00
Akanksha kumari fbd7819eca
Add link to Etcd information in cluster-intro page (#37042)
* Add link to Etcd information in cluster-intro page

* Update content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro.html

Co-authored-by: Chris Negus <cnegus@redhat.com>

Co-authored-by: Chris Negus <cnegus@redhat.com>
2023-01-02 23:37:32 -08:00
Nikita Rybak 1dc0caa4bf Remove an incorrect warning when using katacoda tutorials
Signed-off-by: Nikita Rybak <nikita.rybak@gmail.com>
2023-01-02 18:28:40 +11: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 6143904bcd
Merge pull request #37224 from pwschuurman/kep-3335-documentation
Add initial documentation for StatefulSetSlice feature
2022-11-29 06:09:25 -08:00
Peter Schuurman 6474d77d4f Rename docs section for StatefulSetStartOrdinal to 'Start ordinal' 2022-11-28 03:58:57 -08:00
Peter Schuurman 23134e5fc8 Update StatefulSet Ordinal Index documentation 2022-11-27 18:08:14 -08:00
Amos Shapira 4b07c88fad
zookeeper.md - remove extra "to" 2022-11-22 16:49:38 +11:00
Kubernetes Prow Robot 8546b02d0e
Merge pull request #37383 from mtardy/hello-node-tutorial-multiarch-image
Update echoserver image in "Hello Minikube" tutorial for multiarch
2022-11-15 11:18:47 -08:00
Tim Bannister ce46f1ca74 Move "Connecting Applications with Services" to tutorials section
Co-authored-by: Rolfe Dlugy-Hegwer <rolfedh@users.noreply.github.com>
2022-11-09 22:31:05 +00:00
Peter Schuurman 57c0c1a3d6 KEP-3335 StatefulSetSlice Documentation 2022-11-09 10:06:03 -08:00
Kubernetes Prow Robot 8df4092df9
Merge pull request #35017 from Kartik494/cleanstorage
Added cleanup steps for persistent storage
2022-11-03 13:54:14 -07:00
Parthava Adabala aa08044428
Fix: Grammar
Corrected subject verb disagreement.
2022-10-25 17:32:10 +05:30
Seokho Son 0985f2d902 Update page weights for pages in content/en/docs/tutorials/services 2022-10-25 03:07:31 +09:00
Kubernetes Prow Robot 1e1fd08cd5
Merge pull request #36498 from Krishnamohan-Yerrabilli/new_branch
Fix grammar in Using a Service to Expose Your App tutorial
2022-10-22 02:07:56 -07:00
Krishnamohan Yerrabilli 4594d02f8d
Update content/en/docs/tutorials/kubernetes-basics/expose/expose-intro.html
Suggestions applied

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-10-22 14:27:53 +05:30
mtardy 25d48ec80a Update echoserver image in tutorial for multiarch
The previous version of the image did not support arm64. This one
supports amd64, arm, arm64, ppc64le, s390x on Linux, and amd64 on
multiple Windows versions.
2022-10-19 19:02:39 +02:00
Thomas Balthazar 0e31a40737
Update deprecated kubectl command in apparmor doc
Running `kubectl exec <pod_name> <command>` is deprecated:
```
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead
```
It should be: `kubectl exec <pod_name> -- <command>`
2022-10-08 11:31:58 +02:00
Shivansh Yadav d75f302c1f
fix: CSS inconsistencies between docs/tutorials/kubernetes-basics and… (#34188)
* fix: CSS inconsistencies between docs/tutorials/kubernetes-basics and the rest of the pages

* fix: remove blank lines
2022-10-02 09:40:13 -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
Alex Pakalniskis 61ce6e27ef
Fix cluster cleanup command 2022-09-10 12:28:01 -07:00
Kubernetes Prow Robot 3b1fe5b658
Merge pull request #35217 from tengfei86/patch-3
Revise use of jsonpath in AppArmor tutorial
2022-09-07 09:40:38 -07:00
Jordan Liggitt 7eba57d4de
Update pod security configuration docs for v1 2022-09-01 17:29:53 -04:00
kartik494 a830a0ba63 Added cleanup steps for persistent storage 2022-08-31 08:29:32 +05:30
Krishnamohan Yerrabilli 9bedc37607
Update expose-intro.html 2022-08-30 14:29:18 +05:30
cathchu e5ea8833be Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-22 08:35:18 -04:00
Bishal das bd8b8508cb
Update source-ip.md 2022-08-19 12:02:26 +05:30
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03: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 b268418615
Merge pull request #33524 from saschagrunert/seccomp-annotation
Partly remove support for seccomp annotations
2022-08-15 19:15:07 -07:00
Jordan Liggitt b167938367 Scrub PSP docs for 1.25 2022-08-15 21:09:41 -04:00
ydFu 8183d5a62d Fix the extra '{' or '}'
Signed-off-by: ydFu <ader.ydfu@gmail.com>
2022-08-14 15:36:13 +08:00
windsonsea c09bf07d6c updated /tutorials/security/seccomp.md 2022-08-13 10:48:09 +08: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
Sascha Grunert 45d0bdeaec
Partly remove support for seccomp annotations
From the release notes of
https://github.com/kubernetes/kubernetes/pull/109819, we have to update
according to the following situation:

```
Action required: support for the alpha seccomp annotations
`seccomp.security.alpha.kubernetes.io/pod` and
`container.seccomp.security.alpha.kubernetes.io`, deprecated since
v1.19, has been partially removed. Kubelets no longer support the
annotations, use of the annotations in static pods is no longer
supported, and the seccomp annotations are no longer auto-populated when
pods with seccomp fields are created. Auto-population of the seccomp
fields from the annotations is planned to be removed in 1.27. Pods
should use the corresponding pod or container
`securityContext.seccompProfile` field instead.
```

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-02 13:42:23 +02:00
bladepoint f312e8ba9f
Update apparmor.md
this is a  better way to use jsonpath
2022-07-21 16:41:16 +08:00
Sascha Grunert 641a8e2c0c
Improve 'Seccomp defaulting' feature name
We're now rephrasing those two paragraphs to avoid confusing readers.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-19 09:03:20 +02:00
Kubernetes Prow Robot 6effba1cae
Merge pull request #34640 from saschagrunert/seccomp-default-beta
Graduate SeccompDefault feature to beta
2022-07-16 06:52:53 -07:00
Kubernetes Prow Robot 116b6bc1a7
Merge pull request #34382 from tengqm/fix-links-4
Batch fix links (4)
2022-07-10 18:13:47 -07:00
kadtendulkar 5281d1b6c7 Update content/en/docs/tutorials/stateful-application/zookeeper.md 2022-07-08 22:17:18 +05:30
Qiming Teng 2f4a067fea Batch fix links (4) 2022-07-06 09:43:15 +08:00
kadtendulkar fcb1316686 Update content/en/docs/tutorials/stateful-application/zookeeper.md 2022-07-05 22:33:03 +05:30
Kubernetes Prow Robot e6868ba8d3
Merge pull request #34721 from Sea-n/use-rel-links
Use relative links for k8s.io
2022-07-04 06:33:24 -07:00
Vitthal Sai 6ca9bb94cc
Manually code image tag 2022-06-30 19:26:56 +05:30
Sean Wei 34721abcac Use relative links for k8s.io 2022-06-30 12:08:14 +08:00
Sascha Grunert 5d66e4b0d2
Graduate SeccompDefault feature to beta
We now update the documentation to reflect the current state of the
feature.

Refers to: https://github.com/kubernetes/enhancements/issues/2413

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-06-29 15:31:48 +02:00
Vitthal Sai d463ee0826
Document pss at cluster level for recent release 2022-06-27 23:18:20 +05:30
Kubernetes Prow Robot 0c8128ce33
Merge pull request #33615 from bngsudheer/patch-2
Update chart link
2022-06-13 22:45:32 -07:00
Kubernetes Prow Robot d441837c51
Merge pull request #33880 from JohnTitor/patch-1
Fix some minor typos on expose-intro.html
2022-06-01 21:11:45 -07:00
Yuki Okushi d8f20c9e5b
Fix some minor typos 2022-06-02 06:57:20 +09:00
Kubernetes Prow Robot 7eb8181d0c
Merge pull request #34005 from sftim/20220528_warn_katacoda_removal
Add warning about Katacoda shutdown
2022-05-31 11:42:24 -07:00
Sean Wei ca34038e9f Update link text to configure-pod-configmap.md 2022-05-30 16:42:30 +08:00
Kubernetes Prow Robot fca6219df3
Merge pull request #33971 from chrismetz09/metz-ingress-svg
Replace Mermaid Inline diagrams with Mermaid SVG diagrams
2022-05-29 07:10:51 -07:00
Tim Bannister a7c5ec8eda
Extend Katacoda removal warning
Also cover HTML-based interactive tutorials that do not launch Katacoda
from a button. This commit only updates the English localization.
2022-05-29 14:17:54 +01:00
Sean Wei 50b9fb29b0 Remove data-lang for command outputs 2022-05-28 20:08:49 +08:00
chrismetz09 6b93e12939 replace mermaid figs with svg in source-ip.md 2022-05-26 19:44:38 -07:00
Sudheer Satyanarayana e21eafb9e8
Update chart link
The currently used chart is not maintained anymore. Using Bitnami chart is recommended instead. The PR updates the link to the correct chart.
2022-05-11 19:02:37 +05:30
Shubham Kuchhal d1076700c7 Fixed all hyperlinks of the task "Monitoring, Logging, and Debugging" in all pages. 2022-05-02 14:46:52 +05:30
xin.li 781b2b381c [en] modify link about debug
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-30 09:21:16 +08:00
xin.li f43e6f5cdb [en] modify the link about debug-application in mysql-wordpress-persistent-volume.md
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-29 18:13:46 +08:00
Tim Bannister 672813f3e7
Move PSP into Security concepts section
The logical navigation definitely works better if Pod Security admission
and PodSecurityPolicy are pages in the same section. Make It So.

Co-authored-by: Rey Lejano <rlejano@gmail.com>
2022-03-30 17:30:35 +01: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
Noppadol ba8ab6238b
Fix link in cluster-level-pss.md
Missing a "/" for the link to [Pod Security Standards]
2022-03-14 17:58:26 +07:00
Drew Miller 6b21f286df
minor wording fix 2022-03-12 01:22:10 -05:00
Kubernetes Prow Robot 74c9374435
Merge pull request #32157 from tallclair/apparmor
Make the AppArmor docs more runtime agnostic
2022-03-11 21:32:23 -08:00
Tim Allclair 82a1d9c704 Make the AppArmor docs more runtime agnostic 2022-03-09 15:10:15 -08:00
Kubernetes Prow Robot 3bcb656e06
Merge pull request #29847 from sftim/20210928_migrate_kubectl_overview
Move kubectl overview to be section index
2022-03-05 13:54:52 -08:00
Kubernetes Prow Robot 90188d33b7
Merge pull request #31636 from tengqm/fix-links-2
Fix links and markdown format for some pages
2022-03-05 12:54:54 -08:00
Tim Bannister 73cd38cdc6 Move kubectl overview to be section index
Also:
- use glossary definition in page introduction
- tidy broken link in What's Next section
- update links to refer to moved page
2022-03-03 10:03:00 +00:00
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
Tárikly Távora b6f0d8ffbc
Review zookeper tutorial and fix command error (#31914)
* Misplaced command result

On zookeeper tutorial https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/#surviving-maintenance command result is concatenated to the command itself:

kubectl drain $(kubectl get pod zk-1 --template {{.spec.nodeName}}) --ignore-daemonsets --force --delete-emptydir-data "kubernetes-node-ixsl" cordoned

* Review zookeeper tutorial

https://github.com/kubernetes/website/pull/31873

Review done!
2022-02-26 18:25:17 -08:00
0xff-dev f9ac04521d [en] update yaml docs 2022-02-23 00:32:01 +08:00
Qiming Teng 459a3f96ac Fix links and markdown format for some pages 2022-02-05 15:19:21 +08:00
Sascha Grunert 4074c2e7c3
Improve SeccompDefault documentation
- Highlight that we do not change the Kubernetes API and how to verify
  the used seccomp profile
- Fix the kind configuration and enhance the example with a custom
  workload.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-01-27 10:09:18 +01:00
Babapool ec94e69c4e Merge the tutorials under tutorials->clusters into tutorials->security 2022-01-09 21:31:20 +00:00
mtilson 5e964818e8
Remove "Service" as well 2022-01-05 02:15:41 +03:00
mtilson 3e48467a27
Remove extra command and fix reference to profile 2022-01-04 21:40:48 +03:00
Kubernetes Prow Robot d9545116cd
Merge pull request #31184 from CodingCanuck/patch-3
Fix kind delete cluster commands
2022-01-04 09:10:52 -08:00
Alex McCarthy 90970b7b73
Fix kind delete cluster commands
The name flag requires two leading dashes, not one.
2022-01-03 07:17:52 -10:00
Alex McCarthy 6b4cbac16c
Remove trailing whitespace to fix command pasting 2022-01-03 07:03:52 -10:00
Kubernetes Prow Robot 59f7c6f39c
Merge pull request #28905 from RA489/update_cluster
Improvement to create cluster page
2021-12-17 07:44:29 -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
Pushkar Joglekar d29e93acbb Tutorial for pod security admission
Refer blog post for v1.23 + suggestions from code review
2021-12-08 10:41:25 +05:30
RA489 3766686671 Improvement to create cluster page 2021-12-06 12:38:43 +05:30
Jesse Butler 018f9d05a2 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-01 12:23:10 -05:00
Kubernetes Prow Robot fe2b4047db
Merge pull request #30264 from doughgle/patch-2
Clarify why cordon all but 4 nodes.
2021-11-25 06:54:34 -08: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
Jesse Butler d330226a95 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-11-17 12:55:09 -05:00
sandipanpanda 7a513e6dee
Fix broken anchor link of #type-nodeport in service.md (#30388)
* Fix broken anchor link of #type-nodeport in service.md

* Update anchor link from #nodeport to #type-nodeport

Update anchor link from #nodeport to #type-nodeport in overview.md

* Update anchor link from #nodeport to #type-nodeport

Update anchor link from #nodeport to #type-nodeport in ingress.md

* Update anchor link from #nodeport to #type-nodeport

Update anchor link from #nodeport to #type-nodeport in troubleshooting-kubeadm.md

* Update anchor link from #nodeport to #type-nodeport

Update anchor link from #nodeport to #type-nodeport in connecting-frontend-backend.md

* Update anchor link from #nodeport to #type-nodeport

Update anchor link from #nodeport to #type-nodeport in source-ip.md
2021-11-12 08:02:28 -08:00
Hoon Jo 9ac60ec13d
Update apparmor.md
Due to exec command DEPRECATED. so please add `--` to avoid info message. 

`Current`
```
root@wk8s-m:~# kubectl exec hello-apparmor cat /proc/1/attr/current
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
k8s-apparmor-example-deny-write (enforce)
``` 

```
root@wk8s-m:~# kubectl exec hello-apparmor touch /tmp/test
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
touch: /tmp/test: Permission denied
command terminated with exit code 1
```

`Change`
```
root@wk8s-m:~# kubectl exec hello-apparmor -- cat /proc/1/attr/current
k8s-apparmor-example-deny-write (enforce)
```

```
root@wk8s-m:~# kubectl exec hello-apparmor -- touch /tmp/test
touch: /tmp/test: Permission denied
command terminated with exit code 1
```
2021-11-11 16:02:04 +09:00
RA489 1ddef08a50 Improvement to create cluster page 2021-11-09 11:06:25 +05:30
Douglas Hellinger b2035168a7
Clarify why cordon all but 4 nodes. 2021-10-27 15:58:55 +08:00
Douglas Hellinger 52fe4549f9
Update zookeeper.md 2021-10-27 10:37:34 +08:00
Douglas Hellinger 593fb144b6
Update zookeeper.md
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
2021-10-27 10:31:23 +08:00
Jesse Butler 4e755b2f2c Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-10-26 14:13:06 -04:00
Tim Bannister 5d5a2125c5 Use a glossary tooltip for "node" 2021-10-16 13:02:04 +01:00
Tim Bannister ee588f6d2b Write headings in sentence case
Other than page titles, headings should be sentence case
2021-10-16 13:02:04 +01:00
Tim Bannister 97a7bbcea8 Expand on runtime default part of seccomp tutorial 2021-10-16 13:02:04 +01:00
Tim Bannister bb634e6db9 Revise seccomp tutorial
- Drop docs for Kubernetes earlier than v1.19
- Have kubectl fetch manifests using HTTP where suitable
- General tidying
2021-10-16 12:47:11 +01:00