Kubernetes Prow Robot
7590cb7adf
Merge pull request #125257 from vinayakankugoyal/armor
...
KEP-24: Update AppArmor feature gates to GA stage.
2024-07-23 09:20:52 -07: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
Vinayak Goyal
bc06071495
Update AppArmor feature gates to GA stage.
...
Signed-off-by: Vinayak Goyal <vinaygo@google.com >
2024-07-15 23:29:37 +00: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
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
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
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
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
Kubernetes Prow Robot
fb0195df11
Merge pull request #123428 from atiratree/UnhealthyPodEvictionPolicy-GA
...
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-25 21:56:20 -07:00
Filip Křepinský
68d34580e0
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-21 16:13:53 +02: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
Michal Wozniak
70f7c02bea
Cleanup eviction tests to make linter happy
2024-06-12 11:26:37 +02:00
Marek Siarkowicz
3ee8178768
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 20:25:29 +02:00
Lan Liang
78762c70db
u
2024-04-15 09:24:44 +00:00
Tim Allclair
7bd78b06e9
Warn on deprecated AppArmor annotation use
2024-03-07 09:51:48 -08:00
Tim Allclair
2d86cbf261
Separate feature-gate for AppArmor fields
2024-03-06 10:46:32 -08:00
Tim Allclair
06caf32ecd
Validate localhost profile max length
2024-03-06 10:46:31 -08:00
Tim Allclair
0eb5f52d06
Rename AppArmor annotation constants with Deprecated
2024-03-06 10:46:31 -08:00
Tim Allclair
ec325b328d
Match annotations against pod AppArmor field
2024-03-05 12:22:50 -08:00
Tim Allclair
289ec02e8b
Implement version skew strategy
2024-03-05 12:22:50 -08:00
Sean Sullivan
8b447d8c97
portforward: tunnel spdy through websockets
2024-03-04 11:10:30 -08:00
Wei Huang
01db4ae9e7
Graduate PodSchedulingReadiness to stable
2024-02-28 23:18:44 -08:00
Kubernetes Prow Robot
0deaf12b88
Merge pull request #123044 from yanhuan0802/fix-incorrect-comment
...
fix: correct incorrect comment & function name about SchedulingGated
2024-02-20 09:42:03 -08:00
AxeZhan
c74ec3df09
graduate PodLifecycleSleepAction to beta
2024-02-19 19:40:52 +08:00
Huan Yan
01dbb85974
fix: correct incorrect comment & function name about SchedulingGated
2024-01-31 11:27:14 +08:00
lianghao208
bbcb4ee690
fix null lastTransitionTime in pod condition when setting scheduling gate
2024-01-08 12:24:39 +08:00
ahutsunshine
d8bd150784
support pod namespace indexer
...
fix comments
optimize code
small optimization for the namespace scope check
2023-11-30 18:39:09 +08:00
Kubernetes Prow Robot
00b56955fd
Merge pull request #121210 from msau42/owners
...
Add sig OWNERS to registry packages
2023-10-31 20:23:59 +01:00
Michelle Au
c4aab1036f
Add sig OWNERS to registry packages
2023-10-31 01:20:16 +00:00
Sean Sullivan
168998e87b
StreamTranslator and FallbackExecutor for WebSockets
2023-10-23 15:33:38 -07:00
Kensei Nakada
d5d3c26337
feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity
2023-10-18 11:28:02 +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
Lukasz Szaszkiewicz
ccabc01093
storage/factory: extend the Create method by newList and resourcePrefix params
2023-08-24 11:23:05 +02:00
Sai Ramesh Vanka
a6329ac453
Fix to honor PDB with an empty selector {}
...
PDB with an empty selector `{}` is selecting all the pods in a namespace.
But, during the `drain`, all the pods are getting evicted which is not expected.
This change should fix the issue and honor the pdb before evicting the pods.
Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com >
2023-08-08 17:28:48 +05:30
Dan Winship
bb0c3a0818
Remove proxyutil.IsProxyableIP / IsProxyableHostname
...
These don't belong in pkg/proxy/util; they involve a completely
unrelated definition of proxying.
Since each is only used from one place, just inline them at the
callers.
2023-07-01 08:49:38 -04:00
kerthcet
96ab232f5f
Remove reasons from PodConditionType
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-06-07 11:47:47 +08:00
Tim Hockin
4bbf611773
Retool validation for pod HostNetwork ports
...
This will ensure that HostPort == ContainerPort for pods and that
HostPort == 0 || HostPort == ContainerPort for embedded PodSpecs.
2023-05-09 18:10:44 -07:00
Kubernetes Prow Robot
25a25e27a9
Merge pull request #110477 from halfcrazy/feat/hostnetwork-fieldsel
...
support fieldSelector spec.hostNetwork
2023-04-21 18:13:11 -07:00
Yan Zhu
7fb88eec73
support fieldSelector spec.hostNetwork
...
Signed-off-by: Yan Zhu <hackzhuyan@gmail.com >
2023-04-17 13:19:35 +08: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
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
Paco Xu
b83600de01
fix nil pointer dereference panic for deprecated metrics
2023-03-24 18:50:43 +08:00
Kubernetes Prow Robot
15894cfc85
Merge pull request #116550 from alculquicondor/fix-bind-uid
...
Preserve UID and ResourceVersion in BindingREST
2023-03-20 08:49:20 -07:00
Aldo Culquicondor
62889f416c
Preserve UID/ResourceVersion in the BindingREST endpoint
...
Change-Id: If4023da10c455963a320fdb9fc2a73c099bea3db
2023-03-20 10:29:25 -04:00
Filip Křepinský
51c0e2374f
API-initiated eviction: handle deleteOptions correctly
...
when adding a DisruptionTarget condition into a pod that will be deleted
- handle ResourceVersion and Preconditions correctly
- handle DryRun option correctly
Co-authored-by: Jordan Liggitt jordan@liggitt.net
2023-03-17 22:18:07 +01:00
Kubernetes Prow Robot
94e30facdb
Merge pull request #114497 from dgrisonnet/pod-logs-metrics
...
Remove redundant subsystem in kube-apiserver pod logs metrics name
2023-03-10 12:40:41 -08:00
Damien Grisonnet
1efa1a65ee
pkg/registry: rename pod logs metrics
...
The pod_logs subsystem was inadvertently made redundant in the following
kube-apiserver metrics:
- kube_apiserver_pod_logs_pods_logs_backend_tls_failure_total
- kube_apiserver_pod_logs_pods_logs_insecure_backend_total
To safely rename them, it is required to deprecate them in 1.27 whilst
introducing the new metrics replacing them.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2023-03-10 17:43:09 +01:00
Vinay Kulkarni
76962b0fa7
In-place Pod Vertical Scaling - API changes
...
1. Define ContainerResizePolicy and add it to Container struct.
2. Add ResourcesAllocated and Resources fields to ContainerStatus struct.
3. Define ResourcesResizeStatus and add it to PodStatus struct.
4. Add InPlacePodVerticalScaling feature gate and drop disabled fields.
5. ResizePolicy validation & defaulting and Resources mutability for CPU/Memory.
6. Various fixes from code review feedback (originally committed on Apr 12, 2022)
KEP: /enhancements/keps/sig-node/1287-in-place-update-pod-resources
2023-02-24 17:18:04 +00:00