-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with LaunchTemplate and SpotPrice #7049
Comments
Just to be clear, is the spot price actually getting set in AWS when you run or is Kops not actually setting the value in AWS at all? |
I created a apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: 2019-05-24T08:02:18Z
labels:
kops.k8s.io/cluster: XXX
name: test
spec:
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
machineType: t2.medium
maxPrice: "0.01"
maxSize: 0
minSize: 0
mixedInstancesPolicy:
instances:
- t2.small
- t3.small
onDemandAboveBase: 0
spotInstancePools: 1
nodeLabels:
kops.k8s.io/instancegroup: test
role: Node
subnets:
- us-east-1a
- us-east-1b
- us-east-1c
- us-east-1d
- us-east-1e
- us-east-1f using the commands:
The "Adavanced details" of "Launch Template" are: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1. What
kops
version are you running? The commandkops version
, will displaythis information.
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
I wish to lunch a instance group with a single spot instance.
command:
kops edit ig devops
command:
kops update cluster --yes
5. What happened after the commands executed?
It prints
Cluster changes have been applied to the cloud.
6. What did you expect to happen?
I run the command
kops update cluster
, the result is:LaunchTemplate misses of spot max price.
I hope the issue is reproducible, otherwise I will provide further informations.
The text was updated successfully, but these errors were encountered: