Skip to content
Snippets Groups Projects
Verified Commit 6cd90568 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(tor): Improve tor deployment with readiness probe

parent 4498c4a0
No related branches found
No related tags found
Loading
......@@ -36,6 +36,15 @@ spec:
args:
- --SOCKSPort
- 0.0.0.0:9050
# We only allow 443 and 80 to go out
- --FascistFirewall
- 1
readinessProbe:
exec:
command:
- sh
- -c
- curl -v --proxy socks5://127.0.0.1:9050 http://www.gstatic.com/generate_204 2>&1 | grep 'HTTP/1.1 204 No Content'
ports:
- name: socks
containerPort: 9050
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment