k8s-merge-robot
80838ff86a
Merge pull request #15454 from feihujiang/describePodsShowCommandAndArgs
...
Auto commit by PR queue bot
2015-10-18 02:03:39 -07:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
k8s-merge-robot
081f05c207
Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
...
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
Chao Xu
493d2b6920
grep sed Experimental()
2015-10-13 13:22:54 -07:00
feihujiang
42c38030be
Fix describe pods doesn't show command and args
2015-10-12 05:29:52 +08:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
k8s-merge-robot
7007481f00
Merge pull request #14917 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
k8s-merge-robot
e4164638c4
Merge pull request #14732 from jszczepkowski/hpa-api-fix
...
Auto commit by PR queue bot
2015-10-01 18:52:59 -07:00
nikhiljindal
c6deb442f9
Adding events to deployment
2015-10-01 16:38:08 -07:00
Nikhil Jindal
7adb463dd0
Merge pull request #14199 from nikhiljindal/deploymentDescribe
...
Adding a DeploymentDescriber to kubectl
2015-09-30 21:34:24 -07:00
Jerzy Szczepkowski
a5194c5ff4
HorizontalPodAutoscaler.Status kept by value, not by pointer.
...
HorizontalPodAutoscaler.Status kept by value, not by pointer. Fixes #14567 .
2015-09-29 14:25:46 +02:00
nikhiljindal
153c57ffc8
Adding a DeploymentDescriber to kubectl
2015-09-28 14:21:24 -07:00
Marcin Wielgus
62da43eef2
Fix terminated pod printing in kubectl describe
2015-09-28 16:54:12 +02:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Mike Danese
2313c9ada0
move daemonset describe to experimental
2015-09-22 09:13:42 -07:00
Mike Danese
2e8c87e309
dereference pointer before printing in the describer
2015-09-21 13:55:19 -07:00
Jerzy Szczepkowski
7fcf7f1177
Cleanups in HorizontalPodAutoscaler API.
...
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
Mike Danese
54b0faf39a
rebase onto head
2015-09-15 18:13:28 -07:00
Ananya Kumar
30f5b93d2f
Add Kubectl support for Daemon
2015-09-15 18:11:12 -07:00
Maciej Szulik
1b46bc010a
Job clients, printer and describer
2015-09-15 13:54:51 +02:00
Janet Kuo
2e5aeaff52
Add percentage of total limits and a help doc to explain why it may be over 100%
2015-09-10 18:21:50 -07:00
Janet Kuo
5ffe46d376
Use resource.Quantity string representation to print requests and limits
2015-09-10 18:21:50 -07:00
Janet Kuo
22a794cc22
List resource QoS tier of each container when describing pods; Re-order resource table
2015-09-10 18:21:50 -07:00
Janet Kuo
6e76f1aef7
Show more information in describe node/pod
2015-09-10 18:21:50 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Quinton Hoole
e5e2bc9580
Merge pull request #10833 from markturansky/loosen_binding
...
Allow PV/Claim matching on inexact access modes
2015-09-04 09:06:31 -07:00
Timothy St. Clair
2b7e758c3c
Fixes the experimental api, which appeared to be completely broken.
...
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
feihujiang
e7592b1c99
Change variables to environment variables when describe containers
2015-09-02 10:02:07 +08:00
Prashanth B
52f7833cd3
Revert "Revert "LimitRange updates for Resource Requirements Requests""
2015-08-28 09:26:36 -07:00
markturansky
0b6030f50c
added better matching for PV access modes
2015-08-27 15:34:07 -04:00
Piotr Szczesniak
6e05b9e3a3
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 10:50:50 +02:00
Yu-Ju Hong
1bae2b677d
Merge pull request #12492 from derekwaynecarr/limit_range_api
...
LimitRange updates for Resource Requirements Requests
2015-08-26 13:02:57 -07:00
Marcin Wielgus
55cd0d565e
Kubectl describe for experimental HorizontalPodAutoscaler
2015-08-26 16:28:50 +02:00
markturansky
c0aa62eb38
Added PersistentVolumeSource to describer output
2015-08-25 14:18:28 -04:00
derekwaynecarr
3ee66f358f
Update kubectl describer for LimitRange
2015-08-24 15:19:29 -04:00
hurf
36987e9dce
Move formatLabels function to labels package
...
As the TODO above the function instructed, move formatLables
function to labels package.
2015-08-23 18:27:48 +08:00
Clayton Coleman
2aaf8bddc2
Update controllers and client to handle terminating pods
2015-08-20 11:04:39 -04:00
Wojciech Tyczynski
bf306d6598
Merge pull request #12622 from JanetKuo/kubectl-describe-rc-pod-volume
...
Describe volumes in rc and pod
2015-08-20 16:47:30 +02:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Janet Kuo
bff0cab7ce
Describe volumes in rc and pod
2015-08-17 13:42:50 -07:00
CJ Cullen
59da05efdf
Merge pull request #12405 from uluyol/kubectlexp
...
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
markturansky
f37113aa25
Improved CLI for PVClaims
2015-08-12 11:31:54 -04:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Janet Kuo
0ac6dba3f4
Make kubectl describe node include allocated resource
2015-08-10 13:25:59 -07:00
Alex Robinson
4593478c65
Merge pull request #12461 from hurf/humanize_time2
...
Print human readable time for event
2015-08-10 11:52:33 -07:00
Marek Grabowski
a0371b3985
Merge pull request #11919 from samsabed/descLaststatus
...
kubectl describe pod should print lastState
2015-08-10 14:56:44 +02:00
hurf
dd647db5ac
Print human readable time for event
...
Reduce the length of event time as AGE column does.
2015-08-10 15:00:24 +08:00
dinghaiyang
dab7280ae4
Improve clarity around PodFitsResource by showing pods limits in `kubectl describe node`
2015-08-07 16:58:11 +08:00
Sam Abed
e7dcec075a
show LastTerminationState in kubectl describe pod
...
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-08-07 11:45:20 +10:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Mike Danese
2c8f055ed8
Merge pull request #10631 from liggitt/service_account_describer
...
Fix service account describer
2015-07-24 15:24:24 -07:00
Sam Abed
2fe650dcee
print env vars in kubectl describe pod
...
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-07-24 14:31:17 +10:00
Jordan Liggitt
b4802b7cee
Fix service account describer
2015-07-01 14:15:30 -04:00
hurf
b13d29fbe8
Display namespace while describing resources.
...
Display namespace while describing pod, rc, secret, service,
serviceAccount, limitRange, resourceQuota and pvc.
For containers and events are always displayed with other
resources, it's not necessary to show namespace for them.
2015-06-29 09:17:12 +08:00
Dawn Chen
0a369fead6
Include PodStatus.Message and PodStatus.Reason when kubectl describe pods
2015-06-24 23:07:20 -07:00
Maxwell Forbes
e44f61993b
Merge pull request #9304 from jsdir/master
...
Show resource limits with describe
2015-06-24 16:44:53 -07:00
Clayton Coleman
f3aa8f4196
Pod IP should be described with Pods
2015-06-17 16:45:11 -04:00
Brendan Burns
c6a910c0b8
Merge pull request #9650 from hurf/podns_describe_node
...
display pod namespace while describe node
2015-06-12 15:59:46 -07:00
Victor HU
eb473676ce
display pod namespace while describe node
2015-06-12 15:30:11 +08:00
derekwaynecarr
5b005fa30b
Add namespace describer
2015-06-09 15:52:44 -04:00
Jason Sommer
cea5aaa9d1
Show resource limits with describe
...
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-04 23:49:28 -05:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Clayton Coleman
ce3a6a666d
Show terminating pods in get/describe
2015-06-01 19:24:01 -04:00
Chao Xu
2f6e5e2e08
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
2015-05-28 17:18:24 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
32859c3954
Merge pull request #8778 from kargakis/show-pod-number
...
Show pods number when describing services
2015-05-28 14:59:02 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
BC Broussard
581f4613c8
Fix NodePort in kubectl describe service
2015-05-28 12:09:31 -07:00
kargakis
93669a6bb5
Show pods number when describing services
2015-05-28 11:24:47 +02:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
markturansky
bcd3c5a80f
fixed PV describe
2015-05-22 08:40:43 -04:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
markturansky
2f5907b504
Fixed nil pointer issue in describe when volume is unbound
2015-05-02 06:49:19 -04: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
Tim Hockin
eea949b3a3
Print named ports in 'describe service'
...
Also in 'describe service'. This got missed in all the multiport work.
2015-04-27 22:17:51 -07: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
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
Clayton Coleman
94c873e7a4
Remaining refactor for PodTemplateSpec and fixing test cases
2014-11-11 17:03:20 -05:00
Claire Li
a4261d0f65
Use switch rather than ifs for getPodStatusForReplicationController in pkg/describe.go
2014-11-06 23:45:51 -08:00
markturansky
119f654a13
Refactor PodStatus to PodCondition in internal API for v1beta3
2014-11-05 17:26:47 -05:00
markturansky
bd7643c033
refactor services to v1beta3
2014-11-04 14:23:53 -05:00
Clayton Coleman
09cfa364c5
Refactor Get and Describe to allow extension of types
...
Get should use ResourceMapper, allow Printer to be abstracted,
and extract Describe as *Describer types.
2014-11-04 10:44:56 -05:00
derekwaynecarr
580cb5ea4f
Rework client.Interface
2014-10-24 11:47:30 -04:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
Sam Ghods
4b220f8b0a
kubectl: kubecfg rewrite for better modularity and improved UX
2014-10-15 15:29:54 -07:00