Compare commits
3 Commits
86544f659a
...
1c4f0f9b61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c4f0f9b61 | ||
| d8f590a199 | |||
| 9d715e1ca4 |
@@ -9,7 +9,7 @@ jobs:
|
|||||||
renovate:
|
renovate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: renovate/renovate:42.26.11
|
image: renovate/renovate:42.29.4
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
keepalived.conf: |
|
keepalived.conf: |
|
||||||
vrrp_instance PIHOLE_VIP {
|
vrrp_instance PIHOLE_VIP {
|
||||||
state BACKUP
|
state MASTER
|
||||||
interface eth0
|
interface eth0
|
||||||
virtual_router_id 212
|
virtual_router_id 212
|
||||||
priority 100
|
priority 50
|
||||||
advert_int 1
|
advert_int 1
|
||||||
|
|
||||||
virtual_ipaddress {
|
virtual_ipaddress {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
name: pihole-backup
|
name: pihole
|
||||||
namespace: tools
|
namespace: tools
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
@@ -14,7 +14,16 @@ spec:
|
|||||||
app: pihole
|
app: pihole
|
||||||
spec:
|
spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: NotIn
|
||||||
|
values:
|
||||||
|
- "kube-01"
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-keepalived
|
- name: init-keepalived
|
||||||
|
|||||||
Reference in New Issue
Block a user