-
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 + digital ocean #2150
Comments
So after reaching out to a few people on Twitter on the manner, it looks like we have have a small amount of interested parties here. Thanks everyone for helping connect me! I am going to reach out to the open source team at digital ocean and will follow up with more info as soon as I have it. |
+1 |
Looking at getting this into a future version of kops, but looking for volunteers to help code with me. I can manage the DO account and give everyone access (they were nice enough to give us a budget, and I am happy to "eat" any remaining costs) but we just need to make sure we aren't throwing money away 😄 If you are interested ping me and I will add you to the list, I have a really solid idea of everything that needs to be done, just looking for Go hackers to help code them. I can do it all myself too, but that might take a little longer 😉 Cheers |
@kris-nova I've been doing some work on kops + GCE and have noticed that a lot of the kops code assumes AWS. I would love to help refactor/generalize kops so it can be more pluggable with other cloud providers. Getting kops working with DO sounds like fun, I would be interested in helping in my free time :). Feel free to reach out on kubernetes slack. |
@andrewsykim I agree that we need to start refactoring into interfaces so we can start abstracting code paths. It is going to be tricky :P I need to take a look at what the vSphere folks did as well. |
I opened an umbrella issue re: better compatibility with cloud providers other than AWS: #2646. Hopefully in the long run it'll make it easier to add new cloud providers. |
Automatic merge from submit-queue Create cluster requirements for DigitalOcean Initial changes required to create a cluster state. Running `kops update cluster --yes` does not work yet. Note that DO has already adopted cloud controller managers (https://github.com/digitalocean/digitalocean-cloud-controller-manager) so we set `--cloud-provider=external`. This will end up being the case for aws, gce and vsphere over the next couple of releases. #2150 ```bash $ kops create cluster --cloud=digitalocean --name=dev.asykim.com --zones=tor1 I0821 18:47:06.302218 28623 create_cluster.go:845] Using SSH public key: /Users/AndrewSyKim/.ssh/id_rsa.pub I0821 18:47:06.302293 28623 subnets.go:183] Assigned CIDR 172.20.32.0/19 to subnet tor1 Previewing changes that will be made: I0821 18:47:11.457696 28623 executor.go:91] Tasks: 0 done / 27 total; 27 can run I0821 18:47:12.113133 28623 executor.go:91] Tasks: 27 done / 27 total; 0 can run Will create resources: Keypair/kops Subject o=system:masters,cn=kops Type client Keypair/kube-controller-manager Subject cn=system:kube-controller-manager Type client Keypair/kube-proxy Subject cn=system:kube-proxy Type client Keypair/kube-scheduler Subject cn=system:kube-scheduler Type client Keypair/kubecfg Subject o=system:masters,cn=kubecfg Type client Keypair/kubelet Subject o=system:nodes,cn=kubelet Type client Keypair/kubelet-api Subject cn=kubelet-api Type client Keypair/master Subject cn=kubernetes-master Type server AlternateNames [100.64.0.1, 127.0.0.1, api.dev.asykim.com, api.internal.dev.asykim.com, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local] ManagedFile/dev.asykim.com-addons-bootstrap Location addons/bootstrap-channel.yaml ManagedFile/dev.asykim.com-addons-core.addons.k8s.io Location addons/core.addons.k8s.io/v1.4.0.yaml ManagedFile/dev.asykim.com-addons-dns-controller.addons.k8s.io-k8s-1.6 Location addons/dns-controller.addons.k8s.io/k8s-1.6.yaml ManagedFile/dev.asykim.com-addons-dns-controller.addons.k8s.io-pre-k8s-1.6 Location addons/dns-controller.addons.k8s.io/pre-k8s-1.6.yaml ManagedFile/dev.asykim.com-addons-kube-dns.addons.k8s.io-k8s-1.6 Location addons/kube-dns.addons.k8s.io/k8s-1.6.yaml ManagedFile/dev.asykim.com-addons-kube-dns.addons.k8s.io-pre-k8s-1.6 Location addons/kube-dns.addons.k8s.io/pre-k8s-1.6.yaml ManagedFile/dev.asykim.com-addons-limit-range.addons.k8s.io Location addons/limit-range.addons.k8s.io/v1.5.0.yaml ManagedFile/dev.asykim.com-addons-storage-aws.addons.k8s.io Location addons/storage-aws.addons.k8s.io/v1.6.0.yaml Secret/admin Secret/kube Secret/kube-proxy Secret/kubelet Secret/system:controller_manager Secret/system:dns Secret/system:logging Secret/system:monitoring Secret/system:scheduler Must specify --yes to apply changes Cluster configuration has been created. Suggestions: * list clusters with: kops get cluster * edit this cluster with: kops edit cluster dev.asykim.com * edit your node instance group: kops edit ig --name=dev.asykim.com nodes * edit your master instance group: kops edit ig --name=dev.asykim.com master-tor1 Finally configure your cluster with: kops update cluster dev.asykim.com --yes ```
I have not forgotten about this, just haven't had much bandwidth lately. If anyone has time to work on this please let me know and I can provide some context on how to continue this work :). |
We are developing a cli for automated production ready k8s clusters provisioning and configuration |
@andrewsykim I interesting in DO provider. Could you provide some information to me? |
@wingyplus sorry for the late reply! So far kops + digitalocean support does:
What's left to do is:
Happy to answer anymore questions you might have :). |
Any updates on the current status? What is need to be production ready? I'll like to contribute, I just need more info on where the integration stands. Thanks! |
Hi @JorgeCeja! I expect that in the next release you should be able to stand up a working version of a kubernetes cluster. I don't recommend running kops + digitalocean in production any time soon since it's still in the very early stages of development, there are other use cases it will be helpful for though (my use cases are for developing kubernetes itself and E2E tests for other related projects). Some features that are missing though are:
Happy to help you tackle any of those. I will post here with instructions on how to get a cluster up and running once the next release is out |
For anyone interested, on kops 1.9 you should be able to build a working Kubernetes cluster on DigitalOcean with kops. More details here https://github.com/kubernetes/kops/blob/master/docs/tutorial/digitalocean.md#getting-started-with-kops-on-digitalocean |
Awesome work! This made my day! I will initially help by testing it. I am ok with go, but if you have any resources or help on how to approach one of these problems, in general, it will be very helpful. From there I can go ahead and give them one of them a shot (I am looking into tacking support for multiple masters). Thanks! |
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. |
Stale issues rot after 30d 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 rotten (will close once a beta is out) |
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. |
Stale issues rot after 30d 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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Personally I think this would be big win, but I am wondering if anyone else has any interest in running kubernetes on Digital Ocean with
kops
?I just want to get a feel for people interested to gauge how valuable this work would be. Cheers.
The text was updated successfully, but these errors were encountered: