# io.k8s.api.core.v1.PreferredSchedulingTerm

From **Kubernetes**.

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

- Type: `object`

## Properties

### `preference`

- Required: true
- Default: `{}`

A node selector term, associated with the corresponding weight.

### `weight`

- Required: true
- Type: `integer`
- Format: `int32`
- Default: `0`

Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

## JSON Schema

```json
{"description":"An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).","properties":{"preference":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.core.v1.NodeSelectorTerm"}],"default":{},"description":"A node selector term, associated with the corresponding weight."},"weight":{"default":0,"description":"Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.","format":"int32","type":"integer"}},"required":["weight","preference"],"type":"object"}
```
