Replace DHCP on PVE for static IPs

So much easier to deal with!
This commit is contained in:
Jake Howard 2021-06-03 20:47:08 +01:00
parent d751a023da
commit f1f2c620b0
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 17 additions and 15 deletions

View file

@ -1,21 +1,23 @@
pve_hosts: pve_hosts:
internal_cidr: 10.23.1.0/24 internal_cidr: 10.23.1.0/24
ingress:
ip: 10.23.1.88
jellyfin:
ip: 10.23.1.29
pve_docker:
ip: 10.23.1.7
homeassistant:
ip: 192.168.1.132
forrest:
ip: 10.23.1.99
pve: pve:
ip: 10.23.1.1 ip: 10.23.1.1
external_ip: 192.168.2.200 external_ip: 192.168.2.200
qbittorrent: restic:
ip: 10.23.1.21 ip: 10.23.1.11
forrest:
ip: 10.23.1.13
jellyfin:
ip: 10.23.1.101
pve_docker:
ip: 10.23.1.103
gitlab: gitlab:
ip: 10.23.1.43 ip: 10.23.1.106
gitlab_runner: gitlab_runner:
ip: 10.23.1.48 ip: 10.23.1.107
ingress:
ip: 10.23.1.10
homeassistant:
ip: 192.168.2.203
qbittorrent:
ip: 10.23.1.105

View file

@ -7,7 +7,7 @@ scrape_configs:
static_configs: static_configs:
- targets: - targets:
- 10.23.1.1:9273 - "{{ pve_hosts.pve.ip }}:9273"
- job_name: traefik - job_name: traefik
metric_relabel_configs: metric_relabel_configs:
- source_labels: [__name__] - source_labels: [__name__]