Commit Graph

58 Commits (8b755c805b8a01354c4776d95595a590af1cde56)

Author SHA1 Message Date
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
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
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
Eric Paris f272e836e0 Annotate kubectl describe with describable object for bash completions 2015-04-14 18:51:18 -04:00
gmarek 72182735b9 Remove Node Controllers ability to pull status from Kubelet 2015-04-08 09:44:42 +02:00
markturansky 95bd170ca2 PV & PVC Client implementation 2015-04-06 08:46:43 -04:00
Prashanth B 620af16892 Merge pull request #6097 from derekwaynecarr/limit_range_default_value
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
Brian Grant 414be101b6 Merge pull request #6352 from piosz/api
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Victor Marmol 657bc33500 Include ContainerStatus in "describe pod".
Fixes #6076.
2015-04-02 08:51:41 -07:00
Piotr Szczesniak 5c6439d449 Removed PodStatus.Host
Fixes #6165
2015-04-02 16:38:45 +02:00
derekwaynecarr c2b670513c Introduce concept of a default limit 2015-04-01 16:31:25 -04:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Dawn Chen b8de2f00ce kubectl describe nodes id shows node components version info. 2015-03-31 09:32:29 -07:00
Tim Hockin b420871a11 fixes from testing 2015-03-31 09:30:56 -07:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Tim Hockin 8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Dawn Chen 688363ad53 Kubectl describe nodes id with events. 2015-03-26 16:43:29 -07:00
gmarek 5a11748018 Move Capacity from NodeSpec to NodeStatus 2015-03-26 15:28:48 +01:00
Deyuan Deng 4939c1137c Add node describe labels, creationTimestamp 2015-03-23 17:13:45 -04:00
nikhiljindal 1b87060aec Adding GetFieldSelector() to client.EventInterface 2015-03-20 13:58:23 -07:00
Salvatore Dario Minonne 31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Wojciech Tyczynski e6d188fca8 Remove BoundPod structure 2015-03-17 10:27:41 +01: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
Deyuan Deng 58776da6a4 Add more information to node describe 2015-03-09 18:56:59 -04:00
Rohit Jnagal c63f4635a4 Add capacity information to 'kubectl describe minion' 2015-03-02 19:51:30 +00:00
Mike Danese 5267127af1 api: rename conditionkind -> conditiontype 2015-02-23 22:13:21 -08:00
Rohit Jnagal efc4db280d Merge pull request #4703 from smarterclayton/describe_portal_on_service
Add PortalIP to Service describe
2015-02-23 10:07:51 -08:00
Clayton Coleman 36f19f77ec Add PortalIP to Service describe 2015-02-22 01:07:33 -05:00
Deyuan Deng aec068f7ef Add pod name to node describe 2015-02-21 12:07:09 -05:00
Tim Hockin ae0062d001 Part 2 of plural ports: make endpoints a struct
Includes conversions for v1b[12] and tests and fixups for call sites.
2015-02-18 19:54:15 -08:00
saadali 033577efa2 Optimize etcd storage by compressing recurring events in to a single event 2015-02-11 22:57:44 -08:00
Mike Danese dac5e9b4d0 add NodeCondition and PodCondition to kubectl describe node/pod 2015-02-10 14:17:31 -08:00
saadali 79cbcf918e Modify Event struct to allow compressing multiple recurring events in to a single event.
# *** ERROR: *** Some API files are missing the required field descriptions
# Add description tags to all non-inline fields in the following files:
#   pkg/api/v1beta1/types.go
#   pkg/api/v1beta2/types.go
#
# Your commit will be aborted unless you fix these.
#   COMMIT_BLOCKED_ON_DESCRIPTION
2015-02-05 21:50:29 -08:00
Clayton Coleman 698e8dd06f Kubectl should be able to display endpoints directly and for service
kubectl get endpoints <servicename>
    kubectl describe service <servicename>

should have printers for endpoints
2015-02-05 18:46:09 -05:00
derekwaynecarr 829fa69527 Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
Brian Grant 02717b8ffa Merge pull request #3846 from ddysher/0-fix-0
Remove extra format in kubectl describe
2015-01-27 16:14:22 -08:00
derekwaynecarr 759335ab69 Fix gofmt complaint 2015-01-27 16:41:28 -05:00
derekwaynecarr 74f368f50e Modified LimitRangeItem.Kind to LimitRangeItem.Type, added example files 2015-01-27 16:41:28 -05:00
derekwaynecarr 091cbe5fa2 Add a limit range resource 2015-01-27 16:41:27 -05:00
Deyuan Deng 1330cc340b Remove extra format in kubectl describe 2015-01-27 15:45:55 -05:00
saadali 90dfdcecd5 Remove CONDITION from event object completely
# *** ERROR: *** Some files have not been gofmt'd.  To fix these
# errors, run gofmt -s -w <file>, or cut and paste the following:
#   gofmt -s -w pkg/kubecfg/resource_printer.go pkg/proxy/config/config.go pkg/runtime/types.go
#
# Your commit will be aborted unless you override this warning. To
# commit in spite of these format errors, delete the following line:
#   COMMIT_BLOCKED_ON_GOFMT
2015-01-14 14:17:16 -08:00
saadali ae1db31a0f Issue 2948: fix "kubectl get events" result not sorted 2014-12-18 11:02:12 -08:00
Clayton Coleman 88715cc6ef Rename Event.Status to Event.Condition to match v1beta3 agreement
Question - should this be a phase?  Seems like no, since phase implies
defined lifecycle and this field is explicitly not defined.
2014-12-16 09:43:10 -05:00
Clayton Coleman d1d7505272 Rename client Minions->Nodes, select the correct path for v1beta3
Replaces the client public interface but leaves old references to "minions"
for a later refactor.  Selects the path "nodes" for v1beta3 and "minions"
for older versions.
2014-12-10 12:08:19 -05:00
Daniel Smith 3b2fa9618d Relax search criteria to find both pod & bound pod events 2014-12-01 17:19:42 -08:00
markturansky 8159c8fd25 Refactor PodCondition to PodPhase 2014-11-21 15:28:38 -05:00
markturansky 8af4ccb111 v1beta3 Pod refactor 2014-11-18 09:25:42 -05:00
Daniel Smith 6a5da9ee19 Add events to kubectl describe 2014-11-14 11:56:59 -08:00
Daniel Smith d153b98544 Simplify kubectl describe code 2014-11-13 20:25:50 -08:00