mirror of https://github.com/kubernetes/kops.git
update docs for cluster setting
This commit is contained in:
parent
faf4da0014
commit
2d157b372a
|
@ -146,7 +146,7 @@ metadata:
|
|||
...
|
||||
```
|
||||
|
||||
## Metadata Labels
|
||||
## InstanceGroup Metadata Labels
|
||||
|
||||
| Label | Description | Default |
|
||||
|---|---|---|
|
||||
|
@ -175,6 +175,27 @@ metadata:
|
|||
| `spotinst.io/autoscaler-resource-limits-max-memory` | Specify the maximum amount of total physical memory (in GiB units) that can be allocated to the cluster. | none |
|
||||
| `spotinst.io/restrict-scale-down` | Specify whether the scale-down activities should be restricted. | none |
|
||||
|
||||
## Cluster Metadata Labels
|
||||
```yaml
|
||||
# cluster.yaml
|
||||
# An Cluster with Ocean configuration.
|
||||
---
|
||||
apiVersion: kops.k8s.io/v1alpha2
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: "example"
|
||||
labels:
|
||||
spotinst.io/strategy-cluster-spread-nodes-by: "count"
|
||||
spotinst.io/strategy-cluster-orientation-availability-vs-cost: "balanced"
|
||||
...
|
||||
```
|
||||
|
||||
|
||||
| Label | Description | Default |
|
||||
|---|-----------------------------------------------------------------------|---|
|
||||
| `spotinst.io/strategy-cluster-spread-nodes-by` | Specify how Ocean will spread the nodes across markets by this value. | `count` |
|
||||
| `spotinst.io/strategy-cluster-orientation-availability-vs-cost` | Specify approach that Ocean takes while launching nodes. | `balanced` |
|
||||
|
||||
## Documentation
|
||||
|
||||
If you're new to [Spot](https://spot.io/) and want to get started, please checkout our [Getting Started](https://docs.spot.io/connect-your-cloud-provider/) guide, available on the [Spot Documentation](https://docs.spot.io/) website.
|
||||
|
|
Loading…
Reference in New Issue