Commit Graph

118257 Commits

Author SHA1 Message Date
carlory
fc51a27c03 fix typecast missing 2023-09-07 14:25:29 +08:00
Kubernetes Prow Robot
4f303d1236
Merge pull request #117326 from akhilerm/update-selinux
dependencies: update opencontainers/selinux to v1.11.0
2023-09-06 21:48:56 -07:00
Kubernetes Prow Robot
cc1c416edd
Merge pull request #120374 from liggitt/cloud-deps
Track vendored status of unwanted deps, add more cloud dependencies
2023-09-06 19:52:55 -07:00
Jordan Liggitt
6cd446a206
Add cloud library to unwanted deps 2023-09-06 21:48:30 -04:00
Jordan Liggitt
9f76d8d45a
Track vendor status of unwanted deps 2023-09-06 21:48:30 -04:00
Kubernetes Prow Robot
04fd79d7d8
Merge pull request #120472 from sanposhiho/flake-fix
fix(queue_test): make sure the first bind failure via counter
2023-09-06 14:18:56 -07:00
Kensei Nakada
87d49a51be fix(queue_test): make sure the first bind failure via counter 2023-09-06 19:47:54 +00:00
Kubernetes Prow Robot
9f3cfbbcdb
Merge pull request #120448 from aroradaman/revert-103174-rancher-33360
Revert "Do not attempt to overwrite higher system (sysctl) values"
2023-09-06 12:35:16 -07:00
Kubernetes Prow Robot
eb0724a699
Merge pull request #120404 from kerthcet/flaky-test/bind
Output the error message for better analysis
2023-09-06 12:35:08 -07:00
Kubernetes Prow Robot
cf8f9a8d07
Merge pull request #119334 from kmala/serverapply
update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
2023-09-06 12:34:55 -07:00
Kubernetes Prow Robot
3ed537ab46
Merge pull request #119988 from bzsuni/cleanup/e2e/app
[e2e_app] stop using deprecated framework.ExpectNotEqual
2023-09-06 11:08:51 -07:00
Matthias Riegler
d7b7a85fbc
feat: make user-defined plugins discoverable with e.g. kubectl help (#116752)
* feat: make user-defined plugins discoverable with e.g. kubectl help

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: make help text localizable & rename it

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* chore: address CRs, cleanup

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: plugin execution

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-09-06 09:12:52 -07:00
Kubernetes Prow Robot
56cc5e77a1
Merge pull request #120441 from tzneal/revert-npd-update
Revert "bump npd to v0.8.14"
2023-09-06 06:39:04 -07:00
Kubernetes Prow Robot
c0a38d01aa
Merge pull request #120433 from enj/enj/f/kmsv2_default_enable_kdf
kmsv2: enable KMSv2KDF feature gate by default
2023-09-06 06:38:52 -07:00
Kubernetes Prow Robot
a759bf2b1e
Merge pull request #119461 from carlory/cleanup-e2e-auth-framework-equal
e2e_auth: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:19 -07:00
Kubernetes Prow Robot
ea5862ca4e
Merge pull request #119459 from carlory/cleanup-e2e-apimachinery-framework-equal
e2e_apimachinery: stop using deprecated framework.ExpectEqual
2023-09-06 05:35:12 -07:00
Kubernetes Prow Robot
8703ca2413
Merge pull request #118996 from cpanato/golang121
[go] Bump images, dependencies and versions to go 1.21.0
2023-09-06 05:34:54 -07:00
Kubernetes Prow Robot
a8aa3621f2
Merge pull request #120407 from shijinye/e2ecleanup-storage-errwaittimeout
cleanup:e2e:stop using deprecated wait.ErrWaitTimeout
2023-09-06 04:20:51 -07:00
carlory
36d3672249 e2e_auth: stop using deprecated framework.ExpectEqual 2023-09-06 18:29:28 +08:00
cpanato
9c1df5ff0a
move back to bullseye
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-06 12:06:54 +02:00
cpanato
67858e1ff0
Bump images, dependencies and versions to go 1.21.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-09-06 12:06:51 +02:00
carlory
15a402eefb e2e_apimachinery: stop using deprecated framework.ExpectEqual 2023-09-06 14:43:45 +08:00
Kubernetes Prow Robot
04292dd94b
Merge pull request #120369 from Gauravpadam/update-generated-html
Generated new documentation.md for kubernetes metrics reference
2023-09-05 23:02:50 -07:00
Kubernetes Prow Robot
abb74c7afa
Merge pull request #120412 from aojea/proxy_invalid
only drop invalid cstate packets if non liberal
2023-09-05 21:32:50 -07:00
Kubernetes Prow Robot
debe30de70
Merge pull request #120281 from gjkim42/feature-gate-sidecar-containers-in-kuberuntime
Feature-gate SidecarContainers code in pkg/kubelet/kuberuntime
2023-09-05 18:34:54 -07:00
Todd Neal
355ae44a3c Revert "bump npd to v0.8.14"
This reverts commit 7b44d73f73.
2023-09-05 20:28:53 -05:00
Kubernetes Prow Robot
ce19650212
Merge pull request #120368 from Jefftree/openapi-remove-openapiv2-skip-filter
remove SkipFilterSchemaForKubectlOpenAPIV2Validation
2023-09-05 16:21:11 -07:00
Kubernetes Prow Robot
10d257889d
Merge pull request #120365 from aramase/aramase/c/kms_scheme_cleanup
register API types only once for encryption config
2023-09-05 16:21:03 -07:00
Kubernetes Prow Robot
6013381508
Merge pull request #119157 from seans3/websocket-executor
WebSocket Client and V5 RemoteCommand Subprotocol
2023-09-05 16:20:51 -07:00
Kubernetes Prow Robot
a7f9e70384
Merge pull request #120413 from pohly/scheduler-in-flight-events-fix
scheduler: fix tracking of concurrent events
2023-09-05 15:17:03 -07:00
Kubernetes Prow Robot
e291b2799f
Merge pull request #120183 from aramase/aramase/c/kep_3331_use_local_vars_oidc
[StructuredAuthnConfig] use local variables in oidc pkg
2023-09-05 15:16:51 -07:00
Anish Ramasekar
418af0f4dc
register API types only once for encryption config
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-09-05 20:39:05 +00:00
Kubernetes Prow Robot
3ad8fb5dcf
Merge pull request #120350 from Gauravpadam/metrics-change
Changed the generator codes for the kubernetes metrics reference table
2023-09-05 13:09:02 -07:00
Kubernetes Prow Robot
f68c66f96d
Merge pull request #119142 from aramase/aramase/f/kep_3331_add_feature_flag
[StructuredAuthenticationConfig] Add feature flag and wire up `--authentication-config` flag
2023-09-05 13:08:51 -07:00
Gauravpadam
2144852f7c Commits merged
Some label fixes

Wrapper class is now metric

merged commits
2023-09-06 01:32:09 +05:30
Monis Khan
657cc2045e
kmsv2: enable KMSv2KDF feature gate by default
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-09-05 15:20:10 -04:00
Daman Arora
b97cb6dd00
Revert "Do not attempt to overwrite higher system (sysctl) values" 2023-09-06 00:42:48 +05:30
Patrick Ohly
c131c92b9f scheduler: unit test case for concurrent event with other pod
The problematic scenario was having one pod in flight, one event in the list,
and then detecting a concurrent event for a second pod after the first pod is
done. The new test case covers that.

To make it work without assumptions about the implementation, the QueuedPodInfo
returned by Pop must be the one passed to AddUnschedulableIfNotPresent
after (potentially) populating UnschedulablePlugins. This is done via callback
functions which bind to the same shared variable.
2023-09-05 21:01:13 +02:00
Sean Sullivan
a0d6a815fc WebSocket Client and V5 RemoteCommand Subprotocol 2023-09-05 11:37:18 -07:00
Kubernetes Prow Robot
73580b2038
Merge pull request #120336 from pohly/dra-generated-name-hyphen
resource claim controller: separate generated suffix from base
2023-09-05 11:22:51 -07:00
Gauravpadam
0024c7e166 Changed the generator codes for kubernetes metrics table
Corrected the gotemplate range call

Modified the wrapper class

Delete test/instrumentation/documentation/documentation.md

Removed documentation.md change as we're changing it over the other PR

Restored the original doc.md ; PR is solely for the generator code now

Some label fixes

merge commits
2023-09-05 23:32:36 +05:30
Patrick Ohly
cd943dd95e scheduler: fix tracking of concurrent events
The previous approach was based on the assumption that an in-flight pod can use
the head of the received event list as marker for identifying all events that
occur while the pod is in flight. That assumption is incorrect: when that
existing element gets removed from the list because all pods that were
in-flight when it was received are done, that marker's Next method returns nil
and the code which should have seen several concurrent events (if there were
any) missed all of those.

As a result, a pod with concurrent events could incorrectly get moved to the
unschedulable queue where it could got stuck until the next periodic purging
after 5 minutes if there was no other event for it.

The approach with maintaining a single list of concurrent events can be fixed
by inserting each in-flight pod into the list and using that element to
identify "more recent" events for the pod.
2023-09-05 19:58:38 +02:00
Kubernetes Prow Robot
5bc659eb7b
Merge pull request #120422 from neolit123/1.29-fix-cmd-kubeapiserver-import-pkiutils
cmd/kube-apiserver: remove import of cmd/kubeadm, add import-boss rules
2023-09-05 10:20:51 -07:00
Kubernetes Prow Robot
e00af59d0f
Merge pull request #120340 from pohly/dra-helper-logging-improvements
DRA: helper logging improvements
2023-09-05 09:05:51 -07:00
Antonio Ojea
933bcc123b only drop invalid cstate packets if non liberal
Conntrack invalid packets may cause unexpected and subtle bugs
on esblished connections, because of that we install by default an
iptables rules that drops the packets with this conntrack state.

However, there are network scenarios, specially those that use multihoming
nodes, that may have legit traffic that is detected by conntrack as
invalid, hence these iptables rules are causing problems dropping this
traffic.

An alternative to solve the spurious problems caused by the invalid
connectrack packets is to set the sysctl nf_conntrack_tcp_be_liberal
option, but this is a system wide setting and we don't want kube-proxy
to be opinionated about the whole node networking configuration.

Kube-proxy will only install the DROP rules for invalid conntrack states
if the nf_conntrack_tcp_be_liberal is not set.

Change-Id: I5eb326931ed915f5ae74d210f0a375842b6a790e
2023-09-05 14:16:17 +00:00
Lubomir I. Ivanov
7c75b018d5 cmd/kube-apiserver: add .import-restrictions
Allow only /pkg, /plugin, /third_party, /cmd/kube-apiserver, /test/utils.
This disallows imports of other cmd packages like cmd/kubeadm.
2023-09-05 16:03:28 +03:00
Kubernetes Prow Robot
7e9fbc449d
Merge pull request #120425 from akhilerm/drop-1.24
drop release-1.24 rules from publishing-bot
2023-09-05 06:01:51 -07:00
Akhil Mohan
43783aeb18
drop release-1.24 rules from publishing-bot
release-1.24 has been EOL since May 2023 and the last patch release
came out in August 2023

Signed-off-by: Akhil Mohan <makhil@vmware.com>
2023-09-05 17:25:42 +05:30
Lubomir I. Ivanov
6ec8dbe5b5 cmd/kube-apiserver: avoid importing the kubeadm pkiutils package
The package "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
is used for a couple of function calls:
- pkiutil.NewCertAndKey() to generate a cert/key pair
- pkiutil.WriteCertAndKey() to write the pair to disk

Unroll and simplify the functions to obtain the same functionality
while removing the cmd/kubeadm dependency.
2023-09-05 14:14:47 +03:00
Kubernetes Prow Robot
8e2b12a220
Merge pull request #119068 from lauchokyip/podgc-unit-test
added podgc orphaned pod unit tests
2023-09-05 03:19:49 -07:00