Abdullah Gharaibeh
c13c3ebc79
Remove deprecated scheduler CLI flags hard-pod-affinity-symmetric-weight and scheduler-name
2021-06-11 10:01:42 -04:00
Kubernetes Prow Robot
4aae71695a
Merge pull request #102366 from cndoit18/fix-time-format
...
fix(timezone): Change the time zone in the api data to UTC
2021-06-11 06:54:59 -07:00
Wei Huang
36eaa11d50
cleanup usage of NewPodNominator
...
- replace NewPodNominator() with NewSafePodNominator()
- rename nominatedPodMap to nominator
2021-06-10 14:01:07 -07:00
Francesco Romani
369416b763
cm: handle nil cpumanager avoiding segfault
...
If the cpumanager feature gate is disabled, the corresponsing field
of the containerManager will be nil.
A couple functions don't check for this occurrence and happily
deference the pointer unconditionally, leading to possible segfaults.
The relevant functions were introduced to support the podresources API,
so to trigger this segfault all the following are needed:
- cpumanager feature gate has to be disabled explicitely
- any podresources API must be called
Worth pointing out that when the new functions were introduced (around
kubernetes 1.20) the default feature gate for cpumanager was already set
to true, hence this bug is expected to be triggered rarely.
Signed-off-by: Francesco Romani <fromani@redhat.com >
2021-06-10 16:22:43 +02:00
Kubernetes Prow Robot
8955463c17
Merge pull request #102745 from ahg-g/ahg-provider
...
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-10 07:17:39 -07:00
Kubernetes Prow Robot
521be6344e
Merge pull request #102558 from Jerry-Ge/unroll-extenders
...
Unroll ScheduleAlgorithm#Extenders() to Scheduler.go
2021-06-10 07:17:27 -07:00
Frame
9255f2ccf3
Fix kubelet cpuset typo
2021-06-10 18:17:04 +08:00
Kubernetes Prow Robot
0d9c29078b
Merge pull request #102746 from ahg-g/ahg-names
...
Define in-tree scheduler plugin names in separate pkg
2021-06-10 02:45:27 -07:00
Kubernetes Prow Robot
a9dcc2ddb0
Merge pull request #102747 from ahg-g/ahg-owners
...
Revert the change that prevented scheduler approvers from approving changes to pkg/scheduler/apis pkg
2021-06-09 18:15:26 -07:00
Jerry-Ge
110c39ef60
unroll extenders
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com >
Co-authored-by: Huang-Wei <wei.huang1@ibm.com >
2021-06-10 08:31:44 +08:00
Abdullah Gharaibeh
52f5ba3a58
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-09 19:14:54 -04:00
Kubernetes Prow Robot
e692207857
Merge pull request #102555 from wzshiming/fix/close-modules-file
...
Close the used modules file
2021-06-09 14:55:26 -07:00
Abdullah Gharaibeh
183bc3cece
Allow scheduler maintainers to approve changes in the internal apis pkg
2021-06-09 16:46:36 -04:00
Abdullah Gharaibeh
46f3e4dfdd
Define in-tree scheduler plugin names in separate pkg to break a cyclic depednecy when moving plugin defaulting to CC
2021-06-09 15:36:09 -04:00
Kubernetes Prow Robot
278f856144
Merge pull request #102653 from wzshiming/fix/npe
...
Fix NPE for CSI mounter
2021-06-09 10:17:26 -07:00
Kubernetes Prow Robot
3d6e0694bb
Merge pull request #101294 from twosigma/gasethostnamefqdn
...
Promote setHostnameAsFQDN feature to GA
2021-06-09 09:07:48 -07:00
Jonathan Dobson
484eb01822
kubelet: do not call RemoveAll on volumes directory for orphaned pods
2021-06-08 13:57:35 -06:00
Kubernetes Prow Robot
6cb421487a
Merge pull request #99597 from adtac/v1b2
...
scheduler CC: add v1beta2 API, deprecate plugins
2021-06-08 12:26:08 -07:00
Kubernetes Prow Robot
5a21b97882
Merge pull request #102683 from aojea/mirrorsliceready
...
endpointslicemirroring controller mirror address status
2021-06-08 10:05:45 -07:00
Kubernetes Prow Robot
8b787f3a22
Merge pull request #100741 from mengjiao-liu/fix-test-err
...
Fix incorrect test code in pkg/volume/csi/csi_attacher_test.go file
2021-06-08 08:33:12 -07:00
Kubernetes Prow Robot
0322d34a3e
Merge pull request #100937 from mengjiao-liu/fix-metrics-nil-pointer
...
Fix csi_client_test.go metrics nil pointer dereference
2021-06-08 07:27:14 -07:00
Shiming Zhang
1eb8060dd6
Add test for CSI mounter
2021-06-08 18:42:31 +08:00
Antonio Ojea
3ac8d8c9ce
endpointslicemirroring controller mirror address status
...
Fix a bug on the endpoint slice mirroring controller where the
endpoints not ready addresses were mirrored as ready.
2021-06-08 09:51:59 +02:00
Kubernetes Prow Robot
f7cff077d5
Merge pull request #102611 from ehashman/test-order
...
kubelet: Fix test order in verifyContainerStatuses
2021-06-08 00:29:11 -07:00
Kubernetes Prow Robot
887e5e61b0
Merge pull request #102615 from lunhuijie/fixTestOrderInhttpTest
...
Fix test order in /pkg/probe/http/http_test.go
2021-06-07 19:55:23 -07:00
Kubernetes Prow Robot
db34c5a869
Merge pull request #102471 from wzshiming/clean/cap
...
Pre-allocated memory
2021-06-07 19:55:12 -07:00
Shiming Zhang
c065d7c7b3
Fix NPE for CSI mounter
2021-06-08 10:29:46 +08:00
Kubernetes Prow Robot
d9dc347b4f
Merge pull request #102498 from Huang-Wei/fix-phantom-nominated-pod
...
sched: fix a bug that a preemptor pod exists as a phantom
2021-06-07 11:44:56 -07:00
Kubernetes Prow Robot
bd0196e8ba
Merge pull request #102568 from ehashman/init-container-coverage
...
Add unit test coverage for init container phases
2021-06-07 09:46:55 -07:00
Adhityaa Chandrasekar
3c8e56bef9
scheduler: graduate CC to v1beta2, deprecate plugins
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com >
2021-06-07 12:42:55 +00:00
Kubernetes Prow Robot
ec1228f652
Merge pull request #102570 from ehashman/kubemark-label
...
Add scalability label to kubemark OWNERS
2021-06-07 05:04:39 -07:00
Kubernetes Prow Robot
84eb8c5d10
Merge pull request #102491 from liggitt/seccomp-warning
...
Avoid warning on seccomp field usage
2021-06-07 00:52:39 -07:00
Kubernetes Prow Robot
dff5940ac3
Merge pull request #97534 from heqg/typo01
...
fix Spelling error for klog
2021-06-06 22:24:39 -07:00
Alay Patel
92b52a4fb5
populate last successful time to cronjob status
2021-06-06 16:14:16 -04:00
Wei Huang
8e85a2b0c2
sched: fix a bug that a preemptor pod exists as a phantom
...
- SafePodNominator to resolve racing issue when dealing with nominated pod
2021-06-05 11:07:29 -07:00
Kubernetes Prow Robot
74af3b712d
Merge pull request #102297 from deads2k/ssh-tunnels
...
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-05 10:40:50 -07:00
Kubernetes Prow Robot
29a8105cec
Merge pull request #101272 from Jiawei0227/deprecateflag
...
Remove CSIMigrationvSphereComplete flag
2021-06-05 10:40:38 -07:00
Kubernetes Prow Robot
e6a8bc9fbe
Merge pull request #90368 from serathius/remove-legacy-metrics
...
Remove legacy metrics client from podautoscaler
2021-06-05 08:44:38 -07:00
刁浩 10284789
d8e91ab727
Fix test order in /pkg/probe/http/http_test.go
2021-06-05 07:27:34 +00:00
Andrew Sy Kim
1010e6a9d9
proxier/ipvs: fix test cases where ready endpoints were not used
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 20:14:00 -04:00
Elana Hashman
cc2e9394be
kubelet: Fix test order in verifyContainerStatuses
...
Per https://pkg.go.dev/github.com/stretchr/testify/assert#Equal
expected goes before actual.
2021-06-04 16:04:10 -07:00
Marek Siarkowicz
4ebc0c94a4
Remove legacy metrics client from podautoscaler
2021-06-04 23:06:32 +02:00
Hemant Kumar
f5739a15d1
The test was not very useful and required elevated access
2021-06-04 15:48:35 -04:00
Andrew Sy Kim
8eb7e81bc9
proxy/ipvs: add unit test Test_HealthCheckNodePortWhenTerminating for ensuring health check node port fails when all local endpoints are terminating
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
ed4fe07375
proxy/iptables: add unit test Test_HealthCheckNodePortWhenTerminating for ensuring health check node port fails when all local endpoints are terminating
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
14cc201b58
proxy: add test case in TestGetLocalEndpointIPs for when all endpoints are terminating
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
3e459997c8
proxy/ipvs: add a unit tests for when the ProxyTerminatingEndpoint feature gate is disabled
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
68ebd16a2c
proxier/iptables: refactor terminating endpoints unit tests with test table and test for feature gate
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
f92265f654
proxier/ipvs: check feature gate ProxyTerminatingEndpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00
Andrew Sy Kim
8c514cb232
proxier/iptables: check feature gate ProxyTerminatingEndpoints
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-06-04 15:17:43 -04:00