Commit Graph

86711 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
010291d4dc
Merge pull request #84951 from yutedz/status-mgr-sync-static
Sync the status of static Pods
2019-12-11 19:40:32 -08:00
Hemant Kumar
ca532c6fb2 Ensure that error is returned on NodePublish 2019-12-11 22:10:09 -05:00
SataQiu
20f0408f29 promote SataQiu to an approver of test and test/e2e/framework 2019-12-12 10:49:31 +08:00
Kubernetes Prow Robot
e76619931f
Merge pull request #86180 from Random-Liu/fix-critical-pod-cleanup-in-test
Make sure critical pod in the preemption test is always cleaned up.
2019-12-11 18:04:32 -08:00
Lantao Liu
915b096405 Make sure critical pod in the preemption test is always cleaned up.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-11 16:51:21 -08:00
Kubernetes Prow Robot
0d58709016
Merge pull request #86168 from liggitt/discovery-burst
Increase Burst limit for discovery client
2019-12-11 15:38:32 -08:00
Matt Liggett
ec24d3c7e8 Set core_pattern to an absolute path.
Change-Id: I71e848783c05dc75b2232e05dd2ed3aa9a983e23
2019-12-11 15:05:48 -08:00
Kubernetes Prow Robot
b38dfb3ccb
Merge pull request #85522 from YuikoTakada/local-latencies
Fix func VerifyLatencyWithinThreshold() to local
2019-12-11 14:30:32 -08:00
Kevin Klues
f553286156 Pass initial set of runtime containers to the CPUManager at startup
These information associatedd with these containers is used to migrate
the CPUManager state from it's old format to its new (i.e. keyed off of
podUID and containerName instead of containerID).
2019-12-11 23:02:51 +01:00
Kevin Klues
6441e1ef43 Move CPUManager Checkpoint restoration to Start() instead of New() 2019-12-11 23:02:51 +01:00
Kevin Klues
69f8053850 Update top-level CPUManager to adhere to new state semantics
For now, we just pass 'nil' as the set of 'initialContainers' for
migrating from old state semantics to new ones. In a subsequent commit
will we pull this information from higher layers so that we can pass it
down at this stage properly.
2019-12-11 23:02:51 +01:00
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
Peter Grant
0e4469cddd persist deployed DNS configuration during kubeadm upgrade
Signed-off-by: Peter Grant <9246508+pickledrick@users.noreply.github.com>
2019-12-12 08:55:15 +11:00
Jonathan Basseri
dc17fc4283 fix log format string 2019-12-11 13:27:13 -08:00
David Eads
773fbeab1e expose the clientConfig to consumers trying to build custom clients against the kubeapiserver 2019-12-11 16:10:36 -05:00
David Eads
d0210220e4 dump information for all namespaces related to the test 2019-12-11 16:00:57 -05:00
David Eads
ea913f38ea allow configuration of customized AfterEach functions for all tests 2019-12-11 15:53:00 -05:00
Kubernetes Prow Robot
343020101c
Merge pull request #86110 from haosdent/clean-e2e-framework-kubelet
e2e: move funs of framework/kubelet to e2e/scheduling
2019-12-11 12:52:56 -08:00
Kubernetes Prow Robot
7fb322e174
Merge pull request #86059 from haosdent/e2e-cleanup-autoscaling
e2e: remove unused method in e2e/framework/autoscaling.
2019-12-11 12:52:46 -08:00
Kubernetes Prow Robot
2ccbd8e310
Merge pull request #85287 from serathius/prometheus-visibility
Reduce visibility of prometheus libs
2019-12-11 12:52:33 -08:00
Jordan Liggitt
711dc0b5b5 Increase Burst limit for discovery client 2019-12-11 15:41:58 -05:00
Kubernetes Prow Robot
4ca93592d2
Merge pull request #86147 from tanjunchen/use-framework-Equal-20191211
test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...)
2019-12-11 11:32:24 -08:00
Kubernetes Prow Robot
2f66bcf8a6
Merge pull request #86136 from alejandrox1/add-alejandrox1-as-approver
Added alejandrox1 to test/approvers
2019-12-11 11:32:16 -08:00
Kubernetes Prow Robot
30edc8ea83
Merge pull request #86112 from SataQiu/fix-staticcheck-20191210
Fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere
2019-12-11 11:32:07 -08:00
Kubernetes Prow Robot
9caeb09169
Merge pull request #83525 from oke-py/contribute-kubectl-book
Clalify how to contribute to kubectl book
2019-12-11 11:31:54 -08:00
Anago GCB
5e0f36705e Update CHANGELOG-1.16.md for v1.16.4. 2019-12-11 18:17:42 +00:00
Anago GCB
a5759ee278 Update CHANGELOG-1.15.md for v1.15.7. 2019-12-11 18:17:26 +00:00
Anago GCB
ca0d2b7ce6 Update CHANGELOG-1.14.md for v1.14.10. 2019-12-11 18:16:55 +00:00
Kubernetes Prow Robot
0e15d26fe7
Merge pull request #86077 from pohly/external-docs
e2e storage: improve instructions for external driver testing
2019-12-11 08:42:08 -08:00
yiyang5055
0f410d625a change CounterVec to use Counter in the Kubelet's Pod Lifecycle Event Generator 2019-12-11 23:51:28 +08:00
Kubernetes Prow Robot
4f52ccaf39
Merge pull request #85995 from nikhita/semver-tags-instructions
client-go: update INSTALL.md to include semver tags
2019-12-11 07:32:06 -08:00
Nikhita Raghunath
ca36822f1e client-go: update INSTALL.md to include semver tags 2019-12-11 19:49:55 +05:30
Kubernetes Prow Robot
cfdc365525
Merge pull request #86133 from Huang-Wei/cleanup-predicate-path
Eliminate running paths of Predicates in scheduler
2019-12-11 06:18:06 -08:00
Kubernetes Prow Robot
9f2ae4038c
Merge pull request #86154 from droslean/revert-85797-taint-heapster
Revert "Add an option to specify kubelet flags for heapster node."
2019-12-11 04:58:05 -08:00
clarklee92
c4ad07b0b1 e2e: move funs of framework/service to e2e/network
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-11 20:13:34 +08:00
Kubernetes Prow Robot
928817a26a
Merge pull request #74525 from gliush/configurable-hpa-limits
Configurable HorizontalPodAutoscaler
2019-12-11 03:18:05 -08:00
tanjunchen
35b0f1f7dd test/e2e_node/:use framework.Equal() instead of using gomega.Expect(bool).To(gomega.BeTrue(),explain) 2019-12-11 18:50:29 +08:00
Nikolaos Moraitis
00ea8c4f9e
Revert "Add an option to specify kubelet flags for heapster node." 2019-12-11 11:19:13 +01:00
tanjunchen
f8e0c6bb41 test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...) 2019-12-11 16:25:26 +08:00
Kubernetes Prow Robot
eef4c00ae9
Merge pull request #85621 from chewong/in-tree-azure-disk-e2e
Rename Azure driver to Azure Disk driver in e2e test
2019-12-10 22:14:06 -08:00
Kubernetes Prow Robot
939da5e9cf
Merge pull request #86078 from feiskyer/peni/fix-err-message
Make error message and service event message more clear
2019-12-10 19:26:05 -08:00
Wei Huang
dc3d1bd238
Eliminate running paths of Predicates in scheduler
- eliminate running paths of Predicates in scheduler; use Filter Plugins instead.
- refactor all unit tests
- adjust the TestPreemptWithPermitPlugin integration test
2019-12-10 19:14:13 -08:00