亚欧色一区w666天堂,色情一区二区三区免费看,少妇特黄A片一区二区三区,亚洲人成网站999久久久综合,国产av熟女一区二区三区

  • 發布文章
  • 消息中心
點贊
收藏
評論
分享
原創

minikube安裝網關介紹

2023-09-22 03:43:58
17
0

一、安裝準備

x86_64機器
centos 7.6操作系統
minikube-1.22.0
istio-1.9.0
higress-1.1.1

minikube、istio最新版安裝istio-ingress會超時,選上面的版本安裝更為容易

 

二、安裝docker

添加docker倉庫

wget http:斜杠mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
mv docker-ce.repo /etc/yum.repos.d/

安裝docker

yum install docker-ce
systemctl start docker    #啟動docker
systemctl enable docker #系統自啟動

查看狀態

docker version

 

三、安裝minikube

安裝

curl -LO https:斜杠storage.googleapis.com/minikube/releases/v1.22.0/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

啟動

minikube start --image-mirror-country=cn --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers --cache-images=true

查看狀態

minikube status

停止刪除

minikube stop
minikube delete

四、安裝kubectl

添加 k8s 源倉庫

cat << EOF > /etc/yum.repos.d/kubernetes.repo 
[kubernetes]
name=Kubernetes
baseurl=https:斜杠mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https:斜杠mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https:斜杠mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
EOF

安裝

yum install kubectl

查看狀態

kubectl version
kubectl get nodes
kubectl get pods -A

五、安裝istio

安裝istioctl工具

https:斜杠github.com/istio/istio/releases/download/1.9.0/istioctl-1.9.0-linux-amd64.tar.gz
tar -xzvf istioctl-1.9.0-linux-amd64.tar.gz
cp -a istioctl-1.9.0/bin/istioctl /usr/local/bin/

查看狀態

istioctl version
istioctl profile list

安裝組件

istioctl install --set profile=demo

查看狀態

kubectl get pod -n istio-system
kubectl get svc -n istio-system

 

六、安裝kiali

安裝

kubectl apply -f samples/addons
kubectl apply -f samples/addons/extras

查看狀態

kubectl get svc -n istio-system

頁面觀測istio

#映射web端口
kubectl port-forward -n istio-system svc/kiali --address 0.0.0.0 20001:20001
#web訪問地址
http:斜杠centos機器ip:20001

 

七、安裝higress

安裝

helm repo add higress.io https:斜杠higress.io/helm-charts
helm install higress -n higress-system higress.io/higress --create-namespace --render-subchart-notes --set higress-console.domain=console.higress.io --set higress-console.o11y.enabled=true

查看狀態

helm status higress -n higress-system

web觀測

#映射web端口
kubectl port-forward service/higress-console -n higress-system --address 0.0.0.0 28080:8080
#獲取web admin密碼
kubectl get secret --namespace higress-system higress-console -o jsonpath="{.data.adminPassword}" | base64 -d
#web訪問地址
http:斜杠centos機器ip:28080
0條評論
作者已關閉評論
a****k
16文章數
0粉絲數
a****k
16 文章 | 0 粉絲
原創

minikube安裝網關介紹

2023-09-22 03:43:58
17
0

一、安裝準備

x86_64機器
centos 7.6操作系統
minikube-1.22.0
istio-1.9.0
higress-1.1.1

minikube、istio最新版安裝istio-ingress會超時,選上面的版本安裝更為容易

 

二、安裝docker

添加docker倉庫

wget http:斜杠mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
mv docker-ce.repo /etc/yum.repos.d/

安裝docker

yum install docker-ce
systemctl start docker    #啟動docker
systemctl enable docker #系統自啟動

查看狀態

docker version

 

三、安裝minikube

安裝

curl -LO https:斜杠storage.googleapis.com/minikube/releases/v1.22.0/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

啟動

minikube start --image-mirror-country=cn --image-repository=registry.cn-hangzhou.aliyuncs.com/google_containers --cache-images=true

查看狀態

minikube status

停止刪除

minikube stop
minikube delete

四、安裝kubectl

添加 k8s 源倉庫

cat << EOF > /etc/yum.repos.d/kubernetes.repo 
[kubernetes]
name=Kubernetes
baseurl=https:斜杠mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https:斜杠mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg https:斜杠mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg
EOF

安裝

yum install kubectl

查看狀態

kubectl version
kubectl get nodes
kubectl get pods -A

五、安裝istio

安裝istioctl工具

https:斜杠github.com/istio/istio/releases/download/1.9.0/istioctl-1.9.0-linux-amd64.tar.gz
tar -xzvf istioctl-1.9.0-linux-amd64.tar.gz
cp -a istioctl-1.9.0/bin/istioctl /usr/local/bin/

查看狀態

istioctl version
istioctl profile list

安裝組件

istioctl install --set profile=demo

查看狀態

kubectl get pod -n istio-system
kubectl get svc -n istio-system

 

六、安裝kiali

安裝

kubectl apply -f samples/addons
kubectl apply -f samples/addons/extras

查看狀態

kubectl get svc -n istio-system

頁面觀測istio

#映射web端口
kubectl port-forward -n istio-system svc/kiali --address 0.0.0.0 20001:20001
#web訪問地址
http:斜杠centos機器ip:20001

 

七、安裝higress

安裝

helm repo add higress.io https:斜杠higress.io/helm-charts
helm install higress -n higress-system higress.io/higress --create-namespace --render-subchart-notes --set higress-console.domain=console.higress.io --set higress-console.o11y.enabled=true

查看狀態

helm status higress -n higress-system

web觀測

#映射web端口
kubectl port-forward service/higress-console -n higress-system --address 0.0.0.0 28080:8080
#獲取web admin密碼
kubectl get secret --namespace higress-system higress-console -o jsonpath="{.data.adminPassword}" | base64 -d
#web訪問地址
http:斜杠centos機器ip:28080
文章來自個人專欄
文章 | 訂閱
0條評論
作者已關閉評論
作者已關閉評論
0
0