Commit Graph

123583 Commits

Author SHA1 Message Date
Patrick Ohly
1b63639d31 DRA scheduler: use assume cache to list claims
This finishes the transition to the assume cache as source of truth for the
current set of claims.

The tests have to be adapted. It's not enough anymore to directly put objects
into the informer store because that doesn't change the assume cache
content. Instead, normal Create/Update calls and waiting for the cache update
are needed.
2024-06-25 14:00:25 +02:00
Patrick Ohly
9a6f3b9388 scheduler: central ResourceClaim assume cache
This enables connecting the event handler for ResourceClaim to the assume
cache, which addresses a theoretic race condition.

It may also be useful for implementing the autoscaler support, because now
the autoscaler can modify the content of the cache.
2024-06-25 14:00:25 +02:00
Patrick Ohly
dea16757ef scheduler: AddEventHandler for assume cache
This enables using the assume cache for cluster events.
2024-06-25 14:00:25 +02:00
Patrick Ohly
171620765e ktesting: add Step
Step simplifies using WithStep because it creates a local scope where the same
tCtx variable is the one with the step name.
2024-06-25 14:00:22 +02:00
Patrick Ohly
639f86915b scheduler: add FIFO queue
This is a basic implementation of a first-in-first-out queue with unbounded
size. It's useful for cases where a channel with fixed size might deadlock.

The caller is responsible for locking.
2024-06-25 13:56:15 +02:00
Lubomir I. Ivanov
636f38a9fe e2e_kubeadm: move chendave to emeritus
Technically an approver for cmd/kubeadm, so for this OWNERS
file there should be emeritus approver status.
2024-06-25 14:47:30 +03:00
Davanum Srinivas
16e24513b7
drop OWNERS in kubeadm
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-25 06:42:33 -04:00
Kubernetes Prow Robot
8cf93c8d83
Merge pull request #125405 from p0lyn0mial/upstream-consistent-read-from-cache-supports-pagination
apiserver/storage/cacher: consistent read from cache supports limit
2024-06-25 02:15:53 -07:00
Kubernetes Prow Robot
80212923db
Merge pull request #124025 from saschagrunert/log-container-status
Continue streaming kubelet logs when runtime is unavailable
2024-06-25 02:15:40 -07:00
Lukasz Szaszkiewicz
cb8cbc60a1 cacher: returns an error when watch list was requested and storage.RequestWatchProgress is disabled 2024-06-25 10:04:37 +02:00
Francesco Romani
5b6fe2f8db e2e: node: ensure no pod leaks in the container_manager test
During the debugging of https://github.com/kubernetes/kubernetes/pull/123468
it became quite evident there are unexpected pods, leftovers from
the container_manager_test. But we need stronger isolation among test
to have good signal, so we add these safeguards (xref:
https://github.com/kubernetes/kubernetes/pull/123468#issuecomment-1977977609
)

Signed-off-by: Francesco Romani <fromani@redhat.com>
2024-06-25 07:40:41 +02:00
Kubernetes Prow Robot
535e833aef
Merge pull request #125575 from dashpole/update_otel_27
Update opentelemetry dependencies to the latest release.
2024-06-24 21:01:46 -07:00
Kubernetes Prow Robot
ba19ecb8c9
Merge pull request #123298 from henry118/spell
Fix func name typo
2024-06-24 21:01:40 -07:00
Ben Luddy
037ba12551
Encode byte array to CBOR as array of integer, not byte string.
This is structurally compatible with the JSON behavior.
2024-06-24 23:37:28 -04:00
Ben Luddy
326e0a44d1
Reject CBOR simple values other than true, false, and null. 2024-06-24 23:34:37 -04:00
Kubernetes Prow Robot
921fb0b7c5
Merge pull request #125237 from aojea/ipmode_integration
improve loadbalancer IPMode testing
2024-06-24 19:22:43 -07:00
Kubernetes Prow Robot
d236a9127f
Merge pull request #125560 from jpbetz/apply-gen-fake
Add field management support to fake client-go typed client
2024-06-24 16:48:46 -07:00
Kubernetes Prow Robot
d5dd5b13a5
Merge pull request #125317 from jpbetz/fix-nop-empty-map
Fix non-semantic apply requests to ignore empty maps
2024-06-24 16:48:39 -07:00
Kubernetes Prow Robot
0d17892740
Merge pull request #123184 from googs1025/delete_repeat_comments
typo: delete useless comments
2024-06-24 16:48:32 -07:00
Antonio Ojea
87a7f22923 bump kube-network-policies to v0.3.0 2024-06-24 23:42:56 +00:00
Antonio Ojea
e7425cf71f improve loadbalancer IPMode testing 2024-06-24 23:38:10 +00:00
Kubernetes Prow Robot
5764500243
Merge pull request #125420 from benluddy/cbor-bignum-bigint
KEP-4222: Reject math/big.Int on encode and bignum tags on decode for CBOR.
2024-06-24 15:46:38 -07:00
Kubernetes Prow Robot
902088a405
Merge pull request #119240 from jpbetz/jpbetz-owners-admission
Add jpbetz to admission plugin approvers
2024-06-24 15:46:31 -07:00
Joe Betz
db0f1749e9 Resolve rebase 2024-06-24 17:09:32 -04:00
Davanum Srinivas
1390ac0e25
Add sig/etcd labels for related directories
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-24 17:03:34 -04:00
Kubernetes Prow Robot
1236f48109
Merge pull request #124770 from uucloud/docs/fix_tls_bootstrapping_link
docs:fix broken link
2024-06-24 13:36:34 -07:00
Joe Betz
572b0d9fbf Add integration test 2024-06-24 15:58:51 -04:00
Joe Betz
7772769d19 Generate code 2024-06-24 15:58:35 -04:00
Joe Betz
c447c38150 Generate type fake clients that may opt in to the use of managed fields 2024-06-24 15:57:36 -04:00
Joe Betz
75d6f02432 Add field tracker support to client fake fixtures 2024-06-24 15:42:29 -04:00
Joe Betz
599f03c722 Support options for all client fake actions 2024-06-24 15:41:38 -04:00
Kubernetes Prow Robot
b510f785e6
Merge pull request #125673 from jpbetz/patch-6
Add jpbetz to code-generator OWNERS
2024-06-24 11:25:24 -07:00
Kubernetes Prow Robot
09af6a3b94
Merge pull request #125672 from jpbetz/patch-5
Add jpbetz to sampler-controller OWNERS
2024-06-24 09:44:51 -07:00
Joe Betz
28a3e5894e
Add jpbetz to code-generator OWNERS
Per api-machinery SIG TL responsibilities
2024-06-24 15:43:18 +00:00
Kubernetes Prow Robot
83f77b6bd5
Merge pull request #125122 from chendave/emeritus_2
Move myself(chendave) to the list of emeritus
2024-06-24 08:43:12 -07:00
Joe Betz
ef4cd4fdb5
Add jpbetz to sampler-controller OWNERS
Per api-machinery SIG TL responsibilities
2024-06-24 15:42:34 +00:00
Christian Schlotter
038a94804e
kubeadm: implement ControlPlaneKubeletLocalMode 2024-06-24 17:03:33 +02:00
Lukasz Szaszkiewicz
a7b1a9bb26 flowcontrol/request/list_work_estimator: sync shouldDelegateList 2024-06-24 11:12:59 +02:00
Lukasz Szaszkiewicz
87536f367d apiserver/storage/cacher: cache supports pagination 2024-06-24 11:12:51 +02:00
nayihz
26dcab1146 skip update pod that exist in scheduling cycle 2024-06-24 17:11:09 +08:00
Kubernetes Prow Robot
10ae1dbb52
Merge pull request #125636 from my-git9/certsunused
kubeadm: Remove unused function in phases/certs
2024-06-24 02:00:56 -07:00
Mangirdas Judeikis
539eb53c9a deprecation fix 2024-06-24 11:47:06 +03:00
Kubernetes Prow Robot
498f88803e
Merge pull request #125121 from chendave/emeritus
Move myself(chendave) to the list of emeritus
2024-06-24 00:16:56 -07:00
Kubernetes Prow Robot
fb6bbc9781
Merge pull request #125359 from yangjunmyfm192085/fixendpointslicemirroring
fix endpointslicemirroring controller not create endpointslice when the endpoints are recreate
2024-06-23 18:22:55 -07:00
Mangirdas Judeikis
07864d1f1f add Extra.DisableAvailableConditionController for kube-aggregator 2024-06-23 20:19:05 +03:00
David Ashpole
a3b7cb9374
fix tracing integration test 2024-06-23 15:56:57 +00:00
David Ashpole
045554491a
update go workspace 2024-06-23 15:56:38 +00:00
David Ashpole
d65029f9bb
update unwanted dependencies
This update dropped the otelgrpc → cloud.google.com/go/compute dependency,
among others. This dropped out because genproto cleaned up it's dependencies
on google cloud libraries, and otel updated - details in #113366.
2024-06-23 15:53:54 +00:00
David Ashpole
82e9ce79c7
update OpenTelemetry dependencies 2024-06-23 15:35:26 +00:00
Nir Soffer
634b83a762 Fix kubectl-ns plugin help text
The plugin help text was not consistent - using `ns` in some cases and
`kubectl ns` in others.

With this change we always have `kubectl ns`:

    $ kubectl ns -h
    View or set the current namespace

    Usage:
      kubectl ns [new-namespace] [flags]

    Examples:

            # view the current namespace in your KUBECONFIG
            kubectl ns

            # view all of the namespaces in use by contexts in your KUBECONFIG
            kubectl ns --list

            # switch your current-context to one that contains the desired namespace
            kubectl ns foo

    Flags:
      ...
      -h, --help                           help for kubectl ns
2024-06-23 18:32:25 +03:00