Commit Graph

109586 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a2ffa21eed
Merge pull request #111451 from DangerOnTheRanger/cel-use-case-tests
Add examples of matchExpressions validation as unit tests
2022-07-27 13:20:11 -07:00
Kubernetes Prow Robot
1fe71e7f1b
Merge pull request #111255 from divyenpatel/declare-not-supported-vSphere-versions
declare unsupported vSphere versions for in-tree plugin
2022-07-27 13:20:04 -07:00
Kubernetes Prow Robot
9a73536ff2
Merge pull request #109070 from VilledeMontreal/feat/compSubresourceFlag
Add shell completion for new --subresource flag
2022-07-27 13:19:53 -07:00
Kubernetes Prow Robot
1663ec0851
Merge pull request #111249 from Octopusjust/k8s-pr6
test/e2e/common/node: fix several typo
2022-07-27 11:35:08 -07:00
Kubernetes Prow Robot
4e5711829c
Merge pull request #111228 from Abirdcfly/220716
clean unreachable code
2022-07-27 11:35:00 -07:00
Kubernetes Prow Robot
4cd1c80cea
Merge pull request #111139 from zhoumingcheng/master-u-v2
add unit test for pkg/kubelet/types/ func GetPodStartTime()
2022-07-27 11:34:52 -07:00
Kubernetes Prow Robot
08752b29e3
Merge pull request #110586 from tsisodia10/spell-check-docs
Fix grammar in K8s OpenAPI spec doc
2022-07-27 11:34:40 -07:00
Kubernetes Prow Robot
c27e82604e
Merge pull request #109217 from manugupt1/improve-mount-detection
Improved mount detection using openat2 for kernel 5.10+
2022-07-27 11:34:28 -07:00
Kubernetes Prow Robot
e092b6d27b
Merge pull request #111442 from ialidzhikov/k8s-utils@56c0de1e6f
Update `k8s.io/utils` to `9bab9ef40391`
2022-07-27 10:02:39 -07:00
Kubernetes Prow Robot
ec905a4611
Merge pull request #105919 from ravisantoshgudimetla/ps-restricted-updates
PodSecurity: OS based updates to restricted standard
2022-07-27 10:02:28 -07:00
David Eads
184356ae92 allow namespace admins to use leases to encourage migration off of configmaps 2022-07-27 12:58:34 -04:00
Brian Pursley
e88470c31f Change kubectl diff to exclude managedFields by default
Changes kubectl diff to exclude managedFields by default.
Adds a new --show-managed-fields flag that allows you to
include managed fields in the diff.
2022-07-27 12:53:32 -04:00
Kubernetes Prow Robot
610b7839a0
Merge pull request #111399 from Argh4k/i-111290
Modify timeout for etcd healthcheck
2022-07-27 07:36:28 -07:00
Kubernetes Prow Robot
ce336550f1
Merge pull request #111444 from wojtek-t/prevent_leaking_goroutines
Prevent from future leaks of goroutines in integration tests
2022-07-27 06:31:52 -07:00
Kubernetes Prow Robot
015fb765b8
Merge pull request #111415 from logicalhan/extended-stability
Add support for summary metrics for stablity checks
2022-07-27 06:31:41 -07:00
Kubernetes Prow Robot
9ad4c5c0a0
Merge pull request #110670 from gnufied/fix-pod-deletion-terminating
Fix pod stuck in termination state when mount fails or gets skipped after kubelet restart
2022-07-27 06:31:29 -07:00
Maciej Wyrzuc
b42045a64f Add additional etcd check to readyz with 2 seconds timeout. 2022-07-27 12:23:02 +00:00
Kubernetes Prow Robot
ce433f87b4
Merge pull request #110266 from danwinship/minimize-prep-reorg
iptables proxy reorg in preparation for minimizing iptables-restore
2022-07-27 04:06:30 -07:00
Xuzheng Chang
ffe4ae23f3 fix ambiguous comments of priorityClass update validation 2022-07-27 15:30:47 +08:00
Dave Chen
819c12276b kubeadm: move getClientSet to cmd utils
`getClientSet` is used by both cmd `token` and `reset`, move this
method to cmd utils to decouple it from one specific cmd.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-27 15:13:09 +08:00
Manu Gupta
44bea35804 Return unwrapped ErrNotExist when EvalSymlink returns PathError
By default filepath.EvalSymlink returns PathError. When a file is
not found, we should unwrap it and return ErrNotExist as this
is what this function expects.

Similar to the comment at:
https://github.com/kubernetes/kubernetes/pull/109217#discussion_r896272206
2022-07-26 23:24:23 -07:00
Manu Gupta
08ef11029f Fix type in mount_windows.go 2022-07-26 23:24:23 -07:00
Manu Gupta
5a6cccc556 Use faster mountdetections using openat2 for IsNotMountPoint
Reimplement IsNotMountpoint as IsMountPoint and return appropriate
error when a mount point is not detected.

IsMountPoint depends on MountedFast function in moby/sys/mountinfo
that uses openat2 call in kernel versions5.10 to detect
mount points without falling back to /proc/mounts.

Mark IsNotMountPoint as deprecated in order to ask the users to
use IsMountPoint directly.
2022-07-26 23:24:20 -07:00
ialidzhikov
168fef6845 Update k8s.io/utils to 9bab9ef40391 2022-07-27 08:46:35 +03:00
Kermit Alexander
bb6cbadb2f Add examples of matchExpressions validations. 2022-07-27 04:47:44 +00:00
Ernest Wong
6fcc671b9d
chore: move chewong to emeritus_approvers
Signed-off-by: Ernest Wong <ernwong@amazon.com>
2022-07-27 03:08:28 +00:00
zhoumingcheng
9b6f880dbc add unit test for pkg/kubelet/types/ func GetPodStartTime()
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-07-27 09:26:56 +08:00
Ravi Gudimetla
96950f5f79 Update test fixtures 2022-07-26 19:47:11 -04:00
Han Kang
c38746c353 add test for fake objectives
Change-Id: Ib0bfdf1299cd74490474f92c41d93090809f41c4
2022-07-26 15:31:25 -07:00
Han Kang
cefa194998 Update test/instrumentation/error.go
Co-authored-by: Damien Grisonnet <damien.grisonnet@epita.fr>
2022-07-26 15:31:25 -07:00
Han Kang
e452850ec3 Add support for summary metrics for stablity checks
Also add entrypoints for verifying and updating a test file for easier
debugging. This is considerably faster than running the stablity checks
against the entire Kubernetes codebase.

Change-Id: I5d5e5b3abf396ebf1317a44130f20771a09afb7f
2022-07-26 15:31:25 -07:00
Kubernetes Prow Robot
3ffdfbe286
Merge pull request #111254 from dims/update-to-golang-1.19-rc2
[golang] Update to 1.19rc2 (from 1.18.3)
2022-07-26 14:25:09 -07:00
Kubernetes Prow Robot
631a5a849a
Merge pull request #109778 from mythi/grpc-go-update
grpc: move to use grpc.WithTransportCredentials()
2022-07-26 12:45:09 -07:00
Kubernetes Prow Robot
5ac563c507
Merge pull request #109141 from ulucinar/bump-discovery-burst
Bump default burst limit for discovery client to 300
2022-07-26 11:35:21 -07:00
Kubernetes Prow Robot
8bc12f24e6
Merge pull request #106388 from alexzielenski/ssa-ignore-nonsemantic-changes
Ignore non-semantic changes to objects
2022-07-26 11:35:10 -07:00
Wojciech Tyczyński
ef607d131f Prevent from future leaks of goroutines in integration tests 2022-07-26 20:08:09 +02:00
Davanum Srinivas
a9593d634c
Generate and format files
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Davanum Srinivas
4784b58e17
golang: Update to 1.19rc2 from 1.18.3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Davanum Srinivas
6c0a434db0
Try disabling logcheck for golang 1.19rc2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Davanum Srinivas
1f557035e0
Adjust for os/exec changes in 1.19
https://tip.golang.org/doc/go1.19#os-exec-path

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:04 -04:00
Davanum Srinivas
ea7dff551f
fix patch_test for gofmt issue
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:04 -04:00
Davanum Srinivas
27dc8a9b63
Fix quotes that trip up gofmt
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:04 -04:00
Kubernetes Prow Robot
96a32be18d
Merge pull request #111394 from SataQiu/cleanup-20220725
kubeadm: prefer to use pkg/errors package and cleanup fmt.Errorf
2022-07-26 09:11:09 -07:00
Kubernetes Prow Robot
9525206bcb
Merge pull request #111306 from stlaz/restricted_scheduling_test
Make scheduling e2e tests run PSa-restricted pods
2022-07-26 08:01:21 -07:00
Kubernetes Prow Robot
d5f12ed7d8
Merge pull request #108108 from thaJeztah/switch_golang_protobuf_extensions
vendor: downgrade github.com/matttproud/golang_protobuf_extensions to v1.0.1
2022-07-26 08:01:09 -07:00
Kubernetes Prow Robot
7a8f8a3209
Merge pull request #111437 from wojtek-t/fix_leaking_goroutines_14
Clean shutdown of cloud controllers in integration tests
2022-07-26 06:43:10 -07:00
ravisantoshgudimetla
b3a2e6a3f4 [podsecurity] OS based updates to restricted standard 2022-07-26 09:05:13 -04:00
Wojciech Tyczyński
f3996039ef Clean shutdown of cloud controllers in integration tests 2022-07-26 14:34:04 +02:00
Stanislav Laznicka
682ee2908a
Make scheduling e2e tests run PSa-restricted pods
The "pause" pods that are being run in the scheduling tests are
sometimes launched in system namespaces. Therefore even if a test
is considered to be running on a "baseline" Pod Security admission
level, its "baseline" pods would fail to run if the global PSa
enforcement policy is set to "restricted" - the system namespaces
have no PSa labels.

The "pause" pods run by this test can actually easily run with
"restricted" security context, and so this patch turns them
into just that.
2022-07-26 14:32:51 +02:00
Kubernetes Prow Robot
28fc2991a5
Merge pull request #111317 from wojtek-t/fix_leaking_goroutines_12
Clean shutdown of cloud controllers in integration tests
2022-07-26 04:45:09 -07:00