Kubernetes a childs guide

As most of my “blogs” on this site, this post is a point of reference for me. A quick guide of the things I learned and has most probably forgot over time. I plan on coming back to this and adding (or removing) information I dont agree with or I don’t find useful anymore.

What is a container

Containers let you isolate an application so that its under the impression its running on its own private machine

The most popular container platform for this is Docker.

Kubernetes

In my mind its just a management system of containers. Deploying them, manageing them, failure recovery and scaling. Primarily used for micro services. The most common use case for kubernetes is with docker containers.

What do I need to get started

Eg like:

apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx:1.7.9
    ports:
    - containerPort: 80

How can you manage the cluster

At the moment, my team and I use Tectonic. Tectonic helps us check deployments and manage the cluster to some basic extent. However, its not perfect such as as losing the logs, unable to retrieve the event history for pods, not being very descriptive and a lot of black magic related to it.

Most of the time we feel we don’t have control of our own clusters. We are actively investigating other solutions, primarily moving to AWS EKS and using the default kubernetes dashboard.

Namespaces

👷🏻‍ UNDER CONTRUCTION 👷🏻‍

Kubectl

rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora