Issue
Managed controllers are being evicted from Kubernetes nodes due to the lack of ephemeral storage requests and limits.
The node was low on resource: ephemeral-storage. Threshold quantity: ..., available: .... Container jenkins was using ..., request is 0, has larger consumption of ephemeral-storage.
Resolution
Add ephemeral storage requests and limits to the controller by:
-
Going to the operations center, and using the gear icon to configure the controller
-
Under the
Configure
page, scroll to theAdvanced configuration
section -
Under
YAML
add the following to set 10Gi (note that your controller may require more or less space depending on the number of jobs, and configuration of features that use ephemeral storage) as the ephemeral storage requests and limits:apiVersion: "apps/v1" kind: StatefulSet spec: template: spec: containers: - name: "jenkins" resources: requests: ephemeral-storage: "10Gi" limits: ephemeral-storage: "10Gi"
-
Save the configuration, and re-provision the controller