Commit Graph

374 Commits (064b7dec4249dea9a1466c960eb0f90f23517914)

Author SHA1 Message Date
Brendan Burns 99267d725c Add validation of args for create. 2015-03-24 11:21:52 -07:00
Piotr Szczesniak c06eecf7aa Added colors to output of kubectl clusterinfo
Added warning about trailing slashes

Also I ran godeps as described at
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/devel/development.md

This fixes #5698
2015-03-24 11:46:04 +01:00
Deyuan Deng 4939c1137c Add node describe labels, creationTimestamp 2015-03-23 17:13:45 -04:00
Clayton Coleman d19aac80ea Merge pull request #5533 from smarterclayton/burn_yaml_with_fire
Burn YAML with fire (kind of)
2015-03-23 13:45:52 -04:00
Saad Ali f57540c7a0 Merge pull request #5532 from nikhiljindal/event
Adding GetFieldSelector() to client.EventInterface
2015-03-20 15:05:14 -07:00
nikhiljindal 1b87060aec Adding GetFieldSelector() to client.EventInterface 2015-03-20 13:58:23 -07:00
Tim Hockin 4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Clayton Coleman 6918a4d32e Replace automatic YAML decoding with opt-in YAML decoding
Base codecs no longer automically handle YAML.  Instead, clients
must convert to JSON first via yaml.ToJSON and runtime.YAMLDecoder.
2015-03-20 00:03:56 -04:00
Clayton Coleman 022c103699 Update RollingUpdater to use resource.Builder
Remove last usage of ResourceFromFile
2015-03-20 00:03:54 -04:00
CJ Cullen f6d8d5f800 Merge pull request #5522 from fabioy/expose-label.fix
Add "--labels" option to the "expose" kubectl command.
2015-03-19 14:40:15 -07:00
Jeff Lowdermilk 39211af25e Declare kubectl validate flag once 2015-03-18 14:00:19 -07:00
Jeff Lowdermilk 72699606a9 Merge pull request #5541 from deads2k/deads-expose-resolve-local-paths
allow any number of kubeconfig files
2015-03-18 10:46:47 -07:00
Tamer Tas b39e31d8a3 Remove cmd from kubectl/cmd/factory 2015-03-18 14:23:14 +02:00
Jeff Lowdermilk faab509a23 Merge pull request #5543 from you-n-g/master
add get available versions commmand
2015-03-17 17:34:33 -07:00
Salvatore Dario Minonne 31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
fabioy 401451c510 Add "--labels" option to the "expose" kubectl command. 2015-03-17 09:47:57 -07:00
Young 97b647207e add get available versions commmand 2015-03-17 13:51:18 +00:00
deads2k 8555ed3ede allow any number of kubeconfig files 2015-03-17 08:49:34 -04:00
Wojciech Tyczynski e6d188fca8 Remove BoundPod structure 2015-03-17 10:27:41 +01:00
Brian Grant 2f9a41b898 Merge pull request #5233 from brendandburns/labels
Make label and field selector query strings versionable.
2015-03-16 16:01:37 -07:00
Nikhil Jindal d1dc17120d Merge pull request #4880 from smarterclayton/better_describe
Make Describe functions available to local objects
2015-03-16 12:19:22 -07:00
Clayton Coleman 85d96f9e7a Make describe able to be invoked on local resources
Support a more flexible access mechanism for getting a describer given
only an object.
2015-03-16 00:09:20 -04:00
Dawn Chen 34e9c82c70 Convert RestartPolicy to string for v1beta3.
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Ravi Sankar Penta f6ecec5880 Allow admin user to explicitly unschedule the node
Setting Unschedulable on the node will not touch any existing pods
on the node but will block scheduling of new pods on the node.
2015-03-12 14:27:27 -07:00
Brendan Burns 266234f3b9 Make label and field selector query strings versionable. 2015-03-12 12:24:07 -07:00
Satnam Singh a3fd0a9fd5 Merge pull request #5284 from piosz/guestbook_bug
Rewrite guestbook example to use kube-dns instead of host:port
2015-03-11 23:14:18 -07:00
Jeff Lowdermilk a5746c9a0e Fix md generation for kubectl docs
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
Nikhil Jindal 9baa261728 Merge pull request #5219 from jlowdermilk/kubectl-err-handling
Make kubectl commands return errors and centralize exit handling
2015-03-11 10:06:52 -07:00
Piotr Szczesniak 4679a37b38 Rewrite guestbook example to use kube-dns instead of host:port
This fixes #5091
2015-03-11 09:51:47 +01:00
Jerzy Szczepkowski 110ab79f05 Added support for labels to "kubectl stop".
Added support for labels and --all to "kubectl stop". Fixes #5178.
2015-03-11 09:43:29 +01:00
Brian Grant 827a92316c Merge pull request #5251 from derekwaynecarr/namespace_lifecycle
Add a NamespacePhase to Namespace
2015-03-10 15:21:07 -07:00
derekwaynecarr 7de138a9bb Add a NamespacePhase to Namespace 2015-03-10 14:11:54 -04:00
Jeff Lowdermilk cd7d78b696 Make kubectl commands return errors and centralize exit handling 2015-03-10 10:19:43 -07:00
Deyuan Deng 58776da6a4 Add more information to node describe 2015-03-09 18:56:59 -04:00
Daniel Smith 6de2e615cb Merge pull request #5193 from bprashanth/e2e_stop_controller
Properly reap replication controllers in e2e test
2015-03-09 15:38:26 -07:00
Brendan Burns 0ad6e5b48c Fix the test by using an even more bogus tld. 2015-03-09 14:31:39 -07:00
Alex Mohr 37bfb0d7cf Merge pull request #5159 from brendandburns/coverage
Expand test coverage in master.
2015-03-09 13:26:37 -07:00
Prashanth Balasubramanian 0e484f25b1 Properly reap replication controllers in e2e test 2015-03-09 13:08:12 -07:00
Brendan Burns 7c654a3d1b Expand test coverage in master, kubectl/cmd/util, pkg/registry/resourcequota, and api/rest. 2015-03-07 15:24:39 -08:00
Brendan Burns f505a33998 Differentiate between server error messages and client error messages in kubectl 2015-03-07 11:39:23 +01:00
Brendan Burns 2700871b04 Merge pull request #5013 from smarterclayton/misc_fixup
Small cleanups to a number of client behaviors
2015-03-06 15:41:34 +01:00
Salvatore Dario Minonne 75f2efb500 moving ParseSelector to Parse for labels only. 2015-03-05 22:39:36 +01:00
Tim Hockin fdea7252a4 Merge pull request #5001 from brendandburns/api3
Embed VolumeSource in v1beta3 and internal.
2015-03-04 09:50:14 -08:00
Eric Tune 662189ebc2 Merge pull request #4967 from jlowdermilk/kubeconfig
Simplify generating kubeconfig with embeded cert data
2015-03-04 08:38:43 -08:00
Clayton Coleman 17f7dd8d6d Only insert outputversion as a preferred mapping type if no error occurs
Some types will be looked up based on their internal type, which is passed
directly to RESTMapping(). RESTMapping() will search the entire version
list if no external types are passed, but OutputVersionMapper was bypassing
that because the default type was always present.

Change OutputVersionMapper to collapse empty versions, and when no external
type is specified, try with the preferred version and then try without.
2015-03-04 10:48:05 -05:00
Clayton Coleman a97635e643 Use IsListType instead of checking ItemPtr in resourcebuilder 2015-03-04 10:48:05 -05:00
Clayton Coleman b799e8cd3a Enumerate all versions when looking for an output conversion
Ensures that all objects can be printed, even if they don't
match output-version (because they are only implemented in
a newer API version).
2015-03-04 10:48:05 -05:00
Brendan Burns fb90b56bf6 Embed VolumeSource in v1beta3 and internal. 2015-03-04 02:25:40 -08:00
Jeff Lowdermilk 6e704d174d Simplify generating kubeconfig with embeded cert data 2015-03-03 12:18:07 -08:00
Satnam Singh 709476cb5b Merge pull request #4657 from piosz/kubectl
Added new command clusterinfo to kubectl
2015-03-03 11:34:17 -08:00