Commit Graph

4318 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 07fa80f443 Merge pull request #20856 from willise/docs/affinity
docs: reorganize topologyKey constraints
2020-05-09 07:51:50 -07:00
Kubernetes Prow Robot 4e34fd1e2c Merge pull request #20854 from willise/docs/initContainer
docs: Add all probe explanation of init contaners
2020-05-09 07:43:50 -07:00
viniciusbds 471840944c Add cleanup topic 2020-05-09 10:23:26 -03:00
sharet-adl a3690b62a2 Fix couple of issues - display issue for pipe char, output for flag --server-print, labels sample, exec extra --, config sample missing newline
Proposing fixes for some issues in the page:

1. Handle display issue for the 'kubectl run' command, where pipe character ('|') is not properly escaped, so the text gets trimmed.  
Currently the text is rendered like this: "run	`kubectl run NAME --image=image [--env=“key=value”] [--port=port] [--replicas=replicas] [--dry-run=server".

The correct text will be displayed like:  
"kubectl run NAME --image=image [--env="key=value"] [--port=port] [--replicas=replicas] [--dry-run=server|client|none] [--overrides=inline-json] [flags]".  
Also, the description column would be displayed properly.

2. Fixing output of 'get pods' command, when flag --server-print is set to false.  
The only displayed columns would be NAME and AGE.  

3. Fixing description and sample command for delete pods (kubectl delete pods,service ..), where 'label-name' text is ambiguously used as the label's value. Labels are key-value pairs.  
Suggested way of writting it:  
"# Delete all the pods and services that have the label '<label-key>=<label-value>'.  
kubectl delete pods,services -l <label-key>=<label-value>"

Another way to write it could be:  
"# Delete all the pods and services that have the label 'name=<label-value>'.  
kubectl delete pods,services -l name=<label-value>"

4. Updating the syntax for three 'kubectl exec' commands, to include the '--' before the user's command, to be inline with current way of working and to avoid deprecation message.  

5. Enhance sample for 'kubectl config' command, where the newline was not handled properly.  
Before:  
[user@wstation ~]$ kubectl config view --template='{{ range .contexts }}{{ if eq .name "'$(kubectl config current-context)'" }}Current user: {{ .context.user }}{{ end }}{{ end }}'  
Current user: kubernetes-admin[user@wstation ~]$

After:  
[user@wstation ~]$ kubectl config view --template='{{ range .contexts }}{{ if eq .name "'$(kubectl config current-context)'" }}Current user: {{ printf "%s\n" .context.user }}{{ end }}{{ end }}'  
Current user: kubernetes-admin  
[user@wstation ~]$
2020-05-09 12:54:02 +03:00
willise fd16ff5529 docs: reorganize topologyKey constraints
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
2020-05-09 14:44:25 +08:00
willise 6e64f84983 docs: Add all probe explanation of init contaners
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
2020-05-09 11:03:47 +08:00
gujingit c349c7dfd2 Add content about the Alibaba cloud provider 2020-05-09 10:49:19 +08:00
Kubernetes Prow Robot 22d2069bc0 Merge pull request #20417 from viniciusbds/issue-20414
Remove the --generator deprecated flag of a tutorial
2020-05-08 19:45:52 -07:00
Kubernetes Prow Robot 650845a4bf Merge pull request #20747 from prasadkatti/patch-1
[kubeadm] warn if kernel/docker/etcd version(s) are older than the min required version(s)
2020-05-08 19:43:52 -07:00
Kubernetes Prow Robot ba1e890aaa Merge pull request #20720 from afmsavage/patch-1
Fixed configure-access-multiple-clusters.md
2020-05-08 19:41:52 -07:00
Kubernetes Prow Robot 421caff2b5 Merge pull request #20741 from jqmichael/patch-2
Made autoscale command more explicit
2020-05-08 19:39:52 -07:00
Kubernetes Prow Robot eef6edfb93 Merge pull request #20738 from fml2/feature/Document-char-encoding-in-mapped-volumes
Document char encoding in mapped volumes
2020-05-08 19:37:51 -07:00
Kubernetes Prow Robot 29268394e6 Merge pull request #20761 from sftim/20200504_drop_endpointslice_feature_callout
Don't mention EndpointSlice resource on front page
2020-05-08 19:33:52 -07:00
iaoiui af50366896 Some docs incorrect v1.18 kubectl run command (#20784)
* use "kubectl create deploy" instead of "kubectl run"

* omit whitspace fix

* omit whitspace fix

* avoid shorthand
2020-05-08 19:27:52 -07:00
Kubernetes Prow Robot 9c8e3c5130 Merge pull request #20819 from rkamudhan/patch-8
adding OVN4NFV-K8S-Plugin in addons
2020-05-08 19:19:51 -07:00
Kubernetes Prow Robot 3c676d5e73 Merge pull request #20812 from prasadkatti/patch-2
Update feature state for APIListChunking
2020-05-08 19:17:52 -07: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
Kubernetes Prow Robot 68283c7717 Merge pull request #20816 from rkamudhan/patch-7
Adding OVN4NFV-K8S-Plugin in networking.md
2020-05-08 19:13:52 -07:00
Kubernetes Prow Robot 7b8a28bd26 Merge pull request #20840 from GauravJain98/master
fixed ingress minikube 2nd deployment commands
2020-05-08 19:11:53 -07:00
Kubernetes Prow Robot b92cd32196 Merge pull request #20833 from prasadkatti/pdb_feature_state
Add feature state for PodDisruptionBudget
2020-05-08 19:09:52 -07:00
Prasad Katti 8b7205183d Add PodDisruptionBudget to feature gates reference 2020-05-08 08:35:47 -07:00
Gaurav Jain b683006914 fixed ingress minikube 2nd deployment commands 2020-05-08 16:02:27 +05:30
Kubernetes Prow Robot 21d910d5a8 Merge pull request #20788 from nikitakalyanov/tinyfix-helloworld-1
Remove reference to deprecated image
2020-05-08 01:59:42 -07:00
Kubernetes Prow Robot d41aaf877e Merge pull request #20824 from juampynr/patch-1
Fix syntax error
2020-05-08 01:55:42 -07:00
Kubernetes Prow Robot 82ca68492e Merge pull request #20830 from prasadkatti/fix_pdb_example
Fix cluster state in example on Disruptions concept page
2020-05-08 01:49:43 -07:00
Kubernetes Prow Robot 1e48ec3ef7 Merge pull request #20790 from DanRoscigno/patch-1
Update step deploying `kube-state-metrics` in "Example: Adding logging and metrics..."
2020-05-07 22:21:43 -07:00
Prasad Katti d1952bf98c Add feature state for PodDisruptionBudget 2020-05-07 16:09:18 -07:00
fml2 d1ff4e7c12 Document that UTF-8 is used when exposing configMaps as files 2020-05-07 23:45:43 +02:00
Prasad Katti 4b1a41b1ca Fix cluster state in example on Disruptions concept page 2020-05-07 14:25:29 -07:00
Kubernetes Prow Robot a6c6be1f27 Merge pull request #20805 from boskoop/deployment-recreate-edge-case
Pod lifecycle edge-cases for Recreate strategy
2020-05-07 14:07:42 -07:00
Kubernetes Prow Robot 20392aedad Merge pull request #20605 from aapeliv/master
Fix typo in content/en/docs/concepts/services-networking/service.md
2020-05-07 10:45:10 -07:00
Kubernetes Prow Robot 4f7477c844 Merge pull request #20778 from prasadkatti/kubelet_integration_doc
Update kubeadm-kubelet integration doc
2020-05-07 08:35:09 -07:00
Jai Govindani e381dc787a docs: tweak grammar, tenses, punctuation 2020-05-07 20:55:09 +07:00
Juampy NR 98a90113bc Fix syntax error 2020-05-07 10:18:06 +02: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
Kuralamudhan Ramakrishnan 1a04e1471d adding OVN4NFV-K8S-Plugin in addons 2020-05-06 20:52:14 -07:00
Kuralamudhan Ramakrishnan d8172b6aab Update networking.md 2020-05-06 20:39:53 -07:00
Kubernetes Prow Robot f3891c9baf Merge pull request #20715 from bridgetkromhout/cluster-cidr-clarification
Clarification of formatting for IPv4/IPv6 CIDRs
2020-05-06 18:25:08 -07:00
Prasad Katti 237551019f Update feature state for APIListChunking
APIListChunking is beta since v1.9
2020-05-06 18:03:06 -07:00
Kevin Taylor 4ed975af84 Remove reference to VolumeSubpathEnvExpansion feature gate 2020-05-06 17:47:54 -07:00
Monis Khan 45551e8cba Remove support for basic authentication
Signed-off-by: Monis Khan <mok@vmware.com>
2020-05-06 17:47:54 -07: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
Christian Bürgi cf2d2b7970 Pod lifecycle edge-cases for Recreate strategy
Document Pod lifecycle behavior edge-case when using a Recreate strategy. This should document the "unexpected" behavior discussed in kubernetes/kubernetes#58814
2020-05-06 19:58:58 +02:00
Nikhil Jagtiani 14c07ede73 logs command to check etc/hosts file corrected
hosts file can be viewed using exec command.
2020-05-06 14:38:59 +05:30
Jay Beale 78de298fa5 Documenting read-only rootfs for issue 17927
Issue 17927 (https://github.com/kubernetes/website/issues/17927) asks for a change to this task-focused doc on security-context. It notes that this doesn't mention read-only root filesystem, while it's documented in the PSP page. This adds a bullet for read-only rootfs, clarifies that the bulleted list isn't comprehensive, and tells someone reading the list where to find more. The link is copied from the existing What's Next link list.
2020-05-05 22:38:37 -07:00
DanRoscigno 00ad32d542 correct scaling instructions 2020-05-05 23:57:03 -04:00
Dan Roscigno 8576da2d9e Update guestbook-logs-metrics-with-elk.md
Fix path for `kube-state-metrics`
2020-05-05 23:31:46 -04:00
Kubernetes Prow Robot 93e2ae3e96 Merge pull request #20766 from prasadkatti/patch-2
Set feature state version for kubelet config task
2020-05-05 13:51:09 -07:00
Kubernetes Prow Robot 45537f7e0b Merge pull request #20770 from prasadkatti/patch-5
Update the text for a link to match page title
2020-05-05 11:11:09 -07:00
Kubernetes Prow Robot 5f09fa4814 Merge pull request #20602 from Huang-Wei/Introducing-PodTopologySpread
Blog introducing PodTopologySpread
2020-05-05 10:33:09 -07:00