Commit Graph

50263 Commits

Author SHA1 Message Date
carlory
4058178b8c Promote HonorPVReclaimPolicy to beta and enable it by default 2024-06-19 13:51:37 +08:00
Alvaro Aleman
5e56953337 Corev1.Node: Link to node doc and not PV doc in status.capacity
Currently, the go doc and as a result the generated swagger docs for
node.status.capacity links to a documentation page for PV capacity.
Update it to link to our nodes about node capacity and alloctable
instead.
2024-06-18 23:12:52 -04:00
Kubernetes Prow Robot
f70115206b Merge pull request #125082 from alexanderConstantinescu/kep-3836-v131
KEP 3836 - v1.31 update [promote to GA]
2024-06-18 17:12:52 -07:00
Kubernetes Prow Robot
a4092e3441 Merge pull request #125017 from fatsheep9146/syncPod-trace-record-error
SyncPod record error and set error status to span when return err is non-nil
2024-06-18 17:12:41 -07:00
Kubernetes Prow Robot
bd88faee8b Merge pull request #125520 from mimowo/cleanup-success-policy-check
Remove redundant check in Job success policy code
2024-06-18 12:40:09 -07:00
Kubernetes Prow Robot
b616d91675 Merge pull request #122636 from lianghao208/pod_condition
kube-scheduler: fix empty lastTransitionTime in pod condition
2024-06-18 10:39:35 -07:00
Kubernetes Prow Robot
44b2c363f2 Merge pull request #125549 from liggitt/validate-controller-revision
Ensure controller revision data is valid json
2024-06-18 08:58:38 -07:00
Kubernetes Prow Robot
64355780d9 Merge pull request #125495 from pohly/dra-scheduler-fix-parameter-indexing
DRA: fix indexing of generated parameters
2024-06-18 04:10:38 -07:00
Kubernetes Prow Robot
ab8ad49b47 Merge pull request #125533 from kaisoz/sched-test-disruption-target-cond
scheduler: Test that the DisruptionTarget condition is added at preemption time
2024-06-18 01:14:28 -07:00
Kubernetes Prow Robot
2c1aa2bfec Merge pull request #125459 from MinpengJin/master
Promote LogarithmicScaleDown to GA
2024-06-17 20:21:40 -07:00
Kubernetes Prow Robot
e7d0aaa9e3 Merge pull request #125519 from mimowo/remove-unusued-param
Remove unused parameter in Job controller function
2024-06-17 14:38:32 -07:00
Jordan Liggitt
d6d78c5581 Ensure controller revision data is valid json 2024-06-17 14:32:51 -04:00
Tomas Tormo
8d7c113434 Test that the DisruptionTarget condition is added at preemption 2024-06-17 16:59:52 +00:00
HirazawaUi
f9693e0c0a Implement QueueingHintFn for pod deleted event 2024-06-17 22:42:04 +08:00
Kensei Nakada
dd3af9a85b fix: skip isPodWorthRequeuing only when SchedulingGates gates the pod 2024-06-17 01:14:34 +00:00
Hiroyuki Moriya
4ccae88114 fix 2024-06-16 00:03:13 +00:00
Sean Sullivan
3ae3b4ea55 Graduate PortForwardWebsockets to Beta 2024-06-15 16:09:23 -07:00
Hiroyuki Moriya
9f7843bde4 remove lister from test 2024-06-15 22:55:46 +00:00
Michal Wozniak
7a3d73d234 Remove redundant check in Job success policy code 2024-06-14 19:59:40 +02:00
Michal Wozniak
18a14bcff9 Remove unused parameter in Job controller function 2024-06-14 19:43:19 +02:00
Kubernetes Prow Robot
e6616033cb Merge pull request #120844 from bzsuni/cleanup/sets/kubelet
[kubelet] Use a generic Set instead of a specified Set
2024-06-14 09:09:17 -07:00
DrAuYueng
52959abc95 Remove redundant nil check 2024-06-14 22:28:07 +08:00
moriya
e93016b68c fix_review_comments 2024-06-14 09:41:38 +09:00
Kubernetes Prow Robot
eb6840928d Merge pull request #124160 from Karthik-K-N/fix-buildconstraints
Add doc.go file without any buildconstraint to run tests on non linux platforms
2024-06-13 16:29:06 -07:00
Ahmet Alp Balkan
4d3f5cdc82 kubelet: Add description for failed predicate Events
**Problem:** When a Pod fails to run due to kubelet-side admission checks, the
v1.Event objects emitted looks like these:

    Reason="NodeAffinity" Message="Predicate NodeAffinity failed"
    Reason="NodeName" Message="Predicate NodeName failed"
    Reason="NodePorts" Message="Predicate NodePorts failed"

**Solution:** Expose human-readable predicate description in the failure
so that kubelet submits an Event with this description, such as:

    Reason="NodeAffinity" Message="Predicate NodeAffinity failed: node(s) didn't match Pod's node affinity/selector"
    Reason="NodeName" Message="Predicate NodeName failed: node(s) didn't match the requested node name"
    Reason="NodePorts" Message="Predicate NodePorts failed: node(s) didn't have free ports for the requested pod ports"
2024-06-13 15:12:56 -07:00
Kubernetes Prow Robot
ba28796e77 Merge pull request #125218 from carlory/fix-125216
add apiGroup validation
2024-06-13 13:27:50 -07:00
Patrick Ohly
e0fce54d02 DRA: fix indexing of generated parameters
The claim parameter key didn't include the namespace of the claim. In the case
where two namespaces used the exact same parameter reference, the "too many
generated parameters" case got triggered incorrectly and lookup could have
returned an object from the wrong namespace.

Found while running the E2E tests in parallel:

              message: 'running PreFilter plugin "DynamicResources": multiple generated claim
                parameters for ConfigMap. dra-8794/parameters-3 found: [dra-4729/parameters-4
                dra-7328/parameters-4 dra-8794/parameters-4 dra-3402/parameters-4 dra-6156/parameters-4
                dra-1839/parameters-4 dra-7434/parameters-4 dra-6504/parameters-4]'
2024-06-13 17:27:04 +02:00
Kundan Kumar
0375192c5c kube-proxy confif update 2024-06-13 12:09:02 +05:30
Jordan Liggitt
b8be6275b9 Clean up service account options completion and fallback
- Remove unused fallback to TLS serving key as service account verifying key
- Separate ServiceAccountTokenMaxExpiration setup from signer setup
- Separate the check for a signing method (private key) from the existence of issuers
2024-06-12 21:59:39 -04:00
Akihiro Suda
ede79b0470 KEP-3857: promote RecursiveReadOnlyMounts feature to beta
KEP: https://kep.k8s.io/3857

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-06-13 08:58:03 +09:00
Kubernetes Prow Robot
7943c17867 Merge pull request #124329 from chrishenzie/remove-readwriteoncepod-feature-gate
Remove ReadWriteOncePod feature gate
2024-06-12 15:51:23 -07:00
Kubernetes Prow Robot
9c8c61aee4 Merge pull request #122234 from AxeZhan/podUpdateEvent
[Scheduler]Put pod into the correct queue during podUpdate
2024-06-12 12:28:17 -07:00
Kubernetes Prow Robot
eda1c78054 Merge pull request #125445 from mimowo/prepare-gc-controller-test
Cleanup gc_controller tests to do not use deprecated types
2024-06-12 10:04:37 -07:00
Kubernetes Prow Robot
63655f49df Merge pull request #125460 from mimowo/make-linter-happy
Cleanup eviction tests to make linter happy
2024-06-12 07:44:49 -07:00
AxeZhan
d66f8f9413 schedulingQueue update pod by queueHint 2024-06-12 21:26:09 +08:00
Sascha Grunert
695879e393 Use sig-node-approvers alias in pkg/kubelet/OWNERS
We should be able to use the alias directly rather than just
synchronizing the lists.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-06-12 14:23:56 +02:00
Michal Wozniak
70f7c02bea Cleanup eviction tests to make linter happy 2024-06-12 11:26:37 +02:00
Eric Lin
3730f2614a controlplane/apiserver: Trim managedFields off self-requested informers
Signed-off-by: Eric Lin <exlin@google.com>
2024-06-12 08:53:52 +00:00
Michal Wozniak
150b255962 Cleanup gc_controller tests to do not use deprecated types 2024-06-12 10:16:48 +02:00
Kubernetes Prow Robot
0aab2a3534 Merge pull request #125449 from harche/fix_err
Report correct error after validating the root container
2024-06-11 22:07:30 -07:00
Kubernetes Prow Robot
96827ea6bf Merge pull request #125360 from pohly/dra-scheduler-prebind-pending
scheduler: allow PreBind to return "Pending" and "Unschedulable"
2024-06-11 22:07:21 -07:00
Kubernetes Prow Robot
9c5643f8fc Merge pull request #125390 from TommyStarK/kube-apiserserver/remove-deprecated-otel-NewNoopTracerProvider
kube-apiserver: remove deprecated otel NewNoopTracerProvider
2024-06-11 17:49:44 -07:00
Kubernetes Prow Robot
02013fd127 Merge pull request #125429 from tenzen-y/gurad-success-policy-by-feature-gate
Job: Fix a bug that the SuccessCriteriaMet could be added to the Job with successPolicy regardless of the featureGate enabling
2024-06-11 14:43:44 -07:00
Kubernetes Prow Robot
b669abc181 Merge pull request #122038 from lowang-bh/fixPodshow
show pod Status as phase Failed or Succeeded if it has deletionTimestamp
2024-06-11 14:43:35 -07:00
Harshal Patil
966d304704 Report correct error after validating the root container
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2024-06-11 16:42:59 -04:00
Yuki Iwai
be3316e2e1 Job: Fix a bug that the SuccessCriteriaMet condition is added to the Job with successPolicy even if the JobSuccessPolicy featureGate is disabled
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-06-12 00:36:36 +09:00
Alexander Constantinescu
d1d7ce4d78 KEP 3836 - v1.31 update [promote to GA] 2024-06-11 16:42:57 +02:00
lowang-bh
4bd3274f43 show pod Status as phase Failed or Succeeded if it has deletionTimestamp
Signed-off-by: lowang-bh <lhui_wang@163.com>

fix according to comments
Signed-off-by: lowang-bh <lhui_wang@163.com>
2024-06-11 22:04:15 +08:00
Kubernetes Prow Robot
dae1859c89 Merge pull request #125399 from tnqn/cleanup-sysctl
Remove unused sysctl parameter from nftables proxy
2024-06-11 03:55:52 -07:00
ZhangYu
190664f758 pkg/printers: drop deprecated pointer package
Signed-off-by: ZhangYu <zhang.yu61@zte.com.cn>
2024-06-11 17:14:15 +08:00