Anastasis Andronidis
5eae2378d6
Warn for every _ flag user or cmd defined
...
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
Cesar Wong
cb872e9243
Rename 'kubectl log' to 'kubectl logs'
2015-05-26 08:28:16 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Dawn Chen
cc6a31354e
Merge pull request #8169 from kargakis/expose-use-resource-builder
...
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Masahiro Sano
8ce64ec69e
add --all-namespaces flag to request across all namespaces
2015-05-22 23:25:12 +09:00
Chao Xu
bda5e4376e
in docs, update "minions" to "nodes"
2015-05-21 09:59:40 -07:00
Dawn Chen
fdb44a9ad2
Merge pull request #8602 from caesarxuchao/rC-to-rc
...
in docs, update replicationController to replicationcontroller
2015-05-21 09:49:35 -07:00
Chao Xu
5b8b5a0844
in docs, update replicationController to replicationcontroller
2015-05-20 17:31:15 -07:00
kargakis
30958f892d
expose: Use resource builder
...
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
hurf
eb61f11384
Revise user manual for kube binaries except kubectl
...
Updated options and examples based on kubernetes version 0.17
2015-05-20 15:32:43 +08:00
Chao Xu
013130f150
update the docs for kubectl-run-container to v1beta3
2015-05-18 13:29:24 -07:00
Jeff Lowdermilk
553f9f822b
Add ga-beacon analytics to gendocs scripts
...
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
kargakis
ac652d16e6
expose: Re-use labels in case none was specified
2015-05-15 11:54:41 +02:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Dawn Chen
ecaf0874b2
Introduce --previous option to kubectl log
2015-05-11 10:14:22 -07:00
deads2k
19784dbc4f
remove auth-path from kubeconfig
2015-05-11 10:40:23 -04:00
Brendan Burns
c9e33e197d
Add support for --rollback.
2015-05-06 10:21:35 -07:00
Rohit Jnagal
9cbfb0c3f9
Add --hostport to run-container.
...
This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
2015-05-01 23:45:03 +00:00
Eric Paris
ea9d6dfee6
Update license boilerplate for docs/man/md2man-all.sh
2015-05-01 13:50:14 -04:00
Clayton Coleman
d03b5299f9
Merge pull request #7432 from piosz/termination_notice
...
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
2015-04-30 13:55:51 -04:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Rohit Jnagal
0a8b136ee6
Fix typo in 'kubectl expose' examples.
2015-04-30 06:02:16 +00:00
Brendan Burns
e1256c0802
Make delete actually stop resources by default.
...
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Brendan Burns
591d98b6b2
Add replication controller renaming as a cleanup option.
2015-04-27 20:38:20 -07:00
Brendan Burns
217e6ff0d0
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 15:19:00 -07:00
Jeff Lowdermilk
a8e2f6e9c8
Add examples for kubectl describe, and make gendocs less spammy
...
Makes hack/{run/verify}-gendocs.sh ignore generated-timestamp-only
changes so minor changes to kubectl don't have to touch the entire
set of md docs.
2015-04-23 14:53:10 -07:00
Jeff Lowdermilk
fa6ce7b7bf
Add a --raw flag to kubectl config view
...
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07:00
Kenjiro Nakayama
2e702b0c61
Replace hostname -f with uname -n
2015-04-20 14:16:21 -07:00
Fabio Yeon
c6ef2ddf8a
Fix "validate-cluster.sh" to use "kubectl get componentstatus".
2015-04-17 11:59:53 -07:00
Jeff Lowdermilk
97e4549170
Merge pull request #6680 from deads2k/deads-change-kubeconfig-chain
...
change kubeconfig loading chain
2015-04-16 13:57:31 -07:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
deads2k
de4be5422c
change kubeconfig loading order
2015-04-16 13:05:09 -04:00
Xiang Li
5f4b2f5551
docs: generate docs
2015-04-14 12:53:37 -07:00
deads2k
bac5cbbe82
add flattening and minifying options to config view
2015-04-14 10:23:10 -04:00
Eric Paris
26149bd83d
Doc generation should remove old doc files
...
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc. But they miss it if your
changes should have REMOVED a doc. Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.
This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
deads2k
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
Jeff Lowdermilk
ca6f1a1bc7
Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
...
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
nikhiljindal
fe60be3179
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 13:08:13 -07:00
deads2k
5c4b6583e4
fix kubectl config view to respect serialization formats
2015-04-07 08:07:24 -04:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Alex Robinson
68ca910c1b
Fix the kubectl docs at head.
2015-04-01 21:59:26 +00:00
Tim Hockin
f928f52a4a
Alias --container-port to --target-port in kubectl
2015-03-26 17:59:46 -07:00
Jeff Lowdermilk
653b7e629d
Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
...
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Jeff Lowdermilk
fc2eb66d9f
Merge pull request #5976 from smarterclayton/support_resource_builder_on_label
...
`kubectl label` should support resource builder
2015-03-26 13:21:56 -07:00
Clayton Coleman
64f91f7dac
Allow kubectl expose
to be polymorphic to the source of the selector
...
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).
Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00
Clayton Coleman
1e496696ca
Merge pull request #5903 from smarterclayton/support_resources_by_type_and_name
...
Allow resource.Builder commands to take arguments by type/name
2015-03-26 14:23:03 -04:00
Clayton Coleman
68c46e7f52
kubectl label
should support resource builder
...
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04:00
Clayton Coleman
0dd625ffd3
Order the commands in kubectl by importance and function
...
Move the client config commands towards the bottom, keep the primary
verbs near the top. Version goes at the bottom.
2015-03-26 10:19:06 -04:00
Clayton Coleman
581d7cd789
Allow resource.Builder commands to take arguments by type/name
...
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00