Kevin Klues
185e790f71
Update CPUManager policies to adhere to new state semantics
2019-12-11 23:02:51 +01:00
Kevin Klues
7c760fea38
Change CPUManager state to key off of podUID and containerName
...
Previously, the state was keyed off of containerID intead of podUID and
containerName. Unfortunately, this is no longer possible as we move to a
to model where we we allocate CPUs to containers at pod adit time rather
than container start time.
This patch is the first step towards full migration to the new
semantics. Only the unit tests in cpumanager/state are passing. In
subsequent commits we will update the CPUManager itself to use these new
semantics.
This patch also includes code to do migration from the old checkpoint format
to the new one, assuming the existence of a ContainerMap with the proper
mapping of (containerID)->(podUID, containerName). A subsequent commit
will update code in higher layers to make sure that this ContainerMap is
made available to this state logic.
2019-12-11 23:02:51 +01:00
Kevin Klues
9191a949ae
Extend makePod() helper in CPUManager to take PodUID and ContainerName
2019-12-11 23:02:51 +01:00
Kevin Klues
7a15d3a4d7
Fix bug in parsing int to string in CPUManager tests
2019-12-11 23:02:51 +01:00
Kevin Klues
765aae93f8
Move containerMap out of static policy and into top-level CPUManager
2019-12-11 23:02:51 +01:00
Kevin Klues
1d995c98ef
Update CPUmanager containerMap to allow removal by containerRef
2019-12-11 23:02:47 +01:00
Kevin Klues
0639bd0942
Change CPUManager containerMap to key off of (podUID, containerName)
...
Previously it keyed off of a pointer to the actual pod / container,
which was unnecessary, and hard to work with (especially on the
retrieval side).
2019-12-11 23:02:11 +01:00
Kevin Klues
3881e50cce
Update CPUmanager containerMap to also return a containerRef
2019-12-11 23:01:01 +01:00
Kevin Klues
347d5f57ac
Move CPUManager ContainerMap to its own package
2019-12-11 22:59:00 +01:00
Kubernetes Prow Robot
1fd2137ff4
Merge pull request #86105 from liggitt/1.17.0-api-fixtures
...
Update API compatibility data for v1.17.0
2019-12-10 06:37:30 -08:00
Kubernetes Prow Robot
34f349257f
Merge pull request #85410 from answer1991/bugfix/memory-leak-in-watch
...
fix potential memory leak issue in processing watch request
2019-12-10 05:13:29 -08:00
chenjun.cj
b911aa6471
fix potential memory leak issue in processing watch request
2019-12-10 19:53:46 +08:00
Kubernetes Prow Robot
78c56e6b4c
Merge pull request #84886 from YangLu1031/daemonRestartTest
...
Verify kubelet & kube-proxy recovery on Windows nodes
2019-12-09 21:35:28 -08:00
Jordan Liggitt
729bc82be6
Drop v1.15.0 API test data
2019-12-10 00:23:23 -05:00
Jordan Liggitt
82465dd8c2
Add v1.17.0 API compatibility data
2019-12-10 00:22:24 -05:00
Kubernetes Prow Robot
f3ebd95f3a
Merge pull request #86090 from saschagrunert/changelog
...
Update v1.17.0 CHANGELOG to match final draft
2019-12-09 18:53:28 -08:00
Kubernetes Prow Robot
9bf52c2aa6
Merge pull request #86046 from ahg-g/ahg1-affinity
...
Optimize required pod affinity (2)
2019-12-09 17:39:28 -08:00
Kubernetes Prow Robot
cae442a7ce
Merge pull request #86039 from monotek/fluentd-elasticsearch
...
updated fluentd to 1.7.4 + plugin updates and switch to debian buster
2019-12-09 15:22:54 -08:00
Kubernetes Prow Robot
3c4d2a5215
Merge pull request #78731 from claudiubelu/tests-hostnetwork
...
Sets HostNetwork to False for tests which do not require it
2019-12-09 15:22:39 -08:00
Sascha Grunert
a077734079
Update v1.17.0 CHANGELOG to match final draft
...
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-12-09 23:03:10 +01:00
Kubernetes Prow Robot
47c7b99057
Merge pull request #86085 from robscott/gcp-lb-timeout
...
Increasing LoadBalancerPollTimeout from 15 to 22 minutes
2019-12-09 14:00:45 -08:00
Kubernetes Prow Robot
83ebf2ffba
Merge pull request #86050 from SataQiu/clean-e2e-framework-20191209
...
e2e: move funs of framework/deployment to e2e/apps
2019-12-09 14:00:35 -08:00
Kubernetes Prow Robot
d842c194c2
Merge pull request #86022 from Huang-Wei/sched-reserve-multi-errs
...
Return all scheduler predicate failures instead of the first one
2019-12-09 14:00:26 -08:00
Kubernetes Prow Robot
95703a2e01
Merge pull request #85962 from spiffxp/include-cloud-gcp-in-e2e-test
...
Include cloud/gcp tests in e2e.test
2019-12-09 14:00:17 -08:00
Kubernetes Prow Robot
93eb2e38a7
Merge pull request #85577 from mgugino-upstream-stage/unready-node-timeout
...
kubectl/drain: add option skip-wait-for-delete-timeout
2019-12-09 14:00:03 -08:00
Abdullah Gharaibeh
32dc70e0f1
optimize required inter-pod affinity
2019-12-09 16:21:13 -05:00
Anago GCB
23a4a1191c
Update CHANGELOG-1.17.md for v1.17.0.
2019-12-09 20:46:42 +00:00
Kubernetes Prow Robot
ff8cf507dc
Merge pull request #83841 from RainbowMango/pr_hide_kubelet_deprecated_metrics
...
Turn off kubelet deprecated metrics
2019-12-09 11:30:02 -08:00
Rob Scott
57b538e657
Increasing LoadBalancerPollTimeout from 15 to 22 minutes
...
Some related tests were flaking as a result of GCP LBs potentially
taking longer to update than 15 minutes.
2019-12-09 10:46:22 -08:00
Kubernetes Prow Robot
55f81314cc
Merge pull request #85032 from jfbai/move-fmt-out-of-api
...
refactor: move unwanted console output out of versiongetter API
2019-12-09 08:38:02 -08:00
Kubernetes Prow Robot
fcc35b0468
Merge pull request #85899 from gongguan/slim_down_lister
...
slim down some lister expansions
2019-12-09 07:20:17 -08:00
Kubernetes Prow Robot
398e2bcc73
Merge pull request #85874 from sambdavidson/ttlFunc
...
Kubelet cert TTL via GaugeFunc
2019-12-09 07:20:02 -08:00
Kubernetes Prow Robot
f029700630
Merge pull request #86065 from serathius/metrics-server-owners
...
Add serathius to metrics-server OWNERS file
2019-12-09 04:56:02 -08:00
Kubernetes Prow Robot
332f452198
Merge pull request #83363 from wawa0210/zx-metadata-agent
...
Bind metadata-agent containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2019-12-09 03:10:16 -08:00
Kubernetes Prow Robot
082883cba3
Merge pull request #83362 from wawa0210/zx-metrics
...
Bind metrics-server containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
2019-12-09 03:10:02 -08:00
Marek Siarkowicz
e7e9d1cf24
Add serathius to metrics-server OWNERS file
2019-12-09 11:27:56 +01:00
Kubernetes Prow Robot
ed8a260fb3
Merge pull request #86001 from hubv/hubv-patch-1
...
Fix IPv6 addresses lost issue in pure ipv6 vsphere environment
2019-12-09 01:05:10 -08:00
Wei Huang
a136108d2b
Return all predicate failures instead of the first one
2019-12-08 21:10:40 -08:00
SataQiu
10b173868a
move funs of framework/deployment to e2e/apps
2019-12-09 11:30:15 +08:00
Kubernetes Prow Robot
2fbe432d23
Merge pull request #85857 from hnanni/patch-1
...
Update checks.go
2019-12-08 09:41:08 -08:00
André Bauer
31c302994a
updated fluentd to 1.7.4 + plugin updates and switch to debian buster
...
Signed-off-by: André Bauer <monotek23@gmail.com>
2019-12-08 16:27:02 +01:00
Jianfei Bai
dfb6c3424f
move unwanted console output out of versiongetter.
2019-12-08 10:26:27 +08:00
Kubernetes Prow Robot
af1baaa121
Merge pull request #86027 from simonswine/fix-selinux-detection
...
Fix broken SELinux detection
2019-12-07 17:41:08 -08:00
Kubernetes Prow Robot
a13d674498
Merge pull request #85906 from SataQiu/fix-staticcheck-20191204
...
Fix staticcheck failures of test/e2e/storage
2019-12-07 16:31:10 -08:00
Christian Simon
24d105995d
Fix broken SELinux detection
...
The upgrade of dependencies in #78187 introduced a regression in
detecting if SELinux is enabled or not. As the library requires
the golang build tag `selinux` to be enabled after that version update.
Fixes bug report #83679
2019-12-07 16:54:29 +00:00
SataQiu
27d645dc5b
fix staticcheck failures of test/e2e/storage
2019-12-07 21:32:11 +08:00
Kubernetes Prow Robot
50437b4c5d
Merge pull request #85885 from nilo19/qi-vmss-cache
...
Provider/Azure: Add cache for VMSS.
2019-12-06 21:43:09 -08:00
Kubernetes Prow Robot
77a95dce68
Merge pull request #85959 from ahg-g/ahg-affinity-opt
...
Refactor and optimize preferred (anti) pod affinity
2019-12-06 19:49:25 -08:00
Kubernetes Prow Robot
8ef9caaded
Merge pull request #85676 from tanjunchen/fix-staticcheck-test-integration-apiserver
...
fix staticcheck in test/integration/apiserver
2019-12-06 19:49:08 -08:00
Kubernetes Prow Robot
cfb1389524
Merge pull request #85828 from shihan9/master
...
ping kmsplugin gentely when in good state
2019-12-06 18:11:53 -08:00