Get Cloud Ready!

Janakiram MSV

Subscribe to Janakiram MSV: eMailAlertsEmail Alerts
Get Janakiram MSV via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Blog Feed Post

Configuring Ultimate Development Environment for Kubernetes

There is a general perception that Kubernetes is meant only for professionals with advanced infrastructure management skills. While there is a bit of truth in it, there are multiple ways to configure Kubernetes without getting overwhelmed.

With each major release, Kubernetes is getting closer to the developer community. In its current form, it is extremely simple to turn your existing Mac or Windows machine into a powerful Kubernetes development environment. I am playing with Kubernetes on the new 12” Gold MacBook with 8GB RAM and 256GB storage powered by a 1.1GHz Intel Core M3 processor. By no means this is meant to be a developer workstation but, with Minikube, I am able to carry a full-blown Kubernetes environment with me.

This tutorial aims at enabling Docker developers to easily get started with Kubernetes. It will walk you through all the prerequisites, and the basic concepts to deploy your first microservices application powered by Kubernetes. Though this is based on Mac, it will work with Microsoft Windows 10 with just a few modifications.

What Do We Need?

First things first, let’s make an inventory of the tools that we need.

  1. VirtualBox: This is the core foundation on which we will configure the environment. Download the latest version of VirtualBox.
  2. Docker Toolbox: This is the essential component of our toolchain. We will extensively use Docker Machine for the configuration. Download the stable version of Docker Toolbox.
  3. DVM: It can get frustrating to deal with disparate Docker versions running within the same environment. Like Node Version Manager and Ruby Version Manager, this nifty tool makes it super simple to switch between multiple versions of Docker CLI. We will explore this tool in the later part of the tutorial. Follow these instructions on GitHub to get DVM on your machine.
  4. Minikube: All good things in life come in small packages, and Kubernetes is not an exception. Minikube is a tiny VM that comes bundled with a single node Kubernetes cluster. The best thing is that it can run on any machine that is capable of launching VirtualBox VMs. Get the latest binary from GitHub.
  5. Kubectl: Kubectl is the command line tool to interact with the Kubernetes cluster. Follow the instructions to download and install it.
  6. Docker for Windows or Mac [Optional]: Since we are dealing with Docker Machine for creating Swarm cluster, we don’t really need native installers for Windows and Mac. But if you prefer, you can also have it run side-by-side. Make sure that you are grabbing the latest installer.

Read the entire article at The New Stack.

Janakiram MSV is an analyst, advisor, and architect. Follow him on Twitter,  Facebook and LinkedIn.

Read the original blog entry...

More Stories By Janakiram MSV

Janakiram MSV heads the Cloud Infrastructure Services at Aditi Technologies. He was the founder and CTO of Get Cloud Ready Consulting, a niche Cloud Migration and Cloud Operations firm that recently got acquired by Aditi Technologies. In his current role, he leads a highly talented engineering team that focuses on migrating and managing applications deployed on Amazon Web Services and Microsoft Windows Azure Infrastructure Services.
Janakiram is an industry analyst with deep understanding of Cloud services. Through his speaking, writing and analysis, he helps businesses take advantage of the emerging technologies. He leverages his experience of engaging with the industry in developing informative and practical research, analysis and authoritative content to inform, influence and guide decision makers. He analyzes market trends, new products / features, announcements, industry happenings and the impact of executive transitions.
Janakiram is one of the first few Microsoft Certified Professionals on Windows Azure in India. Demystifying The Cloud, an eBook authored by Janakiram is downloaded more than 100,000 times within the first few months. He is the Chief Editor of a popular portal on Cloud called www.CloudStory.in that covers the latest trends in Cloud Computing. Janakiram is an analyst with the GigaOM Pro analyst network where he analyzes the Cloud Services landscape. He is a guest faculty at the International Institute of Information Technology, Hyderabad (IIIT-H) where he teaches Big Data and Cloud Computing to students enrolled for the Masters course. As a passionate speaker, he has chaired the Cloud Computing track at premier events in India.
He has been the keynote speaker at many premier conferences, and his seminars are attended by thousands of architects, developers and IT professionals. His sessions are rated among the best in every conference he participates.
Janakiram has worked at the world-class product companies including Microsoft Corporation, Amazon Web Services and Alcatel-Lucent. Joining as the first employee of Amazon Web Services in India, he was the AWS Technology Evangelist. Prior to that, Janakiram spent 10 years at Microsoft Corporation where he was involved in selling, marketing and evangelizing the Microsoft Application Platform and Tools.