Skip to content

Commit

Permalink
[ws-manager] Handle psi feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Furisto committed Oct 19, 2022
1 parent 92af76c commit 3871511
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/ws-manager/pkg/manager/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,9 @@ func (m *Manager) createDefiniteWorkspacePod(startContext *startWorkspaceContext
case api.WorkspaceFeatureFlag_WORKSPACE_CONNECTION_LIMITING:
annotations[kubernetes.WorkspaceNetConnLimitAnnotation] = util.BooleanTrueString

case api.WorkspaceFeatureFlag_WORKSPACE_PSI:
annotations[kubernetes.WorkspacePressureStallInfoAnnotation] = util.BooleanTrueString

default:
log.Warnf("Unknown feature flag %v", feature)
}
Expand Down

0 comments on commit 3871511

Please sign in to comment.