Difference between revisions of "Kubernetes"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
# Getting Started with Calico as network control plane
 
# Getting Started with Calico as network control plane
 +
 +
https://docs.projectcalico.org/v3.8/getting-started/
  
 
## Install
 
## Install

Revision as of 18:41, 21 July 2019

You have two basic general flavors. Kubernetes and OKD (used to be OpenShift Origin). OKD uses HAProxy for routes while Kubernetes uses ingress and supports a bunch of different reverse proxy mechanisms including nginx. I think Kubernetes is developed enough over the last couple of years that it is a good option, maybe even better than openshift. Ubuntu Kubernetes is probably the best fit for now over kubeadm and other options.

Getting Started with Calico as network control plane

https://docs.projectcalico.org/v3.8/getting-started/

Install

https://docs.projectcalico.org/v3.7/getting-started/kubernetes/

Note, if you want vxlan and easier in some ways but less scale/security try using flannel

Test it

https://docs.projectcalico.org/v3.7/security/simple-policy

Test simple container

Make sure dns and outbound connections are working

https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/

change example to busybox to ubuntu:bionic, debian:buster or whatever and rock an os.

Commands

kubeadm token create --print-join-command

kubectl port-forward service/my-service 48080:8080

Getting Started

https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/

https://medium.com/@its_somrah/kubernetes-101-the-anatomy-b69831cf75be

https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address/

https://medium.com/@anilkreddyr/kubernetes-with-flannel-understanding-the-networking-part-2-78b53e5364c7

https://stackoverflow.com/questions/44110876/kubernetes-service-external-ip-pending

https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/

https://kubernetes.io/docs/reference/kubectl/cheatsheet/

Install On Ubuntu

Using kubeadm

https://linuxconfig.org/how-to-install-kubernetes-on-ubuntu-18-04-bionic-beaver-linux

MiniKube

https://dasunhegoda.com/kubernetes-running-locally-via-minikube/1204/

Microk8s

Kubernetes Charmed

https://kubernetes.io/docs/getting-started-guides/ubuntu/

https://docs.conjure-up.io/stable/en/user-manual#users-of-lxd

https://www.ubuntu.com/kubernetes

https://codefresh.io/kubernetes-tutorial/local-kubernetes-linux-minikube-vs-microk8s/

https://www.ubuntu.com/kubernetes/docs/quickstart

Comparisons