Sascha Grunert
de37b9d293
Make CRI v1 the default and allow a fallback to v1alpha2
...
This patch makes the CRI `v1` API the new project-wide default version.
To allow backwards compatibility, a fallback to `v1alpha2` has been added
as well. This fallback can either used by automatically determined by
the kubelet.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2021-11-17 11:05:05 -08:00
Hanna Lee
07a883d8e6
Remove //lint:ignore pragmas that aren't being used anymore
2021-11-17 08:56:54 +01:00
Hanna Lee
0f3836dcc5
Ignore deprecation warnings with //nolint:staticcheck
2021-11-17 08:55:57 +01:00
Kubernetes Prow Robot
1d1d462d2f
Merge pull request #104287 from jsturtevant/windows-stats
...
Reduce the number of expensive calls in the Windows stats queries for dockershim
2021-11-15 18:51:37 -08:00
Neha Lohia
fa1b6765d5
move pkg/util/node to component-helpers/node/util ( #105347 )
...
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com >
2021-11-12 07:52:27 -08:00
James Sturtevant
3564cd5beb
Reduce calls to docker from dockershim for stats
2021-11-10 11:25:03 -08:00
Khaled Henidak (Kal)
a53e2eaeab
move IPv6DualStack feature to stable. ( #104691 )
...
* kube-proxy
* endpoints controller
* app: kube-controller-manager
* app: cloud-controller-manager
* kubelet
* app: api-server
* node utils + registry/strategy
* api: validation (comment removal)
* api:pod strategy (util pkg)
* api: docs
* core: integration testing
* kubeadm: change feature gate to GA
* service registry and rest stack
* move feature to GA
* generated
2021-09-24 16:30:22 -07:00
Ricardo Pchevuzinske Katz
37d11bcdaf
Move node and networking related helpers from pkg/util to component helpers
...
Signed-off-by: Ricardo Katz <rkatz@vmware.com >
2021-09-16 17:00:19 -03:00
Kubernetes Prow Robot
047a6b9f86
Merge pull request #104874 from wojtek-t/migrate_clock_1
...
Unify towards k8s.io/utils/clock - part 1
2021-09-13 19:09:20 -07:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
...
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
wojtekt
53ce79a18a
Migrate to k8s.io/utils/clock in pkg/kubelet
2021-09-10 12:20:09 +02:00
vikram Jadhav
c10c92bda9
changes made by introducing mockgen command
2021-09-03 17:40:11 +00:00
Vikram Jadhav
5f674101bb
Added update and verify scripts for automated mock generation
2021-09-03 17:40:11 +00:00
Claudiu Belu
18936d4785
updates pause image references
...
The pause:3.6 image has been published.
Also updates older / incorrect references.
2021-08-29 21:50:05 -07:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
Kubernetes Prow Robot
4b4d12f8a6
Merge pull request #102913 from pacoxu/upgrade-promotheus-common
...
upgrade prometheus/common to v0.28.0
2021-08-09 08:03:31 -07:00
Kubernetes Prow Robot
4b2f2a0cd8
Merge pull request #102789 from haircommander/add-summary-stats-to-cri
...
CRI: add fields for pod level stats to satisfy the /stats/summary API
2021-08-04 18:59:43 -07:00
Kir Kolyshkin
e5b434e990
kubelet/cm: don't set Devices
...
Since runc 1.0.0 it is now sufficient to have SkipDevices: true.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2021-07-16 12:45:35 -07:00
pacoxu
abd8acc259
fix exec failure for gomock finish calling
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-07-12 10:10:01 +08:00
Peter Hunt
a9b7dcc8c2
kubelet: update remote runtimes for cri stat changes
...
Signed-off-by: Peter Hunt <pehunt@redhat.com >
2021-07-08 13:17:04 -04:00
Odin Ugedal
61d88af9e4
Revert "Update runc to 1.0.0"
2021-07-05 14:03:04 +02:00
Kir Kolyshkin
ab5b77944e
kubelet/cm: don't set Devices
...
Since runc 1.0.0 it is now sufficient to have SkipDevices: true.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2021-06-30 16:17:35 -07:00
Sascha Grunert
b167fc24d7
Update pause image to v3.5
...
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2021-05-25 09:04:46 +02:00
Kubernetes Prow Robot
63014d87cd
Merge pull request #101013 from pacoxu/mac-ut/skips
...
skip some UT on mac for dockershim
2021-05-24 20:10:20 -07:00
Kubernetes Prow Robot
6850e0abf2
Merge pull request #100218 from aojea/unitflakes1
...
unit test using metrics must reset the global registry
2021-04-29 23:01:57 -07:00
pacoxu
fd7bb771f9
skip linux ut on mac in pkg/kubelet/dockershim
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-04-23 15:43:41 +08:00
Kubernetes Prow Robot
62876fb406
Merge pull request #101085 from lojies/fixbrokenlinkindockersandbox
...
fix a broken link in docker_sandbox.go
2021-04-22 13:19:06 -07:00
卢振兴10069964
feab44c273
fix a broken link in docker_sandbox.go
2021-04-14 09:01:37 +08:00
pacoxu
49e7700cef
exec test should not run in Parallel as feature gate is not locked
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-04-13 14:15:43 +08:00
Kubernetes Prow Robot
3eac797255
Merge pull request #100200 from jackfrancis/ctx-respect-ExecProbeTimeout
...
respect ExecProbeTimeout=false for dockershim
2021-04-10 22:55:59 -07:00
Kubernetes Prow Robot
86fdf7b56e
Merge pull request #99487 from chymy/fix-staticcheck0226
...
Fix staticcheck failures for pkg/controller/replicaset and pkg/kubelet/dockershim
2021-04-08 14:28:17 -07:00
Jack Francis
5a43067915
respect ExecProbeTimeout
2021-04-07 12:38:19 -07:00
Antonio Ojea
3a1f656491
reset metrics on dockerhim unit tests
2021-03-13 21:17:56 +01:00
chymy
c28be0baab
Fix staticcheck failures for pkg/controller/replicaset and pkg/kubelet/dockershim
2021-03-11 22:16:05 -05:00
zhongjun.li
cbc0d55912
logcheck: check Windows files
2021-03-11 17:40:07 +08:00
Kubernetes Prow Robot
a10a694f56
Merge pull request #99875 from bobbypage/bump-cadvisor
...
vendor: cAdvisor v0.39.0
2021-03-09 11:05:58 -08:00
Artyom Lukianov
0370768650
Pass cpuset.mems to the dockershim during container creation
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-03-09 14:29:12 +02:00
David Porter
904cb67267
Fixes after runc libcontainer and docker update
...
- libcontainer renamed
`github.com/opencontainers/runc/libcontainer/configs` to
`github.com/opencontainers/runc/libcontainer/devices` so use the new
references
- Update `dockershim` `ContainerCreate` call after docker update to
v20.10.2
2021-03-08 22:10:29 -08:00
Kubernetes Prow Robot
40d8aed6f3
Merge pull request #99585 from Iceber/fix-finished-at
...
dockershim: fix started and finished timestamp of the container status
2021-03-08 20:47:28 -08:00
Kubernetes Prow Robot
a6a66c3594
Merge pull request #98939 from yangjunmyfm192085/run-test16
...
Structured Logging migration: modify dockershim and network part logs of kubelet.
2021-03-03 03:31:33 -08:00
Iceber Gu
aff9df2cf6
dockershim: fix started and finished timestamp of the container status
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io >
2021-03-01 22:33:56 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
chymy
e2f17aeb2a
Remove unused func in kubernetes/pkg/kubelet/dockershim
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2021-02-23 06:36:22 -05:00
Dan Winship
95c6a488d8
Make kube-proxy check if IPv6 is really supported before assuming dual-stack
2021-02-17 09:11:15 -05:00
JunYang
7735cf7f26
Structured Logging migration: modify dockershim and network part logs of kubelet.
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn >
2021-02-14 16:01:47 +08:00
Khaled (Kal) Henidak
32b9e31c23
ammend tests to ensure feat gate is off when expected (beta: gate is always on)
2021-02-10 23:58:55 +00:00
Kubernetes Prow Robot
b9b11d3100
Merge pull request #98510 from jsturtevant/windows-metrics-access-denied
...
Ignore transient errors when gathering stats for Windows Containers in Dockershim
2021-02-09 10:25:30 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
...
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
pacoxu
8946f26769
update pause to 3.4.1 for kubelet/kubeadm
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-02-05 21:33:01 +08:00