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
cd ~ | |
git clone https://github.com/systex0668247/GKE-Istio.git | |
cd GKE-Istio | |
cloudshell launch-tutorial tutorial.md |
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
我的 | |
你的 |
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
#!/bin/sh | |
### | |
# MicroK8s + Rancher installer | |
## | |
# 如果您的環境不是在 GCP 請自行調整以下兩個變數 | |
EXTERNAL_IP=$(curl -s 169.254.169.254/computeMetadata/v1beta1/instance/network-interfaces/0/access-configs/0/external-ip) | |
PROJECT_ID=$(curl -s 169.254.169.254/computeMetadata/v1beta1/project/project-id) | |
sudo snap install microk8s --channel=1.18 --classic |
OlderNewer