Commit Graph

108989 Commits

Author SHA1 Message Date
Swati Sehgal
22ff20a0a0 staging-readme: Document the need to add doc.go in a staging repo
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-06-16 13:48:13 +01:00
Humble Chirammal
adefd5db42 remove deprecated label and update snapshot controller version
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-06-16 16:42:45 +05:30
ldsdsy
2a2d33b2b1 Modify annotation syntax errors 2022-06-16 16:46:51 +08:00
Arda Güçlü
15512210e3 (kubectl apply): Split patching types into functions and refactorings
Patch type determination is done by checking existence
of resource in schema and if it exists, it uses strategic merge patch.
Otherwise, like for CRDs, it uses merge patch type.

Currently, this code portion is not easily extensible and this PR
splits required checks into their own function to increase extensibility.
2022-06-16 11:35:11 +03:00
Kubernetes Release Robot
10c37c5942 CHANGELOG: Update directory for v1.25.0-alpha.1 release 2022-06-16 04:32:52 +00:00
Kubernetes Prow Robot
549e1b4fb6
Merge pull request #110448 from twilight0620/test0608
add some uts of group_version.go
2022-06-15 18:50:48 -07:00
JUN YANG
8567f2bd53
Update cmd/kubelet/app/server.go
Co-authored-by: Danielle <dani@builds.terrible.systems>
2022-06-16 08:29:14 +08:00
Zihong Zheng
9e8d8286ca
Revert "filter out terminated containers in cadvisor_stats_provider" 2022-06-15 16:09:37 -07:00
Kubernetes Prow Robot
4b024fc4ee
Merge pull request #110459 from wangyysde/promote-pod-security-to-ga
PodSecurity: promote config and feature gate to GA
2022-06-15 14:41:22 -07:00
Kubernetes Prow Robot
7de86ff198
Merge pull request #110379 from marosset/windows-pause-image-base
Updating base container image for pause image on Windows
2022-06-15 14:41:10 -07:00
Matthew Cary
3af09ab04a add TestAutodeleteOwnerRefs statefulset integration test
Change-Id: I3aa3220df59c33fc40f1d8e08e055caa1f6fb4a3
2022-06-15 13:33:02 -07:00
Kubernetes Prow Robot
349efaabf8
Merge pull request #110436 from nicks/nicks/issue-1108
client-go: fix panic in ConfirmUsable validation
2022-06-15 13:19:10 -07:00
JunYang
8bfea65f69 Remove the description of the docker shim from the kubelet 2022-06-16 00:01:34 +08:00
Kubernetes Prow Robot
2b51b2595a
Merge pull request #110604 from wojtek-t/fix_leaking_goroutines_9
Fix leaking goroutines in multiple integration tests
2022-06-15 09:01:18 -07:00
Wojciech Tyczyński
6b59525746 Clean shutdown of flowcontrol integration tests 2022-06-15 16:53:42 +02:00
Wojciech Tyczyński
57242e3cbb Clean shutdown of openapi integration tests 2022-06-15 16:40:54 +02:00
Kubernetes Prow Robot
700fea3d42
Merge pull request #110558 from wespanther/update-debian
Update Debian base images to latest
2022-06-15 07:23:17 -07:00
Kubernetes Prow Robot
b1e2af45e4
Merge pull request #110598 from neolit123/1.25-kubelet-config-patches
kubeadm: ensure kubelet config patch results are in YAML
2022-06-15 04:43:17 -07:00
Lubomir I. Ivanov
81b3540206 kubeadm: ensure kubelet patch results are in YAML
Once we patch a kubelet configuration file, the patched output
is in JSON. Make sure it's converted back to YAML, given
the kubelet config in the cluster and on disk is always in YAML.

Add unit test for the new function applyKubeletConfigPatches()
2022-06-15 13:38:04 +03:00
Kubernetes Prow Robot
0a7f45d5ba
Merge pull request #110588 from apeltop/fix-typo
Fix typos
2022-06-15 02:23:17 -07:00
SataQiu
299e745127 kubeadm: add the preferred pod anti-affinity for CoreDNS Deployment 2022-06-15 14:38:12 +08:00
apeltop
e530336b18 fix typos 2022-06-15 13:38:48 +09:00
twilight0620
94331dc71b add some uts of group_version.go 2022-06-15 09:46:00 +08:00
wangyysde
ab66a38194 PodSecurity: promote config and feature gate to GA
Signed-off-by: wangyysde <net_use@bzhy.com>
2022-06-15 09:29:47 +08:00
Adam Malcontenti-Wilson
af3594dfa5 disruptioncontroller: check for scale subresource correctly 2022-06-15 08:52:47 +10:00
Riaan Kleinhans
6d19ddc7bf
Update ineligible_endpoints.yaml 2022-06-15 10:27:33 +12:00
Kubernetes Prow Robot
10066243df
Merge pull request #110365 from spencerhance/epslice-recycle-bug
Fix unnecessary recreation of placeholder EndpointSlice
2022-06-14 13:15:34 -07:00
Kubernetes Prow Robot
8e541911b8
Merge pull request #110574 from SataQiu/test-speed-20220614
Using t.Run() in integration test TestApplyAlsoCreates
2022-06-14 12:07:45 -07:00
Kubernetes Prow Robot
e08bf9cce6
Merge pull request #110469 from prasita123/pr_branch
add missing error handling steps
2022-06-14 12:07:33 -07:00
Kubernetes Prow Robot
8cb719eed0
Merge pull request #110571 from pohly/log-check-repo
hack/tools: use logcheck v0.1.0 from sigs.k8s.io/logtools/logcheck
2022-06-14 10:59:52 -07:00
Kubernetes Prow Robot
daac87bf99
Merge pull request #110561 from Shubham82/extend_Description
RBAC: Modify the Description for the apiGroup.
2022-06-14 10:59:44 -07:00
Kubernetes Prow Robot
de5982637a
Merge pull request #110378 from lucacome/bump-grpc
Bump grpc to v1.47.0
2022-06-14 10:59:33 -07:00
Spencer Hance
5f8dc48fbe Fix unnecessary recreation of placeholder EndpointSlice
Fixes Issue 108231 by checking `slicesToDelete` in the EndpointSlice
reconciler for a pre-existing placeholder slice.

Also adds a helper function for comparing the slices.
2022-06-14 09:24:38 -07:00
Kubernetes Prow Robot
5503bb0570
Merge pull request #110529 from wojtek-t/fix_leaking_goroutines_7
Fix leaking goroutines in multiple integration tests
2022-06-14 09:09:54 -07:00
Kubernetes Prow Robot
9f0be547cd
Merge pull request #110516 from MikeSpreitzer/bundle-metrics-registration
Bundle metrics registration into test server creation
2022-06-14 09:09:46 -07:00
Kubernetes Prow Robot
597cb5fac8
Merge pull request #110202 from kerthcet/cleanup/remove-potential-goroutine-leak-in-utils
Using inherited context in utils
2022-06-14 09:09:34 -07:00
SataQiu
20f8a06e50 using t.Run() in integration test TestApplyAlsoCreates 2022-06-15 00:01:10 +08:00
Patrick Ohly
0284c6c06e hack/tools: use logcheck v0.1.0 from sigs.k8s.io/logtools/logcheck
The code was moved out of k8s.io/klog into its own repo with proper
tagging. Functionally there is no difference.
2022-06-14 17:27:16 +02:00
Ben Luddy
f147b8f5e8
Only provide an oldSelf binding when referenced by a CEL rule. 2022-06-14 11:07:38 -04:00
tallaxes
4a542609aa
Support more auth strategies in kubeadm join with discovery file (#110553)
* Add support for client-go credential plugins

* Add support for authprovider authentication

* Add support for TokenFile authentication
2022-06-14 08:03:45 -07:00
Kubernetes Prow Robot
03b18bf138
Merge pull request #110294 from harshanarayana/bug/git-110239/fix-activedeadline-enforcement
GIT-110239: fix activeDeadlineSeconds enforcement bug
2022-06-14 08:03:33 -07:00
xiaomudk
8e7b6f3770 Remove redundant variable definitions in scheduler apis defaults.go 2022-06-14 22:36:00 +08:00
Wojciech Tyczyński
ed442cc3dd Clean(er) shutdown of auth integration tests 2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
3930362ad4 Clean(er) shutdown of apiserver integration tests 2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
41d7ddee1a Clean shutdown of apimachinery integration tests 2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
8a87681a39 Clean shutdown of resourcequota integration tests 2022-06-14 13:55:31 +02:00
Kubernetes Prow Robot
4407a02aef
Merge pull request #110560 from lunhuijie/fixTestpki
Incomplete coverage of test scenarios and optimize bad code
2022-06-14 04:53:32 -07:00
Antonio Ojea
3cb63833ff kube-proxy iptables test number of generated iptables rules
kube-proxy generates iptables rules to forward traffic from Services to Endpoints
kube-proxy uses iptables-restore to configure the rules atomically, however,
this has the downside that large number of rules take a long time to be processed,
causing disruption.
There are different parameters than influence the number of rules generated:
- ServiceType
- Number of Services
- Number of Endpoints per Service
This test will fail when the number of rules change, so the person
that is modifying the code can have feedback about the performance impact
on their changes. It also runs multiple number of rules test cases to check
if the number of rules grows linearly.
2022-06-14 11:55:42 +02:00
Shubham Kuchhal
b1994772ee RBAC: Modify the Description for the apiGroup. 2022-06-14 13:31:09 +05:30
10284789刁浩
696d537239 Incomplete coverage of test scenarios and bad code 2022-06-14 07:48:43 +00:00