zaxmyth
Cadet
- Joined
- Jul 14, 2023
- Messages
- 2
My network is broken into a series of VLANs which include the following subnets.:
LAN: 10.10.10.0/24 - My TrueNAS Scale server has an IP address on this network
VLAN50: 172.16.50.0/24 - Restricted network
VLAN60: 172.16.60.0/24 - Security cameras
I have Nextcloud App installed on TrueNAS scale and it is (mostly) working fine.
Yesterday, I wanted to make allow a device on 172.16.60.0/24 to access a share on my TrueNAS system on the 10.10.10.0/24 network. I created a firewall rule to allow the access, confirmed it worked, but then proceeded to have issues making a connection. What I realized after inspecting the routing table on TrueNAS was that Kubernetes is using 172.16.0.0/16 which clearly collides with subnets I used on VLANs. Doh!
It does appear that I can change my Cluster CIDR range in the Kubernetes Settings but it warns me:
Which sounds a bit ominous. Before I change my Cluster CIDR to something like 10.253.0.0/16, I just want to confirm that this will not delete the data in the datasets that Nextcloud uses and that if I re-initialize I'll be able to access my Nextcloud data the same as I am currently.
LAN: 10.10.10.0/24 - My TrueNAS Scale server has an IP address on this network
VLAN50: 172.16.50.0/24 - Restricted network
VLAN60: 172.16.60.0/24 - Security cameras
I have Nextcloud App installed on TrueNAS scale and it is (mostly) working fine.
Yesterday, I wanted to make allow a device on 172.16.60.0/24 to access a share on my TrueNAS system on the 10.10.10.0/24 network. I created a firewall rule to allow the access, confirmed it worked, but then proceeded to have issues making a connection. What I realized after inspecting the routing table on TrueNAS was that Kubernetes is using 172.16.0.0/16 which clearly collides with subnets I used on VLANs. Doh!
It does appear that I can change my Cluster CIDR range in the Kubernetes Settings but it warns me:
Changing settings below will result in Kubernetes cluster re-initialization deleting installed apps and their data.
Which sounds a bit ominous. Before I change my Cluster CIDR to something like 10.253.0.0/16, I just want to confirm that this will not delete the data in the datasets that Nextcloud uses and that if I re-initialize I'll be able to access my Nextcloud data the same as I am currently.