From ad82413e80897a6579f679267bb4d1f2f228c558 Mon Sep 17 00:00:00 2001 From: Inaki Fernandez Date: Mon, 4 May 2020 20:04:34 +0200 Subject: [PATCH] testing block of code 11 --- docs/kubernetes.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/kubernetes.md b/docs/kubernetes.md index c06ba1dd..7b426537 100644 --- a/docs/kubernetes.md +++ b/docs/kubernetes.md @@ -188,18 +188,20 @@ * **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: * Spin up ubuntu via vagrant: - ```powershell - C:\ubuntu> vagrant init ubuntu/xenial64 - C:\ubuntu> vagrant up - C:\ubuntu> vagrant ssh-config - C:\ubuntu> vagrant ssh - ``` + + ```powershell + C:\ubuntu> vagrant init ubuntu/xenial64 + C:\ubuntu> vagrant up + C:\ubuntu> vagrant ssh-config + C:\ubuntu> vagrant ssh + ``` * Runt kops installer: - ```bash - $ 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 - ``` + + ```bash + $ 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**](https://github.com/kubernetes/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. * [medium.com: **Demystifying High Availability in Kubernetes Using Kubeadm**](https://medium.com/velotio-perspectives/demystifying-high-availability-in-kubernetes-using-kubeadm-3d83ed8c458b) * [Ansible Role - Kubernetes (Jeff Geerling)](https://github.com/geerlingguy/ansible-role-kubernetes)