Commit Graph

17 Commits

Author SHA1 Message Date
Seth Jennings
73b0de8389 container/crio: retry getting pid if 0 2019-08-08 11:21:42 -05:00
Jordan Liggitt
e9a44a2984 Split crio context initialization 2019-04-11 13:50:03 +00:00
Jordan Liggitt
7dc4594b32 Add InitializeFSContext hook to plugins 2019-04-11 13:50:03 +00:00
Jordan Liggitt
e24fd90ae9 Move auto-registration to explicit install packages, register plugin interfaces 2019-04-11 13:50:03 +00:00
Davanum Srinivas
40e6acb3bb
Reorganize code to allow conditional enablement of runtimes
Change-Id: I76583736d7ad39190a1a2bca820d4e957caadc84
2019-04-05 17:37:49 -04:00
Peter Hunt
1e13a85609 container: crio: Return more informative error
Before, making a ContainerInfo request returned an uninformative message about failing to decode json.
Fix this by catching response codes that aren't 200, and return a more informative message.

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2019-03-21 15:24:05 -04:00
WanLinghao
4eab5b671e Add support to disable diskIO metrics 2019-01-15 09:43:33 +08:00
Davanum Srinivas
4da6d809be
Move from glog to klog
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
2018-11-08 18:06:28 -05:00
David Ashpole
c225d06adf don't emit prometheus metrics that are ignored 2018-07-09 13:17:49 -07:00
Antonio Murdaca
42eeba5783
container: fix concurrent map acccess
GetSpec() can be called concurrently in
manager/container.go.updateSpec()
results into a concurrent map access on the labels map because we're
directly updating the map inside GetSpec(). The labels map from the
container handler is not a copy of the map itself, just a reference,
that's why we're getting the concurrent map access.
Fix this by moving the label update with restartcount to the handler's
initialization method which is not called concurrently.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2018-06-13 19:06:47 +02:00
David Ashpole
e1d602d7af create libcontainer handler for common code 2018-02-21 08:53:42 -08:00
Andy Xie
1ccbe6fdd0 reduce labels for container info 2018-01-12 00:14:01 +08:00
Tim Allclair
5b435b4b70
Clean up cAdvisor logging 2017-11-27 19:48:05 -08:00
Derek Carr
49e0496c8f
Merge pull request #1773 from runcom/crio-socket-edit
container: crio: change crio socket
2017-11-14 11:18:15 -05:00
Antonio Murdaca
088aaf1a32
CRI-O: fix handling of overlay2 storage
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-10-21 12:05:40 +02:00
Antonio Murdaca
54b661236d
container: crio: change crio socket
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-10-19 00:17:18 +02:00
Antonio Murdaca
4b002b3bd3
*: add CRI-O handler
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-05 17:01:58 +02:00