Mark scheduling/v1alpha1 and scheduling/v1beta1 API deprecated by scheduling/v1

This commit is contained in:
Bobby (Babak) Salamat 2019-02-22 17:18:17 -08:00
parent d6de0454e9
commit 304244e4ae
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import (
// +genclient:nonNamespaced // +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass.
// PriorityClass defines mapping from a priority class name to the priority // PriorityClass defines mapping from a priority class name to the priority
// integer value. The value can be any valid integer. // integer value. The value can be any valid integer.
type PriorityClass struct { type PriorityClass struct {

View File

@ -24,6 +24,7 @@ import (
// +genclient:nonNamespaced // +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass.
// PriorityClass defines mapping from a priority class name to the priority // PriorityClass defines mapping from a priority class name to the priority
// integer value. The value can be any valid integer. // integer value. The value can be any valid integer.
type PriorityClass struct { type PriorityClass struct {