Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 727 Bytes

weave-scope.md

File metadata and controls

24 lines (17 loc) · 727 Bytes

介绍

Weave Scope 是一个图形化工具,用于查看你的 containers、 pods、services等

scope on k8s doc

安装

# with weave cloud
kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s/scope.yaml?service-token=<token>&k8s-version=$(kubectl version | base64 | tr -d '\n')")
# without weave cloud
kubectl apply --namespace kube-system -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"

代理配置

NGINX若要作为反向代理需要添加以下参数:
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";