$ kubectl get svc --all-namespaces | awk '{{gsub(/,/, ";", $6)}; a = ""; for (i = 1 ; i <= NF -1 ; i++) a = a $i "," ; print substr(a, 1, length(a)-1)}'
Monday, September 28, 2020
Wednesday, September 16, 2020
HAProxy Config Sample
defaults
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
# This listener is for stats only no proxying
listen stats 192.168.88.10:80
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /
stats auth admin:loyalty # Change this to your own username and password!
# Break Line
listen breakline 192.168.88.13:80
mode tcp
balance roundrobin
# check every 5 seconds. Take down/up after two failed attempts.
server primary 10.156.68.6:80 weight 1 check port 80 inter 5s rise 2 fall 3
server secondary 138.16.222.233:80 backup weight 1 check port 80 inter 5s rise 2 fall 3
Tuesday, September 8, 2020
Linux: PID file /var/run/sshd.pid not readable (yet?) after start.
Problem:
PID file /var/run/sshd.pid not readable (yet?) after start.
Red Hat Enterprise Linux Server release 7.0 (Maipo)
CentOS Linux release 7.3.1611 (Core)
Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1415218