Commit Graph

82 Commits (eb6a2bb7b2eaed541d33e9a73234d45c1ac3c8ca)

Author SHA1 Message Date
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