Commit Graph

120136 Commits

Author SHA1 Message Date
tao.yang
965b3634ff Remove GA featuregate about remove_MinimizeIPTablesRestore in 1.30
Signed-off-by: tao.yang <tao.yang@daocloud.io>
2023-12-01 15:02:08 +08:00
tao.yang
e13dca64cf Remove GA featuregate about ProxyTerminatingEndpoints in 1.30
Signed-off-by: tao.yang <tao.yang@daocloud.io>
2023-12-01 14:47:54 +08:00
kerthcet
b1ad834dfb No need to calculate ResourceEphemeralStorage additionally
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-12-01 14:25:30 +08:00
Kubernetes Prow Robot
55f2bc1043
Merge pull request #122129 from liggitt/root-conformance
Remove conformance test calls to `/`
2023-11-30 22:16:33 +01:00
Jordan Liggitt
233949e05d
Add an integration test to verify root path cleanup 2023-11-30 14:57:21 -05:00
Jordan Liggitt
c769c2db6e
Revert conformance test addition of root paths 2023-11-30 14:01:24 -05:00
Dan Williams
a80c3d0301 e2e/openapi: fix test panic when OpenAPI CRD doesn't show up within timeout
Nov 29 22:56:18.559: INFO: Waited 371.058378ms for the sample-apiserver to be ready to handle requests.
  Nov 29 22:56:49.503: INFO: At 0001-01-01 00:00:00 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: { } Scheduled: Successfully assigned e2e-openapiv3-5878/sample-apiserver-deployment-58dfd44dd-gp8nd to ip-10-0-80-91.us-west-2.compute.internal
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:53 +0000 UTC - event for sample-apiserver-deployment: {deployment-controller } ScalingReplicaSet: Scaled up replica set sample-apiserver-deployment-58dfd44dd to 1
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:53 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd: {replicaset-controller } SuccessfulCreate: Created pod: sample-apiserver-deployment-58dfd44dd-gp8nd
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:53 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {multus } AddedInterface: Add eth0 [10.129.2.137/23] from ovn-kubernetes
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:53 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Pulling: Pulling image "quay.io/openshift/community-e2e-images:e2e-3-registry-k8s-io-e2e-test-images-sample-apiserver-1-17-7-F6raNs0YQ76APdUD"
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:57 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Pulling: Pulling image "quay.io/openshift/community-e2e-images:e2e-11-registry-k8s-io-etcd-3-5-7-0-C5nYFPeT0lxaFCao"
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:57 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Started: Started container sample-apiserver
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:57 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Created: Created container sample-apiserver
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:55:57 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Pulled: Successfully pulled image "quay.io/openshift/community-e2e-images:e2e-3-registry-k8s-io-e2e-test-images-sample-apiserver-1-17-7-F6raNs0YQ76APdUD" in 3.068195738s (3.068206328s including waiting)
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:56:06 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Pulled: Successfully pulled image "quay.io/openshift/community-e2e-images:e2e-11-registry-k8s-io-etcd-3-5-7-0-C5nYFPeT0lxaFCao" in 9.1810668s (9.18107711s including waiting)
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:56:06 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Created: Created container etcd
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:56:06 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Started: Started container etcd
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:56:48 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Killing: Stopping container sample-apiserver
  Nov 29 22:56:49.503: INFO: At 2023-11-29 22:56:48 +0000 UTC - event for sample-apiserver-deployment-58dfd44dd-gp8nd: {kubelet ip-10-0-80-91.us-west-2.compute.internal} Killing: Stopping container etcd
  Nov 29 22:56:49.570: INFO: POD  NODE  PHASE  GRACE  CONDITIONS
  Nov 29 22:56:49.570: INFO:
  Nov 29 22:56:49.702: INFO: skipping dumping cluster info - cluster too large

k8s.io/kubernetes/test/e2e/apimachinery.glob..func19.3({0x7f470406fbf8, 0xc001c4b530})
	k8s.io/kubernetes@v1.27.1/test/e2e/apimachinery/openapiv3.go:161 +0x6bf
fail [runtime/panic.go:260]: Test Panicked: runtime error: invalid memory address or nil pointer dereference
Ginkgo exit error 1: exit with code 1

Signed-off-by: Dan Williams <dcbw@redhat.com>
2023-11-30 12:56:54 -06:00
Wojciech Tyczyński
d907062308 Minor cleanup in watch handlers 2023-11-30 18:27:39 +01:00
ahutsunshine
d8bd150784 support pod namespace indexer
fix comments

optimize code

small optimization for the namespace scope check
2023-11-30 18:39:09 +08:00
Ritikaa96
9efff41b8e making suggested changes
Signed-off-by: Ritikaa96 <ritika@india.nec.com>
2023-11-30 13:09:54 +05:30
Wojciech Tyczyński
55e60db88b Unify watch handler across http and websockets 2023-11-29 21:57:39 +01:00
Kubernetes Prow Robot
22cb31467d
Merge pull request #122095 from ruiwen-zhao/fix-test
Remove scrape_error from resource_metrics_test due to deprecation
2023-11-29 20:23:29 +01:00
npolshakova
a82ee6d416 fix error check 2023-11-29 11:55:30 -05:00
Dan Winship
8acf185791 Use a generic Set for utiliptables.GetChainsFromTable 2023-11-29 11:12:27 -05:00
Dan Winship
7cedc3d741 Simplify creation/tracking of chains
In the original version of "MinimizeIPTablesRestore", we skipped the
bottom half of the sync loop when we weren't re-syncing a service, so
certain things that couldn't be skipped had to be done in the top
half. But the code was later changed to always run through the whole
loop body (just not necessarily writing out rules in the bottom half),
so we can reorganize things now to put some related bits of code back
together.

(In particular, this also resolves the fact that we were accidentally
adding the endpoint chains to activeNATChains twice.)

Also change activeNATChains to be a proper generic Set type.
2023-11-29 11:12:20 -05:00
caohe
1f5738df84 fix(scheduler): fix incorrect loop logic in MultiPoint to avoid a plugin being loaded multiple times
Signed-off-by: caohe <caohe9603@gmail.com>
2023-11-29 20:14:18 +08:00
Kubernetes Prow Robot
a8f6ea2420
Merge pull request #121927 from alexanderConstantinescu/fix-flaky-TestSlowNodeSync
`TestSlowNodeSync`: attempt fixing flake by allowing informer cache to get populated
2023-11-29 05:23:20 +01:00
ruiwen-zhao
ec9387da08 Remove scrape_error from resource_metrics_test due to deprecation
Signed-off-by: ruiwen-zhao <ruiwen@google.com>
2023-11-28 18:49:04 +00:00
Aleksandra Malinowska
3df00d1bdd Only run Prioritize() for extenders with prioritizeVerb configured 2023-11-28 17:13:13 +01:00
Aleksandra Malinowska
56dcde8627 Add unit tests for no score plugin scenario 2023-11-28 17:13:13 +01:00
bzsuni
a6e48ef978 Remove GA featuregate about ExperimentalHostUserNamespaceDefaultingGate in 1.30
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-11-28 20:23:07 +08:00
Kubernetes Release Robot
022d50fe3a CHANGELOG: Update directory for v1.29.0-rc.1 release 2023-11-28 10:38:58 +00:00
Aleksandra Malinowska
feb23ec581 Fix existing unit test (add no op scoring plugin) 2023-11-28 10:42:21 +01:00
Aleksandra Malinowska
199dc03bdd Don't evaluate extra nodes if there's no score plugin defined 2023-11-28 10:39:49 +01:00
SataQiu
c86189d1de clean up unused parameters for volume zone unit test 2023-11-28 11:37:41 +08:00
Tim Hockin
eddf65849d
Fix list_type_missing in k8s.io/apiserver 2023-11-27 12:24:10 -08:00
Tim Hockin
18f3941c24
Fix list_type_missing in k8s.io/metrics 2023-11-27 12:06:33 -08:00
Tim Hockin
58fb9f6e66
Fix list_type_missing in api/storage 2023-11-27 12:06:32 -08:00
Tim Hockin
e96578fb4d
Fix list_type_missing in api/rbac 2023-11-27 12:06:31 -08:00
Tim Hockin
b2458e456a
Fix list_type_missing in api/networking 2023-11-27 12:06:30 -08:00
Tim Hockin
7fc3ef1fec
Fix list_type_missing in api/imagepolicy 2023-11-27 12:06:29 -08:00
Tim Hockin
cddfa43769
Fix list_type_missing in api/extensions 2023-11-27 12:06:29 -08:00
Tim Hockin
cfe146615a
Fix list_type_missing in api/core 2023-11-27 12:06:28 -08:00
Tim Hockin
fe902f7384
Fix list_type_missing in api/autoscaling 2023-11-27 12:06:27 -08:00
Tim Hockin
ad39737397
Fix list_type_missing in api/authorization 2023-11-27 12:06:26 -08:00
Tim Hockin
b24cffb174
Fix list_type_missing in api/authentication 2023-11-27 12:06:25 -08:00
Tim Hockin
a3ea994fa2
Fix list_type_missing in api/apps 2023-11-27 12:06:24 -08:00
Tim Hockin
460df86f2a
Fix list_type_missing in api/admissionregistration 2023-11-27 12:06:23 -08:00
Tim Hockin
b8982be268
Fix list_type_missing in sample-apiserver 2023-11-27 12:06:22 -08:00
Tim Hockin
e9bd9262dc
Fix list_type_missing in apiextensions-apiserver 2023-11-27 12:06:21 -08:00
Tim Hockin
dd80194d96
Re-run codegen with new kube-openapi 2023-11-27 12:06:20 -08:00
Tim Hockin
1f55357d99
Re-vendor k8s.io/kube-openapi
./hack/pin-dependency.sh k8s.io/kube-openapi 778a5567bc1edaed92a4de9c07f90199c67953fa

./hack/update-vendor.sh
2023-11-27 12:06:19 -08:00
Tim Hockin
44060fb1f3
Fix "list_type_missing" API violations in meta/v1
This assumes that any such field is atomic, except:
  * OwnerReferences: because it has a `+patchStrategy=merge`, but it
    probably needs a `+listMapKey=...` ?
  * Finalizers: because it hs a `+patchStrategy=merge`, but is a
    primitive type (string).
  * []byte fields, which should not be failing this anyway (fixed
    subsequently).

An alternative approach could be just to turn off the API warnings for
these fields, but it felt more correct to declare the semantics.
2023-11-27 12:05:52 -08:00
carlory
2315d3fed5 uncomment ktesting.AnyToString 2023-11-28 00:35:29 +08:00
Lubomir I. Ivanov
f86249c68e kubeadm: remove outdated notes during upgrade
The notes printed to the user from common.go when
loadConfig fails are outdated and incorrect.
If the config cannot be loaded the user should not be instructed
to re-upload the config with kubeadm commands. Instead they
should do it manually with kubectl.

On loadConfig() error just wrap the error in a simple message
and show it to the user.

The current setup stomps missing IsNotFound errors for Node objects.
The underlying fetching of init configuration uses
the node object to construct an initconfiguration for this
upgrade process, so if the Node is missing the kube-config CM
will be reported as missing, which is incorrect.
2023-11-27 16:11:45 +02:00
Alexey Fomenko
e38362501b dynamic-resource-allocation Update API comments 2023-11-27 13:15:23 +02:00
kerthcet
e5b86c1034 Fix node update event will miss some potential changes
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-11-27 15:33:47 +08:00
Kubernetes Prow Robot
ad9b60e2c9
Merge pull request #122020 from Vyom-Yadav/fixOverridingVarInVerify
Fix verify target to not update env var if already set
2023-11-27 04:06:16 +01:00
hub-Prateek
a601ebd6b6 Changed the log message 2023-11-26 11:41:42 +05:30
Ukri Niemimuukko
02b0dc98dd remove unnecessary fmt.Sprintf call
default_preemtion.go has an unnecessary fmt.Sprintf call which
triggers common code checkers. This removes it.

Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
2023-11-25 21:36:04 +02:00