Clayton Coleman
aa810e4e88
Merge pull request #7467 from brendandburns/qps
...
Augment describe to search for matching things if it doesn't match the original resource.
2015-04-30 20:17:34 -04:00
Prashanth Balasubramanian
c8ea0c27e9
Fix rollingupdate --image
2015-04-30 11:28:18 -07: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
Victor Marmol
5bd2e6d37f
Merge pull request #7552 from rjnagal/kubectl
...
Fix typo in 'kubectl expose' examples.
2015-04-30 09:19:37 -07: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
Piotr Szczesniak
cfc73878b9
Added displaying external IPs to kubectl cluster-info
...
Fixes #7521
2015-04-30 10:47:58 +02:00
Rohit Jnagal
0a8b136ee6
Fix typo in 'kubectl expose' examples.
2015-04-30 06:02:16 +00:00
Brendan Burns
83cbd0cf4c
Add recovery for anonymous rollouts.
2015-04-29 16:53:30 -07:00
Brendan Burns
3a8a98c319
Augment describe to search for matching things if it doesn't match the original resource
2015-04-29 16:47:10 -07:00
Jeff Lowdermilk
9fd8cbae64
Merge pull request #7510 from eparis/cobra-rebase
...
Cobra rebase
2015-04-29 15:08:41 -07:00
Clayton Coleman
12ba4e2452
Do not automatically decode runtime.RawExtension
...
Make clients opt in to decoding objects that are stored
in the generic api.List object by invoking runtime.DecodeList()
with a set of schemes. Makes it easier to handle unknown
schema objects because decoding is in the control of the code.
Add runtime.Unstructured, which is a simple in memory
representation of an external object.
2015-04-29 12:53:07 -04:00
Daniel Smith
4d2f7a38c2
Merge pull request #6866 from bprashanth/rc_watch_pods
...
RcManager watches pods and RCs instead of polling every 10s
2015-04-29 09:10:55 -07:00
Eric Paris
a17a26643b
Update kube to support new pflag/cobra
2015-04-29 11:26:30 -04:00
Piotr Szczesniak
9272fe2aea
Updated kubectl cluster-info to show v1beta3 addresses
...
Fixes #7016
2015-04-29 10:54:36 +02:00
Brendan Burns
e1256c0802
Make delete actually stop resources by default.
...
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Prashanth Balasubramanian
7592dabeba
RcManager uses informers
2015-04-28 13:45:15 -07:00
Jeff Lowdermilk
4045dedc99
Merge pull request #7279 from brendandburns/update
...
Further implementation of rolling-update, add rename
2015-04-28 09:31:28 -07:00
kargakis
e6ee32a6c6
Fix getting services in expose cmd
2015-04-28 14:45:05 +03:00
Brendan Burns
591d98b6b2
Add replication controller renaming as a cleanup option.
2015-04-27 20:38:20 -07:00
Tim Hockin
6694eff020
Use pflags word separators to make - and _ equiv.
2015-04-27 15:10:52 -07:00
Brendan Burns
f40c793b37
Address a couple of TODO's in the recent rolling update change.
2015-04-24 16:47:37 -07:00
Brian Grant
7330ced1fe
Merge pull request #7268 from brendandburns/qps
...
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 16:11:07 -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
Clayton Coleman
9d0042e760
Merge pull request #7238 from csrwng/use_log_subresource
...
Switch kubelet log command to use pod log subresource
2015-04-24 15:16:50 -04:00
Cesar Wong
556faa4590
Switch kubelet log command to use pod log subresource
2015-04-24 14:04:51 -04:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
David Oppenheimer
e8b28c59c6
Merge pull request #7228 from jlowdermilk/describe-examples
...
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
Brian Grant
38ea531487
Merge pull request #7194 from nikhiljindal/example
...
Updating the guestbook example to v1beta3
2015-04-23 15:26:47 -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
nikhiljindal
1e323d77bc
Updating the guestbook example to v1beta3
2015-04-23 14:34:36 -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
Brian Grant
7d3c15dd4d
Merge pull request #6996 from ironcladlou/rolling-updater-cleanup-policy
...
Add cleanup policy to RollingUpdater
2015-04-21 13:47:12 -07:00
Dan Mace
093b7c2e25
Add cleanup policy to RollingUpdater
...
* Support configurable cleanup policies in RollingUpdater. Downstream
library consumers don't necessarily have the same rules for post
deployment cleanup; making the behavior policy driven is more flexible.
* Refactor RollingUpdater to accept a config object during Update instead
of a long argument list.
* Add test coverage for cleanup policy.
2015-04-21 10:51:38 -04:00
Brian Grant
9dcf3e0a33
Merge pull request #7082 from fabioy/api-cs.fix
...
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Clayton Coleman
1bc4912f51
Merge pull request #7030 from liggitt/skip_fetch_delete
...
Skip fetching from server when deleting a named resource
2015-04-20 19:38:10 -04:00
Eric Paris
0620940d26
annotate required flags for bash_completions
...
some commands require that certain flags be set in order to function.
Annotate those flags so the bash completions will suggest to the user
that they be set.
2015-04-20 18:33:00 -04:00
Brendan Burns
d7b0b4a95b
Merge pull request #6834 from eparis/bash-4-kubectl-describe
...
Annotate kubectl describe with describable object for bash completions
2015-04-20 14:13:53 -07:00
Jordan Liggitt
feb8ba9c4e
Allow resource builder to avoid fetching objects
2015-04-20 15:00:52 -04:00
Clayton Coleman
545a5a865f
List output with differing types should be more resilient
...
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.
Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Brendan Burns
e079e23e47
Merge pull request #6597 from fabioy/kubectl-validate
...
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
deads2k
d24b672aa0
allow multiple changes in kubeconfig modifyconfig
2015-04-17 16:02:36 -04:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -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
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
Eric Paris
f272e836e0
Annotate kubectl describe with describable object for bash completions
2015-04-14 18:51:18 -04:00
Eric Paris
de3864a1c2
bash_completions: Generic function for --filename arguments
...
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00
Jeff Lowdermilk
037407f49e
Merge pull request #6791 from eparis/bash-2-kubectl-get-resources
...
bash_completions: annotate kubectl get with resources
2015-04-14 15:02:34 -07:00
Jeff Lowdermilk
4f552053f1
Merge pull request #6789 from eparis/bash-custom-functions
...
Add bash completion custom functions
2015-04-14 11:54:22 -07:00
deads2k
bac5cbbe82
add flattening and minifying options to config view
2015-04-14 10:23:10 -04:00
Eric Paris
c75ecbd8e3
bash_completions: annotate kubectl get with resources which can be 'gotten'
...
A user types:
kubectl get $resource
This will cause the bash completions to suggest the possible objects the
user can ask for. The complete list right now is:
endpoints
event
limitrange
namespace
node
persistentvolume
persistentvolumeclaim
pod
replicationcontroller
resourcequota
secret
service
status
But this list should stay up2date as api objects are added or deleted
2015-04-13 19:11:26 -04:00
Fabio Yeon
e99141de0d
Merge pull request #6729 from smarterclayton/chaosclient
...
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Dawn Chen
fb25f9e12c
Merge pull request #6768 from deads2k/deads-allow-flag-elimination
...
allow selective removal of kubeconfig override flags
2015-04-13 16:00:23 -07:00
Eric Paris
f6878aed3c
Add bash completion custom functions
...
These functions call out to kubectl to get information about running
resources. They give us completions which are kubernetes aware and thus
obviously better than just cobra subcommands and flags.
2015-04-13 18:49:28 -04:00
Clayton Coleman
ca335d7be9
Add support for chaos to Kubelet and hack/local-up-cluster.sh
2015-04-13 18:21:20 -04:00
deads2k
e7baa94404
allow selective removal of kubeconfig override flags
2015-04-13 13:14:23 -04:00
kargakis
ae960552c8
Remove deprecated call to ResourceFromArgs
...
Continuing from #6571
2015-04-11 08:14:25 +02:00
Dawn Chen
cf357dfa21
Merge pull request #6701 from dchen1107/podstatus
...
Fix a small regression on api server proxy after switch to v1beta3.
2015-04-10 14:22:54 -07:00
Dawn Chen
c1e13b3431
Fix a small regression on api server proxy after switch to v1beta3.
2015-04-10 13:42:46 -07:00
Daniel Smith
f591873af7
Add DeepCopy! Also-- optimize conversion for []byte
2015-04-10 13:26:46 -07:00
Jeff Lowdermilk
96076eb129
Merge pull request #6585 from deads2k/deads-config-takes-factory
...
make kubectl config behave more expectedly
2015-04-09 14:54:55 -07: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
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
Vish Kannan
2215a64567
Merge pull request #6571 from kargakis/describe-fix
...
describe: Support resource type/name syntax
2015-04-09 10:54:24 -07: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
kargakis
a8987b661a
describe: Support resource type/name syntax
...
This makes `kubectl describe` resource syntax consistent with `kubectl delete`
2015-04-08 16:03:22 +02:00
Clayton Coleman
bb137f0bba
Merge pull request #6534 from deads2k/deads-kubeconfig-cmd-factory
...
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 17:02:20 -04:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
Clayton Coleman
31b7f75c60
Merge pull request #6516 from ncdc/fix-exec-portforward-proxy-resource
...
Fix exec/portforward minions->nodes
2015-04-07 11:47:46 -04:00
Andy Goldstein
1c92133b77
Fix exec/portforward minions->nodes
...
Exec and port forward weren't working with v1beta3 because they were
proxying minions. Change minions to nodes. This appears to work with
v1beta1 and v1beta2 as well.
2015-04-07 09:48:46 -04:00
Young
ad3712d07c
RunCreate don't need the cmd arg any more
2015-04-07 21:39:48 +08:00
deads2k
06c9dbd32f
add example for default view serialization
2015-04-07 08:07:24 -04:00
deads2k
5c4b6583e4
fix kubectl config view to respect serialization formats
2015-04-07 08:07:24 -04:00
Daniel Smith
44bc29631e
compute query parameter names in the client.
2015-04-06 16:54:26 -07:00
Rohit Jnagal
dbbfac3b54
Merge pull request #6479 from TamerTas/refactor
...
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 13:43:44 -07:00
Tamer Tas
6d84838c0f
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 22:50:07 +03:00
Yu-Ju Hong
dbd7b186a0
Merge pull request #6338 from smarterclayton/improve_config_error
...
Return a typed error for config validation, and make errors simple
2015-04-03 18:08:15 -07: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
Jeff Lowdermilk
96bdee8c28
Merge pull request #6312 from brendandburns/services
...
Make expose use introspection to grab the port value if possible.
2015-04-02 13:32:50 -07:00
Brendan Burns
674efe6de8
Make expose use introspection to grab the port value if possible.
...
Also improve service printing to include public IP addresses.
2015-04-02 13:08:47 -07:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
Clayton Coleman
323a44e54a
Make kubectl errors even more user-friendly
...
Omit glog prefix when v < 2, show multiline errors for configuration
problems, add new generic messages for server errors that hide some
complexity that is not relevant for users.
2015-04-02 01:40:15 -04:00
Rohit Jnagal
e0ff139279
Remove validation for Capacity as it got moved from Spec to Status.
...
Also fix breakage from ExternalID validation: Default ExternalID to node name when not specified.
2015-04-02 00:51:52 +00:00
kargakis
3c09d4d383
Update delete short usage message
2015-04-01 17:14:13 +02:00
Victor Marmol
2de37624e8
Merge pull request #6252 from krousey/string_format_cleanup
...
Fixing a lot of string formatting issues
2015-03-31 16:57:36 -07:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Victor Marmol
b9499b8c5b
Merge pull request #6126 from ghodss/reduce-some-kubectl-spacing
...
Reduce some tab spacing in kubectl
2015-03-27 18:34:36 -07:00
Sam Ghods
f8d8b09a0a
Reduce some tab spacing in kubectl
2015-03-27 18:05:20 -07:00
Victor Marmol
3bc933645b
Merge pull request #6083 from jlowdermilk/fix-log
...
Fix kubectl log for single-container pods
2015-03-27 17:51:33 -07:00
Jeff Lowdermilk
243de3a472
Fix kubectl log for single-container pods
2015-03-27 12:26:00 -07:00
Young
84bfda0587
remove cmd arg
...
related issue "Remove cmd from kubectl/cmd/factory arguments #4470"
2015-03-27 21:46:17 +08: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
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
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
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
Dawn Chen
34e9c82c70
Convert RestartPolicy to string for v1beta3.
...
Fixed #3607 and spiritually support #5475
2015-03-13 18:38: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
Jeff Lowdermilk
cd7d78b696
Make kubectl commands return errors and centralize exit handling
2015-03-10 10:19:43 -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
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
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
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
Piotr Szczesniak
e92192d379
Added new command clusterinfo to kubectl
...
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341 .
It requires label kubernet.io/cluster-service=true set for cluster services.
Follow up cl after discussion in #4417 .
2015-03-03 20:14:24 +01:00
Prashanth Balasubramanian
1970c2d201
Retry resizing replication controllers in kubectl
2015-03-02 20:26:41 -08:00
Mike Danese
25fac68ec4
validate api version in kubectl --patch and --override.
2015-03-02 13:00:45 -08:00
Brian Grant
3f69112e02
Merge pull request #4766 from mikedanese/remove-util-merge
...
Remove pkg/util/merge and replace with evanphx/json-patch
2015-02-25 09:22:01 -08:00
Deyuan Deng
f2698e5905
Merge pull request #4267 from rsokolowski/guestbook-doc
...
Update guestbook example to use replication controller instead of a naked pod.
2015-02-24 15:57:27 -05:00
Jeff Lowdermilk
be124b3cd0
Merge pull request #4786 from GoogleCloudPlatform/revert-4660-deads-make-default-display-yaml
...
Revert "fix kubectl config view to respect serialization formats"
2015-02-24 12:18:31 -08:00
Vish Kannan
68c4ae7f0c
Merge pull request #4776 from brendandburns/log
...
Prompt the user to select a container if they don't provide one
2015-02-24 12:10:18 -08:00
Jeff Lowdermilk
8cfe099af1
Revert "fix kubectl config view to respect serialization formats"
2015-02-24 12:06:24 -08:00
rsokolowski
635281ebe3
Update guestbook example to use replication controller.
2015-02-24 20:21:13 +01:00
Clayton Coleman
76926ec314
Merge pull request #4660 from deads2k/deads-make-default-display-yaml
...
fix kubectl config view to respect serialization formats
2015-02-24 07:56:57 -08:00
Brendan Burns
eefaafc214
Prompt the user to select a container if they don't provide one
...
and we can't infer it.
2015-02-24 06:50:22 -08:00
deads2k
6358bf2e30
add example for default view serialization
2015-02-24 08:54:03 -05:00
Mike Danese
88e1ab3cbe
replace pkg/util/merge with evanphx/json-patch
2015-02-23 20:55:30 -08:00
Tim Hockin
eed36455a7
Merge pull request #4653 from thockin/secret_fixups
...
Secrets fixups
2015-02-23 13:49:19 -08:00
Tim Hockin
607b736a3f
Rename volume source types to be consistent.
2015-02-23 12:39:57 -08:00
Rohit Jnagal
33855c2286
Merge pull request #4696 from kazegusuri/rollingupdate-namespace-aware
...
use default namespace to do rollingupdate
2015-02-23 10:15:03 -08:00
Clayton Coleman
a8ba77f23b
Remove unused flag helpers
2015-02-21 18:25:55 -05:00
Clayton Coleman
35cc1b0c15
Mark old kubectl/resource.go methods as deprecated
...
Every command should use resource.Builder instead to have consistent
behavior.
2015-02-21 18:22:07 -05:00
Masahiro Sano
5c1c84f6c0
use default namespace to do rollingupdate
2015-02-21 20:22:26 +09:00
Brendan Burns
86a0193f51
Merge pull request #4311 from kazegusuri/update_nil_label
...
kubectl label command crashes when a resource has no labels
2015-02-20 15:52:05 -08:00
Eric Paris
d508395828
Change all cobra commands to use the example section
...
This will output the examples in their own section, rather than as part
of the 'long' synposis.
2015-02-20 16:41:31 -05:00
deads2k
2b25c48b1f
fix kubectl config view to respect serialization formats
2015-02-20 14:28:23 -05:00
Satnam Singh
1704319edb
Merge pull request #4662 from deads2k/deads-global-local-override-merge
...
prevent default merging when specifying a specific kubeconfig for config view
2015-02-20 09:51:44 -08:00
Andy Goldstein
5bd0e9ab05
Add streaming command execution & port forwarding
...
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
deads2k
885d88f274
prevent default merging when specifying a specific kubeconfig for config view
2015-02-20 09:27:34 -05:00
Jordan Liggitt
abb38cf793
Let .kubeconfig populate ca/cert/key data, and basic-auth username/password in client configs
2015-02-19 11:29:42 -05:00
Brendan Burns
62c4187e78
Fix rolling update if namespace is empty.
2015-02-17 20:16:49 -08:00
Jeff Lowdermilk
b786c116b6
Make kubectl stop take -f flag (for filename|url|directory)
2015-02-17 11:27:47 -08:00
Brian Grant
e1b07efd36
Merge pull request #4450 from mikedanese/update-fix
...
fix error where we can't use kubectl update patch
2015-02-17 09:58:18 -08:00
Alex Robinson
962b7b4295
Merge pull request #4448 from mikedanese/merge-patch
...
Fix --override and --patch flags in kubectl
2015-02-17 09:44:51 -08:00
Clayton Coleman
0e07e61a53
Merge pull request #4381 from sdminonne/bug_fix
...
kubectl delete resource : remove all resources
2015-02-17 12:25:56 -05:00
Mike Danese
a4eca69e6c
added previously failing unit test and fix using pkg/util/merge.go instead of mergo to apply patch.
2015-02-17 07:43:21 -08:00
Mike Danese
9f9153256d
fix error where we can't use patch and add cmd-test for patch and file
...
update
2015-02-15 10:43:35 -08:00
Jeff Lowdermilk
b23230e616
Merge pull request #4296 from deads2k/deads-allow-dots
...
allow dots in config set
2015-02-13 12:27:36 -08:00
deads2k
941461044b
guard against unexpected type during config manipulation
2015-02-13 13:15:47 -05:00
deads2k
2dcaab75f5
allow dots in config set
2015-02-13 13:11:42 -05:00
Salvatore Dario Minonne
fda17c1b7a
kubectl delete resource : remove all resources
2015-02-13 18:25:41 +01:00
Brendan Burns
f63cf05d21
Add some docs to the template format.
2015-02-12 18:29:11 -08:00
MikeJeffrey
ca1e9f8061
Comments go above the sample line in kubectl docs.
2015-02-12 15:49:25 -08:00
Jeff Lowdermilk
8276a9e03d
Merge pull request #4295 from MikeJeffrey/kubectldocs
...
Clean up kubectl help for auto-gen'd kubectl.md
2015-02-11 09:41:30 -08:00
Masahiro Sano
a841b91aed
allocate map if Labels is not initialized
2015-02-11 20:05:41 +09:00
MikeJeffrey
e5459c8802
Clean up kubectl help for auto-gen'd kubectl.md
2015-02-10 12:02:05 -08:00
Clayton Coleman
dce4cd8b1d
Merge pull request #3613 from derekwaynecarr/namespace_as_kind
...
Namespace as kind
2015-02-10 14:49:58 -05:00
roberthbailey
3f90de3f80
Merge pull request #4289 from jlowdermilk/cleanup
...
Explicitly send error string to Fatal log 2
2015-02-10 11:37:26 -08:00
roberthbailey
ef71b43056
Merge pull request #4281 from brendandburns/fixer
...
Add some error checking to prevent obscure failures.
2015-02-10 11:22:58 -08:00
Jeff Lowdermilk
96c9a15ed5
Merge pull request #4279 from jimmidyson/proxy-tweaks
...
Configurable API prefix for kubectl proxy
2015-02-10 11:21:22 -08:00
Jeff Lowdermilk
aff7f63d7f
Explicitly send error string to Fatal log 2
2015-02-10 10:02:16 -08:00
Clayton Coleman
8811fd2971
Merge pull request #4284 from brendandburns/cleanup
...
Explicitly send the error string to the Fatal log.
2015-02-10 12:48:30 -05:00
Brendan Burns
8f3136cd37
Explicitly send the error string to the Fatal log.
2015-02-10 07:12:13 -08:00
derekwaynecarr
0bd0e12bbc
Add support for Namespace as Kind
...
Add example for using namespaces
2015-02-10 09:50:50 -05:00
Brendan Burns
e7b11d09de
Add some error checking to prevent obscure failures.
2015-02-10 06:32:26 -08:00
Jimmi Dyson
f4a9b62d06
Configurable API prefix for kubectl proxy
2015-02-10 13:58:46 +00:00
Brendan Burns
ac35aa5e32
Add a label command.
2015-02-09 20:09:02 -08:00
Jeff Lowdermilk
6021dcba30
Merge pull request #4213 from smarterclayton/use_name_from_server
...
Use name from server when displaying create/update
2015-02-09 09:41:20 -08:00
Clayton Coleman
52c6c60b15
Use name from server when displaying create/update
...
Allows generated names from files to be displayed so users can
interact with them.
2015-02-08 21:40:47 -05:00
Jeff Lowdermilk
5a702ad123
Allow --output formatting of kubectl config view, make merge default
2015-02-05 10:44:16 -08:00
Jeff Lowdermilk
d46ae5d841
Refactor kubectl/cmd helpers into pkg/kubectl/cmd/util
...
Allows helpers to be used by config commands.
2015-02-05 09:39:42 -08:00
Brian Grant
42fec8ec4e
Merge pull request #4110 from jimmidyson/proxy-tweaks
...
kubectl proxy: make static prefix configurable
2015-02-05 07:08:07 -08:00
Tim Hockin
e6e67e2662
Merge pull request #4124 from brendandburns/e2e2
...
Fix service generation and add tests I should have included in the first place.
2015-02-04 12:52:51 -08:00
Brendan Burns
fa6ddf13e5
Fix service generation and add tests I should have included in the first place.
2015-02-04 12:14:53 -08:00
Brian Grant
3f28badae3
Merge pull request #3854 from yujuhong/defaults
...
Migrate API defaulting to a centralized location
2015-02-04 11:41:23 -08:00
Jeff Lowdermilk
6acac8f761
Merge pull request #3754 from deads2k/deads-remove-ns-path
...
remove --ns-path option from .kubeconfig file
2015-02-04 08:10:21 -08:00
Jimmi Dyson
e2baf049c0
kubectl proxy: make static prefix configurable
2015-02-04 15:57:21 +00:00
Jeff Lowdermilk
1f2c907991
Merge pull request #4053 from deads2k/deads-add-envvar-flag
...
add flag to manage $KUBCONFIG files
2015-02-03 14:49:05 -08:00
deads2k
affa85fab0
add flag to manage $KUBECONFIG files
2015-02-03 16:12:02 -05:00
deads2k
bc93de314a
remove --ns-path option from .kubeconfig file, kick tests
2015-02-03 14:22:55 -05:00
Brian Grant
4eb41b2330
Merge pull request #3592 from brendandburns/cli
...
Add a service generator and a command to easily expose services.
2015-02-03 09:07:05 -08:00