refactor cluster network related constants

This commit is contained in:
Pavel Sviderski committed 2024-11-28 19:57:26 +10:00
1 parent 3d5fe0a824
commit 035f44896d
5 files changed
+7 -44

No files matched your search

-5
View File
@@ -8,11 +8,6 @@ import (
"uncloud/internal/secret"
)
var (
DefaultNetwork = netip.MustParsePrefix("10.210.0.0/16")
DefaultSubnetBits = 24
)
type Config struct {
// Subnet is the IPv4 address range allocated to the machine. The machine's IP address is the first address
// in the subnet. Other IP addresses are allocated to containers running on the machine.