Commit Graph

111381 Commits

Author SHA1 Message Date
Aldo Culquicondor
b8bd168180 Simplify tests for job metrics by resetting them
Change-Id: I20a0acbbb179bf895953b9d7af72625a2191b8eb
2022-10-19 13:52:00 -04:00
Jefftree
2e01fbb59a Add discovery types 2022-10-19 17:27:25 +00:00
Kubernetes Prow Robot
126986016e
Merge pull request #113167 from alculquicondor/job_test_owners
Add SIG Apps owners for job integration tests
2022-10-19 10:03:14 -07:00
Kubernetes Prow Robot
bf14677914
Merge pull request #112546 from oscr/the-the
grammar: replace all occurrences of "the the" with "the"
2022-10-19 10:03:02 -07:00
Billie Cleek
dfaaa144ab fallback to http when lifecycle handler request should have been https 2022-10-19 09:51:52 -07:00
Jason Simmons
5a6acf85fa Align lifecycle handlers and probes
Align the behavior of HTTP-based lifecycle handlers and HTTP-based
probers, converging on the probers implementation. This fixes multiple
deficiencies in the current implementation of lifecycle handlers
surrounding what functionality is available.

The functionality is gated by the features.ConsistentHTTPGetHandlers feature gate.
2022-10-19 09:51:52 -07:00
Kubernetes Prow Robot
42c1f881cc
Merge pull request #113165 from swatisehgal/e2e-deviceplugin-logs
node: e2e: device plugins: Add more logs for clarity
2022-10-19 08:59:14 -07:00
Kubernetes Prow Robot
3eeb7cb57f
Merge pull request #113077 from lixiaobing1/WithTransportCredentials
replace WithInsecure() with WithTransportCredentials()
2022-10-19 08:59:02 -07:00
Aldo Culquicondor
f21cd0c53d Add SIG Apps owners for job integration tests
Change-Id: I5c6198d10388ee7ce1fb7ae8d2f2b2144993688b
2022-10-19 10:38:07 -04:00
Kubernetes Prow Robot
68e110b53c
Merge pull request #113150 from seans3/flaky-test-cmd-fix
Removes test of deprecated --dry-run value
2022-10-19 07:23:13 -07:00
Kubernetes Prow Robot
ca17d9ba2b
Merge pull request #113127 from tangwz/parallel_preemption
Do pod preemption in parallel.
2022-10-19 07:23:01 -07:00
Swati Sehgal
ef54dbb5cc node: e2e: device plugins: Add more logs for clarity
The device plugin test in https://testgrid.k8s.io/sig-node-release-blocking#node-kubelet-serial-containerd
has been flaky for a while now when it runs on the test infrastructure.
Locally running this test resulted in test passing without issues.

Based on the existing logs, it is not clear why podresource
API endpoint is returning 3 pods rather than the expected
two pods (device plugin pod and the test pod requesting
devices). For more clarity and debugaability on why an
addtional pod seems to be appearing we expose the output
from podresource API endpoint.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-10-19 13:57:47 +01:00
Kubernetes Prow Robot
ab8563b6de
Merge pull request #113158 from pacoxu/fix-flake-kubectl
kubectl-e2e: the event rendering may have 3 or 4 whitespaces
2022-10-19 04:51:02 -07:00
Kubernetes Prow Robot
594d34872c
Merge pull request #113089 from zackzhangkai/fix-doc
fix typo
2022-10-19 00:37:01 -07:00
Paco Xu
6c0d294138 kubectl-e2e: the event rendering may have 3 or 4 whitespaces 2022-10-19 15:33:29 +08:00
aimuz
b88b08b870
improve readability, code nesting too deep
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-10-19 13:43:15 +08:00
danishprakash
f10f4d372c
pv_controller: update tests for multiple storageclasses
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:33:44 +05:30
danishprakash
f12325add3
pkg/admission/storageclass: pick random storageclass if >1 present
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:30:48 +05:30
Kubernetes Prow Robot
429f71d958
Merge pull request #113154 from BenTheElder/no-import-please
remove gopkg widget
2022-10-18 20:59:11 -07:00
Kubernetes Prow Robot
33bc8750fb
Merge pull request #113024 from alexzielenski/explain-output-openapiv3
kubectl explain openapiv3 template foundations
2022-10-18 20:59:00 -07:00
scott
e7d7f4a9e5 Fix DeleteCollection API decode DeleteOptions fail
The reason for the issue is that the apiserver uses the Scheme in the
global variable pkg/api/legacyscheme/scheme.go, and registers the
DeleteOptions corresponding to each APIGroup in the Scheme.  But
DeleteOptions in meta.k8s.io/v1 is not registered, resulting
in a notRegisteredErr.

Use metainternalversionscheme.Codecs as Serializer
2022-10-19 10:31:34 +08:00
Kubernetes Prow Robot
b6d89e756a
Merge pull request #112571 from claudiubelu/fix-nested-mountpoints
Fixes getNestedMountpoints grouping
2022-10-18 18:57:11 -07:00
Mohammad Zuber Khan
f86acbad68
add superuser fallback to authorizer (#111558)
* add superuser fallback to authorizer

* change the order of authorizers

* change the order of authorizers

* remove the duplicate superuser authorizer

* add integration test for superuser permissions
2022-10-18 18:57:00 -07:00
Alexander Zielenski
8b74e73e38
add cel admission controller tests
84% coverage
2022-10-18 18:29:06 -07:00
Alexander Zielenski
a41a536dbd
add cel admission plugin and initializer 2022-10-18 18:29:06 -07:00
Alexander Zielenski
74b103cd52
add generics tests
84.1% coverage
2022-10-18 18:29:06 -07:00
Alexander Zielenski
2286501e22
add cel admission controller 2022-10-18 18:29:05 -07:00
tangwz
480ae2a7c1 Do pod preemption in parallel. 2022-10-19 09:28:53 +08:00
Alexander Zielenski
c52fae186a
add OWNERS 2022-10-18 18:25:58 -07:00
Andrew Sy Kim
c4c867dd96 add comments for Test_Controller in pkg/controlplane/controller/apiserverleasegc
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-10-18 20:40:21 -04:00
Andrew Sy Kim
4a89500478 add unit tests for apiserverleasegc controller
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-10-18 20:39:10 -04:00
Han Kang
958845e0be migrate usage of to for static analysis
Change-Id: I33753683b48a8a57b2548b0d3caeb6050ddc5c95
2022-10-18 17:01:32 -07:00
Benjamin Elder
c6e5fd4679 remove gopkg widget
this suggests that you should read the godocs for *this* repo, when importing this repo is *not* supported

isntead, users should read the docs for staging/ repos

we already have a link to kubernetes.io for general docs
2022-10-18 16:52:38 -07:00
Kubernetes Prow Robot
7dee7c8a6f
Merge pull request #113148 from logicalhan/merge-buckets
move MergeBuckets into component-base so we can properly support it for static-analysis
2022-10-18 16:27:19 -07:00
Kubernetes Prow Robot
6be327c053
Merge pull request #113046 from jsafrane/add-multiplepv-cap
Add capability for tests with multiple PVs with the same VolumeHandle
2022-10-18 16:27:12 -07:00
Kubernetes Prow Robot
5cb9622347
Merge pull request #111344 from aojea/kproxy_node_cidr
kube-proxy react on Node PodCIDR changes
2022-10-18 16:27:00 -07:00
Kubernetes Prow Robot
859ada198f
Merge pull request #112979 from dashpole/fix_tracing_crash
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 15:07:12 -07:00
Kubernetes Prow Robot
deee0cb74b
Merge pull request #112972 from andyzhangx/fsck-error-msg
print error message when fsck failed
2022-10-18 15:07:01 -07:00
Richa Banker
047f6a736b add metrics/slis to kubelet health checks 2022-10-18 14:06:20 -07:00
Kubernetes Prow Robot
48dbfffaf6
Merge pull request #113111 from liggitt/selinux-msg
Fix SELinux PodSecurity message when only user or role are set
2022-10-18 14:01:12 -07:00
Kubernetes Prow Robot
fe9c94ec02
Merge pull request #111957 from ii/create-resourcequota-status-test
Write e2e test for ResourceQuota status +3 Endpoints
2022-10-18 14:01:00 -07:00
Han Kang
3d3ac6ad72 add buckets.go to prometheus import allowlsit
Change-Id: Ifd497f93614536fdcf3bc7d73505d322bf57f123
2022-10-18 13:42:28 -07:00
David Ashpole
00bcd6cf01
Fix bug in which APIServerTracing did not work with some egress selectors 2022-10-18 19:41:07 +00:00
Sean Sullivan
9c18bdab9c Removes test of deprecated --dry-run value 2022-10-18 19:39:34 +00:00
Kubernetes Prow Robot
6ca045dce1
Merge pull request #113087 from dims/update-ecr-url-validation
(aws_credentials): update ecr url validation regex
2022-10-18 12:35:25 -07:00
Kubernetes Prow Robot
0be68925f5
Merge pull request #108959 from astraw99/fix-duplicate-list
Fix duplicate code block of `ListAll` function
2022-10-18 12:35:12 -07:00
Antonio Ojea
75913e9949 kube-proxy wait for cluster cidr skip delete events 2022-10-18 19:29:09 +00:00
Antonio Ojea
a38b9363ec kube-proxy handle node PodCIDR changs
Kube/proxy, in NodeCIDR local detector mode, uses the node.Spec.PodCIDRs
field to build the Services iptables rules.

The Node object depends on the kubelet, but if kube-proxy runs as a
static pods or as a standalone binary, it is not possible to guarantee
that the values obtained at bootsrap are valid, causing traffic outages.

Kube-proxy has to react on node changes to avoid this problems, it
simply restarts if detect that the node PodCIDRs have changed.

In case that the Node has been deleted, kube-proxy will only log an
error and keep working, since it may break graceful shutdowns of the
node.
2022-10-18 19:25:40 +00:00
Antonio Ojea
cf532a8e36 kube-proxy: gate topology correctly 2022-10-18 19:25:40 +00:00
Kubernetes Prow Robot
1ab1b0af6e
Merge pull request #113118 from enj/enj/i/prefix_transformers_alloc
prefixTransformers: allocate after transformation length is known
2022-10-18 11:29:38 -07:00