Skip to content

Instantly share code, notes, and snippets.

View zimmertr's full-sized avatar

TJ Zimmerman zimmertr

  • Issaquah, Washington
View GitHub Profile
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
$TTL 604800
@ IN SOA io.sol.milkyway. admin.sol.milkyway. (
12 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
; NS Records
IN NS io.sol.milkyway.
; A Records
[centos@Pluto ~]$ nslookup
> pluto
Server: 192.168.1.10
Address: 192.168.1.10#53
Non-authoritative answer:
Name: pluto.sol.milkyway
Address: 192.168.1.170
> ceres
Server: 192.168.1.10
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 01-resolver-resolv: applying...
[fix-attrs.d] 01-resolver-resolv: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 20-start.sh: executing...
stty: 'standard input': Inappropriate ioctl for device
::: Starting docker specific checks & setup for docker pihole/pihole
root@sol:/home/tj# show ip bgp neighbors
BGP neighbor is 192.168.40.10, remote AS 1, local AS 1, internal link
BGP version 4, remote router ID 0.0.0.0
BGP state = Active
Last read , hold time is 180, keepalive interval is 60 seconds
Received 0 messages, 0 notifications, 0 in queue
Sent 22 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
1) Configure BGP on your router and configure each of your Kubernetes worker nodes as a neighbor. Remember the AS that you use. For example on my `Ubiquiti EdgeRouter Lite`
```
ssh tj@sol
configure
set protocols bgp 1 parameters router-id 192.168.1.1
set protocols bgp 1 neighbor 192.168.40.100 remote-as 1
set protocols bgp 1 neighbor 192.168.40.101 remote-as 1
set protocols bgp 1 neighbor 192.168.40.102 remote-as 1
set protocols bgp 1 redistribute static
root@ubnt:/home/tj# show ip bgp neighbors
BGP neighbor is 192.168.40.100, remote AS 64512, local AS 64512, internal link
BGP version 4, remote router ID 0.0.0.0
BGP state = Active
Last read , hold time is 180, keepalive interval is 60 seconds
Received 0 messages, 0 notifications, 0 in queue
Sent 23 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
# Apply the metallb manifests to Kubernetes
kubectl apply -f https://raw.githubusercontent.com/google/metallb/v0.8.1/manifests/metallb.yaml
# Apply a metallb configuration to Kubernetes
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ConfigMap
metadata:
namespace: metallb-system
name: config
root@Eris:/home/debian# cat /dev/sr0
CD001LINUX cidata ��
)� GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM 2019081713264100�2019081713264100�00000000000000002019081713264100�