Commit Graph

860 Commits

Author SHA1 Message Date
Rong Gao 851cd9e774 change the daemonset specific exception (#17242) 2019-11-01 23:21:40 -07:00
Luzhenxing 3aab039ac4 change kubectl get deployment output (#17351) 2019-11-01 21:31:40 -07:00
Luzhenxing e999c0398d change minikube install cmd on macOS (#17296) 2019-11-01 08:09:25 -07:00
bladepoint f65a6fe7a8 Update horizontal-pod-autoscale-walkthrough.md (#17206) 2019-10-29 18:26:53 -07:00
Dr Nic Williams cdc590065c base64 --decode works across Linux and MacOS (#17240)
Signed-off-by: Dr Nic Williams <drnicwilliams@gmail.com>
2019-10-29 18:24:53 -07:00
Luzhenxing 8db2d7bdd2 fix issue 17274 (#17277) 2019-10-29 14:14:53 -07:00
Mitesh Jain 7fa51c98d9 Update k8s version info for etcd encryption feature in securing-a-cluster. (#17027) 2019-10-27 18:45:25 -07:00
Christopher "Chief" Najewicz 18e3f8dadd Update cluster-management.md (#17150)
* Update cluster-management.md

Fix link to version-skew upgrade doc

* Update cluster-management.md

fix pathing
2019-10-27 18:19:25 -07:00
Nate Reid 4b33e8a612 Update declare-network-policy.md (#17234) 2019-10-27 17:59:24 -07:00
Dirc 998fb53f74 fix typo (#17188) 2019-10-26 08:17:23 -07:00
vanou b7425c994c Fix inconsistency of note on command example (#17154)
In doc on Declarative Management of K8s object, there is explanation
of 'Default field values of K8s object set by K8s apiserver'.
In this explanation, there is examples of resource of K8s object.

And in this example, there is notes on what field value is set by
apiserver by default. But there is lack of a word in one of these
notes. This commit fixes it.
2019-10-23 20:11:07 -07:00
shub-asa1 ef602a8bc5 adding details for all official client libraries . Fix for issue #16906 (#16940)
* adding details for all official client libraries .

there are six official client libraries for kubernetes. Added details and example for each language .Fix for issue #16906

* few typos and syntax mistakes resolved

* Update access-cluster-api.md

* removing extra code from haskell client
2019-10-23 09:04:15 -07:00
Dan Winship 5ab1671aa3 Add documentation about kernel module autoloading security (#15451) 2019-10-23 09:00:19 -07:00
Ahmet Alp Balkan 31bd87aea6 Document: how to install/distribute plugins with Krew (#16322)
* Document: how to install/distribute plugins with Krew

Context: Krew (https://sigs.k8s.io/krew) is a Kubernetes SIG CLI sub-project
that's been available for over a year. It is considered to be the de-facto tool
to discover and install kubectl plugins.

This patch details:
- how to use Krew to discover/install plugins
- how to distribute a kubectl plugin (with traditional package managers or
  using Krew).

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Address PR comments

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-10-23 08:58:15 -07:00
Ed Randall f67eae9a8d In-pod API access without official lib (#16884)
* Short example of internal API usage without official libs

* Bump subheading sizes by 1; Incorporated review comments;
2019-10-23 08:54:17 -07:00
Rajesh Deshpande fe74e3f318 Adding references to page for better understanding (#16995)
Adding all required reference links to the page for better navigations to understand related concepts.
2019-10-23 08:44:16 -07:00
Rajesh Deshpande 8d51203aef Adding whats next section to configure service account (#16994)
Adding What's next section to the 'configuring service account' page which was missing earlier. Also, moved informative statement about document to 'Note' section
2019-10-23 08:40:15 -07:00
Rajesh Deshpande b0df02500f Modifying adding label to node steps (#16993)
* Modifying adding label to node steps 

Existing steps does not show what labels the node has before adding a new label. So I have changed the command to list out node along with their labels before adding any new label. This will help first-time readers to understand existing labels and then how we can add a new label and display it.

* Update content/en/docs/tasks/configure-pod-container/assign-pods-nodes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-10-23 08:38:17 -07:00
Ismail Alidzhikov 7a31f11608 Update link (#16966)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-23 08:32:15 -07:00
Luzhenxing 14f9b40f66 modify example error about hpa of autoscaling/v2beta2 HorizontalPodAutoscaler (#16950) 2019-10-23 08:30:18 -07:00
shub-asa1 1ef74de2ab syntax error in a command fix (#16980)
fix for issue #16972
2019-10-23 08:28:16 -07:00
Kevin Kelani 228ac01c84 Fixes path in first ingress resource yaml (#17017)
When the second path is attached to `example-ingress` for `/v2` it doesn't work because the first path captures all paths. Solution is the make the `/` capture everything except `/v2` (also captures `/v2/<anything else>`)
2019-10-23 08:24:19 -07:00
Himanshu Pandey d600ed6f0c Added source location for kube-up.sh (#17016) 2019-10-23 08:22:16 -07:00
Mitesh Jain 9b33cfd360 Remove k8s version references for MetricsServer in resource-metrics-pipeline. (#17028) 2019-10-23 08:18:16 -07:00
Mike Parker e3aeebed31 Update install-kubectl.md (#17110)
Docker for Windows is now called Docker Desktop for windows
2019-10-23 08:12:17 -07:00
Yuk, Yongsu d437e8c6bc en: Change the full link in the document to an inline link. (#17057)
* Change the full link in the document to an inline link.

grep -r "https \: \ / \ / kubernetes \ .io" content/en/docs
Changed to inline link except the following list.
- URLs are mentioned directly in the body
- release note
- url to blog
- url to community
- Url to be redirected

* Apply suggestions from code review

Co-Authored-By: June Yi <june.yi@samsung.com>
2019-10-23 06:20:14 -07:00
Nikolai Guyot 2f44e578aa Fix link to Kubernetes Object Management page (#16941) 2019-10-17 20:27:58 -07:00
bnjf abb432a9d8 Update nodelocaldns.md (#16440)
DNSCahe -> DNSCache
2019-10-17 19:59:57 -07:00
Deep Debroy 18a466afd0 Update GMSA docs for beta in v1.16 (#16579)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-10-14 16:15:51 -07:00
diguage 03456f1a72 update client-go to the latest version to keep in sync with client-go example (#16536) 2019-10-14 16:11:51 -07:00
shub-asa1 a6c0b0c698 fix for issue #16629 (#16853)
* fix for issue #16629

this is a fix for issue #16629 .

* Update content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-10-14 15:43:51 -07:00
diguage 0acdd83541 fix url (#16846) 2019-10-14 15:39:51 -07:00
diguage 42247fdae1 modify the file name to increase the contrast (#16845) 2019-10-14 15:37:51 -07:00
Min Kim 81a2d02cef clarify that v1beta1 CRDs will have to opt-in pruning feature (#16807) 2019-10-14 15:29:51 -07:00
Suraj Banakar 7d7ec43842 Add info about logging into shell before removing /mnt/data (#16723)
* Add info about logging into shell before removing /mnt/data

details
----------
- rm -rf should be run after logging into the node shell

* Re-use text from start of the task with small tweaks
2019-10-14 15:21:51 -07:00
vishakha 3ecd4bb8d4 Fixing links in markdown for `logs` and `metrics` (#16843) 2019-10-13 23:22:36 -07:00
diguage ae06e93e22 fix url to ReplicationController (#16847) 2019-10-13 01:58:36 -07:00
Lubomir I. Ivanov 742880937b kubeadm: include a couple of workarounds in kubeadm-certs.md (#16726)
* kubeadm: include a couple of workarounds in kubeadm-certs.md

- add warning about --certificate-renewal=false bug.
- add warning about disable kubelet cert rotation on "init" nodes.

* Update content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-certs.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-10-12 02:26:38 -07:00
Bynov 38bd4aab72 Fixed invalid bash keyword (#16831) 2019-10-11 15:28:38 -07:00
Manish Bansal d468afa016 Improved static pod task documentation (#16709)
Improved indentation

Apply suggestions from code review

Co-Authored-By: Zach Corleissen <zacharysarah@users.noreply.github.com>

Removing bullets points

Same have been added inline as per suggestions

Removed trailing space
2019-10-10 01:24:54 -07:00
diguage 2086e135f6 replace depercated commands with new commands (#16610) 2019-10-09 13:25:49 -07:00
Yushiro FURUKAWA e177e4e782 Add explanation for "CN" (#16714)
* Add explanation for "CN" (#16456)

* Grammar nit
2019-10-09 13:21:50 -07:00
ReSearchITEng 99fccb9bbe completion for an alias also (#16701)
* completion for an alias also

how to do bash completion for an alias also (e.g. when there is an alias k=kubectl)

* rephrasing
2019-10-09 13:19:50 -07:00
diguage 8a3036f519 fix ordered list (#16768) 2019-10-09 13:11:49 -07:00
relyt0925 7927610e05 remove section saying static pods can't have health checks (#15956)
* remove section saying static pods can't have health checks

* fix nits
2019-10-09 06:03:51 -07:00
Sarah Brofeldt 97480b2fce PDBs are updateable since 1.15 (#16738) 2019-10-08 18:05:52 -07:00
Ashish Billore 591d23be86 Minor updates (#16737)
Minor updates to the description.
2019-10-08 18:01:51 -07:00
sudeepbatra 2f6c52dd47 Update access-cluster-api.md (#16461)
Cluster-API is different project, hence the correct text here should be Kubernetes API
2019-10-08 16:31:52 -07:00
mohamed chiheb ben jemaa 849dc428db Issue with k8s.io/docs/tasks/configure-pod-container/static-pod/ (#16189)
* delete depracted  option --pod-manifest-path

* change configuration file to manifests

* update to suggested wording
2019-10-08 15:51:51 -07:00
Tim Bannister 4b64338f15 Fix typo (#16728) 2019-10-07 20:23:11 -07:00
Manish Bansal 05231ff19d Documentation update (#16693)
* Documentation update

Fixed link and its description

* Corrected

* Incorporated review comment

* Incorporated review comment
2019-10-07 00:31:09 -07:00
Rob Scott dc355a0fad Adding clarification that Endpoints are still required when EndpointSlices are enabled (#16684) 2019-10-06 04:33:09 -07:00
Mark McLoughlin 34f1a7779c Trivial fixes to topology manager docs (#16663)
* Add missing newline to topology manager docs

* Fix typo

Pointed out by Karen Bradshaw
2019-10-03 09:50:12 -07:00
Dimitri Mitropoulos 1d52c31c86 typos: missing indefinite article and tense (#16598) 2019-10-01 10:45:34 -07:00
Naoki Oketani d223df1f69 added missing backquote (#16596) 2019-09-30 11:17:38 -07:00
Tomasz Jakubik 09ca7dd95e Fix link to script generating audit policy (#16570)
Script that generates audit policy file can change, so it's better to point user to file instead of specific line
2019-09-27 14:32:42 -07:00
David Benque b2ad42d1a4 Fix link to `scale subresource` (#16566)
add missing leading /
2019-09-27 14:30:43 -07:00
manyatripathi 19ff9cf17d Update topology-manager.md (#16580) 2019-09-27 14:20:43 -07:00
Mesaque Silva 0d32568251 wrong path of kube-scheduler (#16051)
updating line 51 to correct the path for kube-scheduler
2019-09-27 13:53:36 -07:00
Tim Bannister 79ef4a50a9 Use more glossary shortcodes (#16086) 2019-09-27 13:43:36 -07:00
Syed Awais Ali 61fd2ab61e update install command for Mac OS (#16177)
when copying/pasting the command to install the Kubernetes on Mac OS using zsh, the command results in the following error,
`The specified key does not exist.`. This is usually because of the `\` that zsh automatically inserts into the command. The best practice is to use double-quotes and this is also the standard method according to https://google.github.io/styleguide/shell.xml?showone=Quoting#Quoting
2019-09-27 13:27:36 -07:00
Artem V. Navrotskiy 168b7131f2 Update install-minikube.md (#16180) 2019-09-27 13:23:36 -07:00
Himanshu Pandey 9680192797 Added installation option for kubectl (#16380) 2019-09-27 12:05:37 -07:00
Tim Bannister 6e07eee895 Revise DNS Horizontal Autoscaling task (#16069) 2019-09-26 07:47:10 -07:00
wgj e449999373 Updates url for creating a sample user (#16412) 2019-09-25 19:33:08 -07:00
Andrej Marolt 313379c109 Change formatting of example-ingress.yaml (#16545) 2019-09-25 19:29:07 -07:00
Mans Matulewicz 84a1651d19 copy paste fix (#16548) 2019-09-25 19:27:07 -07:00
diguage 3a2a59c3e3 clean up the environment (#16430) 2019-09-25 15:15:05 -07:00
diguage 66cadd66b5 fix markdown syntax (#16452) 2019-09-25 10:46:02 -07:00
savitharaghunathan c751f5cfcf replacing html table with markdown (#16540) 2019-09-24 17:59:58 -07:00
Fabrizio Pandini 450803fb92 add-kubeadm-upgrade-redirects (#16519) 2019-09-24 14:33:58 -07:00
diguage 4b7a430999 fix upgrade url (#16517) 2019-09-24 05:37:27 -07:00
diguage 5807a91689 keep content and file name to be consistent (#16532) 2019-09-24 00:49:26 -07:00
Ed Randall 94bb13a1a2 Added missing in-pod Python client info (#16453) (#16460)
Issue #16453: Added missing in-pod Python client information;
Fixed broken link to external Python client example
2019-09-22 20:35:22 -07:00
Josh Woodcock ff1a982e6b Add basepath to ingress (#16458)
Without this change `curl hello-world.info` will return a 404
2019-09-22 20:33:22 -07:00
Eric Briand 99c450f59c Change title to add Startup probe (#16475)
* Change title to add Startup probe

* renamed task file to reflect title change

* changed intro sentence to add startup probe
2019-09-22 20:27:22 -07:00
Tim Schaller bb21787b7d Removing broken link (#16470)
The wiki page referenced has been removed. Removing the like here will stop some beginner confusion (take it from me I am a beginner).
2019-09-22 20:25:22 -07:00
mohamed chiheb ben jemaa d7dd8ef929 add statefulset to the list of object types hpa supports (#16425) 2019-09-20 11:21:25 -07:00
simplytunde e95ffa68fd Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-17 22:15:57 -05:00
mohamed chiheb ben jemaa e54743410d ssue with k8s.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ (#16285)
* change livenessprobe restart concept to container

* Update content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-12 10:14:29 -07:00
Maru Newby f7a969fd7b Fix title of audit task (#16230)
* Fix title of audit task

The content the title refers to indicates an intent of describing how
to configure auditing for multiple apiservers rather than multiple
clusters.

* Update content/en/docs/tasks/debug-application-cluster/audit.md

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-09-12 10:00:30 -07:00
Gyuho Lee 90899f2bca content/en/docs: highlight known etcd client issue (#16156)
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-12 09:58:29 -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
Rob Scott 28a61b15f4 Removing some tiny redundant parts of the EndpointSlice documentation (#16267) 2019-09-09 11:38:54 -07:00
Rob Scott 0f59654cbd Adding initial EndpointSlice documentation (#16018) 2019-09-09 10:21:18 -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
Louise Daly f83de3f601 Added documentation to support Topology Manager feature in Kubelet. (#15716)
* Added documentation to support Topology Manager feature in Kubelet.

	* Added new document outlining feature
	* Updated feature-gates.md to include feature gate for feature
	* Update kubelet.md to include kubelet flags for feature
	* Added Topology Manager reference to relevant pages

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

* Update Topology Manager Policies section
2019-09-09 05:39:18 -07:00
Joe Betz d29e8ebcf4 Add comprehensive CRD versioning flow to documentation (#16026)
* Add comprehensive CRD versioning flow to documentation

* Break down CRD versioning upgrade processes into steps, apply review feedback

* Reference doc section about custom resource storage migration in workflow documentation

* Add step to find any clients still on old version during CRD version migration

* Fix indentation in list in conversion end-to-end flow doc

* Fix spacing before lists in docs about conversion webhooks

* Fix two typos
2019-09-08 21:09:17 -07:00
Haowei Cai (Roy) 7559533774 add monitoring webhook documentation (#16238) 2019-09-08 06:25:17 -07:00
Deep Debroy 38eb2f7c38 Update GMSA credspec specification to refer to pod spec fields instead of annotations (#15706)
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-09-06 18:21:20 -07:00
Matthias Bertschy 762bd879ac Add docs related to KEP #950 (startupProbe) (#15714) 2019-09-06 13:37:20 -07:00
Lubomir I. Ivanov 520381ff66 kubeadm: update the upgrade documentation for 1.16 (#16015)
Move to a single document for upgrades!
2019-09-06 11:02:15 -07:00
Dr. Stefan Schimanski 99482ef7c4 CRDs: promote to v1 (#15982) 2019-09-06 07:33:00 -07:00
Zihong Zheng 90e86600df Update service load balancer finalizer doc for beta (#16020) 2019-09-05 09:47:09 -07:00
simplytunde b440eed496 Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-09-05 03:12:16 -05:00
Matt Dorn e05483d771 Make CRD w/ webhook conversion strategy example usable (#16105)
- Sample CRD will not work due to apiextensions.k8s.io/v1beta1 setting preserveUnknownFields to true by default. Set to `false`.
- Provide required `type: object` at `openAPIV3Schema` root for both versions to avoid `schema.openAPIV3Schema.type: Required value: must not be empty at the root` error.
2019-09-04 20:06:51 -07:00
Sebastian Florek e882afd3d0 Update Dashboard version (#16137)
*IMPORTANT*
It fixes lately discovered XSS vulnerability.
2019-09-04 20:02:51 -07:00
Naoki Oketani 8e919aa2c2 correct field name; lower camel case (#16206) 2019-09-04 07:40:59 -07:00
David Schneider 6583710fe9 Add link references which were removed with #16011 (#16140)
* Add link references which were removed with #16011

Signed-off-by: David Schneider <schneider@puzzle.ch>

* Move link references into correct capture block
2019-08-30 14:26:04 -07:00
simplytunde 6c66ccd456 Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.16 2019-08-23 12:43:41 -05:00
mohamed chiheb ben jemaa 92e439e124 split falco section to a new page (#16011) 2019-08-23 06:13:18 -07:00
Piyush Kumar f600acf2b6 Starting from nginx ingress controller Version 0.22.0 onwards, it uses placeholders /$1 or /$2 soon for rewrite-target annotation (#15504)
In nginx ingress controller Version 0.22.0 and beyond, any substrings within the request URI that need to be passed to the rewritten path must explicitly be defined in a capture group. Please refer doc here : 
* `https://kubernetes.github.io/ingress-nginx/examples/rewrite/#rewrite-target`
* `https://stackoverflow.com/a/55193468/5527839 `

Currently, what was mentioned in the docs, didnt work for me. I was using minikube version `1.2.0` which uses ingress above v0.21.0. After reading the docs provided in above two links, was able to figure out where it was lacking. Have mentioned the changes in the proposed file change.
2019-08-22 08:42:32 -07:00
Leo Di Donato 570ba84ac7 Fix links into Audit with Falco section (#15958)
* Fix links into Audit with Falco section

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>

* Fix typo in audit docs

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>

Co-Authored-By: Tim Bannister <tim@scalefactory.com>
2019-08-21 09:08:00 -07:00
oneoneonepig d66304c4b1 API Version Incorrect (#15734) 2019-08-20 19:53:20 -07:00
Leo Di Donato 21e9164485 Explain auditing with Falco (#14332)
Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Co-Authored-By: Radhika Puthiyetath <radhika.dwaraka@gmail.com>
2019-08-20 02:13:32 -07:00
aimeeu 361cf02a17 Add link to HorzPodAuto; add that there are other full pipelines (#15863)
Add link to Horizontal Pod Autoscaler; add that there are other
full metrics pipelines but those outside of CNCF are beyond the
scope of the k8s docs
2019-08-20 01:23:33 -07: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
praveen-kg cd62dbf71f Update update-api-object-kubectl-patch.md (#15923) 2019-08-19 03:01:30 -07:00
Naoki Oketani 06ddf5210c fixed a typo (#15918) 2019-08-18 17:56:03 -07:00
Quan Tian 2382c9ea4e Enable interpretation of backslash escapes in example (#15884)
Interpretation of backslash escapes should be enabled when echoing
newlines to a script, otherwise the example plugin is not runable.
2019-08-18 17:54:03 -07:00
Jakub Warczarek d08611b759 JSON to YAML for external LoadBalancer (#15891)
* Yaml instead of json for LoadBalancer

* Fixes from style guide

* Improve style

* Remove obsolete fragments
2019-08-18 17:50:03 -07:00
Burke Azbill 535e711f0e fix broken link (#15897)
Link for Configure a Pod to Use a ConfigMap is missing "map" from the link url.
2019-08-18 17:48:03 -07:00
Soto Sugita d0118a452b Fix incorrect command line (#15882) 2019-08-15 23:44:33 -07:00
simplytunde 5e8cf9b8a5 Merge remote-tracking branch 'upstream/master' into HEAD 2019-08-12 08:05:36 -05:00
Wojciech Tyczynski 6daa99cdd8 Remove references to selflinks (#15751) 2019-08-08 19:59:24 -07:00
Karen Bradshaw ad4bc58526 add weight to static-pod, fix date mirror-pod (#15752) 2019-08-08 17:21:25 -07:00
codyc c2b0321dbf added limits to walkthrough (#15707) 2019-08-07 14:49:19 -07:00
Manish Bansal 7bcc824779 Powershell note for kubectl patch command (#15308)
* Improvement for kubectl patch command

This command does not work in Powershell. A specific note would help the developers to take care of the same.

* Fixed review comments

Added different tabs for bash and PowerShell.

* Removing note for PowerShell

Hugo is not able to add note along with shortcode. Hence removing note.
2019-08-06 16:36:50 -07:00
Tim Bannister dd6f88dfe7 Reword & migrate static pod task page (#14831)
- Shape this to be more of a Task page
- Move static pod task to pod & container section
2019-08-06 16:22:49 -07:00
Tim Bannister 322e88de9a Update device plugin documentation + related pages (#14331)
* Update device plugin docs for Kubernetes 1.14

& related pages

This change is mainly about feature-state shortcodes & similar.

(if there's a way to get the short version string, eg "1.14" rather
than "v1.14", then that could go in place of the hard coded value
in this commit).

* Fix code block formatting

eg code blocks incorrectly marked as:
```shell

* Use glossary shortcodes where appropriate

* Hyperlink to Prometheus

* Tidy Markdown formatting

* Change example vendor domain name

Use a name inside ".example" to highlight that this is a DNS
domain name.

* Reword device plugins documentation

* Tweak headings for device plugins

* Add "what's next" to device plugins docs

* Tweak wording for device plugins docs

* Add KubeVirt device plugins
2019-08-06 16:00:52 -07:00
Ori Tzoran 492f6eb6c3 streamline `grep` usage in minikube_before_you_begin (#15360)
- tested on macOS with BSD's grep and GNU's. same flags, same output.
- there are some 55 CPU flags on mac, so highlighting VMX makes it
  easier to grasp
- using `egrep` on linux and `grep` on mac, not necessary
- precision: the VT-x feature is NOT an OS feature...
2019-08-06 15:10:50 -07:00
RA489 cf3c352881 None driver doesn't work with snap docker. (#15667) 2019-08-05 20:13:55 -07:00
Michael Vorburger ⛑️ d4a3eaa2f5 use log_path busybox.log instead of busybox/0.log in crictl.md (#15415)
because with busybox/0.log it fails as shown below (unless you mkdir busybox,
with the correct permission, which is an extra step we can avoid for a tutorial like this)

FATA[0000] Starting the container "3c71f8c3abfcac0f8357fa25be896062f05f88e1d9acbd7a033afeee9a54f3c4" failed: rpc error: code = Unknown desc = failed to create containerd task: failed to create container loggers: failed to create and open log file: open busybox/0.log: no such file or directory
2019-08-05 16:55:20 -07:00
janitha09 5a4088af42 Update install-minikube.md (#15087)
kubernetes-cli is now included as a dependency https://chocolatey.org/packages/Minikube
2019-08-05 15:41:49 -07:00
Derek c7e57cb67c TLS is Transport Layer Security; not level (#14998)
See https://en.wikipedia.org/wiki/Transport_Layer_Security
2019-08-05 15:39:49 -07:00
Mans Matulewicz ab8c91a3a2 Update custom-resource-definitions.md (#15670)
typo fix
2019-08-05 13:15:51 -07:00
Andrew Lytvynov 9fbd001d5c Remove mentions of cluster CA from CSR API docs (#15547)
CSR API isn't guaranteed to use the cluster CA. The CA used to sign
certs using the CSR API depends on the specific cluster stup. Admins can
use a separate CA if they choose to.

Users shouldn't rely on verifying those certs using the CA bundle
mounted with service account secrets.

The doc page is reworded to remove most mentions of cluster CA and
instead focus on API usage specifics.
2019-08-04 17:55:48 -07:00
Shivesh Abhishek 8d6874e396 typo fix (#15648)
Signed-off-by: Shivesh Abhishek <shivesh.abhishek@mayadata.io>
2019-08-04 17:45:49 -07:00
Edu Patrocinio 7a9ace6556 Put full path of the RabbitMQ object (#15635)
Currently, it assumes the Kubernetes example github has been cloned.
2019-08-02 12:11:53 -07:00
Edu Patrocinio 0cf7e3a827 Replace pod with Pod in task/nodelocaldns.md (#15602) 2019-07-31 17:34:14 -07:00
Nicolás Pascual González 3395e5ef71 Fixed bug on downloading kubectl in linux (#15264)
Fixed bug on command for downloading kubectl in linux
2019-07-31 12:50:15 -07:00
Edu Patrocinio ae714004b2 Remove --export (as it's deprecated) (#15598) 2019-07-31 12:46:14 -07:00
Ashutosh Gangwar 0a8a85feb1 custom-resource-definitions.md: fix typo (#15527) 2019-07-26 01:51:58 -07:00
George Tseres b4f10b3874 Fix field in PDB (#15480) 2019-07-23 19:44:15 -07:00
Nikita Potapenko 496fd7591a Fix command (#15479) 2019-07-20 20:24:53 -07:00
Lubomir I. Ivanov 96922f3b73 kubeadm: modify the step for upgrading control plane kubelets (#15452)
When upgrading controlplane nodes, upgrading the kubelets should be done
as the last step after "kubeadm upgrade" was run on all of the control
plane nodes already.

Also apply consistency related cleanup to sections and section names.
2019-07-18 03:28:10 -07:00
Naoki Oketani fd974ca794 specify local port as argument (#15445) 2019-07-16 20:24:35 -07:00
Ismail Alidzhikov 9c1fd9dcfe Fix serve_hostname image (#15416)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-16 06:15:25 -07:00
Tim Bannister 3ca1955a13 Add “CNCF” to glossary (#14537)
* Add glossary entry for CNCF

* Use CNCF glossary entry
2019-07-11 18:03:07 -07:00
karolflont 9a58393192 Update kubeadm-upgrade-1-14.md (#15359)
Ubuntu 16.04.5 LTS
apt-mark unhold kubeadm && apt-get update && apt-get install -y kubeadm=1.14.x-00 && apt-mark hold kubeadm gives the below error
The following packages have unmet dependencies:
kubelet : Depends: kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Unholding the kubelet with kubeadm fixes the problem.
2019-07-09 20:24:25 -07:00
devasat daa1886134 configure-upgrade-etcd.md: rename section header (#15328)
The section heading refers to starting API Server, but the content is about starting etcd cluster.
2019-07-09 04:12:03 -07:00
mohamed chiheb ben jemaa eaf8b43d6c change image registry (#15326) 2019-07-09 04:10:02 -07:00
mohamed chiheb ben jemaa cad2e5c006 fixing coredns label (#15340) 2019-07-09 03:58:01 -07:00
Tim Bannister 8b1db5c271 Tidy assign-cpu-resource page (#15126)
* Tidy assign-cpu-resource page

* Update assign-cpu-resource.md
2019-07-06 21:02:32 -07:00
popozy f3bb552f2a lose apt-mark unhold kubectl (#15176)
lose apt-mark unhold kubectl when apt-get install kubectl. If not unhold kubectl, it would return the error follows:
``` shell
root@ecs-k8s-master:~# apt-mark unhold kubelet && apt-get update && apt-get install -y kubelet=1.15.0-00 kubectl=1.15.0-00 && apt-mark hold kubelet 
kubelet was already not hold.
Hit:1 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Hit:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
Get:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease [107 kB]
Hit:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
Hit:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
Hit:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease                                                                                                                     
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-145 linux-headers-4.4.0-145-generic linux-image-4.4.0-145-generic linux-modules-4.4.0-145-generic
Use 'apt autoremove' to remove them.
The following held packages will be changed:
  kubectl
The following packages will be upgraded:
  kubectl kubelet
2 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
E: Held packages were changed and -y was used without --allow-change-held-packages.
```
2019-07-06 20:48:34 -07:00
Ismail Alidzhikov f8af591cb0 Use networking.k8s.io/v1beta1 for ingress apiVersion (#15190)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-07-06 20:42:34 -07:00
Brian Grant 71e027895e Remove myself from review of all files except what-is-kubernetes and the deprecation policy. All of the lists of suggested reviewers need to be overhauled, but that's a separate task. (#15227) 2019-07-06 04:20:35 -07:00
Yang Guo 14b33db63c Fix several issues in "Using sysctls in a Kubernetes Cluster" (#15248)
1. Replace net.ipv4.route.min_pmtu with net.core.somaxconn in the
   example of using unsafe sysctls in containers, since the former is not
   accessible within container namespace at all.

2. Not all net.* sysctls are namespaced. Explain the correct way to
   identify the namespaced networking sysctls.
2019-07-06 04:10:35 -07:00
Guoxiang Zu e50dba3ac4 Provide the default values for sync period and ttl (#15296)
* Provide the default values for sync period and ttl

Fill the default value information of kubelet sync period and ttl of ConfigMaps cache in kubelet.
Value info comes from:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/configmap/configmap_manager.go#L110
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/config/v1beta1/defaults.go#L51

* Update configure-pod-configmap.md
2019-07-06 02:34:35 -07:00