Gossip-based Kubernetes Cluster on AWS using Kops

Creating a Kubernetes cluster using Kops requires a top-level domain or a sub domain and setting up Route 53 hosted zones. This domain allows the worker nodes to discover the master and the master to discover all the etcd servers. This is also needed for kubectl to be able to talk directly with the master. This worked well but an additional hassle for the developers.

Kubernetes Logo

Kops 1.6.2 adds an experimental support for gossip-based, uses Weave Mesh, discovery of nodes. This makes the process of setting up Kubernetes cluster using Kops DNS-free, and much more simplified.

Let’s take a look!

  1. Install or upgrade kops:
  2. Check the version:
  3. Create an S3 bucket as “state store”:
  4. Create a Kubernetes cluster:
    It shows the output as:
    Wait for a few minutes for the cluster to be created.
  5. Validate the cluster:
  6. Get the list of nodes using kubectl:
  7. Deleting a cluster is pretty straight forward as well:

That’s it!

github.com/arun-gupta/kubernetes-java-sample provide several examples of getting started with Kubernetes.

File issues at github.com/kubernetes/kops/issues.

 

Be Sociable, Share!
  • Tweet

29 thoughts on “Gossip-based Kubernetes Cluster on AWS using Kops

  1. I’m trying this, but not seeing a master come up, just two nodes. Have you seen this?

  2. Thanks for leaving step-by-step pictures to set up kubernetes. The best voips are always clear and easy to use. I’ll try this one out.

  3. Thanks for the detailed tutorial! Planning to migrate to Kubernetes and Docker. coding and system design interview practice

  4. It is a great article. You will surely like this also because it is a great stuff, yeah it’s give us lots of interest and pleasure. Their opportunities are so fantastic and working style so speedy. Thank you for sharing the nice article.

  5. I have enjoyed reading many of the articles and posts contained on the website, keep up the good work and hope to read some more interesting content in the future.

  6. I have enjoyed reading many of the articles and posts contained on the website, keep up the good work and hope to read some more interesting content in the future. Thank you for bringing more information to this topic for me. I’m truly grateful and really impressed. Absolutely this article is incredible.

  7. Thank you for bringing more information to this topic for me. I’m truly grateful and really impressed. Absolutely this article is incredible. And it is so beautiful.

  8. I have used many OS and also this one… But I didn’t get that coding.
    Whats that thing? And for what can you tell me the explanation?

  9. Great information. Since last week, I am gathering details about java experience. There are some amazing details on your blog which I didn’t know. Good.

  10. Very interesting analysis. Great information. Since last week, I am gathering details about JAVA Experience . There are some amazing details on your blog which I didn’t know.i want to ask you…

    Does JavaScript include other frameworks like NodeJs or AngularJs ? Same for Java, does it include Android? And PHP ? I hope there would be some overlap, even though it is marginal. Thoughts?
    please Reply. Thanks.

  11. Very interesting analysis. Great information. Since last week, I am gathering details about JAVA Experience . There are some amazing details on your blog which I didn’t know.i want to ask you some thing.

    Does JavaScript include other frameworks like NodeJs or AngularJs ? Same for Java, does it include Android? And PHP ? I hope there would be some overlap, even though it is marginal. Thoughts?
    please Reply. Thanks.

  12. Great information. Since last week, I am gathering details about the Java experience.
    There are some amazing details on your blog which I didn’t know. Thanks alot!

  13. Great Post !! Very interesting topic will bookmark your site to check if you write more about in the future
    Dissertation Writing Service

  14. Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting this exclusive post for our vision.

  15. Recent developments in Kubernetes for data science and machine learning include the 2.3 release of Apache Spark with “native” Kubernetes support.

  16. You came up with best concept and discussed here how to create a Kubernetes cluster using Kops requires a top-level domain or a sub domain and setting up Route 53 hosted zones. Thanks for sharing such a full of informative stuff.

    Ida,
    Assignment writer at Assignment Help Folks – http://www.assignmenthelpfolks.com/

  17. I think this is an informative post and it is very useful and knowledgeable. I really enjoyed reading this post. big fan, thank you!

  18. An excellent writing on creating a Kubernetes cluster using Kops which requires a top-level domain or a sub domain and setting up Route 53 hosted zones that also allows the worker nodes to discover the master and the master to discover all the etcd servers.

    Caroline,
    Psychology personal statement writer,
    http://www.personalstatementfolks.co.uk/psychology-personal-statement/

  19. Hmmm. Great job man, You made it very well. I like to learn all day… and your points are really impressive and inspiration for everyone..

  20. Thanks for your article! I have read through some similar topics! However, your post has given me a very special impression, unlike other posts. I hope you continue to have valuable articles like this or more to share with everyone!

  21. Thinocr Academy with almost 10years of experience is one of the best training institute for Networking and Programming. It won’t be wrong if it is said that there is a lot of scope for students and professionals who have completed a course in Networking and programming. Thus we as a team have been putting in a lot of time and energy to study the ongoing trend and provide the best coaching.

  22. Nice article.
    This all information are very valuable for beginners, this all java concepts in this article are explain very clearly
    keep sharing.

  23. AWS is the most important for web hosting. For instant Support related to the Website Development Company in Delhi please visit http://www.divinesofttechnology.com/website-development/ for the proper solution.

  24. I’m glad I found this web site, I couldn’t find any knowledge on this matter prior to. Also, operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, I’m always looking for people to check out my web site.

Leave a Reply

Your email address will not be published. Required fields are marked *