Commit Graph

613 Commits (f8e4d35c5f0734c15ebc5acbd7c983f2e00ee655)

Author SHA1 Message Date
Pavel Druyan a2280f5f96 Update Documentaion (#9684)
Add `--tls-cipher-suites stringSlice` option to documentation as in `kube-apiserver`
2018-08-06 07:40:45 -07:00
Duffie Cooley de9accfca3 Update service definition to bind to 127.0.0.1 (#9752)
Current service definition will result in an insecure kubelet per the example here:
https://medium.com/handy-tech/analysis-of-a-kubernetes-hack-backdooring-through-kubelet-823be5c3d67c

This change updates the kubelet configuration to bind to 127.0.0.1 so that the kubelet api does not allow unauthenticated access to the kubelet api.
2018-08-03 16:56:27 -07:00
Bobby (Babak) Salamat 5bcd5df3f3 Add a section on interactions of Pod priority and QoS (#9715)
* Add a section on interactions of Pod priority and QoS

* Copyedit
2018-08-03 10:10:20 -07:00
Ken'ichi Ohmichi ab3fd0de7e Add necessity of metrics-server for HPA (#9729)
* Add necessity of metrics-server for HPA

Current HPA doc1 mentions metrics-server like

  For resource metrics, this is the metrics.k8s.io API,
  generally provided by metrics-server. It can be launched
  as a cluster addon.

The metrics.k8s.io API is mandatory for HPA, so the above means
metrics-server needs to be launched for HPA. However it is difficult
to understand that requirement because the above seems metrics-server
as just a addon, and that is described on small section.
In addition, many people are facing HPA issue that fetching metrics
doesn't work on the internet like

  $ kubectl get hpa
  NAME      REFERENCE          TARGETS         MINPODS   MAXPODS   REPLICAS   AGE
  nginx     Deployment/nginx   <unknown>/50%   1         3         0          7s

The above sample "<unknown>" shows HPA feature cannot get current
metrics due to metrics-server doesn't work fine.

This adds necessity of metrics-server for HPA directly to solve
the problem.

fixes: #9728

* Copyedit
2018-08-03 10:00:03 -07:00
Karen Bradshaw d0582ebc94 Compute resource format (#9736)
* Update overview.md

* Fix list formatting, update capitalization
2018-08-03 09:50:09 -07:00
makocchi 3cdc80dbc0 apply template (#9733) 2018-08-03 09:48:57 -07:00
makocchi ba7332ee71 apply template (#9732) 2018-08-03 09:47:45 -07:00
makocchi 352c8e008b apply template (#9734) 2018-08-03 09:46:33 -07:00
Peter (XiangPeng) Zhao b83a258255 Add Knitter to the list of network addons. (#9742) 2018-08-03 09:45:21 -07:00
Eike Herzbach 149248c6f4 Add missing newline to fix list display on website (#9741) 2018-08-03 09:44:09 -07:00
Chen Hong 94b835987a fill ## Clean up (#9744) 2018-08-03 09:41:54 -07:00
Oleg Artenii 68a6ddfbb9 Fixed PID missmatch in zookeeper.md (#9749) 2018-08-03 09:40:42 -07:00
chenhuan 1f22824a7b fix the command output (#9745)
fix the command output
2018-08-03 09:39:30 -07:00
Shivakumar Thanikachalam 3586b9336e Update autocomplete instructions for Oh-My-Zsh (#9746)
The explanation to setup auto completion of zsh with Oh-My-Zsh is correct, however the example code is incorrectly mentioned as `source <(kubectl completion zsh)`. This pull request updates it to `plugins=(kubectl)`
2018-08-03 09:38:14 -07:00
Erik Erlandson 9c885221cc Fixes #9078 by adding note and link to table that disambiguates 'command' and 'entrypoint' (#9750) 2018-08-03 09:37:02 -07:00
Hongzhi 81b862e2bc typo (#9720)
* Update kubeadm-init.md

miss a "-" at the [website](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init#init-workflow) before the feature-gates

* a typo
2018-08-02 15:54:28 -07:00
Chris Knowles 7acd18803a Add ExpandInUsePersistentVolumes feature gate (#9662)
* Add ExpandInUsePersistentVolumes feature gate

`ExpandInUsePersistentVolumes` is alpha in v1.11.

* Use relative link for ExpandInUsePersistentVolumes
2018-08-02 14:15:27 -07:00
Matt Rickard efd6f326f9 update owners of minikube doc (#9691) 2018-08-02 10:57:28 -07:00
Tobias Brunner 99f217bbc3 Add APPUiO to the list (#9647)
add APPUiO to the list of hosted, cloud and on-premises solutions.
2018-08-02 09:22:27 -07:00
Tair Sabirgaliev a09e9eafa3 Add instructions for Macports (#9701) 2018-08-02 09:18:27 -07:00
JasperTimm c50848ef88 Update service.md (#9702) 2018-08-02 09:17:29 -07:00
makocchi 3ee7fbd0ba change newline character to LF from CRLF (#9724) 2018-08-02 09:13:29 -07:00
Tamal Saha 878f52219c Update authorization.md (#9726) 2018-08-02 09:12:27 -07:00
Lubomir I. Ivanov 22e91df7c7 kubeadm-init: update notes related to the configuration (#9638)
- mention `kubeadm config migrate`.
- don't inline control plane flag info, but rather link
to the new dedicated page.
- mention that kuberenetesVersion controls the version of the
images.
2018-08-02 09:06:28 -07:00
Ken'ichi Ohmichi b87603b556 Trivial: Update HPA description (#9711)
* Trivial: Remove unnecessary new line

Current HPA page[1] contains unnecessary new line between
"metrics.k8s.io" and "custom.metrics.k8s.io", but that does
not have any meaning. This removes it for the readability.

[1]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale

* Trivial: Replace RC with RS for HPA doc

As RC doc[1], RS is now the recommended way to set up replication.
So this replaces RC with RS for HPA doc.

[1]: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/
2018-08-01 15:45:28 -07:00
Lubomir I. Ivanov 3098e3741e Kubeadm kubelet integration doc (#9652)
* kubeadm: Add a kubelet-kubeadm integration reference doc

* kubeadm: edits for the kubelet-kubeadm integration doc

* kubeadm: move the kubelet-kubeadm integration doc

* Apply edits to kubelet-integration.md

* Make kubelet-integration.md use a template

Also apply MD formatting fixes.

* Copyedit

* Address feedback on copyedit

* added a couple of typo fixes
2018-08-01 15:24:27 -07:00
Samuel Birocchi 8f974b4df5 Adding patch command to forceful delete stateful pod (#9627) 2018-08-01 11:27:39 -07:00
Alfonso Palacios 59554e618c Update resource-usage-monitoring.md (#9631)
Fixing a small typo for sentence to make sense.
2018-08-01 11:26:41 -07:00
Tim Fogarty 243fc84bdc Add CSI and Flexvolume to glossary (#9666) 2018-08-01 11:11:40 -07:00
chenhuan 05a559bf3e fix the command output (#9668)
I have verified on version v1.11.
2018-08-01 11:08:40 -07:00
Sebastiaan van Steenis 45c201201b DamonSet typo (#9705) 2018-08-01 10:50:39 -07:00
Georgios Andrianakis 7273191ab8 Fix persistentVolumeClaim link (#9700) 2018-08-01 10:49:40 -07:00
WanLinghao 1fd2490767 add link to nvidia gpu scheduling guide at end of device plugin document (#9685) 2018-08-01 10:48:40 -07:00
Xiao An 03158f870d Disable excludes when installing kube packages (#9670)
We should not exclude kubernetes packages when installing them.
2018-08-01 10:47:39 -07:00
chenhuan c83bf5fd38 fix the command output (#9697)
fix the command output
2018-07-31 19:16:39 -07:00
chenhuan 75a0e41a99 fix the command output (#9695)
I have verified on version v1.11
[root@huan40:~]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:53:20Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:43:26Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
2018-07-31 18:48:39 -07:00
Chris O'Haver 0f9262b8eb Correct minor error (#9690)
Technically speaking SRV targets are address record names, not CNAMEs.  In fact, the SRV RFC states that SRV targets must point to an address record name, and cannot be an alias (e.g. CNAME).
2018-07-31 15:14:39 -07:00
Qiming 80e659ce9f Remove redundant parenthesis (#9681)
Closes: #9665
2018-07-31 15:13:38 -07:00
Qiming 53228de1e3 Fix links to example YAMLs (#9680)
There are a few cases which were missed during previous effort on
consolidating all example YAML files. This PR fixes them all in the
English version.

Closes: #9674
2018-07-31 15:12:38 -07:00
itowlson e03f1b4a52 JSONPaths with spaces must be double-quoted on Windows (#9679) 2018-07-31 15:11:39 -07:00
CaoShuFeng 493caa56a9 fix description about custom resource (#9676) 2018-07-31 15:10:38 -07:00
Ismo Puustinen 240e91844e Add a note CPU change handling in CPU manager. (#9671)
This relates to PR https://github.com/kubernetes/kubernetes/pull/66718
which validates that CPU manager state and current set CPUs are in sync.
2018-07-31 15:09:39 -07:00
Xianglin Gao 1b444aff9f Add Alibaba Cloud in pick-right-solution.md (#9644)
Add Alibaba Cloud in pick-right-solution.md to give users more options.
2018-07-31 09:54:48 -07:00
chenhuan 4dbfd517ba fix the command output (#9636)
I have verified on version v1.10.0
[root@huan30:~]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0-1", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"archive", BuildDate:"2018-06-13T04:29:49Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0-1", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"archive", BuildDate:"2018-06-13T04:22:05Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
2018-07-31 09:53:41 -07:00
Lubomir I. Ivanov 4f2d88f215 kubeadm: fix broken link for ha-etcd doc (#9624) 2018-07-31 09:52:40 -07:00
Lubomir I. Ivanov ba746446d2 kubeadm-upgrade-1.11: fix wrong flag for feature gates (#9619) 2018-07-31 09:51:40 -07:00
miaoshixuan 5dfc96e7c0 update default value of kubelet flag pod-infra-container-image (#9611) 2018-07-31 09:45:39 -07:00
Khurram 66894191f1 Update downward-api-volume-expose-pod-information.md (#9567)
dapi-volume-resources.yaml
Added divisor field in resourceFieldRef for DownwardAPIVolumeFiles
to clarify the format in which values are returned.

Issue: https://github.com/kubernetes/kubernetes/issues/64579
2018-07-31 04:34:38 -07:00
Marky Jackson 8f0753eb58 Document update (#9675)
Adding a link to redis replicated so users of this example have a better understanding of what redis replicated is
2018-07-30 17:40:38 -07:00
meirlaker d89ed9a234 Change "dotation" to "dot notation" in two places (#9678) 2018-07-30 14:58:40 -07:00
makocchi a4d264fc37 add note shortcodes (#9673) 2018-07-30 12:03:57 -07:00
Luc Perkins e1087b52d0
Merge pull request #9196 from lucperkins/lperkins/issue-8639-cassandra-pods
Small fixes for Cassandra doc
2018-07-30 09:07:41 -07:00
CaoShuFeng 20ac7e501c fix description about kubeadm (#9646) 2018-07-27 19:00:57 -07:00
Luc Perkins 1778e77165 Localization instructions (#9192)
* Begin re-working localization instructions

* Fix dangling sentence

* Re-arrange sections plus new content

* Fix TOC issue with misplaced capture directive

* Create new shortcodes for versions and language repos

* Add more translation instructions

* Remove translation docs added as an example

* Finish draft of localization doc

* Remove extraneous note
2018-07-27 17:13:56 -07:00
Andrew Chen c36098d4be change image assets to https (#9660)
* change image assets to https

* fix in docs

* fix remaining image links
2018-07-27 17:12:57 -07:00
lucperkins 5dc61780fe Merge remote-tracking branch 'upstream/master' into lperkins/issue-8639-cassandra-pods 2018-07-27 16:03:49 -07:00
lucperkins 7164d5be1e Standardize code formatting 2018-07-27 16:03:27 -07:00
Zach Seils 4e0858f2d5 Update scale-intro.html (#9659)
reduce --> increase
2018-07-27 12:13:58 -07:00
Rajakavitha1 9ed9c88157 Update configure-service-account.md (#9657)
Fixed the broken link listed in : https://github.com/kubernetes/website/issues/9650
2018-07-27 12:12:56 -07:00
Liz 88569b1ddc Keep packages back from package manager upgrades (#9509)
* Keep packages back from package manager upgrades

closes kubernetes/kubeadm#954

* copy edit revision
2018-07-27 10:40:58 -07:00
Bobby (Babak) Salamat 66458cde5b Add debugging information to pod priority and preemption (#9568)
* Add debugging information to Pod priority and preemption

* mdformat the page

* keep feature-state shortcodes together

* Add one more potential bug in preemption

* Addressed reviewer comments
2018-07-27 10:35:57 -07:00
Yuanbin Chen 380613cdb1 Fix configure-service-account doc set permissions link error (#9653)
Issuse record: #9650

Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-07-27 01:22:57 -07:00
Vikas Choudhary (vikasc) 0ee0052fa9 Fix quota documentation (#9648) 2018-07-26 16:08:57 -07:00
Luc Perkins 1060c00b2a Use Hugo for Sass processing (#9404)
* Move all Sass into a common /assets directory

* Remove node-sass make command

* Change head partial to accommodate full Sass rules

* Bump Hugo version in Netlify config

* Use separate partial for CSS imports

* Bump Hugo version

* Remove PostCSS from the pipeline

* Un-bump version

* Update Hugo version to 0.44

* Update Hugo version in Makefile

* Update production Hugo version

* Fix misspelled variable name

* Add ./resources folder to Git

* Update Hugo version in Netlify config to 0.45.1

* Use un-cached css.html partial

* Re-work extra CSS logic for .Params.css
2018-07-26 02:53:57 -07:00
Suracheth Chawla ac493dba99 `this` instead of `the` to make it sound better. (#9629) 2018-07-25 19:52:56 -07:00
Luc Perkins 86006313e5 Update information on master node size on GKE/AWS (#9226)
* Update information on master node size on GKE/AWS

* clean up passive language
2018-07-25 15:47:56 -07:00
lucperkins 788cb238ad More language fixes 2018-07-25 15:42:33 -07:00
lucperkins 3ffa3bc8af s/bash/shell (revert to previous) 2018-07-25 15:41:34 -07:00
Qiming 5472265d6f Fix contribution guide about adding code samples (#9574)
We have consolidated all YAML examples into `content/en/examples`
directory. This PR updates the contribution guide so that people know
where to put their sample YAML files when adding/changing topics.
2018-07-23 11:07:19 -07:00
Andreas Jaeger 3ce91510ed Fix display of lists in scheduling-gpus.md (#9609)
The lists are misparsed and displayed as normal paragraphs, add empty
lines so that they are parsed as proper lists.
2018-07-23 10:08:19 -07:00
Michael 5d46d726e2 Note on missing/incorrect labels and scheduler behaviour with pod anti-affinity (#8973) 2018-07-20 16:14:15 -07:00
Luca Cipriani 5afc04d400 Make the command work with multiple pods too (#9454)
* Make the command work with multiple pods too

if the user has 2 or more pods the original command line give the following error:
```error: only one of -c or an inline [CONTAINER] arg is allowed
See 'kubectl logs -h' for help and examples.```

* Remove dollar sign to respect style guidelines
2018-07-20 16:13:03 -07:00
Lubomir I. Ivanov 3270da5099 kubeadm-install: modify the note about kubelet cgroup drivers (#9541) 2018-07-20 16:09:45 -07:00
Denis Salamanca a9b1cdb4e9 Updated dns-pod-service.md (#9552)
* Updated dns-pod-service.md

Added a note on A records creation

* Updated dns-pod-service.md

Added Hugo  {{ note }} shortcode

* Update dns-pod-service.md

Changed wording

* tighten up the wording
2018-07-20 16:08:33 -07:00
makocchi 487c243591 apply content_template (#9599) 2018-07-20 16:07:21 -07:00
makocchi b9b392527d apply content_template (#9598) 2018-07-20 16:06:09 -07:00
makocchi 1678936967 remove command prompts and tweak shell commands (#9597) 2018-07-20 16:04:57 -07:00
makocchi 11f38137d2 Update /docs/concepts/containers/images/ (#9596)
* wrap notes by shortcodes and remove command prompts

* tweak shell command
2018-07-20 16:03:46 -07:00
Alfonso Palacios 9a62e82ce9 Update pod-lifecycle.md (#9593)
Merging these two paragraphs, which both describe the fields included in the PodConditions. The first one mentions 6 fields, but only defines 3 of them. The second one defines two of the remaining three. The missing 6th element ("reason") has been added. Now we have the full list in one single section. Easier to understand.
2018-07-20 15:58:46 -07:00
Takuya Tokuda b97002f268 Fix command highlight in port-forward-access-application-cluster (#8705)
* fix command highlight in port-forward-access-application-cluster

* Fix structure and add some sentences

* modify the wording

* update wording
2018-07-19 17:25:53 -07:00
michael saenz 238164c4ab update from GCE to GKE (#8881) 2018-07-19 17:04:53 -07:00
Tanvi Gupta 7b7efca2da adding cni.md (#8760)
* adding cni.md

* apply Zach's feedback
2018-07-19 17:03:53 -07:00
Jari Kolehmainen 35362f764e Add Kontena Pharos as K8s solutions (#9166) 2018-07-19 16:45:52 -07:00
Eric Staples 98c88097b0 Update cron-jobs.md (#9234)
* Update cron-jobs.md

Removed bullet point indicating that a `CronJob` can run "Once at a specified point in time", since this use case is either not possible, or not documented at all.

* change wording
2018-07-19 14:05:31 -07:00
Faisal Memon 13e1fbaa73 Add mention of NGINX Ingress Controller for Kubernetes (#9228) 2018-07-19 13:54:38 -07:00
csskuber 30e76b2781 Fix deployment.md with wrong READY numbers (#9584)
The status of READY number should be 2 instead of 0, described
in the first line of table
2018-07-19 10:15:17 -07:00
Kai Chen 84f9f16a33 Fix reference to install-kubeadm docs (#9573)
The install-kubeadm doc has recently been moved from tasks to setup. Fix the references and remove an incorrect redict.
2018-07-19 10:07:52 -07:00
Yuanbin Chen b8226ae376 Remove rkt-api-endpoint and rkt-path arguments in the doc (#9538) (#9576)
Kubelet help return not exist rkt-api-endpoint and rkt-path arguments,
So delete not exist arguments.

Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-07-19 09:58:53 -07:00
Qiming daa846bdd9 Trivial typo fix (#9575)
This PR takes over changes in #8980.
2018-07-19 09:57:53 -07:00
Andrew Chen 9d3c15c28b Add L10n repo branch structure info (#9206) 2018-07-18 19:21:42 -07:00
zhouhaibing089 ce190e75f8 docs/concepts: add search paths for docker config (#9085)
previous document suggests to put config to /root/.docker/config.json
which is not always the case, and only works when the HOME=/root is
set for kubelet. Besides, that's not always the most recommended way
considering the potential risk when someone overrides this config
with another `docker login` on the same node. this change explicitly
lists all the possible locations where the configuration can be put.
2018-07-18 19:20:42 -07:00
makocchi bac30c0774 fix double bullets in TOC (#9175) 2018-07-18 17:40:42 -07:00
Luc Perkins 9317dcfff0 Add new field selectors doc (#9174)
* Add new field selectors doc

* Address wording issues and remove warning

* add note on = and ==

Signed-off-by: lucperkins <lucperkins@gmail.com>
2018-07-18 17:39:42 -07:00
Lindsey Tulloch 7bed4690ad Update references to Federation-v2 progress (#9116)
* Update references to Federation-v2 progress

Added resources to the whats next section as there has been significant progress over the past few months with the alpha release of Federation-v2 expected in the next few weeks.

* remove <federation> in link
2018-07-18 17:36:42 -07:00
Luc Perkins fa657b76a9 Recommend --watch flag for obtaining external IP information (issue 8483) (#9129)
* Use --watch flag instead of checking multiple times

* Wording changes
2018-07-18 17:34:42 -07:00
André Aubin 269e3fd37b inline code block is not displayed (#8940)
* inline code block is not displayed

Using `kubectl get storageclass` instead of 

```
       kubectl get storageclass
```

correctly shows the code markup.

* Update change-default-storage-class.md

* reformat markdown for nested list
2018-07-18 17:24:41 -07:00
Luc Perkins 7f97e02779 Supplement documentation of ExternalName service types (#9435)
* Re-organize doc

* Remove section on multiple namespaces

* add NOTE to callout
2018-07-18 17:06:42 -07:00
Hesham Massoud 5f7068243d Enhance documentation of .spec.startingDeadlineSeconds (#9296)
* Update cron-jobs.md

* Update automated-tasks-with-cron-jobs.md

* Update cron-jobs.md

* Reword added documentation and add info about error message.

* Fix grammatical typo.

* adjust grammar and punctuation

* adjust grammar and punctuation

* adjust tense
2018-07-18 17:01:42 -07:00
makocchi 8b00a588c4 tweak crictl.md (#9349) 2018-07-18 16:50:49 -07:00
p_mx 28fb41f012 fix-manage-compute-resources-container-view (#9402)
* Fix typo in example script (#9381)

Variable reference should be $ETCDHOSTS, not $ETCDHOST

* fix html

* add a space
2018-07-18 16:48:48 -07:00