Commit Graph

416 Commits (41487af5336ef54afb16f3a36ceb9f9844d89b6b)

Author SHA1 Message Date
Intimaria 9283a6905c
Update mysql-statefulset.yaml
As per the issue #35432, hostname command is no longer available as mysql:5.7 is based on oracle. 
For the command on line 27 to work, it is sufficient to use the $HOSTNAME variable which is set in the container,
for it to work effectively.
2022-09-04 22:26:22 -03:00
Jordan Liggitt 7eba57d4de
Update pod security configuration docs for v1 2022-09-01 17:29:53 -04:00
rogue-gamer-ryt d7a2a8f45a Removed docker mentions from daemonset code sample 2022-09-01 23:26:33 +05:30
Dario Tranchitella 38b646b424 fix(konnectivity): using default container repository and last tag 2022-08-30 19:54:30 +02:00
carolina valencia 6810fa976d Merge remote-tracking branch 'upstream/main' into dev-1.25 2022-08-18 15:58:41 -03:00
Kubernetes Prow Robot ba191c2011
Merge pull request #35803 from ameukam/1-25-registry-k8s-io
Update docs to reference new container image registry
2022-08-18 08:26:22 -07: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 fae72f6cc0
Merge pull request #35235 from kinvolk/rata/userns
Add docs for user namespaces in pods - phase 1 (KEP-127)
2022-08-18 07:28:23 -07:00
Rodrigo Campos 501cde25c7
Add doc for user namespaces in stateless pods
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-08-18 11:13:00 +02:00
Kubernetes Prow Robot b942e01d7d
Merge pull request #35745 from Rishit-dagli/Rishit-dagli-hpa
Remove unnecessary instructions for HPA task
2022-08-17 14:54:47 -07:00
Michal Wozniak c47a025713 Add docs for KEP-3329 Retriable and non-retriable Pod failures for Jobs
Code review remarks and suggested commit updates are co-authored

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>

# Conflicts:
#	content/en/docs/reference/command-line-tools-reference/feature-gates.md
2022-08-15 13:22:37 +02: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
Rishit Dagli aa27eb3a1e Remove unnecessary instructions and use registry.k8s.io 2022-08-07 10:08:04 +00:00
Max Cameron 9fd96d52fb
Update dnsutils.yaml 2022-07-22 10:02:05 +01:00
Kubernetes Prow Robot 46aae33827
Merge pull request #34116 from TheRealDwright/update-docs-labels
update docs labels
2022-07-21 20:43:39 -07:00
Mike Hummel a15cc475d8
lates version of perl fails with the example code, need to use v5.34.0 (#34414)
* lates version of perl fails with the example code, need to use v5.34.0

* fix perl version in example job.yaml, is not working with actual latest
2022-07-21 10:23:54 -07:00
Kubernetes Prow Robot c4d77e3ab0
Merge pull request #34785 from lambdanis/fix-node-affinity-docs
Fix regressions in node affinity docs
2022-07-16 07:46:54 -07:00
Kubernetes Prow Robot dba3d59c9f
Merge pull request #34839 from lshgdut/main
Fix wrong guide for egress selection.
2022-07-13 05:29:37 -07:00
alanssitis 79e4dee5d9 fix typo in job example 2022-07-12 20:45:31 -07:00
Daniel Wright f9ebc90ff7
[en] update en docs to use recommended labels 2022-07-11 08:45:48 -07:00
monk 950b8747a3 Fix wrong guide for egress selection.
This PR fix the wrong guide according to the commit bellow:

[apiserver: support egress selection name 'controlplane' and deprecate 'master'](a0aebf96ec)
2022-07-06 20:54:46 +08:00
Anna Kapuscinska f4a62ba2e6 Fix regressions in node affinity docs 2022-07-03 07:45:46 +01:00
Remo Andreoli 3132fbe4f0
Fix wrong label key in scheduling example (#32646)
* Fixed deprecated comment in scheduling-eviction/assign-pod-node.md regarding example pods/pod-with-affinity-anti-affinity.yaml

* Changed the example to a more appropriate one
2022-06-23 18:11:19 -07:00
Rishit Dagli 83fdfc0651 Update mysql-statefulset.yaml 2022-06-23 10:39:53 +00:00
Matt McClure 1ee7c15023
Update job.yaml
The perl command fails at image version >5.34:

```
> docker run -it perl:5.36 bash
...
root@783a8ea24899:/# perl -Mbignum=bpi -wle "print bpi(2000)"
Can't use an undefined value as an ARRAY reference at /usr/local/lib/perl5/5.36.0/Math/BigInt/Calc.pm line 1049.```

> docker run -it perl:5.35 bash
...
docker: Error response from daemon: manifest for perl:5.35 not found: manifest unknown: manifest unknown.```

> docker run -it perl:5.34 bash
...
root@d4efc70c15b5:/# perl -Mbignum=bpi -wle "print bpi(2000)"
3.141592653589793238...
```
2022-06-22 13:59:19 -04:00
Tim Bannister 37400750f6 Add recommended labels 2022-06-20 10:57:01 +01:00
Mengjiao Liu efcaf3f3ea Revert an incorrect fix in mysql-configmap.yaml 2022-05-12 21:23:26 +08:00
Nate W 5ead53b3e8 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-05-02 10:29:49 -07:00
Kubernetes Prow Robot f57b6a42a9
Merge pull request #32221 from amitech/patch-1
Updated configure-liveness-readiness-startup-probes.md
2022-04-30 10:07:12 -07:00
Kubernetes Prow Robot d4bbdb5aa7
Merge pull request #33219 from chrisnegus/dockershim-podsecurity-docs
Update pod security docs for dockershim removal
2022-04-28 08:17:50 -07:00
Nate W 712f45dee4 Merge remote-tracking branch 'upstream/main' into dev-1.24 2022-04-26 13:11:13 -07:00
Christopher Negus a34a0567f9 Updated wording in yaml file 2022-04-26 13:59:38 +00:00
Christopher Negus 59d3e1e7a2 Update pod security docs for dockershim removal 2022-04-26 13:39:55 +00:00
Kubernetes Prow Robot eed5cc1598
Merge pull request #33196 from kinzhi/kinzhi34
[zh]Update content/zh/examples/README.md
2022-04-25 21:42:52 -07:00
wei.wang 6dbf0cfaf8 [zh]Update content/zh/examples/README.md 2022-04-25 23:50:10 +08:00
wei.wang 68dbecde3a [zh]Update content/zh/examples/application/mysql/mysql-services.yaml 2022-04-25 23:36:20 +08:00
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
Anna Jung 09d0f598fa Merge master into dev-1.19 to keep in sync 2020-08-11 08:34:02 -05:00
Kubernetes Prow Robot 6126c42ba1
Merge pull request #22683 from MikeSpreitzer/doc-health-for-strangers
Document the health-for-strangers workaround
2020-08-04 16:04:28 -07:00
Mike Spreitzer 499d0f4df1 Tweaked wording and added codenew example re health-for-strangers 2020-07-31 15:30:57 -04:00
Savitha Raghunathan e2a861c2f9 Merge remote-tracking branch 'upstream/master' into dev-1.19 2020-07-27 19:10:42 -04:00
Cweiping c80c9c40c1
fix page configure-multiple-schedulers/#enable-leader-election style error (#22642)
* fix https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/#enable-leader-election style error

Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>

* fix https://kubernetes.io/docs/tasks/extend-kubernetes/configure-multiple-schedulers/#enable-leader-election style error

Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-07-26 20:16:16 -07:00
Kubernetes Prow Robot 3841d72380
Merge pull request #21278 from hasheddan/seccomp
Add documentation for Seccomp GA
2020-07-20 12:14:39 -07:00
Joe Betz 648508c051 Add transferring ownership section to api concepts 2020-07-20 12:01:52 -07:00
hasheddan 3ad7ea77f1
Add documentation for generally available seccomp functionality
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-20 13:51:17 -05:00
Kubernetes Prow Robot 82ac6d49fa
Merge pull request #21590 from robscott/ingress-1.19
Updating Ingress docs for 1.19
2020-07-13 11:45:21 -07:00
Christopher M. Luciano 95a77e30db
ingress: Update documentation for wildcard hostnames
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-07-07 18:17:25 -07:00
Christopher M. Luciano 248ecd10bf
ingress: Add documentation on resource backends
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-07-07 18:16:58 -07:00
Christopher M. Luciano 51f6e23f35
Updating Ingress docs for 1.19
Co-authored-by: robscott <robertjscott@google.com>
2020-07-07 17:58:51 -07:00
Kubernetes Prow Robot e0bf0b2699
Merge pull request #22011 from tengqm/fix-examples-test
Fix example tests for English site
2020-07-04 05:38:48 -07:00
Kubernetes Prow Robot 9c196f9e09
Merge pull request #21811 from Cweiping/feature/add_interdependent_envvars
add define interdependent environment variables page
2020-07-03 21:00:48 -07:00
Weiping Cai 4490fe014f
use printf to replace printenv
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-07-01 14:48:38 +08:00
Qiming Teng 69a162dc2c Revised README for English examples 2020-06-27 11:15:21 +08:00
Qiming Teng faa5a441fd Fix example tests for English site 2020-06-24 19:10:14 +08:00
Weiping Cai 506a57849b
uograde dependent-envars.yaml leave out env name
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-06-23 09:38:16 +08:00
Weiping Cai 5513c60b54
add define interdependent environment variables page
Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
2020-06-16 18:40:30 +08:00
Philippe Martin a478fa6610 Document retainKeys patch strategy 2020-06-10 16:23:17 +02:00
Tim Allclair 75652e8585 Standardized pod security profiles 2020-05-20 16:54:37 -07:00
Sylvain COULOMBEL 081c7a713c Clean-up extra line in tasks: configure pod container 2020-05-16 16:01:39 +02:00
Kubernetes Prow Robot 2d03fb3cf4
Merge pull request #20815 from wawa0210/change-en-os-label
[Trival] beta.kubernetes.io/os deprecated since v1.14, are targeted for removal in v1.18
2020-05-08 19:15:52 -07:00
wawa0210 13aee8fe47
beta.kubernetes.io/os deprecated since v1.14, are targeted for removal in v1.18 2020-05-07 11:52:30 +08:00
Nikita Kalyanov 236c65c18e Remove reference to deprecated image
The #20553 changed the deprecated hello-node image to echoserver image. However, there is a reference to the old image later in the text. Point 5 implies that there will be a 'Hello World' message. This probably was true for the hello-node image but the echoserver does not print this (it echoes back the request with all of its params). This may be misleading, so change the text to a generic 'app's response'/'sample app'. Unused JS sources of the old image are removed.
2020-05-07 00:54:27 +03:00
Kubernetes Prow Robot 5fbcd30139
Merge pull request #20691 from alculquicondor/fix-2nd-scheduler
Add missing ClusterRoleBinding and leases permissions for running 2nd scheduler
2020-04-30 15:05:37 -07:00
Aldo Culquicondor ade52dec1e Add missing ClusterRoleBinding and leases permissions for running 2nd scheduler
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-30 17:57:28 -04:00
James Spurin c8975f90c7 remove default namespace from referenced yaml file 2020-04-25 18:16:44 +01:00
Kubernetes Prow Robot 0854666f54
Merge pull request #20113 from caesarxuchao/network-proxy-master
Doc for Konnectivity service feature
2020-04-06 16:17:46 -07:00
Kubernetes Prow Robot de07e4adfc
Merge pull request #19746 from rajeshdeshpande02/patch-64
Adding example to DaemonSet Rolling Update task
2020-04-06 15:55:47 -07:00
Chao Xu ac1d864575 Instructions on how to set up the Konnectivity service. 2020-04-05 12:10:05 -07:00
行颠 95d83bb12e
remove repeat space in yamls (#19883) 2020-03-27 04:46:23 -07:00
Rajesh Deshpande dfb8d40026 Adding example for DaemonSet Rolling Update task
Adding example for DaemonSet Rolling Update task

Adding fluentd daemonset example

Adding fluentd daemonset example

Creating fluend daemonset for update

Creating fluend daemonset for update

Adding proper description for YAML file

Adding proper description for YAML file
2020-03-27 06:47:50 +00:00
Rajesh Deshpande 83f50b828f
A new task page for assigining a pod to nodes using node affinity (#19265)
* Example for required node affinity tasks

Example for required node affinity tasks

* Create pod-nginx-preffered-affinity.yaml

* task for assigning pods nodes using node affinity

A new task for assigning pods nodes using node affinity

* Correcting syntax and spelling

Correcting syntax and spelling

* Correcting syntax and spelling

Correcting syntax and spelling

* fix for review comment 

Fix for review comment

* Adding min k8s server version

Adding min k8s server version

* Correcting small style issues

Correcting small style issues. This will also retrigger new build.
2020-03-26 01:26:30 -07:00
inductor 4297f3b29c
Update nginx to modern versions (#19198)
* update nginx versions

* update

* update examples
2020-03-17 10:48:23 -07:00
Samuel Almeida d5f741b03e
Add comment about DaemonSet toleration to run on masters (#19530)
Fixes issue #19512
2020-03-17 10:46:22 -07:00
Rajesh Deshpande 7b4ad25f13
Correcting example from namespaces-walkthrough task (#19294)
* Correcting deployment example

As 'kubectl run' command is deprecated, creating deployment with deployment manifest and apply command.

* Deployment manifest for snowflake example

Deployment manifest for snowflake example
2020-03-15 21:32:35 -07:00
Jacky Wu d089656267
doc: remove federation tests in example and some federation content. (#19581) 2020-03-15 20:46:35 -07:00
tom1299 7ac1614f74
Harmonize Pod Preset tasks (#18128) 2020-03-11 01:33:36 -07:00
Sharjeel Aziz c8eb9126e9
Cleanup and implement style guidelines. (#18980)
* Reworded paragraphs to reduce ambiguity.
* Added min-kubernetes-server-version metadata.
* Converted yaml to a downloadable resource.
2020-02-12 11:06:51 -08:00
Sujay Pillai d57169c29a
Updated network-policies.md for default deny all ingress and egress traffic (#19052) 2020-02-11 08:14:02 -08:00
Katarzyna Kańska 1e6d12b9e0
Fix of pull request #18960 (#18974)
* Fix of pull request #18960

* Add yaml configuration file snippets

* Remove redundant code snippet for  command
2020-02-07 11:43:45 -08:00
Tim Bannister b129075249
Improve network policies concept (#18091)
* Adopt website style guidelines

* Tweak wording

Co-Authored-By: cmluciano <cmluciano@cruznet.org>

* Make sample NetworkPolicies downloadable

Co-authored-by: cmluciano <cmluciano@cruznet.org>
2020-02-07 10:13:45 -08:00
Antonio Ojea d2dc2c60c6 Use dnsutils image for DNS debugging (#18001)
DNS debugging documentation is using a busybox image as example.
This image has different known issues with the way it resolves
the DNS names in k8s, creating confusion with users that try to
follow the docs.

The e2e tests use a custom small image ~4.3MB for DNS testing
with all the necessary tools. Also, the fact that this image is
being used for the k8s e2e testing guarantees it's compatibility.
2020-01-15 01:17:32 -08:00
Slava Semushin 55ee59477e en/examples/minikube/Dockerfile: modify CMD to use exec form. (#18618)
Quote from https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#cmd:
%
CMD should almost always be used in the form of CMD ["executable", "param1", "param2"…]
%
This is because shell form doesn't pass the signal to an executable and it leads a longer shutdown time as Docker has to kill a process after some timeout. See for details: https://docs.docker.com/engine/reference/builder/#shell-form-entrypoint-example

An example on official NodeJS site is also uses that form: https://nodejs.org/de/docs/guides/nodejs-docker-webapp/#creating-a-dockerfile
2020-01-11 10:23:37 -08:00
Damini Satya dff2f7b960 Official 1.17 Release Docs (#18011)
* feat: graduate TaintNodesByCondition to GA (#17073)

* Promote StartupProbe to beta (enabled by default). (#17164)

* Watch bookmarks to GA (#17026)

* feat: graduate ScheduleDaemonSetPods to GA (#17350)

* Update Docker installation instructions (#17405)

* Use exact version numbers for installing Docker in Ubuntu (#17428)

* Move CSIMigration and CSIMigrationGCE to Beta in Kubernetes v1.17 (#17478)

* Promote NodeLease feature to GA (#17189)

* Update docs for csi topology ga (#17408)

* Update RunAsUsername to beta (#17460)

* doc:Update RunAsUsername to beta

* doc: update samples - kubernetes.io/os is no longer beta

* Updating based on review feedback

* Promote Node-specific volume limits to GA (#17432)

* Promote PodShareProcessNamespace to stable (#17192)

* Promote PodShareProcessNamespace to stable

* Add for_k8s_version to feature-state label

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Readd version-check to shareProcessNamespace task

* Update service load balancer finalizer doc for GA (#17438)

* Update Topology Manager docs (#17451)

* Added information on how device plugins can take advantage
of Topology Manager
* Updated the Topology Manager documentation to include additionalinformation and update some out of date sections

* Fix broken Topology Manager link (#17746)

Part of What's Next Device Plugin section

* Update CRD defaulting docs for GA (#17450)

* Add documentation for VolumeSnapshot Beta (#17233)

* Updating EndpointSlice documentation for beta release in 1.17 (#17411)

* (docs/dualstack): v1.17 updates (#17457)

* Add placehold doc updates for dualstack in 1.17

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add Downward API and /etc/hosts Pod IP validation

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* remove addressed known issue via k/k pr 85246

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Remove known issue and add flag as part of k/k 79993

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* remove follow up placeholders

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update verbiage

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Make IP addressing consistent throughout the task

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update to status.podIPs

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update content/en/docs/tasks/network/validate-dual-stack.md

Use set instead of env

Co-Authored-By: Khaled Henidak (Kal) <khnidk@outlook.com>

* add topology.kubernetes.io/zone, topology.kubernetes.io/region and node.kubernetes.io/instance-type labels to docs (#17498)

Signed-off-by: Andrew Sy Kim <kiman@vmware.com>

* Service topology alpha documentation (#17459)

* Update list of feature flags for in-tree plugins migrated to CSI (#17533)

Signed-off-by: Deep Debroy <ddebroy@docker.com>

* Update Node concept for TaintNodesByCondition going GA (#17577)

* feat: graduate ResourceQuotaScopeSelectors to GA in 1.17 (#17554)

* kubeadm: update the upgrade documentation for 1.17 (#17587)

* doc: Simplify Windows deployments with RuntimeClass (#16697)

* doc: Simplify Windows deployments with RuntimeClass

* Updating on review feedback

* doc: Adding windows-build label from enhancement 1301

* update doc for kubelet option --reserved-cpus (#17648)

* feat: update TaintNodesByCondition in feature gates table (#17377)

* Update docs for v1 resource quota configuration (#17547)

* AdmissionConfiguration v1 (#17548)

* Update WebhookAdmissionConfiguration examples (#17549)

* Update AWS EBS Migration Feature state (#16126)

* Add resource version section to api-concepts documentation (#16910)

* Add Resource Version semantics section to api concepts

* Clarify risks of going back in time, add details about compaction and watch cache sizes

* Apply suggestions from liggitt

Co-Authored-By: Jordan Liggitt <jordan@liggitt.net>

* remove pesudocode, apply feedback

* Fix typo

* Clarify equality rules

* Cleanup kubectl generators docs (#17609)

* Write ReplicationController without a space

* Drop mentioning unsupported cluster versions

* Fix capitalization for “API group”

* Tweak wording

* Avoid using deprecated generator in example

* add Antrea description in dev-1.17 (#17919)

* Promote VolumeSubpathEnvExpansion to GA

* Reference Documentation for the Kubernetes API for 1.17 (#18019)

* Update feature-gates.md (#18033)

* Reference Documentation for kubectl Commands for 1.17 (#18017)

* Update for v1.17 (#18034)

* Update config.toml(release-1.17) for 1.17 (#18031)
2019-12-09 16:11:29 -08:00
Jason Hall 459fe87540 Remove readOnly:false from Downward API volume examples (#17661)
Downward API volumes are not writeable, even if readOnly:true is set, so
including this in the example is potentially confusing for users.
2019-11-30 18:49:03 -08:00
zhouya0 9ba54f5da6 fix secret not working (#17810) 2019-11-26 16:45:21 -08:00
diguage 9d21f9c105 upgrade ubuntu docker image 14.04 → 18.04 (#16926) 2019-11-04 13:28:11 -08:00
Ismail Alidzhikov 03cbde63e8 en: Fix fluentd image (#16959)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-16 16:24:39 -07:00
Daan Seynaeve e6a6e422bd fix bug in work-queue implementation for 'Fine Parallel Processing Using a Work Queue' (#16625) 2019-10-06 18:59:08 -07:00
Marcin Niemira 16b067cba5 fix alignment in examples emptydir-pod.yaml (#16673) 2019-10-06 04:37:09 -07:00
Benjamin Fuller 8c0be10bfd Update docs to include example of tolerations in a pod (#16157)
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-27 13:33:35 -07:00
diguage 5807a91689 keep content and file name to be consistent (#16532) 2019-09-24 00:49:26 -07:00
Kubernetes Prow Robot 72068890d3
Merge pull request #16225 from simplytunde/merged-master-dev-1.16
Merged master into dev-1.16
2019-09-12 08:58:27 -07:00
Lachlan Evenson 610f706675 IPv4/IPv6 dual stack docs (#16010)
* initial commit for IPv4/IPv6 dual stack docs

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Remove warning, Add What's next section

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add Service section
Add Provising a dual stack Kubernetes cluster section
Add Ecosystem tooling section
Update prerequisites
Update flags
Update supported features
Move validation to task
Add Service validation

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Remove ecosystem tooling
Remove provisioning tools
Add backtics to ipFamily values
Update loadbalancer section

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Fix feature gate link typo

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Update to dual-stack
Add default use-case to Service validation
Add note to default Service behaviour
Add default Service example
Update egress routing description

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update api-server to the API server
Fix small typo based on feedback

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Add for_k8s_version feature state

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update service IP address verbiage to be more concise

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Move to tasks/network

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Move dual-stack under services-networking

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Remove dual-stack from glossary
Add codenew blocks
Split command from output
Renamed pod name
Created subheading to validate node and pod addressing

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>

* Verbiage update based on review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Apply suggestions from code review

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-09 08:27:19 -07:00
simplytunde 1387d8501e
Merge branch 'dev-1.16' into merged-master-dev-1.16 2019-09-09 07:43:45 -05:00
Wei Huang 015fe705f0 Documenting how to use EvenPodsSpread feature (#15514)
* Documenting how to use EvenPodsSpread feature

* address comments

* address comments

* address sftim's comments

* move to folder workloads/pods

* address comments

* move yamls to examples folder and reference back in the document

* Link from scheduling to topology spread constraints
2019-09-07 10:47:18 -07:00
simplytunde b440eed496 Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-05 03:12:16 -05:00
inductor 60746a7153 update example nginx to 1.17 (#16045) 2019-09-04 20:10:51 -07:00
simplytunde 6c66ccd456 Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-08-23 12:43:41 -05:00
Claudiu Belu 98533bdfb9 Windows: Adds RunAsUserName related documentation (#15378)
Recently, the RunAsUserName feature has been added, allowing users to
run Windows containers with custom usernames, different from the image
default usernames.

Adds documentation regarding its prerequisites, feature gate, usage,
restrictions, and samples.
2019-08-19 06:37:30 -07:00
Oz N Tiram 4d14e98b08 Fix syntax broken highlighting (#15830)
Hugo's highlighter does not understand a variable name with angle
brackets, and breaks the coloring.
2019-08-13 13:53:41 -07:00
Kohei Toyoda d6bcc7b8d9 Fix orders of yaml for examples. (#15763) 2019-08-09 14:33:15 -07:00