Repository navigation
docs: add v1.1.0 changelog entries #1736
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,40 @@ | ||
| # DevWorkspace Operator Changelog | ||
|
|
||
| # v1.1.0 | ||
|
|
||
| ## Features | ||
|
|
||
| ### Configurable pod scheduling for workspaces and operator-managed jobs [#1723](https://github.com/devfile/devworkspace-operator/pull/1723) | ||
|
|
||
| Adds `podAffinity`, `podAntiAffinity`, and `topologySpreadConstraints` fields to `config.workspace` in `DevWorkspaceOperatorConfig`. These scheduling constraints are applied to all pods the operator creates for a DevWorkspace: workspace pods, PVC cleanup Jobs, and backup Jobs (workspace restore is covered implicitly, as it runs as an init container in the workspace pod). Settings can be defined globally or overridden per workspace. | ||
|
|
||
| ```yaml | ||
| apiVersion: controller.devfile.io/v1alpha1 | ||
| kind: DevWorkspaceOperatorConfig | ||
| metadata: | ||
| name: devworkspace-operator-config | ||
| namespace: $OPERATOR_INSTALL_NAMESPACE | ||
| config: | ||
| workspace: | ||
| topologySpreadConstraints: | ||
| - maxSkew: 1 | ||
| topologyKey: kubernetes.io/hostname | ||
| whenUnsatisfiable: ScheduleAnyway | ||
| labelSelector: | ||
| matchExpressions: | ||
| - key: controller.devfile.io/devworkspace_id | ||
| operator: Exists | ||
|
Comment on lines
+25
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warn against spreading pods that share a ReadWriteOnce PVC. For per-user storage, workspaces in a namespace share a PVC. The default access mode is This selector can cause the scheduler to place a second workspace on another node. With a single-node volume, that workspace can then fail to attach the PVC and remain unavailable. (v1-33.docs.kubernetes.io) State that this example requires independent volumes or storage that supports multi-node access. Alternatively, use an example safe for shared
|
||
| podAntiAffinity: {} | ||
| podAffinity: {} | ||
| ``` | ||
|
|
||
| ## Bug Fixes & Improvements | ||
|
|
||
| - Prevent the shared `claim-devworkspace` PVC from getting stuck in `Terminating` when multiple workspaces are deleted at roughly the same time on Kubernetes >= 1.33 [#1725](https://github.com/devfile/devworkspace-operator/pull/1725). Note: this does not automatically unblock PVCs that are already stuck in `Terminating`; see the PR for recovery steps. | ||
| - Allow the OpenShift console namespace through the default workspace `NetworkPolicy`, so WebTerminal connections work when NetworkPolicy provisioning is enabled [#1724](https://github.com/devfile/devworkspace-operator/pull/1724) | ||
| - Preserve explicitly empty `ingress`/`egress` lists (deny-all) in `NetworkPolicyConfig` instead of falling back to default allow rules, and stop `GetDefaultNetworkPolicy` from mutating or sharing the operator's default rule objects [#1721](https://github.com/devfile/devworkspace-operator/pull/1721) | ||
| - Default the `imagePullPolicy` for operator-managed init containers (project-clone and DWOC-defined init containers) to `IfNotPresent` instead of `Always`; the global `workspace.imagePullPolicy` for user/devfile containers is unchanged [#1692](https://github.com/devfile/devworkspace-operator/pull/1692) | ||
|
|
||
| # v1.0.0 | ||
|
|
||
| ## Features | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.