To that end, I've followed a number of useful sources, including: -
Kubernetes on bare-metal in 10 minutes
How to Install and Configure Kubernetes and Docker on Ubuntu 18.04 LTS
Kubernetes Concepts
Quickstart for Calico on Kubernetes
to get a basic four node Kubernetes 1.17 cluster up and running across four Ubuntu VMs.
I'm now starting to play with various aspects of K8s, including labels and taints ...
I also found this to be rather fun: -
What even is a kubelet?
which explained how one can drop a YAML such as this: -
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
into here: -
/etc/kubernetes/manifests
and have K8s automagically spin up a pod ( collection of containers ) without fanfare ...
kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
default nginx-hatches1.fyre.ibm.com 1/1 Running 0 13m
kube-system calico-kube-controllers-74c9747c46-vdp6w 1/1 Running 0 21h
kube-system calico-node-cf4mb 0/1 Running 0 21h
kube-system calico-node-h55m5 1/1 Running 0 21h
kube-system calico-node-jdcs5 1/1 Running 0 21h
kube-system calico-node-m6c9k 1/1 Running 0 21h
kube-system coredns-6955765f44-2gp8k 1/1 Running 0 22h
kube-system coredns-6955765f44-rhnww 1/1 Running 0 22h
kube-system etcd-hatches1.fyre.ibm.com 1/1 Running 0 22h
kube-system kube-apiserver-hatches1.fyre.ibm.com 1/1 Running 0 22h
kube-system kube-controller-manager-hatches1.fyre.ibm.com 1/1 Running 0 22h
kube-system kube-proxy-4fxwb 1/1 Running 0 21h
kube-system kube-proxy-j6h5z 1/1 Running 0 21h
kube-system kube-proxy-tzxrt 1/1 Running 0 21h
kube-system kube-proxy-xzzqx 1/1 Running 0 22h
kube-system kube-scheduler-hatches1.fyre.ibm.com 1/1 Running 0 22h
which is nice ....
Final thanks to Julia Evans ( @b0rk on Twitter ) for her awesome blog, including: -
and 'twas she who introduced me to Kamal Marhubi who has written a series of blog posts: -
and the aforementioned: -
In case you wondered, I LOVE MY JOB!!!
No comments:
Post a Comment