mirror of
https://github.com/kubernetes/client-go.git
synced 2026-06-26 03:34:28 +00:00
Merge pull request #139586 from ania-borowiec/update_comment
Update doc comment for PodSpec.PreemptionPolicy to reflect the actual logic Kubernetes-commit: 1436bc703dda6414a5b595f4b51ea6846535299d
This commit is contained in:
@@ -172,6 +172,8 @@ type PodSpecApplyConfiguration struct {
|
||||
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty"`
|
||||
// PreemptionPolicy is the Policy for preempting pods with lower priority.
|
||||
// One of Never, PreemptLowerPriority.
|
||||
// When Priority Admission Controller is enabled, it prevents users from setting
|
||||
// this field. The admission controller populates this field from PriorityClassName.
|
||||
// Defaults to PreemptLowerPriority if unset.
|
||||
PreemptionPolicy *corev1.PreemptionPolicy `json:"preemptionPolicy,omitempty"`
|
||||
// Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.
|
||||
|
||||
2
go.mod
2
go.mod
@@ -23,7 +23,7 @@ require (
|
||||
golang.org/x/time v0.15.0
|
||||
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af
|
||||
gopkg.in/evanphx/json-patch.v4 v4.13.0
|
||||
k8s.io/api v0.0.0-20260615232748-81c42f23e19a
|
||||
k8s.io/api v0.0.0-20260616232806-63a6f1d7173a
|
||||
k8s.io/apimachinery v0.0.0-20260612190757-f27849d49709
|
||||
k8s.io/klog/v2 v2.140.0
|
||||
k8s.io/kube-openapi v0.0.0-20260519202549-bbf5c5577288
|
||||
|
||||
4
go.sum
4
go.sum
@@ -118,8 +118,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
|
||||
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
|
||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
k8s.io/api v0.0.0-20260615232748-81c42f23e19a h1:TLRGzrUToO8g6xKQDlFbyjhrZ+KHqx2EPezCidSqhMs=
|
||||
k8s.io/api v0.0.0-20260615232748-81c42f23e19a/go.mod h1:ePDAGKQgfRdEY+mrZ/CIsQkQBKIc2pXcbdmlNAjLKrA=
|
||||
k8s.io/api v0.0.0-20260616232806-63a6f1d7173a h1:M36qF6aYpIrOblTCxpXbRU1fwJBXeBZk9sE4oa0rams=
|
||||
k8s.io/api v0.0.0-20260616232806-63a6f1d7173a/go.mod h1:ePDAGKQgfRdEY+mrZ/CIsQkQBKIc2pXcbdmlNAjLKrA=
|
||||
k8s.io/apimachinery v0.0.0-20260612190757-f27849d49709 h1:zTLThshQeY/zVh3Gm8fFDf1D5fjMlZPInYWEfftomIM=
|
||||
k8s.io/apimachinery v0.0.0-20260612190757-f27849d49709/go.mod h1:fimydsj7+VrAUXJvVoRBL9TgvZfVdrtsBIEHiLUQC4I=
|
||||
k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc=
|
||||
|
||||
Reference in New Issue
Block a user