Commit Graph

439 Commits

Author SHA1 Message Date
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
Robert Martin bd59a5fc20
Update hello-minikube.md
Fix minor typos
2021-09-25 20:02:10 -05:00
Kubernetes Prow Robot 859880ab75
Merge pull request #29433 from saschagrunert/seccomp-api-removal-note
Add note about deprecated seccomp annotation
2021-09-10 14:27:02 -07:00
Sascha Grunert 5f192f2cb1
Add note about deprecated seccomp annotation
We now add a note to clarify that the annotations are deprecated and
will become non-functional in v1.25.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-23 10:03:10 +02:00
Sascha Grunert 61b8cafa84
Mention that privileged containers run unconfined
This is a note which helps users to understand the interaction between
privileged containers and seccomp profiles.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-08-20 10:09:11 +02:00
Kubernetes Prow Robot 87235b508d
Merge pull request #29311 from mengjiao-liu/update-githubbranch-param
Hard-code the name of the target repo's default branch instead of using the githubbranch parameter value
2021-08-16 06:03:18 -07:00
Mengjiao Liu f945335af6 Hard-code the name of the target repo's default branch instead of using the githubbranch parameter value 2021-08-10 18:03:21 +08:00
Kubernetes Prow Robot 5f65b4fcd0
Merge pull request #28853 from saschagrunert/seccomp-index
Add seccomp tutorial to index
2021-08-10 02:27:17 -07:00
Kubernetes Prow Robot e68dc3c075
Merge pull request #28736 from chenxuc/hello-minikube-2
improve hello-minikube page for dashboard
2021-08-10 00:23:19 -07:00
Victor Palade 61ac44bb11 Merge master into dev-1.22 to keep in sync 2021-08-04 19:43:06 +02:00
Claudia J. Kang d534f730cf Fix the missing termination character with HTML5 named character reference
The HTML5 named character reference such as '&gt', '&lt' should be terminated
with semicolon character. This commit fixes the missing termination character
with the kubernetes-basics tutorials.
2021-08-01 00:05:16 +09:00
Victor Palade 252c44c53d Merge master into dev-1.22 to keep in sync 2021-07-29 15:40:32 +03:00
chenxuc f4e6b41840 improve hello-minikube page for dashboard 2021-07-28 16:26:27 +08:00
Kubernetes Prow Robot c76841a40a
Merge pull request #29129 from Shubham82/correct-memory_and_cpu_values
Correct default values of memory and cpu.
2021-07-27 15:07:08 -07:00
Kubernetes Prow Robot 8e8328b585
Merge pull request #28801 from Ritikaa96/stateless-application-update-address
correcting redis address in stateless-application guestbook document
2021-07-27 10:38:47 -07:00
Victor Palade 3c95e6a96b Merge master into dev-1.22 to keep in sync 2021-07-27 18:47:27 +03:00
Shubham Kuchhal de9db22f9e Correct default values for memory and cpu. 2021-07-27 13:21:52 +05:30
Kubernetes Prow Robot 09903e156f
Merge pull request #29076 from xinydev/update-kubectl-flag
Update kubectl deprecated flag delete-local-data to delete-emptydir-data
2021-07-26 04:20:33 -07:00
XinYang d095a148f2
Update kubectl deprecated flag delete-local-data
Signed-off-by: XinYang <xinydev@gmail.com>

revert changes

Signed-off-by: XinYang <xinydev@gmail.com>

update more

Signed-off-by: XinYang <xinydev@gmail.com>
2021-07-23 10:39:30 +08:00
Kubernetes Prow Robot 0d3ee7d869
Merge pull request #29073 from able8/fix-a-code-block-format-in-expose-intro.html
Fix a code block format in expose-intro.html
2021-07-22 07:05:52 -07:00
able.lv d439e57224 Fix a code block format in expose-intro.html 2021-07-22 19:40:05 +08:00
Shubham Kuchhal bd39651298 Fix link for debian-base. 2021-07-22 11:20:55 +05:30
Shubham Kuchhal 782e6264de Add Note for deprecated PodSecurityPolicy. 2021-07-19 16:56:08 +05:30
Christopher Negus 548ba073da Merge main into dev-1.22 to keep in sync 2021-07-09 18:19:13 +00:00
Sascha Grunert 1134821af6
Add seccomp tutorial to index
This adds the seccomp tutorial page to the index side by side to
AppArmor.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-09 09:12:48 +02:00
Ritikaa96 077f0ca38f correcting redis address in stateless-application guestbook document
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
2021-07-05 16:47:30 +05:30
Kubernetes Prow Robot 4809013f75
Merge pull request #28468 from tengqm/cleanup-guestbook
Cleanup guestbook tutorials
2021-07-04 06:30:18 -07:00
Kubernetes Prow Robot b05de02eaa
Merge pull request #28292 from Philipsty/master
Improvement for k8s.io/docs/tutorials/kubernetes-basics
2021-07-04 06:20:18 -07:00
uhziel ca1f9bd689
Update explore-intro.html 2021-07-04 08:54:54 +08:00
uhziel 84fea74349
replace 'the Master' to 'the Control Plane' 2021-07-03 18:29:24 +08:00
uhziel 8af5744ea3
replace 'the Master' to 'the Control Plane' 2021-06-29 21:04:56 +08:00
Kubernetes Prow Robot 48c2535d8d
Merge pull request #27957 from saschagrunert/seccomp-default
Add documentation about `SeccompDefault` feature
2021-06-28 05:07:26 -07:00
tylerphilips be1f5e6b35 update kubernetes-basics buttons 2021-06-25 20:53:28 -04:00
Sascha Grunert 27a74df031
Add documentation about `SeccompDefault` feature
This adds a documentation section about the `SeccompDefault` feature
gate for the kubelet. Beside that, the feature gate has been added to
the list of features, too.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-06-24 15:10:53 +02:00
Tim Bannister da31234d5d Update docs for primary branch rename to "main" 2021-06-19 01:50:25 +01:00
Qiming Teng 53e0c4c1af Cleanup guestbook tutorials
This PR fixes two typos and reformat the guestbook tutorial.
2021-06-18 10:43:51 +08:00
Kubernetes Prow Robot 5dfcf92490
Merge pull request #28447 from tengqm/fix-file-modes
Remove exec permission on markdown files
2021-06-17 19:04:04 -07:00
Jim Angel ff0018b97e updating tutorial to match source 2021-06-17 18:45:40 +00:00
Qiming Teng e9703497a1 Remove exec permission on markdown files
For some unknown reasons, we have got many markdown files with exec
permission. That is weird and risky.
2021-06-16 17:57:00 +08:00
Kubernetes Prow Robot 3d35f770d0
Merge pull request #28374 from froblesmartin/patch-1
Updating --cascade=false to --cascade=orphan
2021-06-14 11:01:29 -07:00
Francisco Robles Martín ba734d4412
Updating --cascade=false to --cascade=orphan
Cascade=false is deprecated in kubectl 1.21, according to Bug https://github.com/kubernetes/website/issues/27920
2021-06-11 15:18:12 +02:00
Bas Kok 03d885ebc0
Update the expected output for `minikube addons enable`
The output from `minikube addons enable` in the documentation should match the output from the current version of minikube (which is also in katakoda)
2021-06-09 21:30:01 +02:00
tylerphilips d1fa1547e7 Added Navigation buttons for training modules 1 to 6 2021-06-08 19:04:27 -04:00
tylerphilips b3c36f6b5e Added Navigation buttons for training modules 1 to 6 2021-06-04 21:35:43 -04:00
tylerphilips 7a02a387dc Added navigation buttons for training modules 1 to 4 2021-06-04 20:53:33 -04:00
Kubernetes Prow Robot 924f4a317c
Merge pull request #27396 from joostas/using-sourceIP-turorial
Fix label selector in Using Source IP tutorial
2021-04-05 07:31:12 -07:00
Kubernetes Prow Robot fb976d5844
Merge pull request #27364 from jailton/en/docs/tutorials/stateless-application
Fix content/en/docs/tutorials/stateless-application/guestbook.md
2021-04-04 23:58:15 -07:00
Justas fe9e5a80ad Fix label selector in Using Source IP tutorial
Before:
```sh
controlplane $ kubectl delete svc -l run=source-ip-app
No resources found
```
```sh
k get svc --show-labels
NAME           TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE     LABELS
clusterip      ClusterIP      10.110.247.112   <none>        80/TCP         28m     app=source-ip-app
kubernetes     ClusterIP      10.96.0.1        <none>        443/TCP        49m     component=apiserver,provider=kubernetes
loadbalancer   LoadBalancer   10.111.123.206   <pending>     80:31111/TCP   9m59s   app=source-ip-app
nodeport       NodePort       10.108.129.31    <none>        80:32503/TCP   22m     app=source-ip-app
```
After:
```sh
controlplane $ kubectl delete svc -l app=source-ip-app
service "clusterip" deleted
service "loadbalancer" deleted
service "nodeport" deleted
```

Update source-ip.md

Update source-ip.md

Update source-ip.md
2021-04-04 20:52:13 +03:00
Jailton Lopes d5b1793351
Update "Deploying PHP Guestbook application with MongoDB" Tutorial to fix the following issues:
* #26765 - Ordered lists with wrong indexes
* The wrong output of "kubectl get service frontend" on LoadBalancer Service Type example.
* Fixing format

Signed-off-by: Jailton Lopes <jailton@gmail.com>
2021-04-01 00:42:41 -03:00
Shubham Kuchhal d39d4b4bf7 Corrected the description in 'Restrict a Container's Access to Resources with AppArmor' 2021-03-30 17:03:10 +05:30
Akihito INOH 753ec3f745 Add example java link to tutorials index
This commit adds link of "Example: Configuring a Java Microservice"
to Tutorials index.
2021-03-29 08:30:15 +09:00
Kubernetes Prow Robot 9d6649755d
Merge pull request #26947 from jihoon-seo/patch-4
Update href to the anchor in the same page
2021-03-27 01:56:43 -07:00
Kubernetes Prow Robot dc89dbc502
Merge pull request #26793 from es1o/patch-1
Add information about Parallel Pod Management
2021-03-26 05:00:43 -07:00
Kubernetes Prow Robot ec4840824d
Merge pull request #26472 from kbhawkey/cleanup-usage-just
clean up use of word: just
2021-03-26 04:34:43 -07:00
RA489 bd18b152ab Update hello minikube page 2021-03-25 11:16:55 +05:30
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Kubernetes Prow Robot ee85c6c6c6
Merge pull request #25488 from prankul88/expose-service-update
Update expose service intro
2021-03-17 15:07:19 -07:00
Jai Govindani b407a0103b
docs(configure-redis-using-configmap): update for clarity (#25712)
* docs(configure-redis-using-configmap): update for clarity

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): incorrect volumeMount index

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): show Pod status as Running, separate commands from output

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): typo

Signed-off-by: Jai Govindani <jai@honestbank.com>

* fix(configure-redis-using-configmap): configmap name

Signed-off-by: Jai Govindani <jai@honestbank.com>
2021-03-17 13:13:19 -07:00
Kubernetes Prow Robot bc451ce8f9
Merge pull request #27055 from atoato88/fix-install-kubectl-redirect
Replace redirect links of install kubectl
2021-03-15 17:00:34 -07:00
Akihito INOH f553cbbebc Replace redirect links of install kubectl
/docs/tasks/tools/install-kubectl/ is redirected to
/docs/tasks/tools/
This commit replace the redirect links for installing kubectl
with direct links.
2021-03-15 08:22:29 +09:00
Jason Gilmore 9517a9ab01
Corrected port designation in get service output
Port 6379 was errantly identified as the mongo service port however mongo-service.yaml defines port 27017. I've updated the service command output to reflect that.
2021-03-11 11:22:49 -05:00
Jihoon Seo c009ad8431
Update href to the anchor in the same page 2021-03-08 16:17:09 +09:00
Kubernetes Prow Robot 29196d55c4
Merge pull request #26162 from CKchen0726/hello_minikube
add some necessary description after running command 'minikube dashboard'
2021-03-04 16:26:22 -08:00