Commit graph

751 commits

Author SHA1 Message Date
Maciej Szulik
699197d7da
Use latest API for column definitions in printers
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-01-08 11:54:28 +01:00
Kubernetes Prow Robot
508074f023
Merge pull request #135615 from soltysh/drop_autoscaling_v2betaX
Drop autoscaling v2beta1 and v2beta2
2025-12-17 23:28:25 -08:00
Kubernetes Prow Robot
a31e6a115f
Merge pull request #132402 from astraw99/ftr-add-node-arch
Add node `arch` in the kubectl get node output
2025-12-17 18:33:14 -08:00
Kubernetes Prow Robot
cc4bccf6a1
Merge pull request #134422 from jaehanbyun/ingressclass-default-marker
ingressclass: show (default) marker for default IngressClass
2025-12-17 16:26:11 -08:00
Maciej Szulik
e347aa994b
React to removing autoscaling v2beta1 and v2beta2
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-12-05 11:59:30 +01:00
astraw99
8bf07d22c2 Add node arch in the kubectl get node output 2025-11-07 18:40:44 +08:00
Maciej Skoczeń
9639274676 api: Create Workload API 2025-11-06 09:36:43 +00:00
tinatingyu
59e075e8d3 Promote PodCertificateRequests to v1beta1 2025-11-02 05:33:44 +00:00
Kubernetes Prow Robot
3ec2d82da5
Merge pull request #134784 from michaelasp/svm_beta2
SVM: bump the API to beta, remove unused fields
2025-10-29 13:56:02 -07:00
Michael Aspinwall
3b72759d1b Update SVM to Beta
Co-authored-by: Stanislav Láznička <stlaz.devel@proton.me>
2025-10-29 19:36:11 +00:00
jaehanbyun
336ec22700 ingressclass: show (default) marker for default IngressClass
Signed-off-by: jaehanbyun <awbrg789@naver.com>
2025-10-26 20:53:56 +09:00
MohammadHasan Akbari
d1767c10c0 fix: typo in internalversion printers 2025-10-05 07:37:34 +00:00
Kubernetes Prow Robot
eff19217ed
Merge pull request #124766 from kkkkun/fix-show-status-error
Fixes pod status error when it has an error container
2025-09-02 06:51:16 -07:00
Jordan Liggitt
0c91e28360
Clean up service account print and describe 2025-08-05 17:51:10 -04:00
Kubernetes Prow Robot
7912e5fd67
Merge pull request #131549 from carlory/KEP-3751-GA
[Kep-3751] Promote VolumeAttributesClass to GA
2025-07-24 16:44:27 -07:00
carlory
94bf8fc8a9 Promoted API VolumeAttributesClass and VolumeAttributesClassList to storage.k8s.io/v1.
Promoted feature-gate `VolumeAttributesClass` to GA (on by default)

Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-07-25 01:53:59 +08:00
Patrick Ohly
5c4f81743c DRA: use v1 API
As before when adding v1beta2, DRA drivers built using the
k8s.io/dynamic-resource-allocation helper packages remain compatible with all
Kubernetes release >= 1.32. The helper code picks whatever API version is
enabled from v1beta1/v1beta2/v1.

However, the control plane now depends on v1, so a cluster configuration where
only v1beta1 or v1beta2 are enabled without the v1 won't work.
2025-07-24 08:33:45 +02:00
ylink-lfs
b070b0a5c5 chore: residual boolptr and intptr removal 2025-07-23 00:57:50 +08:00
Taahir Ahmed
4624cb9bb9 Pod Certificates: Basic implementation
* Define feature gate
* Define and serve PodCertificateRequest
* Implement Kubelet projected volume source
* kube-controller-manager GCs PodCertificateRequests
* Add agnhost subcommand that implements a toy signer for testing

Change-Id: Id7ed030d449806410a4fa28aab0f2ce4e01d3b10
2025-07-21 21:49:57 +00:00
Goend
ce456c87f1 add SuccessCriteriaMet status for kubectl get job 2025-07-09 10:40:49 +08:00
carlory
16f4a5c4ea cleanup unneed code 2025-04-09 17:04:20 +08:00
Morten Torkildsen
39507d911f Add resource v1beta2 API 2025-03-26 14:41:09 +00:00
Patrick Ohly
797475e113 DRA: add device taints API
This adds the "DeviceTaint" top-level type to v1alpha3 and related fields to
ResourceSlice and ResourceClaim. It's complete enough bring up an API server
and generate files.
2025-03-18 20:52:54 +01:00
Tim Hockin
7315d0a687
Change internal-version RC.Spec.Replicas to a ptr
This is needed to make declaratve validation clean.  Past me thought
this was clever (pointer versioned, non-pointer internal) but it is just
confusing.
2025-03-13 08:47:19 -07:00
Stanislav Láznička
e0f536bf1f
use the ClusterTrustBundles beta API 2025-03-11 18:07:24 +01:00
kkkkun
fe02b543aa Fixes pod status error when it has an error container
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2025-01-14 14:36:47 +08:00
googs1025
b649c11366 chore(printers): add miss unit test for resourcequota 2024-12-28 19:44:14 +08:00
Jefftree
0ce7b688a6 v1alpha2 LeaseCandidate API 2024-11-08 02:27:19 +00:00
vivzbansal
0548756f06 Fix duplicate import error 2024-11-07 21:23:18 +00:00
vivzbansal
763e810fb5 refactor code to add sidecar container support in IPPR 2024-11-07 21:20:48 +00:00
Patrick Ohly
33ea278c51 DRA: use v1beta1 API
No code is left which depends on the v1alpha3, except of course the code
implementing that version.
2024-11-06 13:03:19 +01:00
Joe Betz
3a1733f302 Add MutatingAdmissionPolicy API
This is closely aligned with ValidatingAdmissionPolicy
except that instead of validations that can fail with
messages, there are mutations, which can be defined
either with as an ApplyConfiguration or JSONPatch.

Co-authored-by: cici37 <cicih@google.com>
2024-11-04 21:40:38 -05:00
googs1025
e854086d74 chore(printers): add unit test coverage for printers part 2024-10-24 22:43:55 +08:00
Patrick Ohly
f84eb5ecf8 DRA: remove "classic DRA"
This removes the DRAControlPlaneController feature gate, the fields controlled
by it (claim.spec.controller, claim.status.deallocationRequested,
claim.status.allocation.controller, class.spec.suitableNodes), the
PodSchedulingContext type, and all code related to the feature.

The feature gets removed because there is no path towards beta and GA and DRA
with "structured parameters" should be able to replace it.
2024-10-16 23:09:50 +02:00
Kubernetes Prow Robot
69333563e5
Merge pull request #126690 from googs1025/cli/add_ut
add printer unit test for DRA resources
2024-08-21 16:29:31 +01:00
googs1025
fd97b36da1 add printer unit test for DRA resources 2024-08-21 19:56:50 +08:00
googs1025
d28ee829f6 kubectl: added preemptionPolicy field when using kubectl get PriorityClass 2024-08-15 21:41:14 +08:00
Jefftree
e3e56eb1e2 CLE storage and type registration changes 2024-07-24 14:38:11 +00:00
carlory
0260c7d023 Promote VolumeAttributesClass to beta 2024-07-23 13:58:14 +08:00
Patrick Ohly
91d7882e86 DRA: new API for 1.31
This is a complete revamp of the original API. Some of the key
differences:
- refocused on structured parameters and allocating devices
- support for constraints across devices
- support for allocating "all" or a fixed amount
  of similar devices in a single request
- no class for ResourceClaims, instead individual
  device requests are associated with a mandatory
  DeviceClass

For the sake of simplicity, optional basic types (ints, strings) where the null
value is the default are represented as values in the API types. This makes Go
code simpler because it doesn't have to check for nil (consumers) and values
can be set directly (producers). The effect is that in protobuf, these fields
always get encoded because `opt` only has an effect for pointers.

The roundtrip test data for v1.29.0 and v1.30.0 changes because of the new
"request" field. This is considered acceptable because the entire `claims`
field in the pod spec is still alpha.

The implementation is complete enough to bring up the apiserver.
Adapting other components follows.
2024-07-22 18:09:34 +02:00
Patrick Ohly
de5742ae83 DRA: remove immediate allocation
As agreed in https://github.com/kubernetes/enhancements/pull/4709, immediate
allocation is one of those features which can be removed because it makes no
sense for structured parameters and the justification for classic DRA is weak.
2024-07-21 17:28:14 +02:00
Patrick Ohly
b51d68bb87 DRA: bump API v1alpha2 -> v1alpha3
This is in preparation for revamping the resource.k8s.io completely. Because
there will be no support for transitioning from v1alpha2 to v1alpha3, the
roundtrip test data for that API in 1.29 and 1.30 gets removed.

Repeating the version in the import name of the API packages is not really
required. It was done for a while to support simpler grepping for usage of
alpha APIs, but there are better ways for that now. So during this transition,
"resourceapi" gets used instead of "resourcev1alpha3" and the version gets
dropped from informer and lister imports. The advantage is that the next bump
to v1beta1 will affect fewer source code lines.

Only source code where the version really matters (like API registration)
retains the versioned import.
2024-07-21 17:28:13 +02:00
xuzhenglun
07198b90be
fix panic when watching ReplicationController with AllowWatchBookmarks enabled 2024-07-10 12:09:35 +08:00
Antonio Ojea
0e1f9dadd6 modify components to use the networking v1beta1 API 2024-06-30 09:48:46 +00:00
Kubernetes Prow Robot
e57f8ad80b
Merge pull request #125439 from Octopusjust/k8s-pr22
pkg/printers: drop deprecated pointer package
2024-06-26 10:58:48 -07: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
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
Kubernetes Prow Robot
74d578485d
Merge pull request #123910 from MarSik/fix-printer-leap-y
Fix printers tests - remove dependency on leap years
2024-05-22 07:51:29 -07:00
Jordan Liggitt
5c1660c5e9
Fix printPod panic with spurious container statuses 2024-05-16 09:16:37 -04:00
Martin Sivak
5ba8f886bf Fix printers tests - remove dependency on leap years
Test that were using AddDate(+y, 0, 0) and then time.Sub were
sensitive to a specific date of their execution.

An example is a test with AddDate(-5, 0, 0) when executed
on 28th of February 2024 and when executed on 1st of March 2024.

The difference seen by Sub will be 5y1d in the first case
and 5y2d in the second case, because 29th of Feb 2024 is a leap
year as well as 29th of Feb 2020 that falls within the 5 year
difference.

Signed-off-by: Martin Sivak <msivak@redhat.com>
2024-03-13 11:11:07 +01:00