Commit Graph

98627 Commits

Author SHA1 Message Date
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
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
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
yoyinzyc
b81e2d18f9 enforce metric cardinality check to counter metric. 2021-03-02 16:04:43 -08:00
yoyinzyc
a44bb76f1e add flag allow-metric-labels to get the input metric label value allowlist. 2021-03-02 16:04:43 -08:00
Peter Hornyack
3d2e9600d9 Dump detailed service information during Windows node startup 2021-03-02 15:55:40 -08:00
Kubernetes Prow Robot
3022b39817
Merge pull request #99610 from derekwaynecarr/enable-downward-api-hugepages
Promote DownwardAPIHugePages to beta
2021-03-02 15:49:40 -08:00
Kubernetes Prow Robot
62bb595cbe
Merge pull request #98627 from jialaijun/migrate_to_structured_logs_5
Migrate pkg/kubelet/metrics logs to structured logging.
2021-03-02 15:49:31 -08:00
Kubernetes Prow Robot
da2f6385e9
Merge pull request #98589 from chenyw1990/structuredLogsOfRemote
pkg/kubelet/cri/remote: migrate to structured logs
2021-03-02 15:49:19 -08:00
Kubernetes Prow Robot
267afe2358
Merge pull request #99526 from chymy/fix-staticcheck-failed
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic
2021-03-02 14:47:32 -08:00
Kubernetes Prow Robot
e811f5fdf9
Merge pull request #99463 from jingxu97/feb/stat
Use Lstat in plugin watcher to avoid Windows problem
2021-03-02 14:47:19 -08:00
cici37
408258c6d5 Update to use cliflag.NamedFlagSets 2021-03-02 13:23:44 -08:00
Kubernetes Prow Robot
a5c3b24dba
Merge pull request #99631 from claudiubelu/patch-5
test images: Adds label to httpd-new image
2021-03-02 13:23:32 -08:00
Kubernetes Prow Robot
ee90db514c
Merge pull request #99345 from robscott/endpointslice-wait-for-cache
Updating EndpointSlice controller to wait for cache to be updated
2021-03-02 13:23:20 -08:00
David Eads
b90179e0f2 write CRD validation function only valid in beta1 direct to etcd to test apply on migrated data 2021-03-02 15:57:57 -05:00
David Eads
651c79b37f generated 2021-03-02 15:57:57 -05:00
wojtekt
f4407f4db8 Assign remaining test/e2e/common test to SIGs 2021-03-02 21:34:58 +01:00
David Eads
fd8e81eba4 remove csr v1beta1 usage 2021-03-02 15:31:21 -05:00
Kubernetes Prow Robot
3c514ae588
Merge pull request #99621 from nikhita/fix-verify-description
hack/verify-description.sh: correctly look for versioned API types
2021-03-02 12:16:27 -08:00
Kubernetes Prow Robot
2a33b8293a
Merge pull request #99615 from pacoxu/default-container/exec
kubectl: print info for default container annotation usage
2021-03-02 12:16:18 -08:00