Commit Graph

395 Commits

Author SHA1 Message Date
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
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