Commit Graph

103182 Commits

Author SHA1 Message Date
Eddie Zaneski
f9375f2058
Update kubectl GitHub support issue template
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2021-08-17 12:04:12 -06: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
Kubernetes Prow Robot
410702647e
Merge pull request #104409 from martinkennelly/fix_local_test_bind_denied
Fix insufficient privileges to bind to port
2021-08-17 09:01:13 -07:00
Jordan Liggitt
5e03a1f070 Regenerate applyconfigurations 2021-08-17 11:41:47 -04:00
Jordan Liggitt
ffed59d168 Fix allowed imports for kube-openapi 2021-08-17 11:35:44 -04:00
Jordan Liggitt
0e925f266f Update unit tests to handle go1.17 certificate parsing error messages 2021-08-17 11:24:03 -04:00
XinYang
72fd01095d
re-order imports for kubeadm
Signed-off-by: XinYang <xinydev@gmail.com>
2021-08-17 22:40:46 +08:00
Jordan Liggitt
b15c2130aa Bump k8s.io/kube-openapi
Updates to preserve openapi ipv4 validation compatibility with pre-go1.17 behavior
2021-08-17 10:13:40 -04:00
Kubernetes Prow Robot
de40aa59f3
Merge pull request #104351 from apelisse/add-name-to-errors
Add name to structuredmerge errors
2021-08-17 07:03:14 -07:00
Kubernetes Prow Robot
fc5863b8b2
Merge pull request #104281 from tkashem/not-ready-429
send retry-after until the apiserver is ready
2021-08-17 05:51:13 -07: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
qhdxssm@qq.com
76f03f000a Fix use variables in the loop in vsphere_util 2021-08-17 16:52:51 +08:00
Kubernetes Prow Robot
027fe2554f
Merge pull request #104381 from wzshiming/fix/http
image: Change the download url from http to https
2021-08-17 01:02:00 -07:00
Antonio Ojea
04d83edd3c SCTP tests run only on 2 nodes 2021-08-17 00:42:20 +02:00
Antoine Pelisse
5b3c226c34 Add name and namespace to structuredmerge errors 2021-08-16 14:40:23 -07:00
Kubernetes Prow Robot
fe099b2abd
Merge pull request #104393 from claudiubelu/test-images/git-tag
test images: Use PULL_BASE_SHA for non-git image building
2021-08-16 12:24:23 -07: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
Kubernetes Prow Robot
ca31857c55
Merge pull request #104077 from jsafrane/fix-skip-schedulable
Fix zone calculation - consider only untainted nodes
2021-08-16 10:03:29 -07:00
Kubernetes Prow Robot
c2674bb766
Merge pull request #103269 from mgutierrez98/Refactor-Master-ControlPlane-test-e2e
Refactor instances of master to controlplane in test/e2e.go
2021-08-16 10:03:17 -07:00
Claudiu Belu
00dd02f89c test images: Use PULL_BASE_SHA for non-git image building
In the test image build jobs, the image-util.sh script is not being run in a git
repository, which causes git log to fail.

In this case, we can use the PULL_BASE_SHA set in cloudbuild.yaml instead.
2021-08-16 08:18:28 -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
9f7e079a5b
Merge pull request #104361 from ialidzhikov/fix/changelog-typo
Fix typo in CHANGELOG-1.22.md
2021-08-16 07:51:17 -07: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
Pengfei Ni
edc19b8072 fix: skip case sensitivity when checking Azure NSG rules 2021-08-16 05:22:22 +00:00
Pengfei Ni
5e297fb499 fix: ensure InstanceShutdownByProviderID return false for creating Azure VMs 2021-08-16 05:05:00 +00:00
Shiming Zhang
804ce496e3 image: Change http to https 2021-08-16 12:45:50 +08:00
Kubernetes Prow Robot
9c6d0b810b
Merge pull request #103402 from ilyee/validation-test
Add unit tests for validateStructuralInvariants
2021-08-15 20:55:46 -07:00
astraw99
7953cf0ce9 fix typo of rate limiter 2021-08-16 10:38:09 +08:00
elihe
8264dbe17d Add unit tests for validateStructuralInvariants 2021-08-16 10:27:15 +08: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
Mauricio Poppe
9c4d5b69ec Fix storage class setup in regional_pd.go 2021-08-15 00:52:08 +00: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
a26f7f2b58 Add non-vendor version ldflags 2021-08-14 11:20:26 -04:00
Jordan Liggitt
87a4e082ac Change defaulter-gen input to package path 2021-08-14 11:00:18 -04:00
Jordan Liggitt
a619be8e48 bump gengo to include defaulter-gen package support 2021-08-14 11:00:15 -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
Kubernetes Prow Robot
d7a06ede70
Merge pull request #103162 from rmoriar1/rmoriar1-add-http-code-to-webhook-metric
Add a new webhook request total metric and add a 1.0s bucket boundary to the webhook latency metric
2021-08-13 16:55:45 -07:00
Pavithra Ramesh
a21b977ad6 Convert some emitted events to logs. 2021-08-13 15:24:34 -07:00
Kubernetes Prow Robot
894cb069dd
Merge pull request #102666 from viveksyngh/add-e2e-test-hpa-v2betav2
test: e2e: HPA ContainerResource
2021-08-13 14:17:31 -07:00
Martin Kennelly
eba9d33c3e Fix insufficient privileges to bind to port
Container without elevated privileges to bind to
host port less than 1024 causes bind permission
denied error.
Increase port number greater than 1024 to allow
binding.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
2021-08-13 19:15:03 +01:00
ialidzhikov
37e9517c2f Fix typo in CHANGELOG-1.22.md
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-13 20:48:33 +03:00
Kubernetes Prow Robot
b6d83f0ba3
Merge pull request #103072 from ikeeip/scheduler_volumebinding
Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
2021-08-13 08:20:22 -07:00
Mike Spreitzer
d2a27a58f0 Fix extra latency and add tests for that and width
Added missing dispatching after delayed release of seats.

Updated logging for all six situations of execution completion and
seat release.

Added behavioral tests for non-zero extra latency and non-unit width.

Also added two tests for baseline functionality.

Also improved some comments and other logging in `queueset.go`.
2021-08-13 10:30:53 -04:00
Kubernetes Prow Robot
07dc81f83b
Merge pull request #104349 from rajaskakodkar/netpol-container-improvement
Optimize the resource consumption of networkpolicy tests by reducing the containers created
2021-08-13 07:08:23 -07:00
Kubernetes Prow Robot
28408bf252
Merge pull request #104322 from x13n/master
Increase time to wait for nodes to become unready
2021-08-13 04:14:23 -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
fd9c24fc5c
Merge pull request #104338 from neolit123/1.23-use-dynamic-versions
kubeadm: further improve the dynamic version population
2021-08-13 03:04:22 -07:00