dntosas
cd795fa2eb
[scheduler] Remove deprecated volumeSchedulingLatency metric
...
As part of https://github.com/kubernetes/kubernetes/pull/100720 we
backported fix on existing releases and in this commit we completely
remove the deprecated metric from master branch.
Signed-off-by: dntosas <ntosas@gmail.com >
2021-08-23 15:18:16 +03:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
Kubernetes Prow Robot
df51e4e63e
Merge pull request #100720 from dntosas/scheduler-metrics-fix-buckets
...
[volumeScheduling/metrics] Fix buckets initialization
2021-08-19 18:47:24 -07:00
Lars Ekman
25453708ea
Remove pkg/utils/slice from kube-proxy
2021-08-19 06:48:27 +02:00
Kubernetes Prow Robot
8dbc33d649
Merge pull request #101081 from rphillips/add_graceful_shutdown_event
...
kubelet: add graceful shutdown events
2021-08-17 22:08:08 -07:00
Kubernetes Prow Robot
f805f5588b
Merge pull request #104416 from liggitt/go117-certificates
...
Update unit tests to handle go1.17 certificate parsing error messages
2021-08-17 17:04:07 -07:00
Kubernetes Prow Robot
a779c58b16
Merge pull request #104330 from liggitt/defaulter-package
...
Change defaulter-gen input to package import path
2021-08-17 11:42:18 -07:00
Kubernetes Prow Robot
07b7afefbf
Merge pull request #103862 from tanjing2020/cleancode
...
Replace 'x.Sub(time.Now())' with 'time.Until(x)'
2021-08-17 11:42:01 -07:00
Kubernetes Prow Robot
d7c1663556
Merge pull request #103137 from wzshiming/fix/expected_inhibit_delay
...
Allow the actual inhibit delay to be greater than the expected inhibit delay
2021-08-17 11:41:49 -07:00
Kubernetes Prow Robot
a9aad7e034
Merge pull request #103107 from pacoxu/fix-93300
...
ResourceConfigForPod: check initContainers as other QoS func
2021-08-17 11:41:37 -07:00
Kubernetes Prow Robot
f4185318bc
Merge pull request #103048 from gy95/remove_static
...
remove not used IsStaticPod, prevent possible panic
2021-08-17 11:41:25 -07:00
Kubernetes Prow Robot
b559434c02
Merge pull request #103059 from rajaSahil/fix-error
...
Update github.com/pkg/errors to go native errors pkg
2021-08-17 10:29:25 -07:00
Kubernetes Prow Robot
db42b67f3c
Merge pull request #101962 from llhhbc/add-osinfo-logs
...
Add getOSInfo err info
2021-08-17 10:29:13 -07:00
Jordan Liggitt
0e925f266f
Update unit tests to handle go1.17 certificate parsing error messages
2021-08-17 11:24:03 -04:00
dntosas
7cbac6bde0
[volumeScheduling/metrics] Fix buckets initialization
...
This metrics is measured in seconds so it makes no sense starting from
1000 as init value. This breaks also the scheduler e2e metric thus make
users unable to compute, for example, their SLO for the scheduler.
Even if this metric is deprecated, it should behave correctly until it is
completely removed to avoid user confusion.
For example, for each volume created, the minimum value exposed
as a metric is 16.6min (1000sec/60) which is obviously wrong as logic.
In this commit, we migrate bucket creation to start from reasonable
numbers, copying the incrementation from the conventions that the
scheduler follows itself.
Signed-off-by: dntosas <ntosas@gmail.com >
2021-08-17 12:49:40 +03:00
Kubernetes Prow Robot
74a09fe682
Merge pull request #104389 from saschagrunert/seccomp-annotation-removal
...
Mention seccomp annotation removal in v1.25
2021-08-16 11:14:23 -07:00
Sascha Grunert
cdbfd009da
Mention seccomp annotation removal in v1.25
...
This patch adds removal warnings for the deprecated seccomp annotation,
which is targeting removal in v1.25.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2021-08-16 17:02:54 +02:00
Kubernetes Prow Robot
a3f541e63b
Merge pull request #104378 from thockin/ipalloc-cleanup
...
IP Allocator cleanups
2021-08-16 05:31:17 -07:00
Kubernetes Prow Robot
cbb5ea8210
Merge pull request #101399 from wangyx1992/error-punctuation
...
cleanup: fix errors ending with punctuation in proxy
2021-08-16 00:51:46 -07:00
Tim Hockin
28de406a37
Allocator renames for clarity
...
Rename `NewCIDRRange()` to `NewInMemory()`
Rename `NewAllocatorCIDRRange()` to `New()`
Rename `NewPortAllocator()` to `NewInMemory()`
Rename `NewPortAllocatorCustom()` to `New()`
2021-08-15 16:44:12 -07:00
Tim Hockin
907fceb206
Remove unused NewContiguousAllocationMap
...
This was used at some point in the past and never removed. We are not
in the business of hosting unused code.
2021-08-15 14:12:14 -07:00
Kubernetes Prow Robot
355bc3df22
Merge pull request #104239 from mamil/fix-typo
...
Fix typo
2021-08-14 10:03:45 -07:00
Jordan Liggitt
87a4e082ac
Change defaulter-gen input to package path
2021-08-14 11:00:18 -04:00
Kubernetes Prow Robot
e95983be57
Merge pull request #104119 from aojea/clusterip_metrics
...
ClusterIP Allocator metrics
2021-08-13 18:11:45 -07:00
Konstantin Misyutin
29bd66d018
Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
...
All dependencies of VolumeBinding plugin from
"k8s.io/kubernetes/pkg/controller/volume/scheduling" package moved to
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding" package:
- whole file pkg/controller/volume/scheduling/scheduler_assume_cache.go
- whole file pkg/controller/volume/scheduling/scheduler_assume_cache_test.go
- whole file pkg/controller/volume/scheduling/scheduler_binder.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_fake.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_test.go
Package "k8s.io/kubernetes/pkg/controller/volume/scheduling/metrics" moved
to "k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/metrics"
because it only used in VolumeBinding plugin and (e2e) tests.
More described in issue #89930 and PR #102953 .
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com >
2021-08-13 19:08:45 +08:00
Kubernetes Prow Robot
1f8b1b84fb
Merge pull request #102886 from gnufied/add-local-expansion
...
Add support for expanding local volumes
2021-08-12 11:55:50 -07:00
Kubernetes Prow Robot
2dc4f7be17
Merge pull request #103796 from mengjiao-liu/remove-featuregate-AllowInsecureBackendProxy
...
Remove AllowInsecureBackendProxy feature gate
2021-08-12 10:20:01 -07:00
Hemant Kumar
593eda4ad3
Add unit tests for local volume expansion
2021-08-12 12:17:01 -04:00
Kubernetes Prow Robot
27b02a3e37
Merge pull request #104030 from chendave/refactoring_new
...
Refactor defaultpreemption for out-of-tree plugins
2021-08-11 18:38:00 -07:00
Patrick Ohly
dfaeacb51f
CSIDriver: allow "StorageCapacity" to be modified
...
When originally introduced, the field was made immutable to be
consistent with the other fields. But in practice allowing it to be
toggled makes more sense, in particular when considering the rollout
of a CSI driver (let it run without using the published
CSIStorageCapacity object, then flip the field, or upgrading from a
driver without support to one which supports it).
The only consumer of this field, the kube-scheduler, can handle
mutation without problems because it always consults the informer
cache to get the current value.
2021-08-11 15:10:30 +02:00
Kubernetes Prow Robot
34d1d2a4b9
Merge pull request #104278 from andrewsykim/fix-feature-gate-version
...
Fix documented version for DisableKubeletCloudCredentialProviders feature gate
2021-08-11 02:09:22 -07:00
Kubernetes Prow Robot
3ca0145f20
Merge pull request #104253 from mauriciopoppe/subpath-additional-mount-flag
...
Pass additional flags to subpath mount to avoid flakes in certain conditions
2021-08-11 02:08:58 -07:00
Dave Chen
3af26bae2c
Refactor defaultpreemption for out-of-tree plugins
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-08-11 09:29:17 +08:00
Andrew Sy Kim
0379c8f96a
Fix documented version for DisableKubeletCloudCredentialProviders feature gate
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2021-08-10 17:24:45 -04:00
Kubernetes Prow Robot
24a09c3ade
Merge pull request #104268 from rphillips/fixes_terminating_pod_race
...
kubelet: fix sandbox creation error suppression when pods are quickly deleted
2021-08-10 13:02:52 -07:00
Kubernetes Prow Robot
48da959dbf
Merge pull request #104248 from liggitt/drop-beta
...
Drop dead beta storage and validation code
2021-08-10 11:52:40 -07:00
Ryan Phillips
30e9a420c4
kubelet: fix sandbox creation error suppression when pods are quickly deleted
2021-08-10 08:55:25 -05:00
Kubernetes Prow Robot
61b6233235
Merge pull request #104148 from markusthoemmes/structured-logging-2
...
Add the pod field to all volumeToMount info level logs
2021-08-10 03:19:18 -07:00
Kubernetes Prow Robot
4f50f99cc6
Merge pull request #103685 from mengjiao-liu/remove-ServiceAccountIssuerDiscovery-featuregate
...
Remove ServiceAccountIssuerDiscovery feature gate
2021-08-09 16:15:17 -07:00
Mauricio Poppe
296b30f143
Pass additional flags to subpath mount to avoid flakes in certain conditions
2021-08-09 22:15:35 +00:00
Jordan Liggitt
f98ff65564
Drop DefaultGarbageCollectionPolicy checks for legacy apps REST API versions
2021-08-09 17:04:31 -04:00
Kubernetes Prow Robot
04248afb26
Merge pull request #103805 from Huang-Wei/preempt-or-del-waiting-pod
...
sched: retry unscheduled pod immediately after a waiting pod gets preempted or deleted
2021-08-09 12:01:10 -07:00
Jordan Liggitt
1ceb118e3c
Drop legacy status logic for volumeattachments API
2021-08-09 12:38:29 -04:00
Jordan Liggitt
c702dd4394
Drop legacy validation logic for networking API
2021-08-09 12:37:45 -04:00
Jordan Liggitt
b1d344db44
Drop legacy validation logic for certificates API
2021-08-09 12:37:34 -04:00
Jordan Liggitt
befffd1565
Drop legacy validation logic for admission registration
2021-08-09 12:37:18 -04:00
Kubernetes Prow Robot
a7af9f6e0e
Merge pull request #101475 from ash2k/ash2k/stop-timer
...
Stop timer and correctly drain it
2021-08-09 09:35:31 -07:00
Jordan Liggitt
39a1293cbc
Drop beta REST APIs removed in 1.22
2021-08-09 11:10:16 -04:00
Kubernetes Prow Robot
4b4d12f8a6
Merge pull request #102913 from pacoxu/upgrade-promotheus-common
...
upgrade prometheus/common to v0.28.0
2021-08-09 08:03:31 -07:00
raymonder jin
cdc225f297
bandwith --> bandwidth
2021-08-09 20:24:47 +08:00