forked from dandi/dandi-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spot-ig.yaml.j2
36 lines (36 loc) · 944 Bytes
/
spot-ig.yaml.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2020-03-25T17:25:18Z"
generation: 2
labels:
kops.k8s.io/cluster: {{ namespace }}.k8s.local
name: spot-ig
spec:
cloudLabels:
k8s.io/cluster-autoscaler/enabled: ""
k8s.io/cluster-autoscaler/{{ namespace }}.k8s.local: ""
k8s.io/cluster-autoscaler/node-template/label: ""
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20240207.1
machineType: c5a.24xlarge
maxPrice: "3.00"
maxSize: {{ max_spot }}
minSize: 0
mixedInstancesPolicy:
instances:
- c5a.24xlarge
- c5.24xlarge
- c5.metal
- c5ad.24xlarge
- c5d.24xlarge
- c5d.metal
onDemandAboveBase: 0
onDemandBase: 0
spotAllocationStrategy: capacity-optimized
nodeLabels:
kops.k8s.io/instancegroup: spot-ig
on-demand: "false"
role: Node
rootVolumeSize: {{ spot_volume_size }}
subnets:
- us-east-2a