Commit Graph

381 Commits (23471aabee750447441cd0cef09b9cf303a46796)

Author SHA1 Message Date
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
Max Kaminskiy 7126c8e9b5 Fixed typo. From utf=8 to utf-8. (#15684) 2019-08-05 20:21:53 -07:00
zwwhdls a0084c609d change the service account name in tutorial (#15260) 2019-07-06 04:08:34 -07:00
Marcin Niemira e174e79438 Fix alignment in examples/pods/storage/pv-pod.yaml (#15198) 2019-07-01 03:15:22 -07:00
flytreeleft cda3efa8ee Fix MySQL slave node can not sync data with the master node in examples/application/mysql/mysql-statefulset.yaml: (#13054)
- Ignore 'xtrabackup_slave_info' if it is an empty file.
- Remove the tailing semicolon in 'xtrabackup_slave_info'.
- Stop script when 'CHANGE MASTER' is failed, then rename 'change_master_to.sql.in' only when changing master is successful.
2019-06-28 22:59:24 -07:00
zwwhdls e089eab6fb update tutorial not to use ‘kubectl run’ for creating deployment (#14980)
* update tutorial not to use ‘kubectl run’ for creating deployment

* fix code stype

* fix text stype

* fix ordered list

* delete blank line for md
2019-06-26 11:17:21 -07:00
Taylor D. Edmiston a688849341 Make indentation consistent (#15118) 2019-06-25 18:15:14 -07:00
John Law 58f108a489 Update shell-demo.yaml (#14892) 2019-06-19 13:04:20 -07:00
mohamed chiheb ben jemaa b9a5c8d7b0 update tutorial to use deployment yaml file (#14959)
* update run command for deployment

* recommended label name
2019-06-19 12:18:31 -07:00
Richard Marcum d778644a2d Rename zones on dns-pod-service page (#14672)
* Rename zones on dns-pod-service page

Issue with k8s.io/docs/concepts/services-networking/dns-pod-service/ - cluster.local #14386

* Update custom-dns.yaml

* Change remaining occurrences of cluster.local
2019-06-18 15:42:34 -07:00
Tim Bannister 7b44b7a3df Downloadable examples for “Run applications” section (#14147)
* Move examples ahead of commands that use them

In support of https://github.com/kubernetes/website/issues/12740

The aim is to adopt a consistent style around providing downloadable
examples for use with kubectl, etc.

* Tweak wording for stateful app pod example

* Adopt formatting conventions for code blocks

* Move ReplicationController sample YAML to examples

In aid of https://github.com/kubernetes/website/issues/12740

* Move PodDisruptionBudget sample YAML to examples

In aid of https://github.com/kubernetes/website/issues/12740

* Update test schema for new examples

* Use Unicode ellipsis in example

Aim here is to make the elision more obvious
2019-06-10 19:48:17 -07:00
Tim Bannister 7289483c7d Update “Autoscale the DNS Service in a Cluster” (#14525)
* Mark code blocks for syntax highlighting

* Use glossary tooltips where appropriate

* Reword DNS horizontal autoscaling task

- Mention that addons manager is deprecated
- Use unordered list for “What's next”

* Note AMD64 instruction set assumption

* Update to more recent cluster-proportional-autoscaler

Based on sample configuration in https://raw.githubusercontent.com/kubernetes/kubernetes/beba9921aa1a73431bf322ffa17df6b2aa314b0c/cluster/addons/dns-horizontal-autoscaler/dns-horizontal-autoscaler.yaml
2019-06-05 22:34:09 -07:00
Martin Vladev a55e66f9ef Remove initializers feature gate (#14602)
* Remove initializers feature gate

Initializers are removed in 1.14
kubernetes/kubernetes#72972

* Update feature-gates.md
2019-05-29 20:10:19 -07:00
Martin Vladev 8e541844e9 Use `runtime/default` for seccomp. (#14616) 2019-05-29 19:34:20 -07:00
Seth 7f888c11f3 Pod yaml command and change pod curl (#14448) 2019-05-21 13:40:06 -07:00
Raj Vaibhav Dubey 6930b2167f Changed the redisslave version from v1 to v3. (#14276) 2019-05-20 05:21:15 -07:00
s-ito-ts 7b7caf3b77 Fix orders of yaml for tasks/administer-cluster/[l-z]*.go (#14245) 2019-05-09 04:40:48 -07:00
s-ito-ts 5a89ffb684 Fix orders of yaml for tasks/administer-cluster/[a-k]*.go (#14241) 2019-05-08 22:44:47 -07:00
cmluciano f43a96d548 ingress: Use networking.k8s.io/v1beta1 in Ingress examples (#14239)
This patch swaps all uses with extensions/v1beta1 with the new
networking.k8s.io/v1beta1 apiVersion for the Ingress resource.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-08 14:14:38 -07:00
Elvadas NONO 37df3efaf9 Documentation LimitRange Policies (#14086)
*  Documentation LimitRange Policies

* Fixing limirange docs issues

*  Style and grammar

* Reviewer wanted

*  syntax and grammar feedbacks
2019-05-07 22:32:34 -07:00
Prankul 25ec99b46b Change image name in redis_pod.yaml; k8s.io/docs/tutorials/configuration/configure-redis-using-configmap/ (#14177) 2019-05-06 17:39:39 -07:00
wangyamei 34d8d57473 make the example consistent with the test (#13906) 2019-05-04 20:55:37 -07:00
Julio Lopez 5621bc1ee1 Fix key name in pod-configmap-volume-specific-key.yaml example (#13599)
Changes the key name to `SPECIAL_LEVEL` in the config map volume definition.
This is consistent with the rest of the example. Otherwise, this pod does not
start because there is no key with that name in the `special-config` config map.
2019-04-19 09:37:54 -07:00
Rajesh Deshpande 67aa1fa26a Define container environment variables using Secret data (#13800)
* Example for injecting single secret as env variable

Define a container environment variable with data from a single Secret

* Env variable using secret data

* Update pod-single-secret-env-variable.yaml

* Adding example for multiple env variable using secrets

Adding example for multiple env variables using secrets

* Create pod-secret-envFrom.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-single-secret-env-variable.yaml

* Update pod-multiple-secret-env-variable.yaml

* Update pod-single-secret-env-variable.yaml

* Different ways to add env variable using secret

Adding different ways to add env variable in pod using secret

* Correcting formatting issues

Correcting formatting issues

* Correcting format issue
2019-04-14 17:48:00 -07:00
Taher Bohari 000aa4520e Update podManagementPolicy of StatefulSet object (#13210)
In given manifest, podManagementPolicy is set as Parallel, but in later section of page, the console logs of "kubectl get pods -w -l app=zk" command displays ordered behavior, which is not the actual result in case of Parallel option.

Sample logs from doc : 
NAME      READY     STATUS    RESTARTS   AGE
zk-0      0/1       Pending   0          0s
zk-0      0/1       Pending   0         0s
zk-0      0/1       ContainerCreating   0         0s
zk-0      0/1       Running   0         19s
zk-0      1/1       Running   0         40s
zk-1      0/1       Pending   0         0s
zk-1      0/1       Pending   0         0s
zk-1      0/1       ContainerCreating   0         0s
zk-1      0/1       Running   0         18s
zk-1      1/1       Running   0         40s
zk-2      0/1       Pending   0         0s
zk-2      0/1       Pending   0         0s
zk-2      0/1       ContainerCreating   0         0s
zk-2      0/1       Running   0         19s
zk-2      1/1       Running   0         40s

## here pods are created in order

Actual results after applying the given manifest : 
[taher@kubernetes-docker ~]$ kubectl apply -f zookeeper.yaml
service/zk-hs created
service/zk-cs created
poddisruptionbudget.policy/zk-pdb created
statefulset.apps/zk created
[taher@kubernetes-docker ~]$ kubectl get pods -w -l app=zk
NAME   READY   STATUS              RESTARTS   AGE
zk-0   0/1     Pending             0          3s
zk-1   0/1     Pending             0          3s
zk-2   0/1     ContainerCreating   0          3s
zk-1   0/1   Pending   0     4s
zk-0   0/1   Pending   0     4s
zk-1   0/1   Pending   0     5s
zk-0   0/1   Pending   0     5s
zk-1   0/1   Pending   0     5s
zk-1   0/1   ContainerCreating   0     5s
zk-0   0/1   Pending   0     5s
zk-2   0/1   Running   0     19s
zk-1   0/1   Running   0     24s
zk-2   1/1   Running   0     35s
zk-1   1/1   Running   0     37s

## here pods are created in parallel

Resolution :
Either change the value of podManagementPolicy option to OrderedReady or remove that option, so that StatefulSet will take it's default behavior.
2019-04-09 22:32:12 -07:00
Ricardo Cordeiro 5d83dcbf46 Fixes `runAsGroup` security context example (#13535) (#13538) 2019-04-09 18:56:12 -07:00
Ismail Alidzhikov 5125996183 Update fluentd image (#13661)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-04-07 20:34:24 -07:00
Dani Comnea 6632298c88 Test examples files in configmap directory (#13128) 2019-03-14 06:44:23 -07:00
Qiming 253480646a Fix Travis example tests for release-1.13 (#13145)
xref: #13122
2019-03-13 10:47:39 -07:00
Dani Comnea da20b139da Update configure-service-account task file to reference pod spec file from examples dir (#13065) 2019-03-12 12:38:39 -07:00
Naoki Oketani 7d53822a81 Modify indent from 3 to 2 spaces (#13056) 2019-03-12 11:26:44 -07:00
Dani Comnea e38f800d81 Add codenew shortcode to configure-pod-configmap task file and sanitize the example files (#13078) 2019-03-11 20:28:38 -07:00
Tomáš Kukrál f6033fccc8 fix indentaion in hpa deployment (#12893) 2019-03-07 16:50:03 -08:00
WanLinghao 268c9473a5 Add docs to illustrate how to schedule pod to specific node (#12871) 2019-02-27 21:22:19 -08:00
Andrew Sy Kim 35d0d34959 remove cloud controller manager docs on using Initializers for PV labeling (#12375) 2019-02-17 08:26:48 -08:00
Ben Kuhn 7f3eb1dac6 Better example of a preStop hook for nginx (#12563)
It looks like `nginx -s quit` returns immediately rather than blocking until nginx has finished gracefully shutting down. As a result, just running `nginx -s quit` in the preStop hook won't work very well for high load and/or long running requests; nginx will get a TERM signal (and do a hard shutdown) immediately after `nginx -s quit` returns.

(I was getting connection errors while terminating pods, and adding a sleep-until-done to the preStop hook seemed to make them go away.)
2019-02-17 07:40:45 -08:00