Commit Graph

460 Commits (3cd12f5e0580e330a77412a6d722fd51d9dfe57f)

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