mirror of https://github.com/kubernetes/kops.git
Karpenter : fallback on ondemand instance by default
This commit is contained in:
parent
197110947b
commit
4800f29d19
|
@ -66,6 +66,6 @@ As mentioned above, kOps will manage a Provisioner resource per InstanceGroup. I
|
||||||
### Other minor limitations
|
### Other minor limitations
|
||||||
|
|
||||||
* Control plane nodes must be provisioned with an ASG, not Karpenter.
|
* Control plane nodes must be provisioned with an ASG, not Karpenter.
|
||||||
* Provisioners will unconditionally use spot instances
|
* Provisioners will unconditionally use spot with a fallback on ondemand instances.
|
||||||
* Provisioners will unconditionally include burstable instance groups such as the T3 instance family.
|
* Provisioners will unconditionally include burstable instance groups such as the T3 instance family.
|
||||||
* kOps will not allow mixing arm64 and amd64 instances in the same Provider.
|
* kOps will not allow mixing arm64 and amd64 instances in the same Provider.
|
|
@ -69,7 +69,7 @@ spec:
|
||||||
version: 9.99.0
|
version: 9.99.0
|
||||||
- id: k8s-1.19
|
- id: k8s-1.19
|
||||||
manifest: karpenter.sh/k8s-1.19.yaml
|
manifest: karpenter.sh/k8s-1.19.yaml
|
||||||
manifestHash: cdcc6eea95393014d4b1d416a4a8e1b0ca997f2336e7c21a5488ad809b4463c9
|
manifestHash: a6856c8b9223d9ff50fa4f68cc01a44b52163fc5319f4e551f6aa6eda432d56f
|
||||||
name: karpenter.sh
|
name: karpenter.sh
|
||||||
selector:
|
selector:
|
||||||
k8s-addon: karpenter.sh
|
k8s-addon: karpenter.sh
|
||||||
|
|
|
@ -1419,6 +1419,7 @@ spec:
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- spot
|
- spot
|
||||||
|
- ondemand
|
||||||
- key: kubernetes.io/arch
|
- key: kubernetes.io/arch
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
|
@ -1455,6 +1456,7 @@ spec:
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- spot
|
- spot
|
||||||
|
- ondemand
|
||||||
- key: kubernetes.io/arch
|
- key: kubernetes.io/arch
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
|
|
|
@ -1159,7 +1159,7 @@ spec:
|
||||||
requirements:
|
requirements:
|
||||||
- key: karpenter.sh/capacity-type
|
- key: karpenter.sh/capacity-type
|
||||||
operator: In
|
operator: In
|
||||||
values: ["spot"]
|
values: ["spot", "ondemand"]
|
||||||
- key: kubernetes.io/arch
|
- key: kubernetes.io/arch
|
||||||
operator: In
|
operator: In
|
||||||
values: ["{{ ArchitectureOfAMI $spec.Image }}"]
|
values: ["{{ ArchitectureOfAMI $spec.Image }}"]
|
||||||
|
|
Loading…
Reference in New Issue