k8s Deploy to fight for freedom

Prepare GCP project

  • https://cloud.google.com/free - the most safe for New customers also get $300 in free credits to fully explore and conduct an assessment of Google Cloud Platform. You won’t be charged until you choose to upgrade.
  • UA instruction(complete only 1-3 points to register account): Register GCP account
  • Init project
    ./init_project.sh

Setup tools

Terraform deploy

cd terraform
terragrunt init
terragrunt plan
terragrunt apply

If you want to add more compute resources just increase values of maximum_cpu and maximum_memory at terragrunt.hcl file and run terragrunt apply again.

Get kubeconfig

gcloud container clusters get-credentials stress-runners --zone europe-west3 --project $(gcloud projects list --format=json | jq '.[]' | jq 'select(.name=="My First Project")' | jq -r '.projectId')

Deploy helm charts

  • deploy tor-proxy
    cd helm/tor-proxy
    helm upgrade --install tor-proxy .
  • prepare and deploy runners
    cd helm/runners
    cp targets.example.yaml targets.yaml
    edit targets.yaml and add additional targets
    helm upgrade --install runners -f targets.yaml .

Use Lens for checking state and management

Enjoy and keep calm

Vpn integration is coming...


Attention!!! If you want to improve performance and help to the community:

You can improve network performance by setting up additional tor nodes in the target (you know ;)) country.

  • Buy the cheapest virtual server instance in any hosting provider.
  • Setup Docker service on it:
    curl -fsSL https://get.docker.com -o get-docker.sh
    sh get-docker.sh
  • Run Tor node