Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-6550

Allow ClusterAutoscaler safe-to-evict annotation configuration at CheCluster level

XMLWordPrintable

    • False
    • None
    • False
    • User Experience

      When running DevSpaces on a cluster where ClusterAutoscaler is enabled, users' Workspace Pods can be evicted when they are running on a node that ClusterAutoscaler wants to scale down. One workaround is to add the following to the devfile for a Workspace:

      attributes:
        pod-overrides: {"metadata": {"annotations": {"cluster-autoscaler.kubernetes.io/safe-to-evict":"false"}}}

      It would be nice if there was an option at the CheCluster level to automatically add this annotation to all Workspace Pods so users are never interrupted by ClusterAutoscaler scale-down events.

            dakwon@redhat.com David Kwon
            rh-ee-ajaeger Aaron Jaeger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: