Commit Graph

30 Commits

Author SHA1 Message Date
nikhiljindal
c849730116 Fixing the error message 2015-07-16 23:33:16 -07:00
nikhiljindal
496f30a92f Introduce a new service generator that leaves service port unnamed 2015-07-16 20:40:40 -07:00
Zach Loafman
5dbe90f0ba Merge pull request #10493 from krousey/namespace
Unify command line namespace resolution
2015-07-01 19:33:44 -07:00
Kris Rousey
ffa764d60b Unify command line namespace resolution
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
Janet Kuo
682734bcc7 Implement 'kubectl get ... -o wide' 2015-06-30 14:06:47 -07:00
feihujiang
878a72228f Provide more helpful error when using unsupported api version 2015-06-29 15:32:54 +08:00
Anastasis Andronidis
b06ef70057 Print resource labels as columns 2015-06-22 00:44:51 +02:00
Jeff Lowdermilk
f31191224b kubectl negotiates apiversion to use based on client,server supported 2015-06-16 10:12:39 -07:00
feihujiang
37abe11f8a kubetcl create --validate crashes when no apiVersion or kind is provided 2015-06-09 10:38:43 +08:00
Daniel Smith
67f53d2eff Make kubectl work inside a container in k8s 2015-06-03 12:48:07 -07:00
Anastasis Andronidis
9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Anastasis Andronidis
d4a47bdb9e rename run-container to run in kubectl 2015-05-27 19:07:17 +02:00
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
Masahiro Sano
8ce64ec69e add --all-namespaces flag to request across all namespaces 2015-05-22 23:25:12 +09:00
kargakis
ac652d16e6 expose: Re-use labels in case none was specified 2015-05-15 11:54:41 +02:00
Jeff Lowdermilk
ac87ed6516 Merge pull request #8064 from deads2k/death-to-auth-path
eliminate auth-path
2015-05-11 15:41:41 -07:00
deads2k
19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
kargakis
93dc839b19 Load input object for increased safety 2015-05-08 03:17:54 +02:00
kargakis
c9e79a3c28 Setup generators in factory 2015-05-05 12:00:13 +02:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Eric Paris
a17a26643b Update kube to support new pflag/cobra 2015-04-29 11:26:30 -04:00
kargakis
e6ee32a6c6 Fix getting services in expose cmd 2015-04-28 14:45:05 +03:00
Tim Hockin
6694eff020 Use pflags word separators to make - and _ equiv. 2015-04-27 15:10:52 -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
deads2k
de4be5422c change kubeconfig loading order 2015-04-16 13:05:09 -04:00
Dan Mace
bd7b719944 Make default impls private 2015-04-15 16:50:08 -04:00
Dan Mace
312ccad3c1 Use narrowly scoped interfaces for client access
Use custom narrowly scoped interfaces for client access from the
RollingUpdater and Resizer. This allows for more flexible downstream
integration and unit testing without imposing a burden to implement
the entire client.Interface for just a handful of methods.
2015-04-15 14:28:59 -04:00
deads2k
e7baa94404 allow selective removal of kubeconfig override flags 2015-04-13 13:14:23 -04:00
Clayton Coleman
92a68ad7bf The versioned printer should be initialized with the mapping apiversion
VersionedPrinter handles fallback when multiple different APIVersions
are present if multiple arguments are passed (for instance, both Kube
resources at v1beta3 and a third party's API objects which are only
at v1). The cmd PrinterForMapping should always include the current
object's "mapping version" as a fallback in the event the preferred
API version does not map to the actual object.
2015-04-09 15:45:06 -04:00
deads2k
6344cf3c3a refactor to move kubectl.cmd.Factory to kubect/cmd/util 2015-04-07 14:43:50 -04:00