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
Brian Grant
24cad22a88
Merge pull request #6674 from kargakis/error-on-invalid-label-spec
...
Tighten label parsing
2015-04-23 16:41:52 -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
Satnam Singh
bb478a9e21
Merge pull request #7007 from jlowdermilk/kubeconfig-verbose
...
Add a --short flag to kubectl config view
2015-04-23 14:51:13 -07:00
nikhiljindal
1e323d77bc
Updating the guestbook example to v1beta3
2015-04-23 14:34:36 -07:00
Robert Bailey
c303c055d1
Merge pull request #7225 from relaxdiego/master
...
Add .yml to the list of recognized file extensions
2015-04-23 09:36:33 -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
Mark Maglana
4927d70dd0
Add .yml to the list of recognized file extensions
2015-04-23 08:57:45 -07:00
Clayton Coleman
e6e034af4f
Rename PodTemplate.Spec to PodTemplate.Template
2015-04-22 12:54:27 -04:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Victor Marmol
1a41ec9c86
Merge pull request #7116 from yujuhong/container_status
...
Print container statuses in `kubectl get pods`
2015-04-22 09:18:14 -07:00
Brian Grant
15c2986a07
Merge pull request #7067 from ravigadde/master
...
Added field selector for listing pods
2015-04-22 07:12:21 -07:00
Yu-Ju Hong
06125f37d3
Print container statuses in `kubectl get pods`
...
`kubectl get pod` already prints one container per line. This change fills in
the status for each container listed. This aims to help users quickly identify
unhealthy pods (e.g. in a crash loop) at a glance.
- The first row of every pod would display the pod information and status
- Each row of the subsequent rows corresponds to a container in that pod:
* STATUS refers to the container status (Running, Waiting, Terminated).
* CREATED refers to the elapsed time since the last start time of the
container.
* MESSAGE is a string which explains the last termination reason, and/or
the reason behind the waiting status.
2015-04-21 15:42:18 -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
Ravi Gadde
bf8f258471
Added field selector for listing pods.
2015-04-21 06:33:28 -07:00
derekwaynecarr
7638107f8b
Make describeEvents DescribeEvents
2015-04-21 00:24:12 -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
Daniel Smith
462534ca5d
Merge pull request #7068 from krousey/api_pod_pointer
...
Changing a few more instances of api.Pod to *api.Pod
2015-04-20 17:09:28 -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
Kris Rousey
594f514843
Changing a few remaining instances of passing pods around by value. I
...
avoided changing api.PodList.Items to []*api.Pod.
2015-04-20 15:26:45 -07: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
Brendan Burns
29875191ad
Merge pull request #7000 from deads2k/deads-allow-many-modifications
...
allow multiple changes in kubeconfig modifyconfig
2015-04-20 10:46:12 -07:00
Avesh Agarwal
a2ac72c4e7
This commit fixes "kubectl get nodes" output and makes it more sane, and also adds new unit test cases for SchedulingDisabled.
2015-04-20 00:12:18 -04: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
Clayton Coleman
4b85c0866a
Don't insert duplicate arguments in SplitResourceArgs
2015-04-17 11:36:25 -04:00
Clayton Coleman
4833578a57
Merge pull request #6958 from smarterclayton/args_remain_in_order
...
`kubectl get rc,pods` should invoke in that order
2015-04-17 11:30:09 -04:00
Clayton Coleman
3bc42f1635
Merge pull request #6573 from kargakis/setup-resource-aliases
...
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis
9d056c6bd8
Support setting up aliases for groups of resources
...
Closes #5278
2015-04-17 16:31:59 +02:00
Clayton Coleman
2c11835612
`kubectl get rc,pods` should invoke in that order
...
SplitResourceArguments should not use a golang map
2015-04-17 00:57:02 -04: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