Commit Graph

280 Commits

Author SHA1 Message Date
Nate W 0135d3642b Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-19 15:45:28 -07:00
Kubernetes Prow Robot 3920b5e71f
Merge pull request #32813 from tengqm/networkpolicy-example
Move NetworkPolicy into examples
2022-04-16 13:57:10 -07:00
Mengjiao Liu 812dafd7ef Fix mysql-configmap.yaml error 2022-04-12 12:05:40 +08:00
Qiming Teng b51b1d6b1d Move NetworkPolicy into examples 2022-04-08 16:00:56 +08:00
Nate W 22643121ff Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-04 09:40:29 -07:00
Raghu Katti 1c418bddd2
Added retry option to tail
If the logs get rotated the above tail would fail. -F ensures that it is logrotate proof.
2022-03-31 13:08:23 -04:00
Nate W 7c67921f3f Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-28 08:48:23 -07: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
Kubernetes Prow Robot b2097006f0
Merge pull request #29385 from shannonxtreme/assign-pods-nodes
Refactor Assigning Pods to Nodes
2022-03-23 01:01:59 -07:00
Nate W ee1a85d08e Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-03-21 07:53:48 -07:00
dirc 56067a41c8 fixed order for resources: requests and limits 2022-03-18 16:35:44 +01:00
Amit Sharma a60e9203e0
Update exec-liveness.yaml 2022-03-12 14:42:48 +05:30
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
Lubomir I. Ivanov 806518df13 kubeadm: update references of "master" label/taint for 1.24
In 1.24 kubeadm will:
- stop using the "master" label on CP nodes.
- start tainting CP nodes with both "master" and "control-plane" taints.

In 1.25 the "master" taint will be removed.

Adjust references of the "master" label/taint to the above.
2022-02-23 19:22:50 +02:00
Kubernetes Prow Robot 2d6d22ddec
Merge pull request #31440 from MikeSpreitzer/note-apf-autoupdate
Catch APF description up with recent developments
2022-02-03 03:05:45 -08:00
Jordan Liggitt 111c3eaabe Update TLS doc to use example signer for arbitrary https server 2022-02-01 12:22:32 -05:00
Kubernetes Prow Robot 5313a873f2
Merge pull request #31419 from ingvagabund/multiple-schedulers-fix-secure-port
Configure multiple schedulers: switch to the secure ports
2022-02-01 08:40:10 -08:00
Jan Chaloupka a475c2147e Configure multiple schedulers: switch to the secure ports
Starting v1.23 the kube-scheduler no longer provides insecure serving.
2022-02-01 11:03:01 +01:00
Kubernetes Prow Robot 1d552afaa6
Merge pull request #30737 from mfbieber/ingress-class-name-in-example
Added ingressClassName: nginx to Ingress example
2022-01-24 11:37:35 -08:00
Mike Spreitzer 2bfc31833f Catch APF description up with recent developments
Primarily the change, in release 1.22, of how configuration objects
are maintained.

Also describe the new priority level.

Also move the sections on defaults and health check configuration to
follow the description of configuration objects.
2022-01-21 13:06:51 -05:00
Shannon Kularathna 4650e1df61 Refactor Assign Pods to Nodes 2022-01-21 15:27:20 +00:00
Michelle Fernandez Bieber e21f0563f3 Added ingressClassName: nginx to Ingress example, mentioned to the necessity of it and referenced to the section describing that further 2022-01-07 22:15:42 +01:00
Tammer Saleh 19845f593e The `schedule: "*/1 * * * *"` is the same as "* * * * *" 2021-12-29 00:19:02 +00:00
Qiming Teng 5f8e58a2c0 Fix errors detected by the test case
The service account token one must have `serviceAccountName` specified
in order to be successfully validated.
The PV duplicate example can only refer to an existing volume.
2021-12-15 12:50:30 +08:00
Qiming Teng 440ebd1e0e Fix example test code
This commit adapts the example test case to 1.23.
2021-12-15 12:49:45 +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
Jesse Butler 584421fe11 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-06 08:55:54 -05:00
Kubernetes Prow Robot d2d722ae30
Merge pull request #30223 from slayer321/add-volume-example
docs: add PV duplicate example
2021-12-05 15:12:32 -08:00
Sergey Kanzhelev 3797c338a7 grpc field name consistency 2021-12-01 18:57:07 +00:00
Sergey Kanzhelev ef6668539c gRPC probes 2021-11-30 23:35:27 +00: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
Kubernetes Prow Robot cee6c712bd
Merge pull request #30366 from aravindhp/windows-projected-volume
storage: document Windows projected volume limitations
2021-11-16 16:11:53 -08:00
Aravindh Puthiyaparambil c0dd24a8ba
storage: create new file for projected volumes
Move inline examples into the examples folder
2021-11-08 16:07:33 -08:00
Aaron Crickenberger 156173d622 replace dnsutils example image
The gcr.io/kubernetes-e2e-test-images repo is deprecated and will
eventually go away. Use an equivalent image from the project-owned
k8s.gcr.io repo
2021-11-03 14:32:58 -07:00
slayer321 d283c1f545 docs: add PV duplicate example 2021-10-25 09:52:46 -04:00
chirangaalwis fc25753118 Remove unnecessary comment 2021-10-18 20:32:38 +05:30
chirangaalwis b06baf8f80 Re-order ConfigMap definition 2021-10-16 21:52:09 +05:30
Tim Bannister 97a7bbcea8 Expand on runtime default part of seccomp tutorial 2021-10-16 13:02:04 +01:00
chirangaalwis 0add8b4a53 Remove --bind-address kube-scheduler argument
Defaults to 0.0.0.0
2021-10-16 13:30:24 +05:30
chirangaalwis 067f8a9370 Update custom scheduler example for v1.22+
Remove invalid scheduler args, add new scheduler args and add new Scheduler Configuration for defining scheduler name
2021-10-16 12:49:55 +05:30
Nitesh Seram d3a5a71e88
remove addonmanager.kubernetes.io labels 2021-09-28 10:49:37 +05:30
Kubernetes Prow Robot 59b6a8be50
Merge pull request #29187 from sanusatyadarshi/patch-1
Added missing ServiceAccount, ClusterRole and ClusterRoleBinding to DNS Horizontal Autoscaler.
2021-09-26 18:52:22 -07:00
Qiming Teng 1846afe3d5 Fix test case for examples
This is an adaptation for 1.22.
2021-08-09 22:29:17 +08:00
Sanu Satyadarshi 0032199ed6
Add missing ServiceAccount
Added missing ServiceAccount, ClusterRole and ClusterRoleBinding.

https://github.com/kubernetes/website/issues/15280
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml
2021-08-02 12:55:33 +05:30
Victor Palade 3c95e6a96b Merge master into dev-1.22 to keep in sync 2021-07-27 18:47:27 +03:00
Kubernetes Prow Robot acc7252970
Merge pull request #29025 from robscott/endpoints-rbac
Adding documentation about Endpoints write access in wake of CVE-2021-25740
2021-07-26 23:20:45 -07:00
Rob Scott d710925768
Adding documentation about Endpoints write access in wake of CVE-2021-25740 2021-07-26 11:32:06 -07:00
Kubernetes Prow Robot 11ca5f06dc
Merge pull request #28530 from Shubham82/Add-MongoDB-yamls
Add MongoDB deployment and service.
2021-07-22 05:05:51 -07:00
Samuel Roth e0d4b53b1c incorporating initial round of feedback 2021-07-21 15:33:46 +00:00
Tim Allclair ae1ae50454 Address PR feedback 2021-06-24 10:16:32 -07:00
Tim Allclair 6cc9bf8293 Update PodSecurityStandards to match PodSecurity KEP 2021-06-24 10:16:32 -07:00
Shubham Kuchhal 21ca9a224f Add MongoDB deployment and service. 2021-06-21 18:27:52 +05:30
Qiming Teng 584097ebfa Adapt examples test for latest change 2021-06-18 09:23:39 +08:00
Jim Angel ff0018b97e updating tutorial to match source 2021-06-17 18:45:40 +00:00
Qiming Teng 126e636fb5 Fix test cases for examples
This PR updates the test case to use for v1.21
2021-06-14 13:01:34 +08:00
Kubernetes Prow Robot 836fb1c8d1
Merge pull request #27246 from vajdaz/master
Fix typo in worker.py example script
2021-05-19 00:52:51 -07:00
Kubernetes Prow Robot 7dfc7f8567
Merge pull request #27893 from jeffreyvdhondel/patch-1
Operator: Exists missing
2021-05-18 07:55:32 -07:00
Kubernetes Prow Robot 11eda2afb6
Merge pull request #27504 from gecube/master
Update konnectivity to 0.0.16 and update ZH docs accordingly
2021-05-09 07:26:47 -07:00
Jeffrey van den Hondel 38374a03b0
Operator: Exists missing
The Operator Exists is missing without this operator there will be no pod deployed on the master node.
2021-05-06 15:40:45 +02:00
Bridget Kromhout f7a0a0a951
"*-controller-manager" typo fix
I noticed a typo in a recent blog post, and a similar typo appears in
the comments for some examples. This PR corrects these typos.

Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
2021-04-14 16:40:32 -05:00
George Gaál 02099e2dd3 Update konnectivity to 0.0.16 and update ZH docs accordingly 2021-04-11 14:24:40 +03:00
Zoltan Vajda a8adf49a78 Fix typo in worker.py example script 2021-03-30 14:24:34 +02:00
Morten Torkildsen d341b96fb3 Promote Pod Disruption Budgets to GA 2021-03-29 19:58:50 -07:00
Kubernetes Prow Robot 87852360b3
Merge pull request #26723 from hbagdi/ingress-class-namespaced-params
Ingress class namespaced params
2021-03-29 11:23:57 -07:00
Kubernetes Prow Robot b8a717edf1
Merge pull request #27083 from soltysh/cronjob_ga
Update docs for CronJob GA
2021-03-28 23:08:44 -07:00
Maciej Szulik dba902447c
Update docs for CronJob GA 2021-03-26 16:51:42 +01:00
Harry Bagdi 80391efa7e KEP-2365: documentation for namespace-scoped parameters reference 2021-03-26 13:34:46 +05:30
Rey Lejano 9d56683e8b Merge master into dev-1.21 to keep in sync - SIG-Release 1.21 Docs team 3/17/21
Fixed merge conflict with /docs/reference/command-line-tools-reference/kube-apiserver.md and preferred master
2021-03-17 21:29:04 -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
Aldo Culquicondor 552566fcfa Documentation for Indexed completion mode
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2021-03-16 16:54:44 -04:00
Miguel Angel Garcia a6eb08d778 fix cronjob code for examples 2021-02-11 12:24:35 +01:00
Kubernetes Prow Robot 539e524882
Merge pull request #26273 from Cweiping/feature/clairly_resource_quota_limit_for_PriorityClass
Clarify ResourceQuota limit for PriorityClass
2021-02-09 01:59:31 -08:00
Weiping Cai 188ccc220b
Clairly Resourcequota limit for PriorityClass
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2021-02-09 16:05:04 +08:00
Kubernetes Prow Robot af76e77672
Merge pull request #26141 from jimangel/remove-redis-and-master-slave-terminology-2
Remove Master/Slave terminology from stateless application tutorial.
2021-02-07 00:13:12 -08:00
Kubernetes Prow Robot c02a6c0ac2
Merge pull request #26086 from tengqm/fix-example-tests
Fix example tests
2021-02-06 06:57:11 -08:00
Brock R 36170e4193
Fixed a small field name spelling mistake.
`resourceName` is incorrect and fails upon apply/install. `resourceNames` is the correct file name.
2021-01-27 14:27:43 -07:00
Paul Czarkowski 99029b97d7 Remove Master/Slave terminology from stateless application tutorial.
The stateless application tutorial is littered with unsuitable terminology. This update switches the database technology to a database that has already updated their own terminology as well as removes the terminology from the tutorial itself.

The advanced logging tutorial followup is set to Draft as it will take a larger effort to convert that, and I'm not convinced its even in a working state right now.

A followup PR to the examples repo to be referenced here will be made.

Addresses #22918

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>

address comments in PR

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>

remove confusing comment about dns, we can assume k8s has kube-dns

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2021-01-19 04:19:23 +00:00
Qiming Teng 06228c06a9 Fix examples tests
This PR updates the go.mod file so that tests of the example manifests
are run against the 1.20 branch. The missing test cases for newly added
examples are also added. To perform tests on your local machine, run the
following command on the root of your local clone:

```
go test k8s.io/website/content/en/examples
```
2021-01-16 14:09:28 +08:00
Qiming Teng a11047c153 Clean PodPreset docs, examples and links 2021-01-14 13:26:29 +08:00
Leonardo Murillo f7b29716fd
Enhancements in clarity to access-application-cluster/connecting-frontend-backend.md (#25927)
* Enhancements in clarity to docs/tasks/access-application-cluster/connecting-frontend-backend.md

* Code review comments

* Reverting name of service due to backed value in Dockerimage
2021-01-13 17:47:03 -08:00
Naoki Oketani f5f40c16f9 clean up too old comments for v1.9 or before in examples 2021-01-09 16:13:00 +09:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Kubernetes Prow Robot f2a78fa5d5
Merge pull request #23119 from devries/statefulset-mysql-language
Replace master/slave with primary/replica in MySQL StatefulSet example
2020-12-02 01:04:50 -08:00
Zhang Yong f979037143 CronJob example should include imagePullPolicy: IfNotPresent 2020-11-30 10:19:00 +08:00
Somtochi Onyekwere ba77c903ed Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-19 17:09:49 +01:00
Sylvain COULOMBEL 1ec78b1f28 Improve configmap usage as pod command and args 2020-11-17 21:54:25 +01:00
Mike Spreitzer bf23ba2aa9
Update API Priority and Fairness doc for graduatino to beta (#24975) 2020-11-14 01:55:04 -08:00
Andrei Kvapil 798b5c9f2a
Add missing steps to configure konnectivity-server (#24141)
* Add missing steps to configure konnectivity-server

* Update content/en/docs/tasks/extend-kubernetes/setup-konnectivity.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/tasks/extend-kubernetes/setup-konnectivity.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/tasks/extend-kubernetes/setup-konnectivity.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* update konnectivity manifests

* remove tcp configuration

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-11-12 23:52:23 -08:00
Bridget Kromhout 8a3244fdd1 Dual-stack docs for Kubernetes 1.20
Signed-off-by: Bridget Kromhout <bridget@kromhout.org>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Lachlan Evenson <lachlan.evenson@microsoft.com>
2020-11-10 16:10:45 -06:00
Tim Hockin 300c2e8545 Better docs for standard topology labels
As per KEP 1659, topology labels are now more formalized.  Move away
from the older `failure-domain.beta` names ands use `topology` names
instead.
2020-11-03 11:27:58 -08:00
Kubernetes Prow Robot e028d3d81c
Merge pull request #24580 from zhiguo-lu/zh-translate-reference-certificate-signing-requests
Translate reference/certificate-signing-requests.md into Chinese and fix a bug in origin file, #24065
2020-10-18 01:46:12 -07:00
luzg 5dab375fd3 Translate reference/certificate-signing-requests.md into Chinese and fix a bug in origin file, 24065
make change according to Tengqm's comment
2020-10-16 22:27:15 +08:00
Kubernetes Prow Robot a2659dc137
Merge pull request #24578 from Tej-Singh-Rana/k8s-tej
Replaced URL
2020-10-15 01:10:24 -07:00
Tej-Singh-Rana 856ea6292e
replaced URL 2020-10-15 10:12:25 +05:30
Qiming Teng 9fa03cbdf1 Move example-ingress.yaml
The commit (a79db9d5de) made the sample
YAML for Ingress a standalone file, but it was placed into a NEW
`examples/ingress` directory. This PR moves it to
`examples/service/networking` subdirectory where all other Ingress
examples are located. Having a single file under a dedicated directory
seems not good.
2020-10-12 11:17:08 +08:00
Weiping Cai a79db9d5de
fix example-ingress.yaml format error
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-10-10 10:03:46 +08:00
Christopher Montoro 7fc8f1a220
Update the example for kubectl port-forward
Clarify that `REMOTE_PORT` is interpreted as identifying a _Service_ port when provided `TYPE` is `service`.
Also, highlight support for specifying a named port as `REMOTE_PORT`.
2020-10-07 22:02:37 -04:00
Jerry Park 45a5a5210f Fix issue with tasks/administer-cluster/out-of-resource/ 2020-10-01 13:13:59 +09:00
Christopher De Vries 4bb76cd0fb Change secondary to replica and use primary as an adjective consistently 2020-08-14 08:04:50 -04:00
Christopher De Vries 044d11de32 Replace master/slave with primary/secondary where possible 2020-08-13 08:59:24 -04:00