# Google Cloud Container V1 Client - Class EvictionSignals (2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.0 2.3.4 2.2.1 2.1.0 2.0.0 1.33.0 1.32.0 1.31.0 1.30.3 1.24.0 1.23.0 1.22.0 1.21.1 1.20.0 1.19.0 1.18.0 1.17.1 1.16.0 1.15.0 1.14.0 1.13.1 1.12.1 1.10.3 1.9.1 Reference documentation and code samples for the Google Cloud Container V1 Client class EvictionSignals.

Eviction signals are the current state of a particular resource at a specific
point in time. The kubelet uses eviction signals to make eviction decisions
by comparing the signals to eviction thresholds, which are the minimum amount
of the resource that should be available on the node.

Generated from protobuf message `google.container.v1.EvictionSignals`

## Namespace

Google \\ Cloud \\ Container \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ memory_available` | `string` Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of "memory.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be \>= 100Mi and \<= 50% of the node's memory. See <https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals> |
| `↳ nodefs_available` | `string` Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be \>= 10% and \<= 50%. See <https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals> |
| `↳ nodefs_inodes_free` | `string` Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be \>= 5% and \<= 50%. See <https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals> |
| `↳ imagefs_available` | `string` Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of "imagefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be \>= 15% and \<= 50%. See <https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals> |
| `↳ imagefs_inodes_free` | `string` Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of "imagefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be \>= 5% and \<= 50%. See <https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals> |
| `↳ pid_available` | `string` Optional. Amount of PID available for pod allocation. Defines the amount of "pid.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be \>= 10% and \<= 50%. See <https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals> |

### getMemoryAvailable

Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines
the amount of "memory.available" signal in kubelet. Default is unset, if
not specified in the kubelet config. Format: positive number + unit, e.g.

100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be \>= 100Mi and \<= 50%
of the node's memory. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMemoryAvailable

Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines
the amount of "memory.available" signal in kubelet. Default is unset, if
not specified in the kubelet config. Format: positive number + unit, e.g.

100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be \>= 100Mi and \<= 50%
of the node's memory. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNodefsAvailable

Optional. Amount of storage available on filesystem that kubelet uses for
volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal
in kubelet. Default is unset, if not specified in the kubelet config. It
takses percentage value for now. Sample format: "30%". Must be \>= 10% and
\<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNodefsAvailable

Optional. Amount of storage available on filesystem that kubelet uses for
volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal
in kubelet. Default is unset, if not specified in the kubelet config. It
takses percentage value for now. Sample format: "30%". Must be \>= 10% and
\<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNodefsInodesFree

Optional. Amount of inodes available on filesystem that kubelet uses for
volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal
in kubelet. Default is unset, if not specified in the kubelet config. Linux
only. It takses percentage value for now. Sample format: "30%". Must be \>=
5% and \<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNodefsInodesFree

Optional. Amount of inodes available on filesystem that kubelet uses for
volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal
in kubelet. Default is unset, if not specified in the kubelet config. Linux
only. It takses percentage value for now. Sample format: "30%". Must be \>=
5% and \<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getImagefsAvailable

Optional. Amount of storage available on filesystem that container runtime
uses for storing images layers. If the container filesystem and image
filesystem are not separate, then imagefs can store both image layers and
writeable layers. Defines the amount of "imagefs.available" signal in
kubelet. Default is unset, if not specified in the kubelet config. It
takses percentage value for now. Sample format: "30%". Must be \>= 15% and
\<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setImagefsAvailable

Optional. Amount of storage available on filesystem that container runtime
uses for storing images layers. If the container filesystem and image
filesystem are not separate, then imagefs can store both image layers and
writeable layers. Defines the amount of "imagefs.available" signal in
kubelet. Default is unset, if not specified in the kubelet config. It
takses percentage value for now. Sample format: "30%". Must be \>= 15% and
\<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getImagefsInodesFree

Optional. Amount of inodes available on filesystem that container runtime
uses for storing images layers. Defines the amount of "imagefs.inodesFree"
signal in kubelet. Default is unset, if not specified in the kubelet
config. Linux only. It takses percentage value for now. Sample format:
"30%". Must be \>= 5% and \<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setImagefsInodesFree

Optional. Amount of inodes available on filesystem that container runtime
uses for storing images layers. Defines the amount of "imagefs.inodesFree"
signal in kubelet. Default is unset, if not specified in the kubelet
config. Linux only. It takses percentage value for now. Sample format:
"30%". Must be \>= 5% and \<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPidAvailable

Optional. Amount of PID available for pod allocation. Defines the amount of
"pid.available" signal in kubelet. Default is unset, if not specified in
the kubelet config. It takses percentage value for now. Sample format:
"30%". Must be \>= 10% and \<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPidAvailable

Optional. Amount of PID available for pod allocation. Defines the amount of
"pid.available" signal in kubelet. Default is unset, if not specified in
the kubelet config. It takses percentage value for now. Sample format:
"30%". Must be \>= 10% and \<= 50%. See
<https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals>

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |