Commit Graph

112554 Commits

Author SHA1 Message Date
Paco Xu
a8b22ff28c upgrade etcd 3.5.6 for image build 2022-11-22 17:08:12 +08:00
Wei Huang
a731a44596
Fix an accuracy issue of scheduler_pending_pods metric 2022-11-21 21:33:16 -08:00
ZhangYu
d61849e800 pkg/controller/deployment/util/deployment_util.go:Improving test coverage 2022-11-22 10:12:58 +08:00
Andrew Sy Kim
6c8eacb157 test/e2e_node: set apiserver kubelet preferred addresses
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-21 15:09:04 -05:00
TommyStarK
43726e8403 pkg/api/persistentvolume: Improving test coverage.
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-11-21 17:18:24 +01:00
ztzxt
70415b9562 Fix API refs for batch v1 and v1beta1
Add generatod docs for batch v1

Start types with uppercase letters

Fix batch API docs under pgs/apis

Create generated files for batch v1

Fix batch v1beta1 docs

Generate new files after merge conflict
2022-11-19 12:42:25 +03:00
xin.li
8b4b3d82ab Add test for staging/src/k8s.io/apimachinery/pkg/version/staging/helpers.go
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-11-19 10:46:55 +08:00
Kubernetes Prow Robot
57eb5d631c
Merge pull request #113976 from swatisehgal/dra-fix-claim-parameter-name
dra: test examples: ensure that the claim parameter name is consistent
2022-11-18 05:16:30 -08:00
Kubernetes Prow Robot
77022402c5
Merge pull request #113960 from moshe010/doc
[DRA] Add RUNTIME_CONFIG="resource.k8s.io/v1alpha1"
2022-11-18 04:12:30 -08:00
Yibo Zhuang
380c7f248e scheduler volumebinding: leverage PreFilterResult
This change will leverage the new PreFilterResult
to reduce down the list of eligible nodes for pod
using Bound Local PVs during PreFilter stage so
that only the node(s) which local PV node affinity
matches will be cosnidered in subsequent scheduling
stages.

Today, the NodeAffinity check is done during Filter
which means all nodes will be considered even though
there may be a large number of nodes that are not
eligible due to not matching the pod's bound local
PV(s)' node affinity requirement. Here we can
reduce down the node list in PreFilter to ensure that
during Filter we are only considering the reduced
list and thus can provide a more clear message to
users when node(s) are not available for scheduling
since the list only contains relevant nodes.

If error is encountered (e.g. PV cache read error) or
if node list reduction cannot be done (e.g. pod uses
no local PVs), then we will still proceed to consider
all nodes for the rest of scheduling stages.

Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-11-17 21:37:24 -08:00
Antoine Pelisse
a1f5e36fab Add jpbetz to k8s.io/client-go/applyconfigurations 2022-11-17 15:05:30 -08:00
Antoine Pelisse
b5f2130f24 Add apelisse into some more OWNERS files 2022-11-17 15:05:00 -08:00
Ravi Nalluri
1b5e50008c Add generated docs for discovery and storage types 2022-11-17 12:03:03 -06:00
Jordan Liggitt
9cb283796f
Guard against merging non-canonical replace directives 2022-11-17 13:00:12 -05:00
Ravi Nalluri
2fb2b7698e Update API doc for Storage v1alpha1, v1beta1 types and Discovery v1 types 2022-11-17 10:11:03 -06:00
Swati Sehgal
4d15502e43 dra: test examples: ensure that the claim parameter name is consistent
In the Dynamic Resource allocation example specs, the claim
parameter name specified was inconsistent.

This commit fixes that with a better/more consistent name,
which is used to define the configmap and referenced in
the `ResourceClaimTemplate` spec.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-11-17 14:56:42 +00:00
Dipankar Das
b72be5c458 formatted the file
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
2022-11-17 10:58:40 +05:30
Kermit Alexander II
19242ec349 Add TestBindingRemoval. 2022-11-17 02:10:07 +00:00
Kermit Alexander II
cd3d014614 Add TestCRDParams. 2022-11-17 02:09:47 +00:00
wujunwei
2afc78bac8 kubectl: remove unnecessary TODO annotations 2022-11-17 09:39:30 +08:00
Ravi Nalluri
fdcf7b3b92 Add generated docs for discovery v1beta1 and storage v1 types 2022-11-16 16:55:33 -06:00
Kubernetes Prow Robot
3f823c0daa
Merge pull request #113955 from enj/enj/i/kms_conn_close
kms: use different context for server lifecycle and initial load
2022-11-16 14:50:48 -08:00
Monis Khan
cb3410e1b7
kms: use different context for server lifecycle and initial load
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-11-16 16:44:23 -05:00
Moshe Levi
f46b66088a [DRA] Add RUNTIME_CONFIG="resource.k8s.io/v1alpha1"
This flag is required to enable the DRA resource api

Signed-off-by: Moshe Levi <moshele@nvidia.com>
2022-11-16 23:09:24 +02:00
TommyStarK
44c94f98b6 fix typo in cmd/kube-apiserver/app/options/validation_test.go
Put back test case that was dropped by mistake.

Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-11-16 19:25:31 +01:00
Chirayu Kapoor
693f7aef6e Changed API field references and generated docs for coordination v1 and v1beta1
Signed-off-by: Chirayu Kapoor <dev.csociety@gmail.com>
2022-11-16 22:15:58 +05:30
Kubernetes Prow Robot
43b7a25353
Merge pull request #113923 from claudiubelu/patch-9
e2e tests: Revert windows-nanoserver image version
2022-11-16 06:14:49 -08:00
Kubernetes Prow Robot
6c65bed7ce
Merge pull request #113934 from salaxander/publishing-release-126
staging/publishing: add release-1.26 branch
2022-11-16 03:22:49 -08:00
mowangdk
bf244d3046 Lower volume attached touch log level 2022-11-16 16:49:07 +08:00
ZhangYu
44285a16ec Add test for cmd/kubeadm/app/constants/constants.go
Add test for cmd/kubeadm/app/constants/constants.go
2022-11-16 14:50:32 +08:00
Kubernetes Prow Robot
96fd7b1b50
Merge pull request #113937 from liggitt/drop-strict-beta
Switch deprecated API serving back to gating on beta
2022-11-15 21:00:47 -08:00
Jordan Liggitt
32ac434d4d
Switch deprecated API serving back to gating on beta 2022-11-15 22:02:49 -05:00
Jordan Liggitt
69fad419a7
Limit request retrying to []byte request bodies 2022-11-15 20:25:02 -05:00
Kubernetes Release Robot
0fdac49162 CHANGELOG: Update directory for v1.26.0-rc.0 release 2022-11-16 00:01:41 +00:00
Xander Grzywinski
2111eceb6a Add publishing bot rules for 1.26 2022-11-15 13:51:18 -08:00
Kubernetes Prow Robot
e39a0af5ce
Merge pull request #113927 from alculquicondor/job-wait-finish
Add e2e test to ignore failures with 137 exit code
2022-11-15 12:32:48 -08:00
Aldo Culquicondor
f40debc8c5
Add e2e test to ignore failures with 137 exit code
Change-Id: Iaf71284f34f420f5a30f43aad0bc284c84fc19f9
2022-11-15 14:31:12 -05:00
Kubernetes Prow Robot
591fc0d8ab
Merge pull request #113858 from aojea/ingress_nightly
Fix kubernetes/gce-ingress jobs
2022-11-15 10:56:47 -08:00
Aldo Culquicondor
7dc36bdf82
Wait for Pods to finish before considering Failed in Job (#113860)
* Wait for Pods to finish before considering Failed

Limit behavior to feature gates PodDisruptionConditions and
JobPodFailurePolicy and jobs with a podFailurePolicy.

Change-Id: I926391cc2521b389c8e52962afb0d4a6a845ab8f

* Remove check for unsheduled terminating pod

Change-Id: I3dc05bb4ea3738604f01bf8cb5fc8cc0f6ea54ec
2022-11-15 09:44:53 -08:00
Kubernetes Prow Robot
dc7fd39eb7
Merge pull request #113738 from andrewsykim/cel-integration-tests
test/integration/apiserver/cel: more tests!
2022-11-15 09:44:41 -08:00
Claudiu Belu
4276f8c023
e2e tests: Revert windows-nanoserver image version
A recent PR [1] updated the image versions we use for E2E tests. However, the ``windows-nanoserver`` image is meant to be in a private authenticated registry: ``gcr.io/authenticated-image-pulling/windows-nanoserver``, which requires credentials to pull images from it. This image is required by the ``[sig-node] Container Runtime blackbox test when running a container with a new image should be able to pull from private registry with secret [NodeConformance]`` test for Windows. The ``v3`` image does not exist, there's no automatic promotion process for that registry. Previously, it was built and pushed manually.

Because of this, the https://testgrid.k8s.io/sig-windows-signal#capz-windows-containerd-master jobs have started to fail.

Reverts the image version to ``v1``.


[1] https://github.com/kubernetes/kubernetes/pull/113900
2022-11-15 19:04:03 +02:00
Alexander Zielenski
10b9a1fe19 add alexzielenski to OWNERS 2022-11-15 08:46:46 -08:00
Kubernetes Prow Robot
d34bdeea41
Merge pull request #113853 from jsafrane/add-volumepath
Fix subpath disruptive tests
2022-11-15 07:56:52 -08:00
Kubernetes Prow Robot
730d1e209f
Merge pull request #113650 from aojea/e2e_lb_conntrack
e2e loadbalancer udp conntrack test
2022-11-15 07:56:40 -08:00
Antonio Ojea
962dbbba48 fix glbc jobs
use latest stable version
add permissions for endpointslices
2022-11-15 13:39:59 +00:00
cncal
2670042dde fix wrong statement in unittest of BoundedFrequencyRunner 2022-11-15 17:36:26 +08:00
Andrew Sy Kim
34a2d265d7 test/integration/apiserver/cel: update createAndWaitReady to retry on error including 'not yet synced to use for admission'
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-14 22:27:16 -05:00
Dipankar Das
9c9a775d4a added comment why we are suppressing the errors
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
2022-11-15 08:48:42 +05:30
Andrew Sy Kim
7127f565f6 test/integration/apiserver/cel: add Test_ValidatingAdmissionPolicy_UpdateParamResource
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-14 21:48:12 -05:00
Andrew Sy Kim
0fb038fb15 test/integration/apiserver/cel: add lifecycle tests for deleting/recreating policy, policy bindings, and param resources
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-14 21:48:12 -05:00