David Eads
92e3445e9d
add field and label selectors to authorization attributes
...
Co-authored-by: Jordan Liggitt <liggitt@google.com >
2024-07-19 15:06:47 -04:00
Kubernetes Prow Robot
eb58e5e002
Merge pull request #125976 from vrutkovs/apf-typemeta-print-type
...
flowcontrol: print object type when bootstrapping flowschemas
2024-07-18 07:39:19 -07:00
carlory
dae05f3b88
cleanup after JobPodFailurePolicy is promoted to GA
2024-07-18 10:00:56 +08:00
Kubernetes Prow Robot
5d40866fae
Merge pull request #125994 from carlory/fix-job-api
...
clean up codes after PodDisruptionConditions was promoted to GA
2024-07-17 14:37:09 -07:00
Shingo Omura
1663223e58
KEP-3619: should check supplementalGroupsPolicyInUse for oldNode in dropDisabledFields for node
2024-07-16 12:36:00 +09:00
Shingo Omura
f46ecf5648
KEP-3619: Wiring up from RuntimeFeatures.SupplementalGroupsPolicy(CRI) to NodeFeatures.SupplementalGroupsPolicy(API)
...
KEP-3619: fix typos in pkg/kubelet/container/runtime.go
2024-07-16 12:36:00 +09:00
Peter Hunt
86240aaca1
api: add user namespaces field to NodeRuntimeHandlerFeatures
...
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com >
2024-07-15 15:55:39 -04:00
Michal Wozniak
f1233ac5e0
JobPodFailurePolicy to GA
...
# Conflicts:
# pkg/controller/job/job_controller_test.go
2024-07-12 17:21:32 +02:00
Kubernetes Prow Robot
0a3330d6c9
Merge pull request #125510 from mimowo/extend-job-conditions
...
Delay setting terminal Job conditions until all pods are terminal
2024-07-12 08:12:46 -07:00
Michal Wozniak
70c4965270
Add more test cases for SuccessCriteriaMet
...
Cleanup error messages in the new code
Add validation for the Job controller fields
2024-07-12 11:22:26 +02:00
Kubernetes Prow Robot
2d4514e169
Merge pull request #125802 from mmorel-35/testifylint/len+empty
...
fix: enable empty and len rules from testifylint on pkg and staging package
2024-07-11 23:12:06 -07:00
Kubernetes Prow Robot
1080554307
Merge pull request #124969 from RomanBednar/pv-phase-transition-time-ga
...
graduate PersistentVolumeLastPhaseTransitionTime to GA in 1.31
2024-07-11 15:29:19 -07:00
Michal Wozniak
fb7704ba03
Delay setting terminal Job conditions until all pods are terminal
...
Fix the integration test typecheck
Fix after rebase
# Conflicts:
# pkg/controller/job/job_controller_test.go
2024-07-11 20:54:09 +02:00
Kubernetes Prow Robot
cdcaea687c
Merge pull request #125751 from ahg-g/elastic-job
...
Graduate ElasticIndexedJob to GA
2024-07-11 11:08:24 -07:00
carlory
850bc09e9b
clean up codes after PodDisruptionConditions was promoted to GA and locked to default
2024-07-11 10:40:21 +08:00
Kubernetes Prow Robot
4a214f6ad9
Merge pull request #125461 from mimowo/pod-disruption-conditions-ga
...
Graduate PodDisruptionConditions to stable
2024-07-09 11:08:13 -07:00
Vadim Rutkovsky
d028da92cf
flowcontrol: print object type when bootstrapping flowschemas
...
Print object type as Kind may be unset
2024-07-09 13:55:33 +02:00
Matthieu MOREL
f014b754fb
fix: enable empty and len rules from testifylint on pkg package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-07-06 23:15:43 +00:00
Michael Fraenkel
cd949bafa4
use MakePodSpec consistently ( #125805 )
...
cleaning up some tests after MakePod/MakePodSpec were introduced
2024-06-30 10:28:36 -07:00
Kubernetes Prow Robot
93d56511e6
Merge pull request #125021 from aojea/servicecidrbeta
...
KEP-1880 Multiple Service CIDRs: Graduate to Beta (2/2)
2024-06-30 08:53:25 -07:00
Antonio Ojea
0e1f9dadd6
modify components to use the networking v1beta1 API
2024-06-30 09:48:46 +00:00
Antonio Ojea
dbfdd074d0
update networking strategy and remove hardcode field on the test
2024-06-30 09:48:46 +00:00
Michael Fraenkel
a7264f95ff
pod terminationGracePeriodSeconds is always valid ( #124461 )
...
* Pod terminationGracePeriodSeconds is always valid
Validation of a pod spec will always use the pod's
TerminationGracePeriodSeconds value.
A set of pod test-helpers have been created to help construct Pods.
* remove unused func
* reduction
* reduce 2
* simplify test
* report invalid grace period
* update SupplementalGroupPolicy tests
2024-06-29 18:09:29 -07:00
ahg-g
be410c0dae
Graduate ElasticIndexedJob to GA
2024-06-28 17:00:29 +00:00
Michal Wozniak
780191bea6
review remarks for graduating PodDisruptionConditions
2024-06-28 17:32:27 +02:00
Michal Wozniak
bf0c9885a4
Graduate PodDisruptionConditions to stable
2024-06-28 16:36:51 +02:00
Antonio Ojea
f0fd893101
serve networking v1beta1 apis for ServiceCIDR and IP Address
2024-06-28 13:16:38 +00:00
Antonio Ojea
476b415873
simplify test code using the if with a short statement
2024-06-27 11:44:27 +00:00
Antonio Ojea
69360e9b5e
fix wrong comment on method to detect IPs out of ranges
2024-06-27 11:41:47 +00:00
Antonio Ojea
967ad95b53
use an AND to define the allocator readiness
2024-06-27 11:39:36 +00:00
Antonio Ojea
fed0517fba
fix typo enque should be enqueue
2024-06-27 11:37:32 +00:00
Antonio Ojea
9b1bad431b
implement dual write on Service ClusterIP allocator
...
MultiCIDRServiceAllocator implements a new ClusterIP allocator based on
IPAddress object to solve the problems and limitations caused by
existing bitmap allocators.
However, during the rollout of new versions, deployments need to support
a skew of one version between kube-apiservers. To avoid the possible
problem where there are multiple Services requests on the skewed
apiservers and that both allocate the same IP to different Services,
the new allocator will implement a dual-write strategy under the
feature gate DisableAllocatorDualWrite.
After the MultiCIDRServiceAllocator is GA, the DisableAllocatorDualWrite
can be enabled safely as all apiservers will run with the new
allocators. The graduation of DisableAllocatorDualWrite can also
be used to clean up the opaque API object that contains the old bitmaps.
If MultiCIDRServiceAllocator is enabled and DisableAllocatorDualWrite is disable
and is a new environment, there is no bitmap object created, hence, the
apiserver will initialize it to be able to write on it.
2024-06-27 11:33:36 +00:00
Antonio Ojea
418f98aae4
repairip wait for the default servicecidr
2024-06-27 11:33:36 +00:00
Antonio Ojea
b04ca186d8
replace the iptree on the ipallocator
...
ServiceCIDRs are protected by finalizers and the CIDRs fields are
inmutable once set, only the readiness state impact the allocator
as it can only allocate IPs if any of the ServiceCIDR is ready.
The Add/Update events triggers a reconcilation of the current state
of the ServiceCIDR present in the informers with the existing IP
allocators.
The Delete events are handled directly to update or delete the
corresponing IP allocator.
2024-06-27 11:33:36 +00:00
Antonio Ojea
f06b355daf
replace iptree on the repairip controller
2024-06-27 11:33:35 +00:00
Antonio Ojea
55c9b58e48
add new metric to record the latency to allocate an IP address
2024-06-27 11:33:35 +00:00
Kubernetes Prow Robot
fb0195df11
Merge pull request #123428 from atiratree/UnhealthyPodEvictionPolicy-GA
...
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-25 21:56:20 -07:00
Siyuan Zhang
403301bfdf
apiserver: Add API emulation versioning.
...
Co-authored-by: Siyuan Zhang <sizhang@google.com >
Co-authored-by: Joe Betz <jpbetz@google.com >
Co-authored-by: Alex Zielenski <zielenski@google.com >
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2024-06-25 22:12:11 +00:00
Filip Křepinský
68d34580e0
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-21 16:13:53 +02:00
Kubernetes Prow Robot
1519f80281
Merge pull request #125514 from DrAuYueng/remove-redundant-nil-check
...
Remove redundant nil check
2024-06-20 01:22:18 -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
Jordan Liggitt
d6d78c5581
Ensure controller revision data is valid json
2024-06-17 14:32:51 -04:00
DrAuYueng
52959abc95
Remove redundant nil check
2024-06-14 22:28:07 +08:00
Michal Wozniak
70f7c02bea
Cleanup eviction tests to make linter happy
2024-06-12 11:26:37 +02:00
Roman Bednar
5ea0c7be1e
graduate PersistentVolumeLastPhaseTransitionTime to GA in 1.31
2024-05-20 13:46:24 +02:00
Kubernetes Prow Robot
ac30b6a0e1
Merge pull request #121900 from carlory/rc-registry-test
...
rc registry: add unit test for UpdateStatus
2024-05-08 15:13:27 -07:00
Kubernetes Prow Robot
132c49c40b
Merge pull request #124738 from xuzhenglun/master
...
Remove GA ServiceNodePortStaticSubrange feature gate
2024-05-08 12:23:29 -07:00
Kubernetes Prow Robot
b36ddbb372
Merge pull request #124653 from m1kola/fix_error_message
...
admission-control: fix error message formatting
2024-05-08 10:15:54 -07:00
xuzhenglun
6d7a194e85
Remove GA ServiceNodePortStaticSubrange feature gate
2024-05-08 15:15:02 +08:00
Alvaro Aleman
6d0ac8c561
Use the generic/typed workqueue throughout
...
This change makes us use the generic workqueue throughout the project in
order to improve type safety and readability of the code.
2024-05-04 14:33:12 -04:00