Files
awesome-kubernetes/docs/kubernetes.md
2020-02-10 19:58:36 +01:00

26 KiB
Raw Blame History

Kubernetes

Local Installers

Production Cluster Installers

  • Kubernetes Cluster with Kops:

    • Minikube and docker client are great for local setups, but not for real clusters. Kops and kubeadm are tools to spin up a production cluster. You don't need both tools, just one of them.
    • On AWS, the best tool is kops
    • At some point AWS EKS (hosted kubernetes) will be available, at that point this will probably be the preferred option. (You won't need to maintain the masters).
    • For other installs, or if you can't get kops to work, you can use kubeadm
    • kubeadm is an alternative approach, kops is still recommended (on AWS) - you also have AWS integrations with kops automatically
    • Setup kops in your windows with virtualbox.org and vagrantup.com . Once downloaded, to type a new linux VM, just type in cmd/powershell:
    1. Spin up ubuntu via vagrant:
    C:\ubuntu> vagrant init ubuntu/xenial64
    C:\ubuntu> vagrant up
    [...]
    C:\ubuntu> vagrant ssh-config
    C:\ubuntu> vagrant ssh
    
    1. Runt kops installer:
    curl -LO https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
    chmod +x kops-linux-amd64
    sudo mv kops-linux-amd64 /usr/local/bin/kops
    
  • Kubernetes Cluster with Kubeadm It works on any deb / rpm compatible Linux OS, for example Ubuntu, Debian, RedHat or CentOS. This is the main advantage of kubeadm. The tool itself is still in beta (Q1 2018), but is expected to become stable somewhere this year. It's very easy to use and lets you spin kubernetes cluster in just a couple of minutes.

  • Ansible Role - Kubernetes (Jeff Geerling)

  • Kubespray

  • Conjure up

  • A Comparative Analysis of Kubernetes Deployment Tools: Kubespray, kops, and conjure-up

  • wecloudpro.com: Deploy HA kubernetes cluster in AWS in less than 5 minutes

Rancher

Helm and Kubernetes

Other tools

Demos

Spring PetClinic Sample Application

SpringBoot with Docker

Troubleshooting

Security

EKS

Docker in Docker

Videos