Skip to content

Commit

Permalink
add comments to explain what's best effort resource requirement
Browse files Browse the repository at this point in the history
Signed-off-by: haolin <[email protected]>
  • Loading branch information
haowells committed Nov 24, 2023
1 parent d733700 commit 86842e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion operator/v1/types_klusterlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ type KlusterletSpec struct {
type ResourceQosClass string

const (
ResourceQosClassDefault ResourceQosClass = "Default"
// Default use resource setting in the template file
ResourceQosClassDefault ResourceQosClass = "Default"
// If all containers in the pod don't set resource request and limits, the pod is treated as BestEffort.
ResourceQosClassBestEffort ResourceQosClass = "BestEffort"
)

Expand Down

0 comments on commit 86842e3

Please sign in to comment.