Commit Graph

86796 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6715e35530
Merge pull request #86175 from ahg-g/ahg1-prefilters
Wrap InterPodAffinity predicate metadata as a Prefilter
2019-12-12 18:33:19 -08:00
Kubernetes Prow Robot
ae717afc0d
Merge pull request #86140 from yutedz/rs-rm-timeout
Do not swallow timeout in manageReplicas
2019-12-12 18:33:07 -08:00
Kubernetes Prow Robot
6db550d1db
Merge pull request #85789 from ZP-AlwaysWin/dev-1202
Remove unnecessary nil check in if statement in nodelease controller
2019-12-12 18:32:54 -08:00
tanjunchen
f786cb07b7 test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse()) 2019-12-13 10:11:47 +08:00
Jordan Liggitt
995d408334 Clean up conformance tar test data 2019-12-12 21:05:28 -05:00
Kubernetes Prow Robot
92a14f4f7e
Merge pull request #85511 from oke-py/port-forward-named-port
Fix a bug in port-forward: named port not working with service
2019-12-12 17:20:54 -08:00
Mike Dame
255ab6d2c3 Remove priority execution paths in favor of score plugins
Mainly affects core/generic_scheduler.go (and related tests). Removes the "prioritizers" field and related functions.
2019-12-12 19:30:44 -05:00
Abdullah Gharaibeh
288609ecf5 remove ds dependeny on scheduler metadata 2019-12-12 19:04:36 -05:00
Abdullah Gharaibeh
70a2bccfd6 deprecate scheduler's FailureReason 2019-12-12 18:54:52 -05:00
Kubernetes Prow Robot
5a45e30081
Merge pull request #85406 from zhouya0/kubectl-change-podSecurityPolicy-group
kubectl change podSecurityPolicy group
2019-12-12 15:48:55 -08:00
Kubernetes Prow Robot
b4b0d1903d
Merge pull request #85718 from dholbach/dholbach/remove-kube-timeout
drop KUBE_TIMEOUT in test/cmd/kubeadm.sh
2019-12-12 14:22:32 -08:00
Kubernetes Prow Robot
c1b2ecaada
Merge pull request #86159 from clarklee92/move-e2e/framework/service
e2e: move funs of framework/service to e2e/network
2019-12-12 12:48:32 -08:00
Abdullah Gharaibeh
2fdf1fa3c1 inter-pod affinity prefilter 2019-12-12 15:20:14 -05:00
Lantao Liu
c229c78af7 Upload containerd logs to stackdriver
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-12 11:49:14 -08:00
Ted Yu
9cff345770 Do not swallow timeout in manageReplicas 2019-12-12 11:27:36 -08:00
Kubernetes Prow Robot
bb03061010
Merge pull request #86218 from ahg-g/ahg-framework
Add an interface to return scheduler framework instance
2019-12-12 11:06:32 -08:00
Kubernetes Prow Robot
05836353a1
Merge pull request #86117 from wojtek-t/node_authorizer_microbenchmark
Extend authorization benchmark
2019-12-12 09:38:32 -08:00
Kubernetes Prow Robot
442107b6b9
Merge pull request #86092 from robscott/endpointslice-proxy-cache-fix
Ensuring kube-proxy does not mutate shared EndpointSlices
2019-12-12 08:12:32 -08:00
Abdullah Gharaibeh
9f334a4d08 Add an interface to return scheduler framework instance 2019-12-12 10:47:32 -05:00
Lubomir I. Ivanov
effe299082 kubeadm: add basic validation around kubelet.conf parsing
If the user has modified the kubelet.conf post TLS bootstrap
to become invalid, the function getNodeNameFromKubeletConfig() can
panic. This was observed to trigger in "kubeadm reset" use cases.

Add basic validation and unit tests around parsing the kubelet.conf
with the aforementioned function.
2019-12-12 17:30:53 +02:00
wojtekt
1657ef25eb Extend authorization benchmark 2019-12-12 16:20:38 +01:00
Kubernetes Prow Robot
ea7327ac40
Merge pull request #86212 from mfojtik/plural-exceptions
code-generator: expose pluralExceptions via flag
2019-12-12 06:48:32 -08:00
Kubernetes Prow Robot
7b792c38e0
Merge pull request #85837 from pickledrick/coredns-replicas
kubeadm: persist dns replica count on upgrade
2019-12-12 05:12:31 -08:00
Michal Fojtik
15e98360a8
code-generator: update BUILD 2019-12-12 13:15:20 +01:00
Michal Fojtik
d511a809af
code-generator: expose plural exceptions via flag 2019-12-12 13:15:20 +01:00
RainbowMango
44a0d04b96 Add a unit test guarantees ClearState will fully clear a collector. 2019-12-12 20:11:14 +08:00
Kubernetes Prow Robot
cfdfd043a0
Merge pull request #86204 from hwdef/add-hack-reviewer
add @hwdef as a reviewer of hack
2019-12-12 01:14:32 -08:00
hwdef
64e49e187a add hwdef as a reviewer of hack 2019-12-12 16:10:06 +08:00
tanjunchen
89b31c8d69 move test/e2e/framework/lifecycle/ test/framework/cloud/gcp 2019-12-12 13:28:53 +08:00
Kubernetes Prow Robot
9caece8bd9
Merge pull request #86020 from enj/enj/i/oidc_cache/79546
kubectl oidc auth-provider: include cluster address in cache key
2019-12-11 21:00:32 -08:00
Kubernetes Prow Robot
6dbd521cfa
Merge pull request #86178 from misterikkit/test-log-fix
fix log format string
2019-12-11 19:40:46 -08:00
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