-
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
kops fails when using c5 instances on aws #3868
Comments
+1; perhaps kops should not care what size we specify, and let aws tell us if we were wrong? Else it's always catchup |
It is fixed in master and the current beta. Also the Debian base image that kops uses out of the box does not support ena driver. C5 requires that. So use the beta and you need a different ami |
If we can't get this supported in the default image, this at least has to be a warning. |
I agree, please put a warning up, was banging my head against the table all day of why pods were failing randomly on c5.4xlarge nodes. |
Copying the specific error here to aid others in googling:
|
Here is the issue for ENA driver with the base image kubernetes-retired/kube-deploy#292 |
It is fixed in master and the current beta. Also the Debian base image that kops uses out of the box does not support ena driver. C5 requires that.So use the beta and you need a different amiI used the beta Version 1.8.0-beta.1 (git-9b71713) binary with amazon/amzn-ami-hvm-2017.09.1.20171103-x86_64-gp2 ami which has support for ena. It still gives an error saying nodes.spec.machineType: Invalid value: "c5.2xlarge": machine type specified is invalid Please let me know what needs to be done. This solution is urgently required |
kubernetes-retired/kube-deploy#292 Thanks needs to be tested and completed |
Having ENA support by default would be great for all instances, not just C5. I've been running the modified image from my PR for several months now without any issues and was hoping it could get merged before the 1.8 stable release. |
@bcorjin the image and the kops releases are not always tied together |
#1558 is related, and kubernetes-retired/kube-deploy#292 needs to be fixed in the base image |
There are three aspects:
|
In regards to number 3. This means that k8s will not support mount pv as well, I assume. |
Exactly - so I have two PRs (with much the same code), one that adds nvme mounting to protokube, one that adds it to k8s. |
@justinsb @chrislovecnm |
kops 1.8.1 has support c5 instances but EC2 instance will failed. We need AMI update also |
Any idea about the timeline?
…On Tue, Dec 5, 2017 at 8:07 AM, Thuan Duong ***@***.***> wrote:
kops 1.8.1 has support c5 instances but EC2 instance will failed. We need
AMI update also
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3868 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH99ckkq4qjO7SGX8bcL9tAxZlNFsrlcks5s9Wo6gaJpZM4Qf0-g>
.
|
@justinsb mind linking those PRs for easy tracking from this ticket? |
This is fixed in 1.8. Please see release notes, let us know if you need more details!! |
kops 1.8 which is backwards compatible with k8s |
FYI, if you want use c5 please ensure you didn't use EBS volume. Because kubernetes 1.8 can't mount it as devices path. Waiting for 1.9 you want to use c5 with EBS |
To be clear pvc volumes are not supported in k8s 1.8 - will be supported in 1.9 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Is c5 instances supposed to work on 1.9.x now? I've started a cluster with c5.large nodes and the root volumes just got 8GB on / partition (but the volume starts with 128GB) and I got errors with PODs trying to attach PVCs. |
@diegocn PVCs is only works with current stable still use |
Hello @thuandt, thank you. |
+1 |
Running a few POCs with other workloads (not K8S), c5 instances are far better than t2. It would be really nice to have support for these instance type. |
Today i try to launch a cluster with c5 instances but the cluster doesn't work... |
C5 instances have been working for us, using the debian stretch AMI for about two months. Haven't had any problems relating to mounting volumes or any instability. |
@faheem-cliqz problem is upgrade. when do |
@thuandt do you have any code reference for that? |
@thuandt yup the upgrade part is a problem. We still get the upgrade messages. Just ignoring them for now, and try to upgrade as much as we can with cluster and instance group specs :) |
@chenrui333 upgrade pulls it's information from the channels, which have jessie images. https://github.com/kubernetes/kops/blob/master/channels/stable |
closed in #5660 |
I am running kops version 1.7.1 in aws, i used the amazon/amzn-ami-hvm-2017.09.1.20171103-x86_64-gp2 image, which has ena support. However, when I specify the --node-size c5.large, it fails.
c5 instances are launched recently, however is there a way kops can launch c5 instances?
The text was updated successfully, but these errors were encountered: