This file contains 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
@reboot /path/to/ha_monitor.sh >> /var/log/ha_monitor.log 2>&1 |
This file contains 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 | |
mkdir ./cluster-dump | |
kubectl get --export -o=json ns | \ | |
jq '.items[] | | |
select(.metadata.name!="kube-system") | | |
select(.metadata.name!="default") | | |
del(.status, | |
.metadata.uid, |
This file contains 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
# curl not smart enough for ipv6, so force ipv4 | |
# on my mac I started to get localhost connect failure | |
# | |
# curl: (7) Failed to connect to localhost port 9031: Connection refused | |
echo '--ipv4' >> ~/.curlrc |
This file contains 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
# values from https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Welcome%20to%20High%20Performance%20Computing%20%28HPC%29%20Central/page/Linux%20System%20Tuning%20Recommendations | |
# install (root): curl -s https://gist.githubusercontent.com/polonskiy/00a71bab32360ffcb79f/raw/10-custom.conf > /etc/sysctl.d/10-custom.conf | |
# apply (root): sysctl -p /etc/sysctl.d/10-custom.conf | |
net.ipv4.neigh.default.gc_thresh1 = 30000 | |
net.ipv4.neigh.default.gc_thresh2 = 32000 | |
net.ipv4.neigh.default.gc_thresh3 = 32768 | |
net.ipv6.neigh.default.gc_thresh1 = 30000 | |
net.ipv6.neigh.default.gc_thresh2 = 32000 |
This file contains 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
{ | |
"title": "Nginx Web", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "response:[200 TO 299]", | |
"alias": "OK", | |
"color": "#7EB26D", | |
"id": 0, |
This file contains 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
[Unit] | |
Description=supervisord - Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf | |
ExecReload=/usr/bin/supervisorctl reload | |
ExecStop=/usr/bin/supervisorctl shutdown |
Looks like this is now fixed as of Docker v1.2.0
For the benefit of the interwebs I'm documenting this here as I've spent several hours pulling my hair out.
This file contains 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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains 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
0-mail.com | |
0815.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
20minutemail.com | |
2prong.com | |
30minutemail.com | |
3d-painting.com |
NewerOlder