Change API field references for scheduling v1, v1alpha1 and v1beta1
Signed-off-by: Chirayu Kapoor <dev.csociety@gmail.com>
This commit is contained in:
parent
8e48df1353
commit
776995e68e
@ -51,7 +51,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta
|
metav1.ObjectMeta
|
||||||
|
|
||||||
// The value of this priority class. This is the actual priority that pods
|
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||||
// receive when they have the name of this class in their pod spec.
|
// receive when they have the name of this class in their pod spec.
|
||||||
Value int32
|
Value int32
|
||||||
|
|
||||||
@ -63,12 +63,12 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
GlobalDefault bool
|
GlobalDefault bool
|
||||||
|
|
||||||
// Description is an arbitrary string that usually provides guidelines on
|
// description is an arbitrary string that usually provides guidelines on
|
||||||
// when this priority class should be used.
|
// when this priority class should be used.
|
||||||
// +optional
|
// +optional
|
||||||
Description string
|
Description string
|
||||||
|
|
||||||
// PreemptionPolicy it the Policy for preempting pods with lower priority.
|
// preemptionPolicy it the Policy for preempting pods with lower priority.
|
||||||
// This field is beta-level.
|
// This field is beta-level.
|
||||||
// +optional
|
// +optional
|
||||||
PreemptionPolicy *core.PreemptionPolicy
|
PreemptionPolicy *core.PreemptionPolicy
|
||||||
@ -84,6 +84,6 @@ type PriorityClassList struct {
|
|||||||
// +optional
|
// +optional
|
||||||
metav1.ListMeta
|
metav1.ListMeta
|
||||||
|
|
||||||
// Items is the list of PriorityClasses.
|
// items is the list of PriorityClasses.
|
||||||
Items []PriorityClass
|
Items []PriorityClass
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
// The value of this priority class. This is the actual priority that pods
|
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||||
// receive when they have the name of this class in their pod spec.
|
// receive when they have the name of this class in their pod spec.
|
||||||
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
|
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
|
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
|
||||||
|
|
||||||
// PreemptionPolicy is the Policy for preempting pods with lower priority.
|
// preemptionPolicy is the Policy for preempting pods with lower priority.
|
||||||
// One of Never, PreemptLowerPriority.
|
// One of Never, PreemptLowerPriority.
|
||||||
// Defaults to PreemptLowerPriority if unset.
|
// Defaults to PreemptLowerPriority if unset.
|
||||||
// +optional
|
// +optional
|
||||||
|
@ -35,7 +35,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
// The value of this priority class. This is the actual priority that pods
|
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||||
// receive when they have the name of this class in their pod spec.
|
// receive when they have the name of this class in their pod spec.
|
||||||
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
|
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
|
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
|
||||||
|
|
||||||
// PreemptionPolicy is the Policy for preempting pods with lower priority.
|
// preemptionPolicy is the Policy for preempting pods with lower priority.
|
||||||
// One of Never, PreemptLowerPriority.
|
// One of Never, PreemptLowerPriority.
|
||||||
// Defaults to PreemptLowerPriority if unset.
|
// Defaults to PreemptLowerPriority if unset.
|
||||||
// +optional
|
// +optional
|
||||||
|
@ -39,7 +39,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
|
||||||
|
|
||||||
// The value of this priority class. This is the actual priority that pods
|
// value represents the integer value of this priority class. This is the actual priority that pods
|
||||||
// receive when they have the name of this class in their pod spec.
|
// receive when they have the name of this class in their pod spec.
|
||||||
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
|
Value int32 `json:"value" protobuf:"bytes,2,opt,name=value"`
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ type PriorityClass struct {
|
|||||||
// +optional
|
// +optional
|
||||||
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
|
Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=description"`
|
||||||
|
|
||||||
// PreemptionPolicy is the Policy for preempting pods with lower priority.
|
// preemptionPolicy is the Policy for preempting pods with lower priority.
|
||||||
// One of Never, PreemptLowerPriority.
|
// One of Never, PreemptLowerPriority.
|
||||||
// Defaults to PreemptLowerPriority if unset.
|
// Defaults to PreemptLowerPriority if unset.
|
||||||
// +optional
|
// +optional
|
||||||
|
Loading…
Reference in New Issue
Block a user