Commit Graph

102586 Commits

Author SHA1 Message Date
Beata Lach (Skiba)
7d2e6d7ba9 Update addon resizer to 1.8.13
Needed to fix https://github.com/kubernetes/autoscaler/issues/3567
2021-05-24 18:58:08 +02:00
Kubernetes Prow Robot
ebd61572c5
Merge pull request #92739 from cnphil/fail-open-audit-log
Add fail-open audit logs to validating admission webhook
2021-05-24 08:59:38 -07:00
Clayton Coleman
2d361d4306
e2e: Flag questionable durations in container status on termination
The e2e that create/deletes pods rapidly and verifies their status
was reporting a very long timing:

timings total=12.211347385s t=491ms run=2s execute=450402h8m25s

in a few scenarios. Add error checks that clarify when this happens
and why. Report p50/75/90/99 latencies on teardown as observed from
the test for baseline for future changes.
2021-05-24 11:48:42 -04:00
Kubernetes Prow Robot
3464112cf9
Merge pull request #102229 from sanposhiho/fix/nil-pointer-on-nodevolumelimits
Fix: Logging causes nil-pointer
2021-05-24 07:17:38 -07:00
Abu Kashem
5fdf196b4e
client-go: refactor retry logic so it can be reused 2021-05-24 09:41:47 -04:00
Kubernetes Prow Robot
d8e9f93358
Merge pull request #102241 from lunhuijie/optimizationReturn
simplify returning boolean expression in staging/src/k8s.io/client-go/tools
2021-05-24 05:23:38 -07:00
arkbriar
f9cb68a2b1 Fix EndpointSliceCache::getEndpointsMap for different endpoints with same IP 2021-05-24 19:00:58 +08:00
刁浩 10284789
9173414da6 simplify returning boolean expression in staging/src/k8s.io/client-go/tools
Signed-off-by: 刁浩 10284789 <diao.hao@zte.com.cn>
2021-05-24 07:15:36 +00:00
tewei.luo
396bd37a5f Fix GCE regional PD tests.
Need to set storage class returned by the apiserver which contains
the "Name" field derived from "GenerateName".
2021-05-24 04:12:20 +00:00
Kir Kolyshkin
f1aee7e049 kubelet/cm: GetResourceStats -> MemoryUsage
Commit cc50aa9dfb introduced GetResourceStats, a method which collected
all the statistics from various cgroup controllers, only to discard all
of the info collected except a single value (memory usage).

While one may argue that this method can potentially be used from other
places, this did not happen since it was added 4+ years ago.

Let's streamline this code and only collect what we need, i.e. memory
usage. Rename the method accordingly.

While at it, fix pkg/kubelet/cm/cgroup_manager_unsupported.go to not
instantiate a new error every time a method is called.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-05-23 20:43:52 -07:00
sanposhiho
517feed45b Add: interface check 2021-05-23 23:48:42 +09:00
sanposhiho
be16b7f818 Fix: Logging causes nilpointer 2021-05-23 23:17:29 +09:00
Kubernetes Prow Robot
d8f9e4587a
Merge pull request #101742 from ravisantoshgudimetla/promote-maxSurge-beta
Promote DS MaxSurge to beta
2021-05-23 04:33:38 -07:00
Kubernetes Prow Robot
d7903669c4
Merge pull request #96299 from ggriffiths/snapshot_controller_metrics_e2e_tests
Add Snapshot Controller e2e metric tests
2021-05-23 03:33:37 -07:00
Kubernetes Prow Robot
5be51c9fbf
Merge pull request #102186 from Jiawei0227/scaleio
Add warning for removed and deprecated plugin
2021-05-23 01:15:37 -07:00
Kubernetes Prow Robot
ec38907367
Merge pull request #102224 from liggitt/fixup-test-certs
Fix expired unit test certs
2021-05-22 20:15:37 -07:00
Jordan Liggitt
7a227d302d Fix expired unit test certs 2021-05-22 20:58:53 -04:00
Shiming Zhang
202a012093 Add restart unit test 2021-05-23 00:47:36 +08:00
刁浩 10284789
b344d4d442 api link is missing
Signed-off-by: 刁浩 10284789 <diao.hao@zte.com.cn>
2021-05-22 08:52:39 +00:00
Kubernetes Prow Robot
c5bd36ef90
Merge pull request #102065 from eddiezane/ez/add-KnVerey-as-sig-cli-reviewer
Add KnVerey as a sig-cli reviewer
2021-05-22 00:53:37 -07:00
kikimo
20c02357ca Add hint to fake topology manager. 2021-05-22 15:29:08 +08:00
Kubernetes Prow Robot
916ed1d3ad
Merge pull request #100543 from chaitanyabandi/variable-expansion
Don't replace pod annotations in variable expansion test
2021-05-21 17:43:37 -07:00
Kubernetes Prow Robot
661b76f864
Merge pull request #102216 from enj/enj/t/exec_global_cache
Add integration test for exec plugin global cache
2021-05-21 16:41:37 -07:00
Kubernetes Prow Robot
a2357f4516
Merge pull request #100136 from Danil-Grigorev/disable-cloud-providers-fg
Add feature gate to disable all in-tree cloud providers
2021-05-21 15:39:36 -07:00
Wei Huang
1b3a124ba6
Scheduler now registers event handlers dynamically
- move clusterEventMap to Configurator
- dynamic event handlers registration for core API resources
- dynamic event handlers registration for custom resources
2021-05-21 13:47:06 -07:00
Kir Kolyshkin
c299b8fc9a kubelet/cm: rm propagateControllers
This was added by commit a9772b2290.

In the current codebase, the cgroup being updated was created using
runc/opencontainers' manager.Apply(), which already does controllers
propagation, so there is no need to repeat that on every update.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-05-21 13:44:54 -07:00
Chaitanya Bandi
0681a44672 Don't replace pod annotations in variable expansion test
This change fixes the "Variable Expansion should verify that a failing subpath
expansion can be modified during the lifecycle of a container" conformance test
where the annotations are replaced with those used by the test, instead of
appending them.

This may cause undesirable side-effects with other controllers that may be
using pod annotations.
2021-05-21 13:38:04 -07:00
Kubernetes Prow Robot
fb3273774a
Merge pull request #99178 from wilsonehusin/distroless-conformance
Use distroless to build Conformance image
2021-05-21 13:32:11 -07:00
Monis Khan
a45ffd0771
Add integration test for exec plugin global cache
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-21 16:17:32 -04:00
Kubernetes Prow Robot
863e22cc93
Merge pull request #102175 from ankeesler/exec-plugin-with-basic-auth
exec credential provider: don't run exec plugin with basic auth
2021-05-21 11:52:10 -07:00
Andrew Keesler
9dee2b95c2
exec credential provider: don't run exec plugin with basic auth
If a user specifies basic auth, then apply the same short circuit logic
that we do for bearer tokens (see comment).

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-21 13:51:03 -04:00
Kubernetes Prow Robot
fadf85d6d0
Merge pull request #98350 from nilo19/bug/cherry-pick-482
Cherry pick #482 from cloud provider azure: aggregate errors when putting vmss
2021-05-21 10:42:11 -07:00
Kubernetes Prow Robot
164ba3ad7d
Merge pull request #102152 from ankeesler/exec-plugin-integration-test
test/integration/client: test exec calls metric
2021-05-21 09:42:10 -07:00
Kubernetes Prow Robot
e5bee02452
Merge pull request #102185 from tkashem/apf-seats-in-use
apf: introduce the concept of width for a request
2021-05-21 08:41:23 -07:00
Kubernetes Prow Robot
31a0f49c7c
Merge pull request #102174 from SataQiu/kubeadm-add-datapolicy
kubeadm: add datapolicy tags for v1beta3 token/key fields
2021-05-21 08:41:11 -07:00
Kubernetes Prow Robot
64412d526e
Merge pull request #102133 from pacoxu/move-defaulting-kubeadm
kubeadm: move cgroupDriver defaulting to kubeconfig/kubelet.go Default()
2021-05-21 08:40:59 -07:00
Kubernetes Prow Robot
cb1775c73a
Merge pull request #101893 from kikimo/fix-numa-topo-error
Avoid undesirable allocation when device is associated with multiple …
2021-05-21 08:40:47 -07:00
Xiaojun Hu
9fe7c8955b add fail-open audit logs to validating and mutating admission webhook 2021-05-21 10:44:12 -04:00
Kubernetes Prow Robot
04a0dcec8d
Merge pull request #99371 from tiloso/staticcheck-apimachinery-util
Fix staticcheck in k8s.io/apimachinery/pkg/util
2021-05-21 07:38:46 -07:00
Danil-Grigorev
5d57b3794c Add DisableCloudProviders FG
FeatureGate acts as a secondary switch to disable cloud-controller loops
in KCM, Kubelet and KAPI.

Provide comprehensive logging information to users, so they will be
guided in adoption of out-of-tree cloud provider implementation.
2021-05-21 16:09:44 +02:00
Andrew Keesler
584acb2cfe
test/integration/client: test exec calls metric
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-21 09:20:47 -04:00
Kubernetes Prow Robot
fed3a4520d
Merge pull request #102089 from ardaguclu/test-node-authn-ipv6-formating
Add Node IP IPv6 formatting in NodeAuthenticator tests
2021-05-21 05:10:46 -07:00
Kubernetes Prow Robot
abe209b086
Merge pull request #102193 from gautierdelorme/bump_kustomize
upgrade kustomize to v4.1.3
2021-05-21 03:16:46 -07:00
pacoxu
2fdbfd8a27 kubeadm: move cgroupDriver defaulting to componentconfigs/kubelet.go#Default()
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-21 17:27:40 +08:00
ricolin
03d60a89a0 Add build instruction for buildx CLI plugin
docker buildx CLI plugin is not default enable most functionality which we
comsumed during build releases. Means `docker buildx build` will work, but
flags like `--load` or `--platform` is not supported. Which is still true
statement with most up-to-date docker version. That means for new join
member who plan to build by themself, will need to notice if buildx is
properly installed. And not getting confused by build script when docker
complant about unknown flag `--load`, `--platoform`. Hance, add buildx
instruction to note.
2021-05-21 15:48:30 +08:00
Kubernetes Prow Robot
6eef9fe925
Merge pull request #102197 from liggitt/crd-lifecycle
Propagate server version correctly to apiextensions-apiserver, stop serving v1beta1 CRDs
2021-05-21 00:28:57 -07:00
Dave Chen
fadf3e1531 Graduate prefer nominated node to beta
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-05-21 15:13:50 +08:00
Gautier Delorme
ac753f44cc upgrade kustomize to v4.1.3
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2021-05-21 09:11:30 +02:00
sanwishe
e8f69398c3 simplify return boolean value expression in cmd/kube-controller-manager/app/certificates.go 2021-05-21 14:38:31 +08:00
Grant Griffiths
564e531aa7 Add Snapshot Controller e2e metric tests
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-05-20 23:29:23 -07:00