Commit Graph

100990 Commits

Author SHA1 Message Date
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
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
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
Anago GCB
0b80fbf978 CHANGELOG: Update directory for v1.22.0-alpha.2 release 2021-05-21 05:21:01 +00:00
Jiawei Wang
cc089c0400 Add warning for deprecated and removed plugin 2021-05-20 21:20:44 -07:00
Kubernetes Prow Robot
f803daaca7
Merge pull request #101510 from huchengze/patch-12
migrate log in pkg/volume/plugins.go
2021-05-20 21:14:57 -07:00
SataQiu
7a3827e8e3 kubeadm: add datapolicy tags for v1beta3 token fields 2021-05-21 11:47:17 +08:00
qini
715a4c4112 aggregate errors when putting vmss 2021-05-21 10:29:13 +08:00
mengjiao.liu
c24b87b133 Fixed a possible nil pointer dereference caused by variable plug 2021-05-21 10:17:04 +08:00
Kubernetes Prow Robot
e5124ead9a
Merge pull request #102153 from tallclair/pss
Add staging directory for pod-security-admission
2021-05-20 19:10:56 -07:00
Tim Allclair
908d25fac9 Fix copy-pasta 2021-05-20 18:11:15 -07:00
Tim Allclair
0005c72285 s/standards/admission/ 2021-05-20 17:28:57 -07:00
Jordan Liggitt
13f567d0f2 Propagate server version correctly to apiextensions-apiserver, stop serving v1beta1 CRDs 2021-05-20 20:23:53 -04:00
Kubernetes Prow Robot
5de1a754c8
Merge pull request #102147 from kolyshkin/update-runc-rc94-take-II
vendor: bump runc to rc95
2021-05-20 17:16:56 -07:00
Stephen Heywood
683138f911 Create e2e daemon set status lifecycle test
e2e test validates the following 3 extra endpoints
- replaceAppsV1NamespacedDaemonSetStatus
- readAppsV1NamespacedDaemonSetStatus
- patchAppsV1NamespacedDaemonSetStatus
2021-05-21 11:58:11 +12:00
Kubernetes Prow Robot
823d870725
Merge pull request #102014 from klueska/upstream-update-cpu-asssignment-algorithm
Refactor the algorithm used to decide CPU assignments in the CPUManager
2021-05-20 16:10:56 -07:00
Stephen Heywood
31f30383d8 Create e2e Replicaset status lifecycle test
e2e test validates the following 3 extra endpoints
-  replaceAppsV1NamespacedReplicaSetStatus
-  readAppsV1NamespacedReplicaSetStatus
-  patchAppsV1NamespacedReplicaSetStatus
2021-05-21 10:45:38 +12:00
Kubernetes Prow Robot
7705b300e2
Merge pull request #102158 from vinayakankugoyal/kubeadm-featuregate
Add a feature-gate to kubeadm to enable/disable rootless control-plane.
2021-05-20 14:16:36 -07:00
Kubernetes Prow Robot
e259943f7f
Merge pull request #101265 from s-ito-ts/ut_kubelet_topology
Adds unit tests for pkg/kubelet/cm/cpumanager/topology
2021-05-20 14:16:28 -07:00
Kubernetes Prow Robot
6e4e32985a
Merge pull request #99576 from marosset/windows-host-process-work
Windows host process work
2021-05-20 14:16:15 -07:00
Aldo Culquicondor
13f10a323c Remove feature label from Indexed Job E2E test 2021-05-20 20:35:32 +00:00
Aldo Culquicondor
d8aad7944c Remove unused util CreatePods
And rename CreatePodsWithControllerRef to simply CreatePods
2021-05-20 20:27:21 +00:00
Kubernetes Prow Robot
8a70c48553
Merge pull request #102159 from roycaihw/mark-containerimage-name-optional
Mark ContainerImage.names as optional
2021-05-20 13:14:40 -07:00
Kubernetes Prow Robot
44cffa1ef7
Merge pull request #102157 from neolit123/1.22-remove-cluster-status-from-e2e
kubeadm: remove e2e test for ClusterStatus
2021-05-20 13:14:28 -07:00
Kubernetes Prow Robot
77e769b040
Merge pull request #100754 from liggitt/warning-ga
Graduate WarningHeader feature to GA
2021-05-20 13:14:16 -07:00
Abu Kashem
b50507d98b
apf: add "width" for request
all requests have a width of 1 to maintain current behavior.
2021-05-20 13:44:58 -04:00
Kubernetes Prow Robot
f52ab3845d
Merge pull request #101099 from pacoxu/podpreset-clean
remove pod preset testdata and args
2021-05-20 10:40:36 -07:00
Niels de Vos
b997e0e4d6 Add SupportsMetrics() for Block-mode volumes
Volumes that are provisioned with `VolumeMode: Block` often have a
MetrucsProvider interface declared in their type. However, the
MetricsProvider should implement a GetMetrics() function. In the cases
where the storage drivers do not implement GetMetrics(), a panic can
occur.

Usual type-assertions are not sufficient in this case. All assertions
assume the interface is present. There is no straight forward way to
verify that a valid GetMetrics() function is provided.

By adding SupportsMetrics(), storage driver implementations require
careful reviewing for metrics support.
2021-05-20 17:10:23 +02:00
Niels de Vos
fd3bbf6f9e Add e2e testing for Block volume metrics
The in-tree drivers support gathering the capacity of the Block volume.
Make sure that Kubelet exposes these for the matching PVCs.
2021-05-20 16:37:12 +02:00
Niels de Vos
e7dedc5cd1 Support Capacity metric for block PVCs for in-tree drivers
PR #97972 added support for gathering metrics for Block PVCs provided by
CSI drivers. The in-tree drivers can support at leas the most basic
metric; Capacity.
2021-05-20 16:37:12 +02:00
Niels de Vos
2b9c81b87d Add helper functions for Block volume Capacity detection
Similar to how NewMetricsStatFS() works, the new NewMetricsBlock()
provides the GetMetrics() interface for Block volumes.

Additional metrics for Block volumes are difficult to gather. There is
no guarantee that there is a filesystem on the volume, which makes most
of the volume metrics useless.

Advanced storage might be able to detect the actual consumption (when
thin-provisioned) vs the capacity. However, this is out of the scope for
a standard helper function and requires intimate knowledge of the used
storage system.
2021-05-20 16:37:12 +02:00
Kubernetes Prow Robot
29e4fdab4d
Merge pull request #102167 from aojea/removekubemci
remove ingress kubemci tests from e2e
2021-05-20 05:49:04 -07:00
kikimo
c0a7939cbb remove redundant test branch in sorting algorithm 2021-05-20 20:31:47 +08:00
Rancho Chen
9469ee7025 Add testcase for freeCPUs with three Sockets 2021-05-20 11:49:51 +00:00
Kubernetes Prow Robot
584fbd23d6
Merge pull request #101889 from pacoxu/add-e2e-log-cleanup
e2e: add log for running which cleanup action
2021-05-20 03:47:04 -07:00
Kubernetes Prow Robot
c9fb3c8a1b
Merge pull request #102005 from feiskyer/vmss-sku-fix
Azure: avoid setting cached Sku when updating VMSS and VMSS instances
2021-05-20 01:41:17 -07:00
Kubernetes Prow Robot
f4f238e038
Merge pull request #101601 from AliceZhang2016/indexed-job-stable-hostname
specify pod name and hostname in indexed job
2021-05-20 01:41:05 -07:00
Antonio Ojea
da9ec0d4c7 remove ingress kubemci tests from e2e 2021-05-20 10:18:43 +02:00
pacoxu
75c19da843 correct messages in post start hook error handling
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-20 15:14:47 +08:00