Image Image Image Image Image
Scroll to Top

To Top

Devops Archives - THEMWEBS

17

Apr
2018

In Devops

By Manny

kubernetes cheatsheet, commands to remember

On 17, Apr 2018 | In Devops | By Manny

Here are some useful kubernetes commands for future to me to look back on and remember. Maybe you find them useful too.

get pods
kubectl get po
and
kubectl get po -w
-w is for watch so you can watch your pods die and come back to life

create deploy
kubectl create -f myawesomeconfig.yml

delete deploy
kubectl delete my-not-so-awesome-deployment

exec into pod
ssh into pod to do terminal stuff like working with your interactive Python, PHP or node shells
kubectl exec -ti my-awesome-app-1234 bash

get services
kubectl get sv
and
kubectl get services

read logs
kubectl logs my-awesome-app

decribe pods, get detailed information about the pods status
kubectl describe po my-awesome-app

Tags |

11

Oct
2017

In Audiobooks
Devops

By Manny

The Phoenix Project

On 11, Oct 2017 | In Audiobooks, Devops | By Manny

I recently got into audio books and became an Audible subscriber. One of the first books I got stuck into was The Phoenix Project by Gene Kim, Kevin Behr, George Spafford.

This is a great book (audiobook). I had so much fun listening to this book in the traffic and on the bus rides into work, I highly recommend it if you are in the IT industry. It’s fast paced listening very funny and dramatic in places.

You should check it out for sure.

 

26

Dec
2016

In Devops
Web Development

By Manny

What is Kubernetes?

On 26, Dec 2016 | In Devops, Web Development | By Manny

Kubernetes is a very powerful system used for managing containerised software applications in a clustered environment.

It is a command line driven orchestration system developed by Google to manage containerised applications across a cluster of nodes in a cloud architecture environment like Google Cloud Platform.

Pods

A pod is unit managed by kubernetes and you. It is made up of one ore more containers that make up your application.

Services

Services act as a load balancer for other containers.

Services are an interface to a group of containers they provide a single access point.

By deploying a service, you easily get discover-ability and simplify your container design.

Replication controllers

A replication controller helps you manage your containers by allowing you to kill and bring to life new and existing containers.

Horizontally scaled. If a container temporarily dies the replication controller kicks into action a replacement container automatically.

Labels

Is tag that is used for managing your pods by naming them with key value pairs. Its for keeping organised, mostly meta data in file.