Skip to content

Commit

Permalink
Update get-webtor.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz authored Apr 16, 2022
1 parent c57653c commit a80068f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/get-webtor.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sudo apt update
sudo apt-get -y install snapd git curl
sudo snap install microk8s --classic --channel=1.19/stable
sudo snap install microk8s --classic --channel=1.22/stable
sudo microk8s status --wait-ready
sudo microk8s kubectl get nodes
sudo microk8s enable dns
Expand All @@ -18,4 +18,4 @@ sudo mv ./helmfile /usr/local/bin/
curl -L 'https://raw.githubusercontent.com/webtor-io/helm-charts/master/helmfile.yaml' > helmfile.yaml
helmfile apply
sudo microk8s kubectl get svc torrent-http-proxy -o yaml -n webtor | grep http -A 1 | grep nodePort | head -1| awk '{print "Listening HTTP at port " $2}'
sudo microk8s kubectl get svc torrent-http-proxy -o yaml -n webtor | grep grpc -A 1 | grep nodePort | awk '{print "Listening GRPC at port " $2}'
sudo microk8s kubectl get svc torrent-http-proxy -o yaml -n webtor | grep grpc -A 1 | grep nodePort | awk '{print "Listening GRPC at port " $2}'

0 comments on commit a80068f

Please sign in to comment.