Commit Graph

42312 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
81aaeee8a6 Merge pull request #102731 from sharmarajdaksh/lastappliedconfig-annotation-no-mirror
fix: mirroring of last-applied-configuration annotation in EndpointSlices
2021-06-15 13:41:55 -07:00
Kubernetes Prow Robot
a5be86fee7 Merge pull request #101316 from ravisantoshgudimetla/add-minReadySeconds-impl
Add min ready seconds impl
2021-06-15 13:41:43 -07:00
Kubernetes Prow Robot
270b66fb94 Merge pull request #102642 from alaypatel07/lastSuccessfulTime
populate last successful time to cronjob status
2021-06-15 11:31:35 -07:00
Dakshraj Sharma
211485c23d last-applied-config annotation no longer mirrored to endpoint slices
Handles incorrect mirroring of endpoint annotations to created endpoint
slices, specifically the last-applied-config. Also updates tests
and adds test cases for the same
2021-06-15 22:32:33 +05:30
ravisantoshgudimetla
ceb1dbd2f1 statefulsets: MinReadySeconds implementation
https://github.com/kubernetes/kubernetes/pull/100842
introduced featuregate. This PR implements the logic
behind it.
2021-06-15 12:59:54 -04:00
Kubernetes Prow Robot
8eef6438e6 Merge pull request #101055 from SimonCqk/master
fix: inaccurate miss schedule times of cronjob v2.
2021-06-15 08:38:01 -07:00
Kubernetes Prow Robot
42472c3a00 Merge pull request #102735 from dims/switch-to-github.com/robfig/cron/v3
Update to github.com/robfig/cron/v3
2021-06-15 06:44:01 -07:00
Kubernetes Prow Robot
4e7fc6df63 Merge pull request #100369 from wzshiming/fix/restart-dbus-for-graceful-node-shutdown
After DBus restarts, make GracefulNodeShutdown work again
2021-06-14 20:50:00 -07:00
Kubernetes Prow Robot
85f0931ab9 Merge pull request #102772 from saintube/patch-1
cleanup: fix kubelet cpuset typo
2021-06-14 19:00:13 -07:00
Davanum Srinivas
4b36a5cbe9 Switch to github.com/robfig/cron/v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-14 19:03:03 -04:00
Kubernetes Prow Robot
98587127da Merge pull request #102781 from fromanirh/fix-issue102780
cm: handle nil cpumanager avoiding segfault
2021-06-14 13:22:00 -07:00
Kubernetes Prow Robot
5aedca2758 Merge pull request #102550 from CKchen0726/fix_log_error_for_mr98753
update error info with the new limit in #98753
2021-06-14 10:55:41 -07:00
Kubernetes Prow Robot
230a63514b Merge pull request #100776 from pacoxu/fix/94495-ga-follow-up
remove GAed feature gates group: LegacyNodeRoleBehavior
2021-06-14 10:55:28 -07:00
Kubernetes Prow Robot
52eea971c5 Merge pull request #99279 from yangjunmyfm192085/run-test22
Fix typo: Use uniform format of structured klog
2021-06-11 19:22:59 -07:00
Kubernetes Prow Robot
496f16c5ba Merge pull request #94564 from knight42/fix/TestInitialSync
test(proxy::config): deflake TestInitialSync
2021-06-11 18:07:00 -07:00
Kubernetes Prow Robot
21ee533508 Merge pull request #102805 from ahg-g/ahg-deprecate
Remove deprecated scheduler CLI flags
2021-06-11 08:45:00 -07:00
Jian Zeng
9109d928cd test(proxy::config): deflake TestInitialSync
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-06-11 23:00:45 +08:00
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
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