Commit Graph

20744 Commits

Author SHA1 Message Date
Dan Winship
0b599aa8e3 Add --nodeport-addresses primary
The behavior when you specify no --nodeport-addresses value in a
dual-stack cluster is terrible and we can't fix it, for
backward-compatibility reasons. Actually, the behavior when you
specify no --nodeport-addresses value in a single-stack cluster isn't
exactly awesome either...

Allow specifying `--nodeport-addresses primary` to get the
previously-nftables-backend-specific behavior of listening on only the
node's primary IP or IPs.
2024-04-18 09:25:06 -04:00
Kubernetes Prow Robot
4b89cedcfa Merge pull request #124103 from zhanluxianshen/fix-typos-in-rbac-api
Fix typos in rbac api.
2024-04-18 05:27:50 -07:00
Dan Winship
cd980ee076 Fix unit tests that expected the old FakeClient semantics 2024-04-18 08:23:16 -04:00
Dan Winship
17ab25b121 Regenerate fake clients 2024-04-18 08:23:16 -04:00
Dan Winship
eb94878c0a Fix codegen to use correct nil-vs-empty semantics in fake clients
On most errors, the real clients return an empty object, whereas the
fake clients were returning nil; this meant that code that checked for
nil would appear to be working in unit tests, but then fail against
real data.
2024-04-18 08:16:54 -04:00
Kubernetes Prow Robot
77f7d1b89d Merge pull request #124324 from benluddy/cbor-decode-tests-grouped-by-cbor-type
KEP-4222: Group CBOR decode tests by the kind of their inputs.
2024-04-18 04:24:41 -07:00
Kubernetes Prow Robot
7c9eb3746f Merge pull request #124247 from seans3/stream-doc-file
Adds apiserver proxy doc.go
2024-04-18 03:25:03 -07:00
Kubernetes Prow Robot
32a3cbc51d Merge pull request #124245 from wojtek-t/informer_options
Allow for configuring MinWatchTimeout in reflector
2024-04-18 03:24:57 -07:00
Kubernetes Prow Robot
679f021809 Merge pull request #124193 from soltysh/fix_applyconfig-gen
Update applyconfiguration generator for packages where paths differ in name
2024-04-18 03:24:14 -07:00
Kubernetes Prow Robot
7b33887879 Merge pull request #124163 from flavianmissi/resource-quota-single-flight
resourcequota: use singleflight.Group to reduce apiserver load
2024-04-18 03:23:53 -07:00
Kubernetes Prow Robot
ca4a864336 Merge pull request #124123 from sttts/sttts-kubectl-plugin-positional
kubectl: fix plugin lookup with positional arguments
2024-04-18 03:23:46 -07:00
Kubernetes Prow Robot
3261821fbc Merge pull request #124116 from HiranmoyChowdhury/hiranmoy
Fix Deep Copy issue in getting controller reference
2024-04-18 03:23:40 -07:00
Kubernetes Prow Robot
dbaf5d667f Merge pull request #124062 from alculquicondor/nodename-api-comment
Update API comment for nodeName to match system behavior
2024-04-18 02:11:56 -07:00
Kubernetes Prow Robot
16c0213b11 Merge pull request #124045 from amirsadraabdollahi/fix/kubectl/expose
Fix: correct dryRunStratergy typo in kubectl expose cmd
2024-04-18 02:11:38 -07:00
Kubernetes Prow Robot
9966d05dba Merge pull request #124004 from srivastav-abhishek/catcher-test-fix
Fixed flake test due to data race in while accessing dummyStorage in cacher-test
2024-04-18 02:11:11 -07:00
Kubernetes Prow Robot
41f9c708fb Merge pull request #123997 from wojtek-t/speedup_watch_test
Relax WatchSemanticsTest to make it faster
2024-04-18 02:11:02 -07:00
Kubernetes Prow Robot
370b6ea557 Merge pull request #123988 from skitt/use-cases-titler
code-generator: use cases.Title instead of strings.Title
2024-04-18 02:10:53 -07:00
Kubernetes Prow Robot
daa3356e72 Merge pull request #123972 from deads2k/remove-insecure-serving
Remove k8s.io/apiserver ability to bind insecure ports
2024-04-18 02:10:35 -07:00
Kubernetes Prow Robot
7f67cb5960 Merge pull request #123969 from liangyuanpeng/cleanup_rand
cleanup: delete rand.Seed(time.Now().UnixNano()) and using global number generator.
2024-04-18 02:10:26 -07:00
SataQiu
389d9e0b82 Remove v1.28.0 API testdata 2024-04-18 16:53:28 +08:00
SataQiu
edb9104b33 Add v1.30.0 API testdata 2024-04-18 16:52:25 +08:00
Kubernetes Prow Robot
c016b0b9a8 Merge pull request #123937 from p0lyn0mial/upstream-use-initial-events-annotation-key-const
use metav1.InitialEventsAnnotationKey const
2024-04-18 01:05:06 -07:00
Kubernetes Prow Robot
17e427148b Merge pull request #123893 from soltysh/openapi_schema_applygen
kube_codegen: expose applyconfig-openapi-schema flag for client generatio
2024-04-18 01:04:30 -07:00
Kubernetes Prow Robot
02b986e65d Merge pull request #123860 from p0lyn0mial/upstream-storage-unused-function
apiserver/pkg/storage/utils: remove unused EverythingFunc
2024-04-18 01:04:21 -07:00
Kubernetes Prow Robot
e43015ad42 Merge pull request #123834 from alvaroaleman/emit-err
Nodelifecycle: Emit event when deletion failed
2024-04-18 01:04:03 -07:00
Kubernetes Prow Robot
d9d6986948 Merge pull request #123822 from JoelSpeed/cr-validator-status
Fix field path on CustomResource status update validations
2024-04-18 01:03:54 -07:00
Kubernetes Prow Robot
35ffb48425 Merge pull request #123669 from pohly/cel-quantity-conversion-fix
cel: fix conversion of quantity to quantity
2024-04-18 01:03:18 -07:00
Kubernetes Prow Robot
9d945ba5a5 Merge pull request #123597 from siddhantvirus/master
Improving legibility of kubectl describe configmap output
2024-04-18 01:03:09 -07:00
Kubernetes Prow Robot
2d4fecfe33 Merge pull request #123584 from fatsheep9146/rename-apiserver-spanname
Rename APIServer trace span name to conform to http server guidelines
2024-04-18 01:03:00 -07:00
Kubernetes Prow Robot
301eb8d47a Merge pull request #123347 from zhouhaibing089/abstract-queue
workqueue: make queue as configurable
2024-04-18 00:00:42 -07:00
Kubernetes Prow Robot
18608386ea Merge pull request #123316 from jcaamano/describe-port-range
Describe NetworkPolicy port ranges
2024-04-18 00:00:35 -07:00
Kubernetes Prow Robot
d35ba3635b Merge pull request #121970 from pohly/log-apimachinery-runtime
apimachinery runtime: support contextual logging
2024-04-17 23:59:47 -07:00
Kubernetes Prow Robot
88350dbeb0 Merge pull request #118457 from rpluem-vf/nodev_noexec_nosuid_noatime_relatime_nodiratime
Fix bind mounts of filesystems with specific mount options set
2024-04-17 20:07:12 -07:00
Kubernetes Prow Robot
0dc45103d8 Merge pull request #116781 from muff1nman/protobuf-fully-qualified-types
generate fully qualified type references
2024-04-17 16:05:02 -07:00
Ben Luddy
e335b8e81b Generate HTTP request fixtures for dynamic client tests. 2024-04-16 18:31:20 -04:00
Ben Luddy
a803c8034d Add test to detect unintentional changes in dynamic client requests. 2024-04-16 17:27:32 -04:00
Jiahui Feng
5b1c882aff rename optional to optional_type 2024-04-15 14:23:09 -07:00
Jiahui Feng
73d67d8613 add trivial FindStructFieldNames to TypeProvider. 2024-04-15 14:02:36 -07:00
Jiahui Feng
ac5391fa21 refit cost estimator with ast.Expr 2024-04-15 13:50:04 -07:00
Jiahui Feng
94997c6fef generated: ./hack/pin-dependency.sh github.com/google/cel-go v0.20.1 2024-04-15 13:33:10 -07:00
Ben Luddy
c985a0a0f6 Group CBOR decode tests by the kind of their inputs.
No test cases are added, removed, or modified. Grouping them this way is intended to make it easier
to reason about the coverage for possible inputs versus one long list of test cases.
2024-04-15 11:50:18 -04:00
Lan Liang
1dc735fd70 etcd: update to v3.5.13
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-13 09:37:25 +00:00
cyclinder
6a194182a1 Fix data race in apiserver mux handler
Signed-off-by: cyclinder <kuocyclinder@gmail.com>
2024-04-12 09:52:15 +08:00
Davanum Srinivas
fb5140f562 Rename cluster to storage_cluster_id for apiserver_storage_size_bytes metric
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-04-11 17:15:32 -04:00
Fulvio Denza
70902aab2d Allow request parameter and proto file path 2024-04-11 19:59:53 +02:00
Wojciech Tyczyński
29e38c19b8 Allow for configuring MinWatchTimeout in Reflector and Informer. 2024-04-10 19:36:29 +02:00
Wojciech Tyczyński
4da185a601 Refactor informer constructors 2024-04-10 19:07:30 +02:00
Flavian Missi
e13ff5ece2 resourcequota: use singleflight.Group to reduce apiserver load
relates to #22422 and #123806
2024-04-10 15:54:56 +02:00
Sean Sullivan
98ecfd0468 Adds apiserver proxy doc.go 2024-04-09 17:56:46 +00:00
Hiranmoy Das Chowdhury
0cd2588d4f deep copy issue in getting controller is solved 2024-04-09 11:14:33 +06:00