You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the enable_public_net_ipv4 parameter seems to be ignored on autoscaled nodes.
I have used the example config and set enable_public_net_ipv4 & enable_public_net_ipv6 to false as well as configured a private network for the static nodes which works flawlessly.
Autoscaled nodes are also set up correctly to use the private network but they are assigned a public ipv4 & ipv6 address.
Awesome tool btw :)
My config:
hetzner_token: --cluster_name: testkubeconfig_path: "./kubeconfig"k3s_version: v1.26.4+k3s1public_ssh_key_path: "~/.ssh/testcluster.pub"private_ssh_key_path: "~/.ssh/testcluster"use_ssh_agent: falsessh_allowed_networks:
- 0.0.0.0/0 # ensure your current IP is included in the rangeapi_allowed_networks:
- 0.0.0.0/0 # ensure your current IP is included in the rangedisable_flannel: false # set to true if you want to install a different CNIschedule_workloads_on_masters: falseenable_public_net_ipv4: false # default is trueenable_public_net_ipv6: false # default is truedatastore:
mode: etcd # etcd (default) or external# external_datastore_endpoint: postgres://....masters_pool:
instance_type: cx22instance_count: 1location: fsn1worker_node_pools:
- name: small-staticinstance_type: cx22instance_count: 1location: hel1
- name: small-autoscaledinstance_type: cx22instance_count: 1location: fsn1autoscaling:
enabled: truemin_instances: 0max_instances: 1existing_network: my_private_networkenable_encryption: truepost_create_commands:
- timedatectl set-timezone Europe/Berlin
- > printf "network## {config## disabled}" | sed 's/##/:/g' > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
- > printf "network##\n version## 2\n renderer## networkd\n ethernets##\n enp7s0##\n dhcp4## true\n nameservers##\n addresses## [8.8.8.8, 8.8.4.4]\n routes##\n - to## default\n via## 10.0.0.1" | sed 's/##/:/g' > /etc/netplan/50-cloud-init.yaml
- netplan generate
- netplan apply
- apt update
- apt upgrade -y
- apt install nfs-common -y
- apt autoremove -y
The text was updated successfully, but these errors were encountered:
benkrej
changed the title
disabled ipv4 / ipv6 ignored on autoscaled nodes
disable public ipv4 / ipv6 ignored on autoscaled nodes
Jun 9, 2024
Hi, the
enable_public_net_ipv4
parameter seems to be ignored on autoscaled nodes.I have used the example config and set
enable_public_net_ipv4
&enable_public_net_ipv6
to false as well as configured a private network for the static nodes which works flawlessly.Autoscaled nodes are also set up correctly to use the private network but they are assigned a public ipv4 & ipv6 address.
Awesome tool btw :)
My config:
The text was updated successfully, but these errors were encountered: