Commit Graph

718 Commits (3081c10a402c67cb5fc088f3c1b1169b9e958dd8)

Author SHA1 Message Date
Janet Kuo 88d9106705 Add help text for rollback in kubectl rolling-update 2015-11-11 13:29:54 -08:00
Alexandre González 8cc7215ab5 Get external IPs and not node names on images docs
Change the example inline script to get the node external IPs instead just their names. You can't `ssh|scp` to the `metadata.name`.
2015-11-10 22:04:07 +01:00
Jeff Lowdermilk 6868382072 Reword misleading help text for kubectl patch 2015-11-10 13:00:04 -08:00
Wojciech Tyczynski d80e0e837c Merge pull request #10707 from kargakis/logs-with-resource-builder
logs: Use resource builder
2015-11-09 16:40:10 +01:00
k8s-merge-robot afe121669b Merge pull request #16852 from feiskyer/kubectl-desc-ep
Auto commit by PR queue bot
2015-11-09 05:21:12 -08:00
Janet Kuo 37f35d9342 Make kubectl apply create resources if not found 2015-11-08 22:47:40 -08:00
Prashanth B 17c5c0922b Merge pull request #16932 from bprashanth/ing_docs
Ingress doc clarifications
2015-11-07 17:07:27 -08:00
feisky 3adb929eb9 Add kubectl describe for endpoints 2015-11-07 14:58:12 +08:00
Janet Kuo a6a64820d7 Make generation of the apply annotation optional 2015-11-06 15:08:50 -08:00
Prashanth Balasubramanian 10d1d4c791 Ingress doc clarifications 2015-11-06 12:01:52 -08:00
k8s-merge-robot 4566e039bf Merge pull request #16716 from huangyuqi/add_res_types_kubctl_get
Auto commit by PR queue bot
2015-11-06 02:20:27 -08:00
k8s-merge-robot 0b183f43fd Merge pull request #16574 from hurf/stop_doc
Auto commit by PR queue bot
2015-11-05 19:43:21 -08:00
kargakis 4fdb6d1331 logs: Use resource builder 2015-11-05 14:54:55 +01:00
k8s-merge-robot 79ad4869bd Merge pull request #15585 from jlowdermilk/kubeconfig-doc
Auto commit by PR queue bot
2015-11-04 04:49:44 -08:00
huangyuqi 1bf2f869c7 add valid resource types for kubectl get 2015-11-04 10:12:30 +00:00
k8s-merge-robot 3f3918048a Merge pull request #16669 from erictune/fix-run-docstring
Auto commit by PR queue bot
2015-11-03 05:29:29 -08:00
k8s-merge-robot 25b7c79860 Merge pull request #16609 from fwalker/master
Auto commit by PR queue bot
2015-11-03 01:41:16 -08:00
Eric Tune 0bde95f1ce Fix incorrect flag in example. 2015-10-30 15:40:05 -07:00
Jeff Lowdermilk 1f6aba18ba Add component explanation to kubeconfig-file.md 2015-10-30 10:20:48 -07:00
Florian Walker 4face20a19 Updated nginx static html directory. 2015-10-30 17:51:23 +01:00
hurf ce35bb4208 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
Janet Kuo 8f1b4c2e10 Remove red rectangles in quoted region in gh-pages 2015-10-29 13:18:28 -07:00
k8s-merge-robot e47c8db9ca Merge pull request #16487 from ZJU-SEL/downwardapi-fix
Auto commit by PR queue bot
2015-10-29 05:51:20 -07:00
k8s-merge-robot a1e3a1c39a Merge pull request #16328 from erictune/scratch-addons
Auto commit by PR queue bot
2015-10-29 01:32:11 -07:00
k8s-merge-robot 63af7c227e Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
Harry Zhang fad2db221c Add downwardAPI 2015-10-29 03:43:35 +00:00
Nikhil Jindal 46303ebc63 Merge pull request #16138 from nikhiljindal/deploymentDoc
Adding a user guide readme for deployments
2015-10-28 15:25:51 -07:00
nikhiljindal 5c0cc34101 Adding a user-guide doc for deployments 2015-10-28 13:14:08 -07:00
k8s-merge-robot 47b15c8896 Merge pull request #16366 from jszczepkowski/autoscaling-example
Auto commit by PR queue bot
2015-10-28 03:11:28 -07:00
k8s-merge-robot 43c9309630 Merge pull request #16338 from janetkuo/doc-started-docker
Auto commit by PR queue bot
2015-10-28 02:00:43 -07:00
Zach Loafman 17fd5f2536 NFS: Revamp example, add nfs-common to debian saltbase
This ensures nfs-common is installed on GCE, and provides a more
functional explanation/example. I launched two replication controllers
so that there were busybox pods to poke around at the NFS volume, and
so that the later wget actually works (the original example would have
to work on the node, or need some other access to the container
network). After switching to two controllers, it actually makes more
sense to use PV claims, and it's probably a configuration that makes
more sense for indirection for NFS anyways.
2015-10-27 16:58:04 -07:00
Daniel Smith 6219b50280 Merge pull request #16160 from kargakis/windows-fixes-for-edit
edit: Windows fixes
2015-10-27 15:44:26 -07:00
Janet Kuo a01d339216 Update tutorial about kubectl expose 2015-10-27 14:28:32 -07:00
Eric Tune 0869e01342 Improve addons documentation.
Longer description of Addons in Admin Guide to Cluster Components.

Mention fluentd as node component in Admin Guide to Cluster Components.

From docs/getting-started-guides/scratch.md add refs to setting up
DNS, Logging, Monitoring, and GUI.

Add TOCs to several pages that were referenced.

Fixes #16235
2015-10-27 08:28:55 -07:00
Jerzy Szczepkowski ffc0c0b4c1 Updated HPA example to use kubectl commands.
Updated HPA example to use kubectl commands.
2015-10-27 15:31:02 +01:00
Jerzy Szczepkowski bbee6cfcd7 Merge pull request #15461 from kargakis/relax-exposing-multiport-objects
expose: Enable exposing multiport objects
2015-10-27 10:25:54 +01:00
Jerzy Szczepkowski 4d243d514e Added user guide for horizontal pod autoscaler.
Added user guide for horizontal pod autoscaler. Part of #15652.
2015-10-26 10:26:32 +01:00
Jerzy Szczepkowski c43819d8ba Proposal for horizontal pod autoscaler updated and moved to design.
Proposal for horizontal pod autoscaler updated and moved to design. Related to #15652.
2015-10-26 08:33:24 +01:00
Abhi Shah f430dc8ac8 Merge pull request #16149 from ZJU-SEL/fix-endpoint-port
fix buggy example for endpoint specification
2015-10-24 16:11:25 -07:00
Abhi Shah a254fdc062 Merge pull request #15814 from soltysh/job_doc
Update job user-guide doc to reflect recent changes to .spec.selector
2015-10-24 14:18:10 -07:00
k8s-merge-robot 19c0a5b3d7 Merge pull request #15899 from bprashanth/ing_docs
Auto commit by PR queue bot
2015-10-24 11:34:22 -07:00
k8s-merge-robot 4270690315 Merge pull request #15578 from RichieEscarez/editkubectloverview
Auto commit by PR queue bot
2015-10-24 11:12:10 -07:00
kargakis 73713ce268 edit: Windows fixes
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
k8s-merge-robot 570a9dc18f Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
k8s-merge-robot c599025685 Merge pull request #16136 from jszczepkowski/hpa-exmv
Auto commit by PR queue bot
2015-10-23 19:23:54 -07:00
Tim Hockin 5c903dbcac Merge pull request #16073 from caesarxuchao/fix-htmlpreview-on-head
fix htmlpreview links to point to subdictory
2015-10-23 13:32:29 -07:00
Saad Ali a5c3c16994 Merge pull request #15981 from nikhiljindal/docsUpdate
Updating documentation to reflect the latest status of extension resources
2015-10-23 12:07:31 -07:00
Jerzy Szczepkowski 37ef5dee0b Horizontal pod autoscaling example moved to user guide.
Horizontal pod autoscaling example moved to user guide. Part of #15652.
2015-10-23 18:49:20 +02:00
k8s-merge-robot a10ed3e2b1 Merge pull request #15908 from jlowdermilk/rolling-update-doc
Auto commit by PR queue bot
2015-10-23 00:52:37 -07:00
He Simei ec3493fd5e fix buggy example for endpoint specification 2015-10-23 15:29:12 +08:00
Prashanth Balasubramanian 8c758102d9 Ingress docs 2015-10-22 19:09:50 -07:00
k8s-merge-robot dcf58fe50c Merge pull request #16015 from feihujiang/fixMinorErrorsInNfsExample
Auto commit by PR queue bot
2015-10-22 11:41:41 -07:00
Chao Xu eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
RichieEscarez f3d3f00146 Edit of the new kubectl overview 2015-10-22 09:10:00 -07:00
k8s-merge-robot 510711ab00 Merge pull request #16043 from bgrant0607/docfix3
Auto commit by PR queue bot
2015-10-21 18:20:35 -07:00
Chao Xu 316bd058d0 fix htmlpreview links to point to subdictory 2015-10-21 15:46:52 -07:00
Jeff Lowdermilk d4de35e177 Merge pull request #15921 from brendandburns/fix2
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
nikhiljindal 72914fd81b Updating documentation to reflect the latest status of extension resources 2015-10-21 13:03:33 -07:00
Jeff Lowdermilk 5bf993bf28 Validate image name for `kubectl rolling-update NAME --image=IMAGE`
Require distinct image from current one when starting a new
rolling-update, and exit with error if an existing in-progress update
is targeting a different image.
2015-10-21 11:48:39 -07:00
Brian Grant 83c28c9cfd Fix #15609 2015-10-21 18:36:10 +00:00
k8s-merge-robot d42f2399f4 Merge pull request #15693 from ZJU-SEL/gitrepo-doc
Auto commit by PR queue bot
2015-10-21 02:08:38 -07:00
feihujiang 310f8f6320 Fix minor errors in nfs example 2015-10-21 15:15:03 +08:00
Brendan Burns 54fd60727e add a --expose flag to kubectl run 2015-10-20 20:21:09 -07:00
Janet Kuo 8105aa44a0 Implement kubectl autoscale 2015-10-19 09:59:22 -07:00
kargakis 7d0e691520 expose: Enable exposing multiport objects
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02:00
Maciej Szulik 57c546fccb Update job user-guide doc to reflect recent changes to .spec.selector 2015-10-17 12:32:01 +02:00
Clayton Coleman e9a465d635 Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04:00
Eric Tune d4475e3d49 Merge pull request #15232 from deads2k/refactor-logs
refactor kubectl logs to be composeable
2015-10-15 13:56:58 -07:00
k8s-merge-robot 4c8e6f47ec Merge pull request #15394 from JanetKuo/kubectl-proxy-api-prefix
Auto commit by PR queue bot
2015-10-15 05:12:30 -07:00
Tony Hsu 6ec9b2e7c2 Fix typo 2015-10-15 18:37:29 +08:00
Marek Grabowski a92fa4e38a Merge pull request #15453 from eghobo/master
Fixed incorrect service name
2015-10-15 09:31:50 +02:00
Harry Zhang 14334837b9 Add example of using gitRepo 2015-10-15 06:13:45 +00:00
Janet Kuo f47c2be539 Change kubectl proxy --api-prefix default to allow /apis/ 2015-10-14 15:49:52 -07:00
deads2k f0aa606632 refactor kubectl logs to be composeable 2015-10-14 13:22:59 -04:00
Eric Tune ca6c950b89 Doc: apigroups, alpha, beta, experimental/v1alpha1 2015-10-14 09:06:05 -07:00
k8s-merge-robot 8959e0cc03 Merge pull request #15509 from bgrant0607/labels
Auto commit by PR queue bot
2015-10-13 19:04:15 -07:00
Dawn Chen d6c43f48d1 Merge pull request #15473 from feihujiang/removeShorthandForClientInKubectlVersion
Remove shorthand for client flag in kubectl version
2015-10-13 16:24:08 -07:00
Brian Grant 1bac67f9e2 Add DoesNotExist label operator. 2015-10-13 20:13:19 +00:00
k8s-merge-robot d0e672f391 Merge pull request #15489 from spohnan/doc-fix-volume-mounting
Auto commit by PR queue bot
2015-10-13 04:28:29 -07:00
Dawn Chen 075c3a2c71 Merge pull request #15061 from kargakis/fix-dry-run-in-expose
Fix dry run in expose
2015-10-12 12:53:04 -07:00
Andy Spohn 361c1831c1 Doc Fix, several volume types support multiple readers 2015-10-12 14:48:17 -04:00
feihujiang 6290aee8b8 Remove shorthand for client flag in kubectl version 2015-10-13 02:02:54 +08:00
Egor Guz f72e2ff10f fixed incorrect service name 2015-10-11 20:32:41 -07:00
k8s-merge-robot 02ec1fb33c Merge pull request #13885 from smarterclayton/websocket_exec
Auto commit by PR queue bot
2015-10-10 09:52:01 -07:00
k8s-merge-robot 8b09d27dd5 Merge pull request #15246 from bgrant0607/docfix
Auto commit by PR queue bot
2015-10-10 09:44:13 -07:00
k8s-merge-robot fa557f6101 Merge pull request #15409 from caesarxuchao/extension/v1beta1
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
Brian Grant 678032fdcf Update container-environment.md. Fixes #14127. 2015-10-10 14:32:00 +00:00
kargakis 4b23bf602d expose: Minor cleanup 2015-10-10 16:16:41 +02:00
Chao Xu cd98de5188 fix verify-generated-deep-copies.sh 2015-10-09 16:08:52 -07:00
Chao Xu 88eeb03811 fix examples 2015-10-09 15:58:07 -07:00
RichieEscarez 6a52c66f67 Edit to clarify rc's are for homogenous pods 2015-10-09 15:24:03 -07:00
Clayton Coleman 554ce403e4 Prevent attach from being served by default via the proxy 2015-10-09 14:33:40 -04:00
hurf e1b88c6942 Integrate convertion tool to kubectl
Added 'convert' subcommand to kubectl to convert config files
between different API versions.
2015-10-09 10:15:30 +08:00
jackgr 703a3e19aa Add the kubectl apply command. 2015-10-07 17:14:51 -07:00
qiaolei 57989e5505 add ingress 2015-10-04 11:47:01 +08:00
Tim Hockin 6260759c51 Merge pull request #14328 from agonzalezro/flocker
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
k8s-merge-robot 7f9c18d646 Merge pull request #14819 from mesosphere/sttts-add-kubectl-bind-address
Auto commit by PR queue bot
2015-10-02 08:05:57 -07:00
k8s-merge-robot 2b6fd57220 Merge pull request #14632 from feihujiang/fixMinorErrorsInDockerCliToKubernetes
Auto commit by PR queue bot
2015-10-02 03:48:35 -07:00
Jerzy Szczepkowski 171ce57c49 Merge pull request #14606 from erictune/doc1
Fix wording in secrets doc.
2015-10-02 11:29:53 +02:00
Álex González fa39c2b032 Add flocker volume plugin
Flocker [1] is an open-source container data volume manager for
Dockerized applications.

This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.

Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).

The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).

- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`

The contribution introduces a new 'flocker' volume type to the API with
fields:

- `datasetName`: which indicates the name of the dataset in Flocker
  added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
  requested dataset.

Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder

[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Brendan Burns 44a16834d8 Merge pull request #14087 from brendandburns/kubectl
Move the default schema cache to the home directory
2015-09-30 11:30:32 -07:00
Dr. Stefan Schimanski 687e2d8c8e Update docs 2015-09-30 15:54:01 +02:00
Brendan Burns e827934d78 Merge pull request #12677 from andronat/kubectl_doc_cmd
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
k8s-merge-robot 66e25b48b0 Merge pull request #14636 from feihujiang/fixMinorBugsInKubectlCommand
Auto commit by PR queue bot
2015-09-29 19:31:40 -07:00
Brendan Burns 7ef257dffe Merge pull request #14177 from Huawei-PaaS/add_kubectl_overview_page
Add kubectl overview page
2015-09-29 19:31:33 -07:00
jijun2 d624bee753 update service&endpoint describe 2015-09-28 23:55:08 -04:00
Brendan Burns afea127a3e Move the default schema cache to the home directory 2015-09-28 16:26:48 -07:00
Eric Tune 317e4d8ce0 Fix wording in secrets doc. 2015-09-28 11:34:15 -07:00
feihujiang e31bc89232 Fix minor bugs in kubectl command 2015-09-28 13:58:31 +08:00
feihujiang 2da9c9bcb6 Fix minor errors in docker-cli-to-kubectl document 2015-09-28 11:26:39 +08:00
Anastasis Andronidis e8b9dde623 new kubectl explain command 2015-09-26 14:25:53 +03:00
jijun2 6788079482 Describe more clearly 2015-09-26 05:09:51 -04:00
Brendan Burns bf3f5af118 Merge pull request #14547 from jijun2/fix-1
Describe more clearly
2015-09-25 20:18:14 -07:00
Brian Grant b90797d941 Merge pull request #14406 from hurf/config_message
Improve message from kubectl config
2015-09-25 11:01:34 -07:00
jijun2 1d988754d9 Update README.md 2015-09-25 17:57:25 +08:00
jijun2 b05d5a76b9 Describe more clearly 2015-09-25 06:50:25 -04:00
Eric Tune bf9e93250e Job and DaemonSet documentation. 2015-09-24 17:51:25 -07:00
Eric Tune ff1156d4c1 Merge pull request #13930 from ArtfulCoder/privileged
allow privileged pods
2015-09-24 13:42:31 -07:00
Eric Tune 138c42e410 Merge pull request #14350 from sdminonne/labels_selector_doc
updating label selector doc
2015-09-23 16:37:22 -07:00
hurf c4dc056105 Improve message from kubectl config
1.use Fprintf instead of Printf
2.output simple success messages
3.lowercase all error messages
2015-09-23 16:10:21 +08:00
Abhishek Shah 09465c9a2a allow privileged pods 2015-09-22 13:44:08 -07:00
Salvatore Dario Minonne d7e493af5e updating label selector doc 2015-09-22 12:26:38 +02:00
k8s-merge-robot d98f6daff3 Merge pull request #12747 from smarterclayton/pending_deletion_docs
Auto commit by PR queue bot
2015-09-21 19:49:00 -07:00
Clayton Coleman c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
hw-qiaolei 2ac0e15f93 Add kubectl overview page 2015-09-19 10:08:09 +00:00
k8s-merge-robot 0fb60482c3 Merge pull request #13848 from jayunit100/kubeconfig-file-description-and-updates
Auto commit by PR queue bot
2015-09-17 17:06:19 -07:00
jay vyas 5ca618f874 Added some clarity to kubeconfig around tokens and how it corresponds to
the apiservers.
2015-09-17 16:18:37 -04:00
k8s-merge-robot 055f5ff9b9 Merge pull request #13649 from markturansky/prov_deleter
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
Clayton Coleman 094640a35c Additional comments 2015-09-17 14:57:20 -04:00
markturansky c2de9e9647 Added volume.Deleter interface and simple HostPath implementation 2015-09-17 12:08:58 -04:00
k8s-merge-robot 308155d178 Merge pull request #14038 from Huawei-PaaS/fixed_some_typos_in_sharing_clusters_md
Auto commit by PR queue bot
2015-09-17 08:14:42 -07:00
k8s-merge-robot b342591032 Merge pull request #13604 from JanetKuo/kubectl-edit
Auto commit by PR queue bot
2015-09-17 03:00:33 -07:00
qiaolei fbaf7d8f81 Fixed some typos in sharing-clusters.md
Fixes are:

1. `.kubeconfig` -> `kubeconfig`
2. `.kubectl` -> `kubectl`
3. `.kubeconfig` -> `.kube/config`
4. `path/to/.kube/config` -> `/path/to/.kube/config`
5. `commandline` -> `command line`
2015-09-16 20:53:05 +08:00
Jerzy Szczepkowski d549fc400a Merge pull request #14026 from Huawei-PaaS/fix-dead-link-of-logging
fix the dead link of logging.md
2015-09-16 13:06:58 +02:00
yuqi huang 1e2f791f95 fix the dead link of logging.md
fix the dead link of logging.md
2015-09-16 15:49:36 +00:00
Janet Kuo 5a608446ba pull "kubectl edit" from openshift upstream 2015-09-15 19:16:23 -07:00
Jeff Lowdermilk 9f036f2a55 Merge pull request #13954 from ArtfulCoder/externalIPDoc
Documentation for externalIPs
2015-09-15 17:48:11 -07:00
Jeff Lowdermilk ebc0b02b7d Merge pull request #13613 from eparis/rework-doc-generation
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
Abhishek Shah c7d659950b Documentation for externalIPs 2015-09-15 11:43:39 -07:00
k8s-merge-robot c9570e34d0 Merge pull request #13615 from HaiyangDING/update_doc_limit_request
Auto commit by PR queue bot
2015-09-15 02:16:15 -07:00
feihujiang 98689a99ec Limit the type for kubectl expose command 2015-09-15 11:17:04 +08:00
Jeff Lowdermilk 1f97fbeae6 Merge pull request #13675 from derekwaynecarr/move_resource_quota_doc
Move resource quota doc from user-guide to admin
2015-09-14 16:02:47 -07:00
k8s-merge-robot 4578f60eb1 Merge pull request #13898 from Huawei-PaaS/some_minor_doc_fixes
Auto commit by PR queue bot
2015-09-13 16:37:12 -07:00
qiaolei cb80475135 Fixed some minor typos
1. remove duplicate `than`
2. fixed a typo `<maste IP>` to `<master IP>`
3. add a `$` before the `kubelet` command to keep align with others in the document
2015-09-13 09:59:41 +00:00
k8s-merge-robot 492ff3fa3d Merge pull request #13888 from Huawei-PaaS/change_kubectl_stop_to_delete_and_improve_rc
Auto commit by PR queue bot
2015-09-12 22:51:09 -07:00
k8s-merge-robot 96df310729 Merge pull request #13783 from feihujiang/changeExposePortOperationToNoRequired
Auto commit by PR queue bot
2015-09-12 18:54:34 -07:00
qiaolei a7d4d76c50 Change kubectl 'stop' to 'delete' and made some improvements
1. Change deprecated kubectl `stop` to `delete` and the corresponding link
2. Improve the description of deleting a replication controller, since I think it is a little misleading
2015-09-12 11:15:28 +08:00
k8s-merge-robot 04837579ad Merge pull request #13460 from derekwaynecarr/run_requests
Auto commit by PR queue bot
2015-09-11 18:19:17 -07:00
k8s-merge-robot cb481b4a00 Merge pull request #13837 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Eric Paris 58d6b29e97 Rework doc generation to simplify and centralize
Just do all doc generation in the hack::util::gen-docs instead of spread
around. We also only track the generated docs in a single file for the
whole tree.
2015-09-11 19:32:08 -04:00
Brendan Burns 9ba13ff361 Address comments 2015-09-11 13:55:16 -07:00
derekwaynecarr 094a7f4de1 Provide a redirect to new resource quota location 2015-09-11 12:12:32 -04:00
derekwaynecarr 48d0e8945d Move resource quota doc from user-guide to admin 2015-09-11 12:07:12 -04:00
derekwaynecarr 295b8cdf16 Add requests and limits to kubectl run 2015-09-11 10:57:21 -04:00
eulerzgy db143cf23f Document describe fix 2015-09-11 22:42:45 +08:00
Brendan Burns d9e1a00a14 Add caching for swagger schemas 2015-09-10 21:18:52 -07:00
Abhishek Shah 44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
feihujiang 714a042ce4 Change Expose Command's port operation to no required 2015-09-11 11:37:55 +08:00
Brendan Burns fd73a600a0 Add a code of conduct. 2015-09-10 11:53:27 -07:00
k8s-merge-robot cfa5e516a8 Merge pull request #13655 from Huawei-PaaS/change_random_to_roundrobin_in_services_md
Auto commit by PR queue bot
2015-09-10 03:43:07 -07:00
Chao Xu 58b01bee1c Merge pull request #13453 from aveshagarwal/master-kubectl-get-fixes
Adds serviceaccounts to kubectl get/describe cli help and docs description.
2015-09-09 17:42:58 -07:00
Chao Xu 183c6e2e84 Merge pull request #13652 from clasohm/example_download_links_raw
add raw flag for GitHub download links
2015-09-09 16:19:14 -07:00
Avesh Agarwal 6d6f338fac Adds servicesaccounts to kubectl get/describe cli help and docs. 2015-09-09 12:15:25 -04:00
Clayton Coleman 76025fd31b Add documentation for deleted pods in the user-guide 2015-09-09 09:40:57 -04:00
dinghaiyang d57263b94b Replace limits with request where appropriate 2015-09-09 15:38:34 +08:00
goltermann bec4c10dc4 Replace IRC with Slack in docs. 2015-09-08 15:17:39 -07:00
k8s-merge-robot b3eace631e Merge pull request #13662 from Huawei-PaaS/issue-kubeconfig
Auto commit by PR queue bot
2015-09-08 13:50:52 -07:00
Chao Xu a6566031be Merge pull request #13422 from feihujiang/supportSettingEnvInKubectlRun
Support setting env vars in kubectl run
2015-09-08 10:32:48 -07:00
k8s-merge-robot 3a04f7eafa Merge pull request #13646 from Huawei-PaaS/fixed_a_markdown_error_in_getting_into_containers_md
Auto commit by PR queue bot
2015-09-08 09:32:57 -07:00
k8s-merge-robot 57d7107e06 Merge pull request #13668 from Huawei-PaaS/add_PodPhase_Unknown
Auto commit by PR queue bot
2015-09-08 08:04:12 -07:00
qiaolei 4936b9d5d2 Add PodPhase 'Unknown'
Add PodPhase 'Unknown' and its corresponding description.
2015-09-08 21:14:30 +08:00
Jian Huang 3081f88929 Update the KubeConfig Doc
Correct the document.
2015-09-08 17:27:44 +08:00
qiaolei 72c7d87973 fixed a markdown error in the title 2015-09-08 08:41:50 +00:00
qiaolei 1402a63150 change 'random' to 'round robin' for the choice of a service backend 2015-09-08 15:17:42 +08:00
feihujiang 84e94e39cd Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
Carsten Clasohm d093fe0c4b add raw flag for GitHub download links 2015-09-07 17:43:09 -07:00
k8s-merge-robot 6605b170b6 Merge pull request #13618 from Huawei-PaaS/add_svc_and_fix_typos_in_namespace_md
Auto commit by PR queue bot
2015-09-07 03:51:56 -07:00
qiaolei 41708fb0af Add 'svc.' before 'cluster.local' and fix some typos
1. Add 'svc.' before 'cluster.local'
2. ```Terminating`` to `Terminating`
3. 'DNS entry1' to 'DNS entry'
2015-09-07 09:11:30 +00:00
k8s-merge-robot 96e0ed5749 Merge pull request #13624 from Huawei-PaaS/del_an_useless_line_in_liveness
Auto commit by PR queue bot
2015-09-06 23:28:12 -07:00
qiaolei 33b4cb91c1 Delete an useless line in liveness
Delete an useless line in liveness: `mwielgus@mwielgusd:~/test/k2/kubernetes/examples/liveness$ kubectl get pods`
2015-09-06 18:54:23 +08:00
Dai Zuozhuo 2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Eric Paris bf7646bd9e Update docs based on new spf13/cobra 2015-09-04 19:20:03 -04:00
Quinton Hoole be19554bae Merge pull request #13383 from hurf/label_drun
Add --dry-run option for label command
2015-09-04 14:03:14 -07:00
Quinton Hoole dd68f0b23f Merge pull request #13551 from eparis/cloudplatfrom-to-kubernetes
s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kub…
2015-09-04 12:36:01 -07:00
Eric Paris 04fc8ae3dd s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
hurf 46e7f5684c Add --dry-run option for label command
With --dry-run option, label command will print the object locally
without update it on server side.
2015-09-03 21:37:11 +08:00
feihujiang 0427711c42 Fixes upper case letters in kubectl examples 2015-09-03 12:00:21 +08:00
Abhi Shah 642ebb4994 Merge pull request #13099 from JanetKuo/kubectl-expose-deprecate-create-external-load-balancer
Deprecated kubectl flag "create-external-load-balancer"
2015-09-02 15:16:08 -07:00
Brendan Burns 2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -07:00
Wojciech Tyczynski b4a3698fae Merge pull request #13472 from justinsb/docs_pull_policy_name
Docs: PullIfNotPresent -> IfNotPresent; PullAlways -> Always
2015-09-02 10:17:40 +02:00
Brendan Burns 03fc551988 Merge pull request #13340 from rimey/documentation
Fix buggy placement of imagePullPolicy in documentation example.
2015-09-01 21:28:46 -07:00
Justin Santa Barbara c6d7a90449 Docs: PullIfNotPresent -> IfNotPresent; PullAlways -> Always
PullIfNotPresent is the internal name in go code; IfNotPresent is the
user-facing value that is specified in json/yaml.  For docs, we should use the
user-facing string.

Similarly PullAlways -> Always
2015-09-01 18:35:34 -04:00
Salvatore Dario Minonne f4dc0653aa adding downward api volume plugin 2015-09-01 22:23:03 +02:00
Wojciech Tyczynski 5c2c42eed8 Merge pull request #13220 from aveshagarwal/master-issue-12740
httpGet livenessprobe fails for controller and scheduler when following steps in scratch.md (fixes #12740)
2015-09-01 14:20:15 +02:00
k8s-merge-robot a4d953f4b3 Merge pull request #13131 from hurf/anno_unused
Auto commit by PR queue bot
2015-09-01 04:32:13 -07:00
Janet Kuo 22ec272494 Change deprecated 'kubectl stop' to 'delete' 2015-08-31 18:04:04 -07:00
Jerzy Szczepkowski 3f1a94f48f Merge pull request #13304 from alexwlchan/patch-1
Fix typos in namespaces.md
2015-08-31 09:19:35 +02:00
k8s-merge-robot a078eba5b3 Merge pull request #13133 from feihujiang/changePortForwardExampleWithoutPFlag
Auto commit by PR queue bot
2015-08-30 12:02:43 -07:00
k8s-merge-robot d79f53f73b Merge pull request #13249 from feihujiang/removeUserGuideKubectlUselessDocs
Auto commit by PR queue bot
2015-08-28 19:17:39 -07:00
Avesh Agarwal 99c7a0854c Updates the liveness user guide README to describe the host part of
httpGet probe.
2015-08-28 22:04:12 -04:00
Ken Rimey 6b5c9c8984 Fix buggy placement of imagePullPolicy in documentation example. 2015-08-28 19:33:28 -04:00
Alex Chan 60dc440bda Fix typos in namespaces.md
Fix two links and remove a stray character.
2015-08-28 13:18:03 +01:00
Janet Kuo 18e87724c5 Deprecated kubectl flag "create-external-load-balancer" 2015-08-28 00:54:33 -07:00
Wojciech Tyczynski 03236e2692 Merge pull request #13253 from Huawei-PaaS/chmod_X_to_x_in_prereqs_md
Change "chmod +X" to "chmod +x" in prereqs.md
2015-08-28 09:13:56 +02:00
qiaolei 1bee049475 Change "chmod +X" to "chmod +x" in prereqs.md
Change `chmod +X` to `chmod +x`, since `+X` does not take affect when there is no  execute permission bit already set (either user, group or other).

```console
# ls -l /usr/bin/kubectl
-rw-r--r-- 1 root root 14190181 Aug 10 16:16 /usr/bin/kubectl
# chmod +X /usr/bin/kubectl
# ls -l /usr/bin/kubectl
-rw-r--r-- 1 root root 14190181 Aug 10 16:16 /usr/bin/kubectl
```

Please refer to [chmod](https://en.wikipedia.org/wiki/Chmod "chmod") for more details.
>which is not a permission in itself but rather can be used instead of x. It applies execute permissions to directories regardless of their current permissions and **applies execute permissions to a file which already has at least one execute permission bit already set (either user, group or other)**. It is only really useful when used with '+' and usually in combination with the -R option for giving group or other access to a big directory tree without setting execute permission on normal files (such as text files), which would normally happen if you just used "chmod -R a+rx .", whereas with 'X' you can do "chmod -R a+rX ." instead
2015-08-27 18:46:14 +08:00
feihujiang e689995985 Remove user guide kubectl useless docs 2015-08-27 16:56:10 +08:00
hurf 961d7f995a Remove unused parameters and flags
Some params and flags are set but not used, remove them.
2015-08-27 10:40:40 +08:00
hurf d2d96ff6e1 Add -o name for commands which use printer to output results
Added a new printer which prints 'resource/name' pair of a given
object.
2015-08-26 17:04:23 +08:00
Yu-Ju Hong fd81cd61a6 Merge pull request #13141 from epc/epc-2015237
Copy edits for typos (resubmitted)
2015-08-25 10:05:44 -07:00
Ed Costello 1916d3bb74 Copy edits for typos (resubmitted) 2015-08-25 10:47:58 -04:00
Janet Kuo 5823ef771b Make --validate default on and shows how to turn if off 2015-08-25 03:18:32 -07:00
feihujiang 04150c1c3b Change port-forward example without -p 2015-08-25 16:55:49 +08:00
Nikhil Jindal 8846c841a8 Merge pull request #12648 from samsabed/crashloop
back off restarts of crashlooping containers
2015-08-24 18:54:13 -07:00
Nikhil Jindal e690f3b3e8 Merge pull request #12900 from feihujiang/deleteMultipleResourcesWithTheSameName
Allow delete multiple resources with the same name
2015-08-24 10:40:41 -07:00
Sam Abed 995cb15bb6 back off restarts of crashlooping containers
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-08-24 21:43:17 +10:00
Janet Kuo 0bcb3147f6 Deprecated -t for --template to make it --tty 2015-08-24 02:16:01 -07:00
Marcin Wielgus 66309325f8 Merge pull request #13015 from feihujiang/kubectlAnnotationAcceptFileNameParam
Kubectl annotate command accepts a filename param
2015-08-24 10:57:30 +02:00
feihujiang 943c57ff4e Allow delete multiple resources with the same name 2015-08-24 15:14:01 +08:00
Jerzy Szczepkowski 6d7af149c4 Merge pull request #13014 from a-robinson/typo
Fix typo in services-firewall user guide.
2015-08-21 10:30:04 +02:00
feihujiang 7291bde309 Kubectl annotate command accepts a filename param 2015-08-21 15:08:29 +08:00
Alex Robinson 0a3e60bc07 Fix typo in services-firewall user guide. 2015-08-20 23:44:41 -07:00
Abhishek Shah b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
Eric Paris 6d7986993a Update docs 2015-08-20 15:01:34 -07:00
Saad Ali 489e75e073 Merge pull request #12202 from daizuozhuo/kubectl
add jsonpath to kubectl
2015-08-20 14:31:45 -07:00
Saad Ali 21a14eccf2 Merge pull request #12697 from erictune/secdoc
Improve secrets docs.
2015-08-19 18:46:57 -07:00
Dai Zuozhuo 85972c44a4 jsonpath user guide docs 2015-08-20 09:11:04 +08:00
Dai Zuozhuo b61a905b19 add jsonpath to kubectl 2015-08-20 08:57:24 +08:00
Eric Tune d98f7ab884 Improve secrets docs.
Explain that imagePullSecrets added to a service account
are added automatically to pods using that service account.

Reword text to not imply that ordinary secrets added to
a service account are not automatically added as volumes
to a pod.
2015-08-19 16:37:25 -07:00
Saad Ali 14eadcccac Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Saad Ali d49b9154f8 Merge pull request #12937 from uluyol/typo
Fix some minor typos.
2015-08-19 14:36:20 -07:00
Saad Ali d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
Saad Ali c1a2c6dee7 Merge pull request #10713 from thockin/no-localhost-endpoints
Check loopback and link-local multicast endpoints
2015-08-19 12:48:33 -07:00
Muhammed Uluyol b9431820bf Fix some minor typos. 2015-08-19 11:42:03 -07:00
Saad Ali ed36bfa860 Merge pull request #12927 from quinton-hoole/2015-08-19-fix-typo
Fix typo in downward-api/README.md
2015-08-19 11:06:54 -07:00
Quinton Hoole 080f53c567 Fix typo in downward-api/README.md 2015-08-19 08:41:30 -07:00
Ilya Dmitrichenko cb3425351a Make typography more consistent 2015-08-19 12:01:50 +01:00
Tim Hockin 86f4535871 Check loopback and link-local multicast endpoints
Previously we just disallowed link-local (unicast).  This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Janet Kuo 44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Kenjiro Nakayama c50d7dd1d5 Modify kubectl exec help to set -c CONTAINER as optional 2015-08-18 23:14:24 +09:00
Robert Bailey 60e17a54e7 Merge pull request #12141 from gmarek/service_doc
Small changes to Services doc
2015-08-17 19:40:41 -07:00
Marek Grabowski 850b98299f Merge pull request #12757 from erictune/resdoc
Document how `describe nodes` had resources.
2015-08-17 11:45:43 +02:00
Brendan Burns a9580a0ad0 Merge pull request #12595 from smarterclayton/add_pod_status_ip
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Eric Tune 8e56fe599f Document how `describe nodes` had resources.
Documents changes in #11788
2015-08-14 17:20:28 -07:00
Clayton Coleman 01f3785426 Add status.podIP as a valid downward API target
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Brendan Burns eed655a6e6 Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam
Kubectl get command accepts a filename param
2015-08-14 14:21:56 -07:00
Jerzy Szczepkowski f29d52114b Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
Kubectl label command accepts a filename param
2015-08-14 12:38:37 +02:00
He Simei 1d6c0e287b fix service-account related doc 2015-08-14 08:44:21 +08:00
Brendan Burns 22a2a76ab8 Merge pull request #12571 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-08-13 13:56:14 -07:00
Brendan Burns 15281a5e01 Merge pull request #12388 from feihujiang/kubectlPatchAcceptFileNameParam
Auto commit by PR queue bot
2015-08-13 11:49:41 -07:00
Brendan Burns 586931fe16 Add optional arguments to kubectl run ... 2015-08-13 09:41:51 -07:00