Skip to content

talm template does not correctly generate validSubnets, endpoint, and advertisedSubnets #25

Closed

Description

@Karabass-OFF

My k8s network is 192.168.201.0/24.
Talm correctly generates interfaces, routes, name servers.
My command to generate template:
bash talm -n 192.168.201.201.10 -e 192.168.201.201.10 template -t templates/controlplane.yaml > nodes/kub-t10.yaml
Does not correctly generate validSubnets, endpoint, advertisedSubnets as shown below. Should be values from network 192.168.201.0/24

machine:
  type: controlplane
  kubelet:
    nodeIP:
      validSubnets:
        - 192.168.100.0/24

and

cluster:
  controlPlane:
    endpoint: https://192.168.100.10:6443

also

  etcd:
    advertisedSubnets:
      - 192.168.100.0/24

Thank you!

Activity

  1. kvaps commented on Oct 1, 2024

    @kvaps
    Member

    These values are taken from your values.yaml file, but it sounds reasonable to add template logic to automatically calculate ips from the node configuration.

    I will think about the implementation.

  2. changed the title [-]Bug generate template[/-] [+]`talm template` does not correctly generate validSubnets, endpoint, and advertisedSubnets[/+] on Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions