Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ support klusterlet priorityclass #319

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ spec:
value:
description: Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
type: string
priorityClassName:
description: PriorityClassName is the name of the PriorityClass that will be used by the deployed klusterlet agent. It will be ignored when the PriorityClass/v1 API is not available on the managed cluster.
type: string
registrationConfiguration:
description: RegistrationConfiguration contains the configuration of registration
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ spec:
type: object
type: array
type: object
priorityClassName:
description: PriorityClassName is the name of the PriorityClass that
will be used by the deployed klusterlet agent. It will be ignored
when the PriorityClass/v1 API is not available on the managed cluster.
type: string
registrationConfiguration:
description: RegistrationConfiguration contains the configuration
of registration
Expand Down
6 changes: 6 additions & 0 deletions operator/v1/types_klusterlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ type KlusterletSpec struct {
// It applies to all the containers in the deployments.
// +optional
ResourceRequirement *ResourceRequirement `json:"resourceRequirement,omitempty"`

// PriorityClassName is the name of the PriorityClass that will be used by the
// deployed klusterlet agent. It will be ignored when the PriorityClass/v1 API
// is not available on the managed cluster.
// +optional
PriorityClassName string `json:"priorityClassName,omitempty"`
}

// ServerURL represents the apiserver url and ca bundle that is accessible externally
Expand Down
1 change: 1 addition & 0 deletions operator/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading