Jan Safranek
334c7dfe74
Promote Cinder topology labels to GA
2021-03-03 20:05:12 +01:00
Sean Sullivan
211fc12b67
Kubectl command headers in requests: KEP 859
2021-03-03 09:48:48 -08:00
Tim Hockin
84856c7cae
Remove defaults for ipFamilyPolicy and ipFamilies
...
These same values are set in the REST stack and it's easier to maintain
that code all in one place.
defaults.go is best for static values.
2021-03-03 09:42:02 -08:00
Tim Hockin
1e39f6ccf9
Two small bugs in dual-stack init
...
Imporved testing turned these up:
1) Headless+Selectorless, on a single-stack cluster, policy=PreferDual
Prior to this commit, the result was a single IPFamiliy (because we
checked that the 2nd allocator was present). This changes that case to
populate both families (we don't care if the allocator exists), which is
the same as RequireDual.
2) ClusterIP, user specifies 2 families but no IPs
Prior to this commit, the policy was inferred to be SingleStack. This
changes that case to correctly default to RequireDual when 2 families
are present but no IPs.
2021-03-03 09:42:02 -08:00
Kubernetes Prow Robot
2f263b24a7
Merge pull request #99101 from deads2k/crd-beta-prune
...
stop using CRD v1beta1 in tests
2021-03-03 08:39:21 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
David Eads
8b55bdc405
increase discovery burst for kube-controller-manager
2021-03-03 10:41:34 -05:00
Wei Huang
6fdb1a8439
sched: add a benchmark test for MoveAllToActiveOrBackoffQueue
2021-03-03 07:20:08 -08:00
Wei Huang
f322019d7a
Store a cluster event to plugin map in SchedulerQueue
2021-03-03 07:20:07 -08:00
Julian V. Modesto
caa158610d
Cache the OpenAPI schema for server-side dry-run.
...
Currently, server-side dry-run fetches the OpenAPI schema for every
single object.
This change fetches the OpenAPI schema only once.
2021-03-03 10:16:34 -05:00
Aldo Culquicondor
a1a5868a5a
Add Job.spec.completionMode and Job.status.completedIndexes
...
And IndexedJob feature gate, disabled by default.
Update JobDescriber
2021-03-03 15:10:18 +00:00
Andrew Keesler
31eec29b09
exec credential provider: add rest_client_exec_plugin_call_total metric
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-03-03 09:53:14 -05:00
wojtekt
f277e4d32a
Remove nested SIGDescribe calls
2021-03-03 15:25:07 +01:00
wojtekt
006dc7477f
Make sig-storage be the owner of ubernetes_lite_volumes test
2021-03-03 15:17:28 +01:00
Kubernetes Prow Robot
6404eda8de
Merge pull request #99679 from justaugustus/zeitgeist
...
hack/tools: Update zeitgeist to v0.2.0 to drop import cycle
2021-03-03 05:15:22 -08:00
David Eads
3cf9bc547f
Use a versioner to convert an internal type into an external type for
...
beta serving
2021-03-03 07:05:43 -05:00
Kubernetes Prow Robot
a6a66c3594
Merge pull request #98939 from yangjunmyfm192085/run-test16
...
Structured Logging migration: modify dockershim and network part logs of kubelet.
2021-03-03 03:31:33 -08:00
Kubernetes Prow Robot
ad80c76677
Merge pull request #98924 from cynepco3hahue/set_container_memory_during_creation
...
memory manager: specify the container cpuset.memory during the creation
2021-03-03 03:31:20 -08:00
wojtekt
ca333d7a7a
Tag storage windows tests with [Feature:Windows] instead of [sig-windows]
2021-03-03 12:08:59 +01:00
shiyajuan123
e726ce97fb
add descriptions to these event/types.go files
2021-03-03 19:06:50 +08:00
Stephen Augustus
093967606b
hack/tools: Update zeitgeist to v0.2.0 to drop import cycle
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-03 05:42:05 -05:00
Kubernetes Prow Robot
7c9841d586
Merge pull request #98985 from timyinshi/proxy
...
delete the extra word
2021-03-03 01:53:32 -08:00
Kubernetes Prow Robot
b0ba6c0b76
Merge pull request #98984 from SataQiu/fix-kubeadm-20210211
...
kubeadm: skip validating pod subnet against node-cidr-mask when allocate-node-cidrs is set to be false
2021-03-03 01:53:20 -08:00
wojtekt
3b438eb4e5
Cleanup test/e2e/common directory - part2
2021-03-03 10:27:35 +01:00
Patrick Ohly
512401a8a2
scheduler: tests for generic ephemeral volumes
...
This covers some failure scenarios and feature gate enablement.
2021-03-03 10:13:05 +01:00
Patrick Ohly
d2cc70ee2c
scheduler: fail when a pod uses disabled generic ephemeral volumes
...
Without this error, kube-scheduler was simply ignoring the special
volume source and scheduled the pod. This was unlikely to work in
practice because the volume might have needed binding or the feature
is also disabled on kubelet which then doesn't know what to do with
the volume.
2021-03-03 10:13:05 +01:00
Patrick Ohly
68370c8aa6
kubelet: more tests for generic ephemeral volumes
...
This simulates various error scenarios (PVC not created for pod,
feature disabled) and switching between feature disabled and enabled.
2021-03-03 10:13:05 +01:00
Patrick Ohly
edb9a8584c
kubelet: better error when generic ephemeral volume is disabled
...
Silently ignoring the unsupported volume type leads to:
Warning FailedMount 8s kubelet Unable to attach or mount volumes: unmounted volumes=[my-csi-volume default-token-bsnbz], unattached volumes=[my-csi-volume default-token-bsnbz]: failed to get Plugin from volumeSpec for volume "my-csi-volume" err=no volume plugin matched
The new message is easier to understand:
Warning FailedMount 6s (x5 over 49s) kubelet Unable to attach or mount volumes: unmounted volumes=[my-csi-volume], unattached volumes=[my-csi-volume default-token-rwlpp]: volume my-csi-volume is a generic ephemeral volume, but that feature is disabled in kubelet
2021-03-03 10:13:05 +01:00
Patrick Ohly
d64165c803
generic ephemeral volumes: fix and test apiserver feature gate
...
The implementation should have preserved an existing ephemeral volume
source during an update even when the feature gate is currently
disabled, but due to a cut-and-paste error it was checking for CSI
volumes instead.
The new test detected that. It's based on
https://github.com/kubernetes/kubernetes/pull/97058/files#diff-7826f7adbc1996a05ab52e3f5f02429e94b68ce6bce0dc534d1be636154fded3
2021-03-03 10:13:05 +01:00
Amit Watve
d65a46c9c9
Target the correct project while adding master kubeconfig metadata.
2021-03-03 00:47:43 -08:00
pacoxu
cef6e81fb3
set node poll interval to 10ms in UT
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-03 16:39:57 +08:00
pacoxu
496deb6df9
cleanup: disable dual stack for some manifest UT
2021-03-03 16:00:20 +08:00
Kubernetes Prow Robot
716a054720
Merge pull request #99550 from andyzhangx/fix-win-smb-mount-issue
...
fix smb mount PermissionDenied issue on Windows
2021-03-02 23:57:33 -08:00
Kubernetes Prow Robot
b7d146b62f
Merge pull request #99385 from YoyinZyc/unbounded_metric
...
Metric cardinality enforcement
2021-03-02 23:57:19 -08:00
Mikkel Oscar Lyderik Larsen
fef092b417
hpa: Don't scale down if at least one metric was invalid
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2021-03-03 07:53:01 +01:00
Kubernetes Prow Robot
5b0d0451ff
Merge pull request #99674 from nikhita/publishing-bot-go-build
...
staging/publishing: add -mod=mod for smoke tests for go1.16
2021-03-02 21:45:19 -08:00
Mengxue Zhang
7d1ab94b9a
remove useless pluginConfigs
2021-03-03 05:14:36 +00:00
Nikhita Raghunath
946aea4896
staging/publishing: add -mod=mod for smoke tests for go1.16
...
With the move to go1.16, we are hitting a go bug for how
`go build`/`go test` work with modules - golang/go#44129 .
This commit adds the `-mod=mod` flag for `go build` and `go test`
commands in the smoke test rules (workaround mentioned in the issue).
2021-03-03 09:55:27 +05:30
Kubernetes Prow Robot
b00432b11c
Merge pull request #99625 from llhuii/cleanup-unused-code
...
Remove unused code in e2e/framework/framework.go
2021-03-02 20:15:31 -08:00
Kubernetes Prow Robot
0121c51d81
Merge pull request #99581 from mengjiao-liu/kubectl-default-container-behavior
...
update kubectl cp flag description
2021-03-02 20:15:19 -08:00
Shiming Zhang
63860270e3
Fix MakeRegexpArray handling empty strings
2021-03-03 11:10:39 +08:00
Kubernetes Prow Robot
2695ef3f1b
Merge pull request #98977 from neolit123/1.21-update-docker
...
update system-validators to v1.4.0
2021-03-02 18:51:19 -08:00
Kagaya
9b02c89acd
fix staticcheck for k8s.io/apiserver/pkg/endpoints
2021-03-03 10:25:27 +08:00
carlory
cad9c245b8
deprecate audit.k8s.io/v1[alpha|beta]1 versions
2021-03-03 10:24:17 +08:00
mengjiao.liu
6be7b00b45
update kubectl cp --container flag description
2021-03-03 10:19:37 +08:00
llhuii
f713cbc4a4
Remove unused code in e2e/framework/framework.go
2021-03-03 10:03:21 +08:00
Kubernetes Prow Robot
452aff5fca
Merge pull request #99492 from wojtek-t/cleanup_describe_7
...
Assign remaining test/e2e/common test to SIGs
2021-03-02 17:51:19 -08:00
Davanum Srinivas
f719624654
Support M1 MacBooks darwin/arm64 on the client-side
...
testing using:
```
build/run.sh make generated_files && make quick-release-images
```
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-02 20:50:00 -05:00
Kubernetes Prow Robot
28feb8e30d
Merge pull request #96882 from saschagrunert/parallel-build-configurable
...
Make parallel build memory threshold configurable
2021-03-02 16:51:19 -08:00
Elana Hashman
3b6156e08c
Clean up OWNERS for pkg/probe
2021-03-02 16:38:32 -08:00