Commit Graph

100615 Commits

Author SHA1 Message Date
Josh Soref
44a9f24fda Spelling/grammar
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-04-29 19:54:59 -04:00
Jeremy Edwards
5c713379a0 GCE Windows: mkdir -p fluent-bit pos-files directory. 2021-04-29 22:52:38 +00:00
Kubernetes Prow Robot
6baad0a1d4
Merge pull request #99537 from pandaamanda/kubectl_clusterinfo_dump_fix_info
fix description of command kubectl cluster-info dump
2021-04-29 15:12:11 -07:00
David Porter
28acfab74c Update cos-gpu-installer image
This installer image should be compatible with COS-M85 images,
specifically `cos-85-13310-1041-9`
2021-04-29 14:58:47 -07:00
Kubernetes Prow Robot
204ff6caeb
Merge pull request #101586 from liggitt/delete-partition-tests
Remove inactive failing tests
2021-04-29 11:36:23 -07:00
Kubernetes Prow Robot
eb326fdc07
Merge pull request #100262 from chaitanyabandi/daemon-ns-patch
use Patch API to add namespace annotations
2021-04-29 11:36:11 -07:00
Ryan Phillips
224a4db269 cleanup podkiller close 2021-04-29 11:49:58 -05:00
Ryan Phillips
1f81b44cc7 kubelet: do not cleanup volumes if pod is being killed 2021-04-29 11:49:58 -05:00
Kubernetes Prow Robot
19c7089245
Merge pull request #101569 from wzshiming/test/e2e-node-shutdown
Fix flake for GracefulNodeShutdown e2e
2021-04-29 09:01:25 -07:00
Kubernetes Prow Robot
01955b99d7
Merge pull request #101531 from ialidzhikov/cleanup/volume-snapshot-data-source
Remove the VolumeSnapshotDataSource feature gate
2021-04-29 09:01:17 -07:00
Kubernetes Prow Robot
06eeec737a
Merge pull request #101439 from prameshj/update-kubedns
Update to using kubedns 1.17.3 image.
2021-04-29 09:01:04 -07:00
Abu Kashem
69f9bc181f
apf: use a list instead of slice for queueset 2021-04-29 12:00:55 -04:00
Kubernetes Prow Robot
02c556d4d2
Merge pull request #101005 from zxh326/fix-create-service
Set namespace when using kubectl create service
2021-04-29 09:00:51 -07:00
Michael Taufen
0b3b99c096 Try both in-cluster and external discovery
The conformance test for ServiceAccountIssuerDiscovery is currently
configured with --in-cluster-discovery, which only supports token
validation against in-cluster endpoints. Many cloud providers provide
their own, external endpoints for OIDC discovery, and because the iss
claim in tokens will point to these endpoints, but the client in this
test only trusts the Cluster CA, it will fail to connect to the external
discovery endpoints when validating the token.

To ensure that the conformance test at least supports scenario where
both the discovery doc endpoint and JWKS endpoint are cluster-local and
the scenario where both endpoints are cluster-external, this PR has the
test try both and requires at least one to pass.

Caveat: The test still won't support a configuration where one
endpoint is cluster-local and the other is external. We don't yet have
evidence that this is a configuration that is used in practice, so this
initial hotfix will at least fix the conformance test for the "both
external" configuration we know providers already use. Note that if one
endpoint is cluster-local, and the other is cluster-external, tokens can
still only be validated in-cluster, because both endpoints must be
accessible to Relying Parties that validate tokens.
2021-04-29 08:56:02 -07:00
Konstantin Misyutin
74e30c5e38 Scheduler: remove pkg/features dependency from DefaultPreemption plugin
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-04-29 23:12:46 +08:00
Kubernetes Prow Robot
db2c109a14
Merge pull request #101611 from p0lyn0mial/fix-fieldmanager-admission-metadata
let objects without metadata pass through the managedFields admission controller
2021-04-29 06:50:50 -07:00
Dr. Stefan Schimanski
ae3d0d5031 aggregator: add availability state transition logging 2021-04-29 14:40:34 +02:00
Kubernetes Prow Robot
81dd9d7d38
Merge pull request #101456 from wangyx1992/missSpelling-extension
cleanup: fix spelling mistakes in CHANGELOG-1.20.md
2021-04-29 05:08:50 -07:00
Lukasz Szaszkiewicz
3dbaf305ae let objects without metadata pass through the managedFields admission controller
Not all objects provide metadata. There might be extention servers that allow for creating objects without the metadata field.

This PR changes the managedFileds admission to deal with objects without the metadata field.
Object without that field will be passed directly to the wrapped admission controller for further validation.
2021-04-29 14:08:36 +02:00
Kubernetes Prow Robot
6e29545168
Merge pull request #99998 from matthyx/deflake-startupprobe
Deflake startupProbe e2e test
2021-04-29 01:16:50 -07:00
kfu
d0de4483d5 Fixes formatting and typos in client-go docs 2021-04-29 08:23:52 +02:00
Kubernetes Prow Robot
b31f31cdbe
Merge pull request #101576 from m14815/commit-21.4.4
kubeadm: change comment about json.Unmarshaller to json.Unmarshaler
2021-04-28 22:34:50 -07:00
Kubernetes Prow Robot
db70c2a96a
Merge pull request #99348 from chymy/e2e-rck-unused
Remove unused code in test/e2e/{upgrades,storage,network}
2021-04-28 21:02:50 -07:00
Shiming Zhang
91beb10aa4 Fix flake for GracefulNodeShutdown e2e 2021-04-29 10:52:00 +08:00
Kubernetes Prow Robot
b4ea4322a6
Merge pull request #101467 from ingvagabund/noderesources-replace-IsScalerResourceName-with-nodeinfo-allocatable-scalar-resource-presence
noderesource: node info already knows which resources are scalar
2021-04-28 18:12:50 -07:00
Lubomir I. Ivanov
8eca7298b1 kubeadm: simplify fuzzing of ClusterConfiguration
- Pin the ClusterConfiguration when fuzzing
the internal InitConfiguration that embeds it. Kubeadm includes
separate constructs for this embedding in the internal type
and this round trip is not viable.
- Remove the artificial calls to SetDefaults_ClusterConfiguration()
in v1beta{2|3}'s converters from public to internal InitConfiguration.
- Make sure the internal InitConfiguration.ClusterConfiguration is
defaulted in initconfiguration.go instead.
2021-04-29 03:34:03 +03:00
Lubomir I. Ivanov
81d5b18dfb kubeadm: remove deprecated hyperkube image support in v1beta3
The hyperkube image support was deprecated. Remove the field
ClusterConfiguration.UseHyperKubeImage from the new v1beta3 API.
2021-04-29 02:10:45 +03:00
M00nF1sh
a10dd9474b chunk target operatation for aws targetGroup 2021-04-28 13:50:33 -07:00
Anago GCB
6c3654db1b CHANGELOG: Update directory for v1.22.0-alpha.1 release 2021-04-28 20:09:09 +00:00
Ryan Phillips
4488162bd9 kubelet: change cgroup move message to log level 3 2021-04-28 14:54:54 -05:00
Kubernetes Prow Robot
dc6b04c142
Merge pull request #101583 from aojea/kproxycopylabels
kube-proxy copy node labels
2021-04-28 10:33:15 -07:00
Kubernetes Prow Robot
b9e86716b9
Merge pull request #101465 from ingvagabund/scheduler-drop-Resource-ResourceList-method
pkg/scheduler: drop Resource.ResourceList() method
2021-04-28 10:33:03 -07:00
Kubernetes Prow Robot
7f8539ff20
Merge pull request #101441 from dobsonj/101332-deprecate-mount-path-removal
Deprecate removal of CSI nodepublish path by kubelet (#101332)
2021-04-28 10:32:50 -07:00
Clayton Coleman
2d77efdafb
quantity: Allow a new quantity to be created directly from inf.Dec
The normal way to do complex math for quantities would be with
inf.Dec which we allow you to get from a quantity. Once you perform
that math it should be easier to go back to a quantity.
2021-04-28 13:14:11 -04:00
elbehery
859fe6899c add expectedDevice as arg for testing 2021-04-28 17:25:09 +02:00
elbehery
f9befb90a4 add pointer mutation review 2021-04-28 17:25:09 +02:00
elbehery
e05a8403c8 fix ipv6 test case 2021-04-28 17:25:09 +02:00
elbehery
124b71bd11 add test for ipv4 literal 2021-04-28 17:25:09 +02:00
elbehery
5b52146614 fix-nfs-storage-ipv6_add_square_brackets 2021-04-28 17:25:09 +02:00
Kubernetes Prow Robot
e6b4fa3811
Merge pull request #101352 from ahg-g/ahg-nss-integration
Added integration test for pod affinity namespace selector
2021-04-28 08:00:50 -07:00
Jan Chaloupka
7286f9712a pkg/scheduler: drop Resource.ResourceList() method
The method is used only for testing purposes. Given Resource data type
exposes all its fields, any invoker of ResourceList that is still
using the method outside of kubernetes/kubernetes can still either
copy paste the original implementation or implement a custom method
that's converting resources into proper Quantity data type.

Given the hugepage resource is a scalar resource, it's sufficient
the underlying code under fit_test.go to take into account any
extended resources. For predicate_test.go, the hugepage
resource does not play any role as the General predicates test cases
does not set any scaler resource at all.

Additionally, by removing ResourceList method, pkg/scheduler/framework
can get rid of dependency on k8s.io/kubernetes/pkg/apis/core/v1/helper.
2021-04-28 16:26:33 +02:00
Jordan Liggitt
94a8c7af15 Remove inactive failing tests 2021-04-28 10:03:07 -04:00
Antonio Ojea
c6d97ee156 kube-proxy copy node labels 2021-04-28 13:26:26 +02:00
Tomas Smetana
8773e0d491 Fix invalid AWS KMS key test flake 2021-04-28 13:22:49 +02:00
carlory
b2e6df1e3a remove RootCAConfigMap feature gate 2021-04-28 17:59:07 +08:00
carlory
bdb99c5f16 remove CRIContainerLogRotation feature gate 2021-04-28 17:48:55 +08:00
wangyx1992
16632dfac7 cleanup: fix spelling mistakes in CHANGELOG-1.20.md
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-04-28 17:21:44 +08:00
maruiyan
8a2a304246 change marsheller to marchaler 2021-04-28 17:00:01 +08:00
Kubernetes Prow Robot
01289178ea
Merge pull request #101497 from deads2k/crd-integration
split CRD schema test between migrated data and current
2021-04-27 23:52:49 -07:00
Matthias Bertschy
bcd582030f Deflake startupProbe e2e test
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-04-28 07:07:01 +02:00