Commit Graph

225 Commits

Author SHA1 Message Date
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
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
ylink-lfs
b070b0a5c5 chore: residual boolptr and intptr removal 2025-07-23 00:57:50 +08:00
Goend
ce456c87f1 add SuccessCriteriaMet status for kubectl get job 2025-07-09 10:40:49 +08:00
Morten Torkildsen
39507d911f Add resource v1beta2 API 2025-03-26 14:41:09 +00: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
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
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
xuzhenglun
07198b90be fix panic when watching ReplicationController with AllowWatchBookmarks enabled 2024-07-10 12:09:35 +08: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
Nilekh Chaudhari
91a7708cdc feat: implements Storage Version Migration API in-tree
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2024-03-08 04:18:56 +00:00
Ivan Valdes
8854d360a5 printers: add status to jobs table 2024-03-01 11:47:35 -08:00
Paco Xu
e9b30a0d29 fix UT failure TestPrintIPAddressList 2024-03-01 11:15:36 +08:00
Huan Yan
01dbb85974 fix: correct incorrect comment & function name about SchedulingGated 2024-01-31 11:27:14 +08:00
Sreeram Venkitesh
1ad143177c Added metric resource name to HPA table (#122804)
* Added metric resource name to HPA table

* Added colon suggested from code review
2024-01-25 00:32:39 +01:00
Arda Güçlü
7897709ed0 Add timezone column in cronjob get command 2023-12-08 10:06:39 +03:00
Antonio Ojea
5123a93b34 printers: use new ServiceCIDR API
Change-Id: Iaedeb99fcdb6e27e9987bccb1ccc32fab7da71f6
2023-10-31 21:05:06 +00:00
Antonio Ojea
55a35bebee API printers
Change-Id: I7a0777bbd0b10e1a849c7891439b00622ec6b09c
2023-10-31 21:05:04 +00:00
carlory
ae90a69677 volumeattributesclass and core api changes 2023-10-31 11:18:56 +08:00
Antonio Ojea
c2d473f0d4 remove ClusterCIDR
KEP-2593 proposed to expand the existing node-ipam controller
to be configurable via a ClusterCIDR objects, however, there
were reasonable doubts on the SIG about the feature and after
several months of dicussions we decided to not move forward
with the KEP intree, hence, we are going to remove the existing
code, that is still in alpha.

https://groups.google.com/g/kubernetes-sig-network/c/nts1xEZ--gQ/m/2aTOUNFFAAAJ

Change-Id: Ieaf2007b0b23c296cde333247bfb672441fe6dfc
2023-10-14 19:06:22 +00:00
Kubernetes Prow Robot
370c85f5ab Merge pull request #118493 from kerthcet/cleanup/pod-status-reason
Remove reasons from PodConditionType
2023-08-30 01:40:47 -07:00
Gunju Kim
0a98707912 Sidecar: Update printPod to show restartable init container information 2023-07-08 07:26:13 +09:00
kerthcet
96ab232f5f Remove reasons from PodConditionType
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-06-07 11:47:47 +08:00
Stephen Kitt
45836971f2 cli: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-05-13 14:03:46 +02:00
Tim Hockin
bc302fa414 Replace uses of ObjectReflectDiff with cmp.Diff
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:48:03 -07:00
Antonio Ojea
d06dbadd14 IPAddress printers
Change-Id: I60f40f4fe20b3ebd61b8ee137e55bcdefc1f2c96
2023-03-14 22:58:07 +00:00
Kubernetes Prow Robot
bb7c9739a3 Merge pull request #114759 from my-git9/chore/k8staint
chore: add k8s node-role.kubernetes.io/control-plane taint
2023-01-31 21:01:17 -08:00
Paco Xu
cc0f828058 kubectl: remove psp support 2023-01-06 17:07:02 +08:00
xin.li
10ca605cdd chroe: add k8s node-role.kubernetes.io/control-plane taint
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-01-02 21:04:43 +08:00
Kubernetes Prow Robot
595ea32411 Merge pull request #113314 from cici37/celIntegration
CEL validation in Admission chain
2022-11-07 17:08:33 -08:00
Cici Huang
0486e06261 Adding new api version of admissionregistration.k8s.io v1alpha1 for CEL in Admission Control 2022-11-07 20:51:51 +00:00
Wei Huang
7b6293b6b6 APIs, Validation and condition enforcements
- New API field .spec.schedulingGates
- Validation and drop disabled fields
- Disallow binding a Pod carrying non-nil schedulingGates
- Disallow creating a Pod with non-nil nodeName and non-nil schedulingGates
- Adds a {type:PodScheduled, reason:WaitingForGates} condition if necessary
- New literal SchedulingGated in the STATUS column of `k get pod`
2022-11-03 14:32:34 -07:00
Tim Hockin
0153bfad16 Copy LoadBalancerStatus from core to networking
This type should never have been shared between Service and Ingress.
The `ports` field is unfortunate, but it is needed to stay compatible.
2022-11-02 16:13:31 -07:00
Abu Kashem
66fc0d7037 rename assuredConcurrencyShares for flowcontrol v1beta3 2022-09-26 15:34:10 -04:00
Sarvesh Rangnekar
0ee3719d0b Add describer and printer for ClusterCIDR API 2022-08-05 01:06:42 +00:00
Abu Kashem
788e151bc1 apiserver: printers should use int64
printers should use int64 to avoid a panic from DeepCopyJSONValue
2022-06-07 12:04:33 -04:00
James Laverack
7d57d5c70d Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)"
This reverts commit b9792a9dae.
2022-04-13 13:58:19 +01:00
Sarvesh Rangnekar
b9792a9dae Introduce APIs to support multiple ClusterCIDRs (#108290)
* Introduce networking/v1alpha1 api, ClusterCIDRConfig type

Introduce networking/v1alpha1 api group.

Add `ClusterCIDRConfig` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.

* Change ClusterCIDRConfig.NodeSelector type in api

* Fix review comments for API

* Update ClusterCIDRConfig API Spec

Introduce PerNodeHostBits field, remove PerNodeMaskSize
2022-03-30 19:39:00 -07:00