0% found this document useful (0 votes)
338 views

Kubernetes For Developers

The document discusses the software tools needed for Kubernetes development. It recommends installing kubectl, minikube, and Docker to run a local single-node Kubernetes cluster and build containers. Optional tools like jq are also presented to help parse JSON results from Kubernetes.

Uploaded by

Edgar Martínez
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
338 views

Kubernetes For Developers

The document discusses the software tools needed for Kubernetes development. It recommends installing kubectl, minikube, and Docker to run a local single-node Kubernetes cluster and build containers. Optional tools like jq are also presented to help parse JSON results from Kubernetes.

Uploaded by

Edgar Martínez
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Kubernetes is a project open sourced from Google, now hosted by the cloud-native

computing foundation. It exposes many of the lessons from Google's experience of


running software in containers and makes it available to you. It encompasses not only
running containers, but grouping them together into services, scaling them
horizontally, as well as providing means to control how these containers interact
together and how they get exposed to the outside world.

What you need for development


In addition to your usual editing and programming tools, you will want to install the software
to leverage Kubernetes. The focus of this book is to let you do everything on your local
development machine, while also allowing you to expand and leverage a remote Kubernetes
cluster in the future if you need more resources. One of Kubernetes' benefits is how it treats
one or one hundred computers in the same fashion, allowing you to take advantage of the
resources you need for your software, and do it consistently, regardless of where they're
located.

The examples in this book will use command-line tools in a Terminal on your local machine.
The primary one will be kubectl, which communicates with a Kubernetes cluster. We will use
a tiny Kubernetes cluster of a single machine running on your own development system with
Minikube. I recommend installing the community edition of Docker, which makes it easy to
build containers for use within Kubernetes:

 kubectl: kubectl (how to pronounce that is an amusing diversion within the Kubernetes
community) is the primary command-line tool that is used to work with a Kubernetes
cluster. To install kubectl, go to the
page https://kubernetes.io/docs/tasks/tools/install-kubectl/ and follow the
instructions relevant to your platform.

 minikube: To install Minikube, go to the


page https://github.com/kubernetes/minikube/releases and follow the instructions for
your platform.

 docker: To install the community edition of Docker, go to the


webpage https://www.docker.com/community-editionand follow their instructions for
your platform.
Optional tools
In addition to kubectl, minikube, and docker, you may want to take advantage of additional
helpful libraries and command-line tools.

jq is a command-line JSON processor that makes it easy to parse results in more complex data
structures. I would describe it as grep's cousin that's better at dealing with JSON results. You
can install jq by following the instructions at https://stedolan.github.io/jq/download/. More
details on what jq does and how to use it can also be found
at https://stedolan.github.io/jq/manual/.

You might also like