chore: Update IP addresses
This commit is contained in:
parent
c68529eb69
commit
ac47c8b809
6 changed files with 15 additions and 25 deletions
|
|
@ -1,7 +1,6 @@
|
|||
provider "proxmox" {
|
||||
endpoint = var.proxmox_endpoint
|
||||
api_token = var.proxmox_api_token
|
||||
insecure = true
|
||||
}
|
||||
|
||||
locals {
|
||||
|
|
@ -11,15 +10,14 @@ locals {
|
|||
talos_version = "1.11.5"
|
||||
gateway_api_version = "1.3.0"
|
||||
cilium_version = "1.18.4"
|
||||
ipv4_gateway = "10.13.38.1"
|
||||
cluster_endpoint_ip = "10.13.38.10"
|
||||
ipv4_gateway = "10.13.37.1"
|
||||
cluster_endpoint_ip = "10.13.37.10"
|
||||
proxmox_node = "pve01"
|
||||
|
||||
|
||||
controlplanes = {
|
||||
cpu = 4
|
||||
memory = 8
|
||||
disk = 40
|
||||
disk = 20
|
||||
storagepool = "nvme-fastpool"
|
||||
talos_version = local.talos_version
|
||||
cluster_name = local.cluster_name
|
||||
|
|
@ -28,15 +26,15 @@ locals {
|
|||
nodes = [
|
||||
{
|
||||
name = "cp01"
|
||||
ip_address = "10.13.38.11"
|
||||
ip_address = "10.13.37.11"
|
||||
},
|
||||
{
|
||||
name = "cp02"
|
||||
ip_address = "10.13.38.12"
|
||||
ip_address = "10.13.37.12"
|
||||
},
|
||||
{
|
||||
name = "cp03"
|
||||
ip_address = "10.13.38.13"
|
||||
ip_address = "10.13.37.13"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
@ -59,23 +57,15 @@ locals {
|
|||
nodes = [
|
||||
{
|
||||
name = "worker01"
|
||||
ip_address = "10.13.38.21"
|
||||
ip_address = "10.13.37.21"
|
||||
},
|
||||
{
|
||||
name = "worker02"
|
||||
ip_address = "10.13.38.22"
|
||||
ip_address = "10.13.37.22"
|
||||
},
|
||||
{
|
||||
name = "worker03"
|
||||
ip_address = "10.13.38.23"
|
||||
},
|
||||
{
|
||||
name = "worker04"
|
||||
ip_address = "10.13.38.24"
|
||||
},
|
||||
{
|
||||
name = "worker05"
|
||||
ip_address = "10.13.38.25"
|
||||
ip_address = "10.13.37.23"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ spec:
|
|||
- --set
|
||||
- cgroup.hostRoot=/sys/fs/cgroup
|
||||
- --set
|
||||
- k8sServiceHost=10.13.38.11
|
||||
- k8sServiceHost=auto
|
||||
- --set
|
||||
- k8sServicePort=6443
|
||||
- --set
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ machine:
|
|||
network:
|
||||
hostname: ${hostname}
|
||||
nameservers:
|
||||
- 192.168.1.2
|
||||
- 9.9.9.9
|
||||
interfaces:
|
||||
- interface: eth0
|
||||
dhcp: false
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ machine:
|
|||
network:
|
||||
hostname: ${hostname}
|
||||
nameservers:
|
||||
- 192.168.1.2
|
||||
- 9.9.9.9
|
||||
kubelet:
|
||||
extraArgs:
|
||||
pod-max-pids: 1000
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ resource "proxmox_virtual_environment_vm" "talos-node" {
|
|||
|
||||
clone {
|
||||
vm_id = 10000 + tonumber(replace(var.node.talos_version, ".", ""))
|
||||
retries = 3
|
||||
}
|
||||
|
||||
cpu {
|
||||
|
|
@ -53,7 +54,7 @@ resource "proxmox_virtual_environment_vm" "talos-node" {
|
|||
}
|
||||
}
|
||||
dns {
|
||||
servers = ["192.168.1.2"]
|
||||
servers = ["9.9.9.9"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue