This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Remove terminating namespaces | |
# Usage: ./remove-terminating-ns.sh | |
TERMINATING_NS=$(kubectl get ns | grep Terminating | awk '{print $1}') | |
kubectl proxy & | |
PROXY_PID=$! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port: 8888 | |
socks-port: 8889 | |
mixed-port: 8899 | |
redir-port: 8890 | |
allow-lan: true | |
mode: Rule | |
log-level: info | |
external-controller: 127.0.0.1:6170 | |
experimental: | |
ignore-resolve-fail: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
a=0 | |
while true | |
do | |
a=$(($a + 1)) | |
echo "waiting for command $a" | |
read -r abc | |
echo "executing $abc" | |
$abc | |
done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.