harry
bc422f077a
Refactor bool_flag into sub pkg
2016-03-21 14:50:57 +08:00
k8s-merge-robot
b56252e338
Merge pull request #23161 from thockin/drain-help-typo
...
Auto commit by PR queue bot
2016-03-19 22:44:54 -07:00
Tim Hockin
1e5ce735fc
Fix typo in help for kubectl drain
2016-03-19 20:42:51 -07:00
AdoHe
57534eaec9
update expose command description to add deployment
2016-03-19 13:51:21 -04:00
Madhusudan.C.S
67b70d7c89
Add a Deployment example for kubectl expose.
2016-03-18 17:05:49 -07:00
k8s-merge-robot
41c85d1113
Merge pull request #22999 from smarterclayton/better_auth_error
...
Auto commit by PR queue bot
2016-03-16 09:59:20 -07:00
Clayton Coleman
dccf114fdd
Display a better error on unauthorized
...
Not being logged in is a common user error, and the message we display
can be more specific to an end user. Provide a friendly message with the
server message in parethesis (in case this is a more complex server
error).
2016-03-15 12:51:23 -04:00
Michail Kargakis
23343425b8
kubectl: print errors that wont be reloaded in the editor
2016-03-15 15:01:28 +01:00
Kris
4d404ded1a
Moving adapters to their own packages
2016-03-14 14:22:34 -07:00
harry
f19d59cf35
Move flag into sub pkg
2016-03-14 21:30:38 +08:00
Jordan Liggitt
d008283942
Tolerate multiple registered versions in a single group
2016-03-12 12:49:41 -05:00
Brian Grant
b7984b2fa7
Merge pull request #22862 from jlowdermilk/typo
...
fix typo in kubectl run help string
2016-03-11 12:26:48 -08:00
nikhiljindal
593b78f925
Deprecating --api-version flag
2016-03-11 10:12:44 -08:00
Jeff Lowdermilk
627615c870
fix typo in kubectl run help string
2016-03-11 10:11:14 -08:00
Brian Grant
5cc7790f45
Merge pull request #22853 from deads2k/parse-version
...
allow resource.version.group in kubectl
2016-03-11 10:11:00 -08:00
Brian Grant
1c50f1831c
Merge pull request #22849 from soltysh/issue22836
...
Added api discovery to kubectl run, based on which we decide which generators to use
2016-03-11 09:04:12 -08:00
Maciej Szulik
f27871e60d
Added api discovery to kubectl run, based on which we decide which generators to use
2016-03-11 16:59:14 +01:00
deads2k
5bd161a9cc
allow resource.version.group in kubectl
2016-03-11 10:21:50 -05:00
Brian Grant
e5748a44d6
Merge pull request #22840 from liggitt/preferred-gvk
...
Prefer fetched version when determining HPA group version kind
2016-03-11 00:41:39 -08:00
Brian Grant
5bd45d26ac
Merge pull request #22772 from AdoHe/kubectl_update_wide
...
update wide option output
2016-03-10 23:19:02 -08:00
AdoHe
9788101e11
update wide option output
2016-03-11 00:29:37 -05:00
Jordan Liggitt
560b02b3ec
Prefer fetched version when determining HPA group version kind
2016-03-11 00:03:38 -05:00
Madhusudan.C.S
dfc62b56cc
Enable kubectl autoscale for replica sets.
...
Also add some tests for it.
2016-03-10 15:05:54 -08:00
Maciej Szulik
de83631768
Added job/v1 generator to kubectl run
2016-03-10 19:56:57 +01:00
k8s-merge-robot
f046d6c83e
Merge pull request #22420 from AdoHe/kubectl_swagger_cache
...
Auto commit by PR queue bot
2016-03-07 15:18:56 -08:00
k8s-merge-robot
492c5d68fb
Merge pull request #21694 from aveshagarwal/master-sort-by-versioned
...
Auto commit by PR queue bot
2016-03-07 08:09:55 -08:00
k8s-merge-robot
95ab1936ea
Merge pull request #22559 from krousey/discbreak
...
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
k8s-merge-robot
f31647ec38
Merge pull request #22556 from sjenning/add-configmap-kubectl-usage
...
Auto commit by PR queue bot
2016-03-05 20:04:29 -08:00
Seth Jennings
4ca54b0c9c
add configmap to kubectl subcommand list
2016-03-05 20:20:00 -06:00
k8s-merge-robot
2e03822386
Merge pull request #21335 from deads2k/make-rc-logs-work
...
Auto commit by PR queue bot
2016-03-05 09:37:24 -08:00
AdoHe
893e36c61d
fix kubectl swagger cache bug
2016-03-04 18:59:40 -05:00
Kris
dbde4fd798
Move the discovery client to its own package
2016-03-04 13:44:52 -08:00
Avesh Agarwal
be06003e6b
Fix kubectl sort-by metadata issue.
...
Internal types are not supposed to have json metadata (though in kubernetes
they do) as it is true with openshift types. That means sort-by must work
on versioned objects for sorting, otherwise it produces "error: metadata
is not found" error if it sorts internal types without json metadata.
This PR converts internal types objects to versioned objects and sort-by
sorts them correctly without medata error, and then it prints
corresponding internal objects in sorted order.
2016-03-04 16:14:45 -05:00
Abhi Shah
b25a48d605
Revert "Move discovery client to its own package"
2016-03-04 09:24:54 -08:00
Abhi Shah
627edd2588
Merge pull request #22016 from krousey/discbreak
...
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
Jeff Lowdermilk
6682a6693c
Merge pull request #22332 from nikhiljindal/rollingUpdate
...
Resetting maxUnavailable for kubectl rolling update to 0
2016-03-03 15:19:02 -08:00
deads2k
f8f45df578
make kubectl logs work for replication controllers
2016-03-03 11:17:50 -05:00
Janet Kuo
d5953991d9
Fix kubectl edit: no such file
2016-03-02 16:05:08 -08:00
nikhiljindal
cb8414e247
Resetting maxUnavailable for kubectl rolling update to 0
2016-03-01 18:44:59 -08:00
k8s-merge-robot
739285b146
Merge pull request #21265 from stevekuznetsov/skuznets/new-sa
...
Auto commit by PR queue bot
2016-03-01 01:14:06 -08:00
Kris
f22664159e
Move the discovery client to its own package
2016-02-29 15:37:21 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
AdoHe
9cc668f7c6
update commented examples just remove $
2016-02-29 09:41:09 -05:00
k8s-merge-robot
e089e841b1
Merge pull request #21593 from fabianofranz/split_bind_flags
...
Auto commit by PR queue bot
2016-02-27 16:10:19 -08:00
Fabio Yeon
a4c9a7c4c0
Merge pull request #19988 from soltysh/annotate_cmd
...
Fix kubectl annotate and label to use versioned objects when operating
2016-02-26 15:38:26 -08:00
Steve Kuznetsov
e5b696ee43
added 'kubectl create sa' to create serviceaccounts
2016-02-26 10:27:37 -05:00
deads2k
9c42d219bc
allow disambiguation of resouces
2016-02-25 07:35:23 -05:00
deads2k
2b84d58b6d
add a PriorityRESTMapper that can choose particular group/version of a resource
2016-02-25 07:35:23 -05:00
Brian Grant
80614896db
Merge pull request #21509 from madhusudancs/kubectl-get-list-deployments-daemonsets
...
Add DaemonSets and Deployments to valid resources list in kubectl.
2016-02-24 15:30:08 -08:00
Brian Grant
4add4ebacc
Merge pull request #21445 from janetkuo/fix-rolling-update-nil
...
Fix rolling-update --image nil pointer dereference
2016-02-24 13:59:01 -08:00
Janet Kuo
e7356679bc
Fix rolling-update --image nil pointer dereference
2016-02-23 15:07:53 -08:00
Madhusudan.C.S
781480d7fe
Add DaemonSets and Deployments to valid resources list in kubectl.
2016-02-23 11:19:19 -08:00
AdoHe
aa5c036a5c
add DESIRED and CURRENT columns to rcs,ds,rs
2016-02-23 10:11:19 -05:00
k8s-merge-robot
725a8e8b36
Merge pull request #21369 from AdoHe/kubectl_change_column_titles
...
Auto commit by PR queue bot
2016-02-23 05:20:38 -08:00
k8s-merge-robot
95354490c1
Merge pull request #21318 from kargakis/record-command-factory-method-tweak
...
Auto commit by PR queue bot
2016-02-22 08:11:57 -08:00
k8s-merge-robot
aee2eb3977
Merge pull request #21434 from erictune/job-ga
...
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
Fabiano Franz
59ea2b1e59
Split factory#BindFlags
2016-02-19 20:41:16 -02:00
Maciej Szulik
9bfa27a5bf
Fix kubectl annotate and label to use versioned objects when operating
2016-02-19 22:40:18 +01:00
deads2k
11da9a7638
fix --record to not fail a successful patch
2016-02-19 14:28:23 -05:00
k8s-merge-robot
82c09f074b
Merge pull request #20481 from kargakis/edit-fixes
...
Auto commit by PR queue bot
2016-02-19 10:55:16 -08:00
Eric Tune
175addf2a3
Implemented Batch client
2016-02-19 09:20:56 -08:00
k8s-merge-robot
68a5641eb8
Merge pull request #20803 from aveshagarwal/master-sortby-indentation-issue
...
Auto commit by PR queue bot
2016-02-19 00:33:00 -08:00
Paul Morie
51a9c2c9ba
Add kubectl create configmap
2016-02-18 21:24:21 -05:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
k8s-merge-robot
17325ef6ef
Merge pull request #20501 from piosz/hpa-ga
...
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
Michail Kargakis
f4658396eb
kubectl: a couple of edit fixes
...
Fix some edit bugs:
* Reload the file in case of syntax errors
* Fix error format for validation errors
* Avoid hotlooping in case of no changes or empty saves
2016-02-18 11:43:07 +01:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Michail Kargakis
55f402c5a6
kubectl: use the factory properly for recording commands
2016-02-17 12:16:19 +01:00
AdoHe
10feb3e6fd
change CONTROLLER, ReplicaSet and Job column titles to NAME
2016-02-16 23:14:12 -05:00
k8s-merge-robot
9dacc5b382
Merge pull request #21238 from AdoHe/kubectl_help_bug
...
Auto commit by PR queue bot
2016-02-15 19:16:39 -08:00
k8s-merge-robot
47acbd62ec
Merge pull request #21099 from deads2k/extend-patch
...
Auto commit by PR queue bot
2016-02-15 14:49:02 -08:00
Piotr Szczesniak
d2f11521cb
Implemented Autoscaling client
2016-02-15 21:39:00 +01:00
k8s-merge-robot
94b3c95e7a
Merge pull request #20557 from AdoHe/kubectl_update_wide
...
Auto commit by PR queue bot
2016-02-15 00:18:37 -08:00
AdoHe
81103a07c2
fix --sort-by help bug
2016-02-14 22:31:13 -05:00
k8s-merge-robot
ee33ed2cf5
Merge pull request #20981 from madhusudancs/labelselector-error-string-fix
...
Auto commit by PR queue bot
2016-02-14 03:14:46 -08:00
k8s-merge-robot
d28ac1f88b
Merge pull request #20948 from ghodss/versioned-apply
...
Auto commit by PR queue bot
2016-02-14 00:56:10 -08:00
AdoHe
53d4b15b87
move columns into wide option to make result more readable
2016-02-14 03:55:00 -05:00
k8s-merge-robot
53d9f9ecab
Merge pull request #20814 from deads2k/restmapper-errors
...
Auto commit by PR queue bot
2016-02-13 15:53:22 -08:00
k8s-merge-robot
060f8f4db7
Merge pull request #20802 from aveshagarwal/master-allnamespaces-issue
...
Auto commit by PR queue bot
2016-02-13 15:25:15 -08:00
Janet Kuo
4e8b4871c4
Add e2e test for kubectl run should generate deployment
2016-02-12 12:29:14 -08:00
Janet Kuo
311385e76c
Make deployment the default in kubectl run
2016-02-12 12:29:14 -08:00
deads2k
9f003f7db3
allow patch to handle multiple types
2016-02-12 11:12:09 -05:00
Avesh Agarwal
c0e1623be2
Fix kubectl get error when both all-namespaces and namespace are provided.
...
As per kubectl get help, --namespace should be ignored with all-namespaces,
but kubectl get pods --all-namespaces --namespace=<name-space> gives
following error:
"the namespace from the provided object "default" does not match the
namespace "". You must pass '--namespace=default' to perform this
operation."
This commit fixes this error issue.
2016-02-11 17:06:04 -05:00
derekwaynecarr
06f26189f0
Update kubectl create subcommand to use printer flags
2016-02-11 15:37:47 -05:00
deads2k
deb4d3ccca
type RESTMapper errors to better handle MultiRESTMapper errors
2016-02-11 11:45:05 -05:00
Madhusudan.C.S
293793cf0d
Allow replica set to be exposed as a service and add kubectl command tests for replica sets.
2016-02-10 16:20:08 -08:00
Sam Ghods
fd5747f89c
Fix reference to versioned object in kubectl apply
...
Fixes #19639
2016-02-10 14:11:44 -08:00
Madhusudan.C.S
525d7a7732
Fix the label selector to selector conversion error string.
...
The message as it is framed right now does not make any sense for the
end users of our system. It might even lead to confusion. So this is
attempt to make the error message less confusing.
2016-02-10 09:43:30 -08:00
k8s-merge-robot
41a98b43e4
Merge pull request #19840 from madhusudancs/replicaset-deployment
...
Auto commit by PR queue bot
2016-02-09 18:57:42 -08:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
k8s-merge-robot
b98d9a21a1
Merge pull request #20818 from deads2k/remove-mixed-case
...
Auto commit by PR queue bot
2016-02-09 05:06:45 -08:00
k8s-merge-robot
5512522362
Merge pull request #20736 from deads2k/kubeconfig-bug
...
Auto commit by PR queue bot
2016-02-09 03:05:36 -08:00
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c
Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
...
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.
Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
Avesh Agarwal
5fbede0428
Fix sort-by indentation issue.
2016-02-08 02:53:00 -05:00
Clayton Coleman
664d25ba5a
Take GVK in SwaggerSchema()
...
This is needed for the legacy OpenShift API group (oapi) which is also
group: "", version: "v1", but needs to return a different swagger
schema. Will in the future be replaced by group defaulting.
2016-02-06 21:24:33 -05:00
k8s-merge-robot
6c5540baae
Merge pull request #20232 from mml/daemonset-warn
...
Auto commit by PR queue bot
2016-02-05 23:12:51 -08:00
Daniel Smith
f973af25fa
Merge pull request #20747 from caesarxuchao/internalclientset
...
rename release_1_2 to internalclientset
2016-02-05 15:49:08 -08:00
Daniel Smith
9441721fee
Merge pull request #19689 from AdoHe/kubectl_label_display
...
kubectl add show-labels flag to make it more readable
2016-02-05 14:08:37 -08:00