Update /etc/docker/daemon.json file.
{
"log-opts": {
"max-size": "10m",Cascadia Code font Download
setting.json
"defaults":
{
"colorScheme": "One Half Dark",
"font":git config --global pull.rebase false
git config --global fetch.prune true
git config --global diff.colorMoved zebra
git config --global commit.gpgsign truemkdir -p ~/.ssh
echo "Host *" > ~/.ssh/config
echo " StrictHostKeyChecking no" >> ~/.ssh/configssh -o StrictHostKeyChecking=no user@host
| WSL 2 in CLI Mode: | |
| winver (needs Windows 10 2004 or above) | |
| Open> Turn Windows features on and off | |
| Select> | |
| - Virtual Machine Platform | |
| - Windows Subsystem for Linux | |
| Press> OK (system restart) |
ext install CoenraadS.bracket-pair-colorizer-2ext install ms-vscode.cpptoolsext install ms-vscode.cmake-toolsext install adpyke.codesnapext install EditorConfig.EditorConfigext install dbaeumer.vscode-eslintext install mhutchie.git-graph| # ansible-playbook shutdown.yml -K | |
| --- | |
| - name: shutdown | |
| hosts: all | |
| become: 'yes' | |
| become_method: sudo | |
| tasks: | |
| - name: shutdown hosts | |
| command: /sbin/shutdown -h now |
| # Install microk8s from the edge channel (Rancher requires Helm 2.15.1 or above) | |
| sudo snap install microk8s --classic | |
| # Enable useful plugins | |
| sudo microk8s.enable dns dashboard storage ingress helm | |
| # Allow running priviledged Pods (required by Rancher's `cattle-node-agent`) | |
| sudo sh -c 'echo "--allow-privileged=true" >> /var/snap/microk8s/current/args/kube-apiserver' | |
| sudo systemctl restart snap.microk8s.daemon-apiserver.service | |
| # Setup and install Tiller (part of Helm) |