Crochets: [] : MAJ + Option + ( ou )
Accolades: {} : Option + ( ou )
Pipe: | : MAJ+Option+L : |
Tilde: ~ : Option+n
AntiSlash: \ : MAJ + Option + /
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Initialize the cluster | |
| sudo kubeadm init --pod-network-cidr=10.244.0.0/16 | |
| # Set up local kubeconfig | |
| mkdir -p $HOME/.kube | |
| sudo cat /etc/kubernetes/admin.conf > $HOME/.kube/config | |
| chmod 600 $HOME/.kube/config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get the Docker gpg key | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| # Add the Docker repository | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| # Get the Kubernetes gpg key | |
| curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
| # Add the Kubernetes repository |