Commit Graph

395 Commits

Author SHA1 Message Date
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
Wojciech Tyczynski
1470b3245d Merge pull request #12618 from mikedanese/rewrite-godoc
rewrite links pointing to godoc
2015-08-13 14:10:33 +02:00
Wojciech Tyczynski
9c8014b4df Merge pull request #12554 from RichieEscarez/fixwalkthroughlink
Fixed broken link (was pointing to content in a file that has since been moved).
2015-08-13 11:37:32 +02:00
feihujiang
1e10a7cc59 Kubectl scale command accepts a filename param 2015-08-13 14:26:25 +08:00
feihujiang
18a1400928 Kubectl get command accepts a filename param 2015-08-13 14:12:29 +08:00
feihujiang
0110f3176b Kubectl patch command accepts a filename param 2015-08-13 11:13:31 +08:00
feihujiang
4b9afc516e Kubectl label command accepts a filename param 2015-08-13 10:21:38 +08:00
CJ Cullen
a6148e79c3 Merge pull request #12610 from mikedanese/rewrite-kubectl
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 17:17:23 -07:00
Brendan Burns
99b8df1812 Add field based sorting to the kubectl command line. 2015-08-12 16:51:36 -07:00
Mike Danese
1cd9478346 rewrite links pointing to godoc 2015-08-12 15:27:36 -07:00
Mike Danese
fe0e758d4d rewrite kubectl command references to GoogleCloudPlatform 2015-08-12 14:52:13 -07:00
Peeyush Agarwal
05e069d038 Use bash comments in kubectl examples
Comments in kubectl examples should use bash comments, not Go comments.
So, replaces // by # for example strings.
2015-08-12 19:56:23 +00:00
RichieEscarez
e72c0428bd Fixed broken link (was pointing to a file that has since been moved).
Fixes #12357
2015-08-12 09:47:25 -07:00
feihujiang
c0b2098844 Kubectl expose command accepts a filename param 2015-08-12 16:16:37 +08:00
Piotr Szczesniak
b2c0a55679 Merge pull request #12332 from hurf/nits
Synchronize help message between describe and get
2015-08-12 09:51:31 +02:00
hurf
1d1f1fd97c Synchronize help message between describe and get
small nits, change 'resources' to 'resource types'
2015-08-12 15:27:11 +08:00
Alex Robinson
0e553a2611 Fix the paths given in the update-demo, which was moved out of examples
and into docs/user-guide about a month ago.
2015-08-11 23:00:24 -07:00
Eric Paris
5aa495cdad Update code to use - in flag names instead of _ 2015-08-11 16:31:52 -04:00
Filip Grzadkowski
9dd3cac82e Merge pull request #12423 from brendandburns/service
Make services print on a single line.
2015-08-11 10:29:23 +02:00
Alex Robinson
f63eba6e36 Merge pull request #12061 from pmorie/secrets-ug-vectors
Add information about protections/risks to secrets user guide
2015-08-10 18:08:51 -07:00
Alex Robinson
5836d455b8 Merge pull request #12239 from eparis/bash-completions-rolling-update
Bash completion annotations for rollingupdates
2015-08-10 15:02:48 -07:00
Alex Robinson
9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson
933c855fba Merge pull request #12354 from mjibson/replace-cascade-fix
Fix flag docs for replace cascade
2015-08-10 11:06:41 -07:00
Alex Robinson
462fed62b7 Merge pull request #12189 from feihujiang/describeKindNoArguments
kubectl describe <kind> work with no arguments
2015-08-10 11:05:34 -07:00
Brendan Burns
79fb674679 Fix the service printer to be a single line per service 2015-08-10 10:57:45 -07:00
Brendan Burns
68bc931c65 Update the documentation to show that you can get an external IP from kubectl and LoadBalancer services 2015-08-10 09:39:06 -07:00
gmarek
acf788b6a6 small changes to Services doc 2015-08-10 18:37:49 +02:00
Matt Jibson
2c0f32e9b8 Fix flag docs for replace cascade 2015-08-10 12:03:43 -04:00
Marek Grabowski
9ddcfb7d54 Merge pull request #12421 from jlowdermilk/replace-help-text
Clarify help text of kubectl replace
2015-08-10 16:34:17 +02:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Eric Paris
9de64328a5 Bash completion annotations for rollingupdates 2015-08-10 10:26:18 -04:00
Marek Grabowski
a0371b3985 Merge pull request #11919 from samsabed/descLaststatus
kubectl describe pod should print lastState
2015-08-10 14:56:44 +02:00
Marek Grabowski
e27787c9d3 Merge pull request #12292 from brendandburns/stdin3
Add support for `--restart`
2015-08-10 14:54:54 +02:00
feihujiang
73b694e6c1 kubectl describe <kind> work with no arguments
Add describe_resource_assert to test describe <kind> with no object arg
2015-08-10 14:08:38 +08:00
Jeff Lowdermilk
1956484816 Clarify help text of kubectl replace
Help the next poor soul avoid the confusion I had when
```
$ kubectl create -f pod.yaml
$ kubectl replace -f pod.yaml
```
doesn't work.
2015-08-09 12:30:03 -07:00
Ed Costello
35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh
b071857c0f Merge pull request #10816 from feihujiang/kubectlDescribeAcceptFileNameParam
Kubectl describe command accepts a filename param
2015-08-07 15:23:57 -07:00
Brendan Burns
e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
Jerzy Szczepkowski
372508cfbb Merge pull request #12117 from davidwalter0/wip
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
feihujiang
90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
feihjiang
2ca200f087 Kubectl describe command accepts a filename param 2015-08-07 16:28:51 +08:00
Brendan Burns
9ac50b4980 Add interactive run that combines run and attach. 2015-08-06 20:20:14 -07:00
David Walter
792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Sam Abed
e7dcec075a show LastTerminationState in kubectl describe pod
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-08-07 11:45:20 +10:00
Eric Paris
76896bf244 Regen docs with new pflags
This basically just shows in the docs that the =false portion of
booleans are optional.
2015-08-06 19:16:13 -04:00
Dawn Chen
5175bb0b91 Merge pull request #10608 from stefwalter/proxy-unix-socket
kubectl: Add proxy --unix-socket=/file/path option
2015-08-06 10:47:19 -07:00
Wojciech Tyczynski
4244a7cb2f Merge pull request #12296 from erictune/troubleshooting
Troubleshooting for misplaced/misspelled fields
2015-08-06 15:20:46 +02:00
Wojciech Tyczynski
e366f2c597 Merge pull request #12206 from derekwaynecarr/move_doc
LimitRange documentation should be under admin
2015-08-06 13:43:58 +02:00
Stef Walter
f6da3fdbe1 kubectl: Add proxy --unix-socket=/file/path option
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.

We make sure the socket starts its life only accessible by the
current user using Umask.

This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Wojciech Tyczynski
871ca7a05f Merge pull request #12320 from mikedanese/rewrite-pr-issue-links
rewrite all links to issues and PRs to k8s links
2015-08-06 09:55:44 +02:00
Wojciech Tyczynski
cb49b195a6 Merge pull request #12270 from jacobtomlinson/docs-persistent-volumes
Improved docs readability
2015-08-06 08:33:09 +02:00
Wojciech Tyczynski
0a8073b30b Merge pull request #12267 from TheMeier/patch-1
typo in rbd doc
2015-08-06 08:32:16 +02:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Eric Tune
1ce1c54b21 troubleshooting for misplaced/misspelled fields 2015-08-05 11:09:32 -07:00
derekwaynecarr
577f2fa0a5 LimitRange documentation should be under admin 2015-08-05 10:26:52 -04:00
Jacob Tomlinson
91bd7f5d6c Improved readability 2015-08-05 13:50:49 +01:00
Christoph Maser
c0802dbd43 typo in rbd doc
mixed up readers and writers
2015-08-05 13:51:07 +02:00
hurf
33fb6170f9 Use TYPE instead of RESOURCE in help string
For commands in kubectl, use TYPE in help string.
2015-08-05 16:34:48 +08:00
Alex Mohr
0e8020f9bb Merge pull request #11779 from JanetKuo/add-kubectl-annotation
Auto commit by PR queue bot
2015-08-04 18:28:12 -07:00
Chao Xu
17cd3cf392 direct people to api-reference/definitions.html to find out if a field is mutable through kubectl replace/patch 2015-08-03 18:18:00 -07:00
Alex Mohr
7ac6c50b9d Merge pull request #12094 from brendandburns/kubectl
Auto commit by PR queue bot
2015-08-03 17:09:06 -07:00
Janet Kuo
7e63213478 Implement kubectl annotation update command. Refactor kubectl annotate to decouple command framework from business logic. 2015-08-03 14:35:56 -07:00
feihujiang
fa68de4fcf Correct kubectl delete's wrong synopsis 2015-08-03 13:58:23 +08:00
Mike Danese
cf4cb1a6a3 Merge pull request #10474 from kargakis/scale-multiple-controllers
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
Mike Danese
f3c4b7f7ac Merge pull request #12016 from hurf/shortcut
Better help message for get and describe
2015-07-31 13:53:02 -07:00
Mike Danese
a23ee556ad Merge pull request #11999 from brendandburns/attach2
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Mike Danese
feb0152595 Merge pull request #12056 from pmorie/container-env-dapi
Add link to downward API docs to container env docs
2015-07-31 12:16:04 -07:00
Brendan Burns
c9bc1456ff Add session affinity flags to kubectl expose 2015-07-31 10:34:52 -07:00
Paul Morie
f475b933b0 Add link to downward API docs to container env docs 2015-07-31 12:52:12 -04:00
kargakis
0e796ca09a Enable scaling multiple controllers 2015-07-31 10:24:59 +02:00
hurf
029ed15be5 Better help message for get and describe
Add tips for shortcut ns and ep.
2015-07-31 15:15:51 +08:00
Paul Morie
429e9bda5e Add information about protections/risks to secrets user guide 2015-07-30 21:33:00 -04:00
Eric Paris
024208e39f Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
Eric Paris
8886a9940d Rewrite how the munger works
The basic idea is that in the main mungedocs we run the entirefile and
create an annotated set of lines about that file. All mungers then act
on a struct mungeLines instead of on a bytes array. Making use of the
metadata where appropriete. Helper functions exist to make updating a
'macro block' extremely easy.
2015-07-30 20:41:30 -04:00
Eric Paris
4cbca2e63c Make munger begin/end less generic
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Brendan Burns
97cb1cd071 Add support for attach to kubectl 2015-07-30 12:56:18 -07:00
Mike Danese
82227c4fbd Merge pull request #11973 from hurf/deprecate_stop
Deprecate kubectl stop command
2015-07-29 15:47:59 -07:00
Mike Danese
e907c276fb Merge pull request #11630 from mgannholm/master
remove dup install and config sections; add chmod
2015-07-29 11:23:26 -07:00
Mike Danese
025d3568bc Merge pull request #11970 from ZJU-SEL/deprecate-outdated-param
deprecate outdated param for deploying k8s on ubuntu
2015-07-29 10:30:20 -07:00
Mike Danese
45b3ba17e3 Merge pull request #11969 from moander/patch-1
typo
2015-07-29 09:50:35 -07:00
Mike Danese
60ac834563 Merge pull request #10652 from JanetKuo/kubectl-o-name
Add '-o name' to mutations
2015-07-29 09:46:10 -07:00
hurf
35cac3c4e7 Deprecate kubectl stop command
Added deprecation warning for stop.
2015-07-29 17:19:18 +08:00
He Simei
a67be8e8ab deprecate outdated param 2015-07-29 13:57:14 +08:00
Morten Andersen
e8017d3a90 Missing argument to get documented result 2015-07-29 07:50:05 +02:00
Morten Andersen
9a010a71c8 typo 2015-07-29 07:42:55 +02:00
Tim Hockin
c2e8fa843a capitalization 2015-07-27 16:01:26 -07:00
Janet Kuo
180798cfa4 Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
Daniel Smith
2bd53119b1 Merge pull request #10524 from bprashanth/delete_overlapping_error
Add clarity around overlapping controllers
2015-07-27 14:31:49 -07:00
Janet Kuo
0e42d0699a Add '-o name' to mutations 2015-07-27 14:06:53 -07:00
Jeff Lowdermilk
f71a662dc6 Make kubectl proxy support picking a random port 2015-07-27 09:56:33 -07:00
Daniel Dreier
8130a4c390 Fix typo in service account documentation
Extra "c" in "serviceaccounts" made example not work when copy-pasting.
2015-07-25 12:32:00 -07:00
Prashanth Balasubramanian
f4fe40e2d1 Delete overlapping controllers, add clarity to docs 2015-07-24 12:13:26 -07:00
Mike Danese
15fcb84e0d Merge pull request #10743 from hurf/get_help_fix
Fix hits in help strings of kubectl get command
2015-07-24 11:09:48 -07:00
Jordan Liggitt
85fd52126d Default --ignore-not-found to true for delete --all 2015-07-23 18:08:15 -07:00
Vish Kannan
bfd7477b5b Merge pull request #11648 from jumpkick/patch-1
Update volumes.md
2015-07-22 14:06:32 -07:00
jumpkick
362835c641 Update volumes.md 2015-07-21 00:45:49 -04:00
Tim St. Clair
0c28499038 Detailed walkthrough docs cleanup
- Consistent capitalization of IP
- Remove file name from some docs links
- Fix comma usage and typos
2015-07-20 18:11:32 -07:00
krousey
fbc85e9838 Merge pull request #11627 from davidopp/doc2
Add a known issues doc.
2015-07-20 17:34:46 -07:00
David Oppenheimer
ab3d63c95f Add a known issues doc. 2015-07-20 17:28:20 -07:00
Martin Gannholm
2e7e2984a9 remove dup install and config sections; add chmod 2015-07-20 16:55:36 -07:00
Tim St. Clair
ca32e651bd Cleanup docs.
- Fix typo in services-firewalls
- Fix incorrect comma usage
- s/minion/node/
- Link deadlock to wikipedia article
- Fix livenessProbe capitalization
- Change API reference quoting from " to \`
2015-07-20 16:25:37 -07:00
krousey
5161d22322 Merge pull request #11595 from erictune/foo
Split namespace docs user vs admin.
2015-07-20 15:11:03 -07:00
Eric Tune
6fa6beaccc Split namespace docs user vs admin.
Move namespace.md and examples dir from docs/user-guide
to docs/admin.

Assumption is that creating and deleting namespaces is an "admin"
task.

Add a mostly new user-guide to namespaces that gives more advice
on when to use namespaces, and how to work within them,
but not how to create/delete them.  It is more succinct than
before.
2015-07-20 15:01:44 -07:00
krousey
a6fdc50265 Merge pull request #11611 from erictune/fixhdr
Remove equals from heading which breaks our links.
2015-07-20 14:58:03 -07:00
Eric Tune
844c823f01 Remove equals from heading which breaks our links. 2015-07-20 14:44:10 -07:00
Alex Robinson
acd1bed70e Fix capitalization of Kubernetes in the documentation. 2015-07-20 14:39:36 -07:00
krousey
9721efed91 Merge pull request #11569 from nikhiljindal/eric
Linking to API object definitions from docs
2015-07-20 12:30:47 -07:00
krousey
960c6a2d8b Merge pull request #11583 from thockin/docs-tick-tick-tick
Collected markedown fixes around syntax.
2015-07-20 12:01:04 -07:00
nikhiljindal
021138bd83 Linking to API object definitions from docs 2015-07-20 11:11:13 -07:00
David Oppenheimer
2d88675f22 Merge pull request #10827 from gmarek/doc
Update cluster management doc.
2015-07-20 10:49:47 -07:00
gmarek
de07cbda3a Update cluster management doc. 2015-07-20 19:47:09 +02:00
Tim Hockin
995a7aef29 Collected markedown fixes around syntax. 2015-07-20 09:51:22 -07:00
Brian Grant
5450afdabc Merge pull request #11568 from davidopp/doc2
Absolutize links that leave the docs/ tree to go anywhere other than
2015-07-20 07:34:00 -07:00
David Oppenheimer
50e95a031b Absolutize links that leave the docs/ tree to go anywhere other than
to examples/ or back to docs/
2015-07-20 00:25:07 -07:00
Tim Hockin
1098ad83a1 Fix console syntax for highligting 2015-07-19 20:56:30 -07:00
Alex Robinson
68d6e3a8ae Replace `` with when emphasizing something inline in docs/ 2015-07-19 09:05:17 +00:00
Brian Grant
91923b51c8 Merge pull request #11546 from a-robinson/toc
Fix broken table of contents sections
2015-07-18 22:29:02 -07:00
Alex Robinson
6e792f75f5 Fix broken table of contents sections. 2015-07-18 22:18:55 -07:00
Alex Robinson
38c6a23eb2 Improve markdown highlighting in downward API user guide. 2015-07-19 03:54:28 +00:00
Alex Robinson
fefb582447 Improve markdown highlighting in limit range user guide. 2015-07-19 03:54:28 +00:00
Alex Robinson
02cdce3d7d Add markdown highlighting to liveness user guide. 2015-07-19 03:54:28 +00:00
Alex Robinson
0435f1c333 Improve markdown highlighting in namespaces user guide. 2015-07-19 03:54:28 +00:00
Alex Robinson
14aa9d8c77 Improve console output in persistent volumes user guide. 2015-07-19 03:54:25 +00:00