# Agent-config.yaml for internal, for 3 master nodes and 3 worker nodes. apiVersion: v1alpha1 # The API version for the install-config.yaml content. kind: AgentConfig # Type of file, in this case agent-config.yaml = AgentConfig metadata: name: woo-dta # Cluster name rendezvousIP: 10.10.60.10 # The rendezvous IP must be known at the time of generating the agent ISO, so that during the initial boot all the hosts can check in to the assisted service hosts: # Start for setup host/nodes - hostname: master-0 # Name of host, based on the role role: master # Each host in the cluster is assigned a role of either master or worker. interfaces: # Provides a table of the name and MAC address mappings for the interfaces on the host. - name: eno1 # The name of the network interface. macAddress: 00:ef:44:21:e6:a5 # The unique macAddress(id) of the network interface. networkConfig: # The networkConfig field contains information about the network configuration of the host, with subfields including interfaces,dns-resolver, and routes. interfaces: # The interfaces field is an array of network interfaces defined for the host. - name: eno1 # The name of the network interface. type: ethernet # The type of interface. state: up # Interface state up or down mac-address: 00:ef:44:21:e6:a5 # The unique macAddress(id) of the network interface. ipv4: # Defines the network prefix-length of ipv4(simpler) or ipv6 enabled: true # Enabled true or false address: # - ip: 10.10.60.10 # The static IP address of the target (bare metal) host. prefix-length: 16 # The static IP address’s subnet prefix for the target (bare metal) host. dhcp: false # Using dhcp true or false. dns-resolver: # Optional: Specifies the search and server settings for the DNS server. config: # server: # - 10.10.10.1 # The DNS server host routes: # config: # - destination: 0.0.0.0/0 # Set to 0.0.0.0/0 for every destination. next-hop-address: 10.10.10.1 # Next hop address for the node traffic. This must be in the same subnet as the IP address set for the specified interface. next-hop-interface: eno1 # Sets eno1 as the gateway for the default route. table-id: 254 # ? - hostname: master-1 role: master # Each host in the cluster is assigned a role of either master or worker. interfaces: - name: eno1 macAddress: 00:ef:44:21:e6:a6 networkConfig: interfaces: - name: eno1 type: ethernet state: up mac-address: 00:ef:44:21:e6:a6 ipv4: enabled: true address: - ip: 10.10.60.11 prefix-length: 16 dhcp: false dns-resolver: config: server: - 10.10.10.1 # The DNS server host routes: # config: # - destination: 0.0.0.0/0 # Set to 0.0.0.0/0 for every destination. next-hop-address: 10.10.10.1 # Next hop address for the node traffic. This must be in the same subnet as the IP address set for the specified interface. next-hop-interface: eno1 # Sets eno1 as the gateway for the default route. table-id: 254 # ? - hostname: master-2 role: master # Each host in the cluster is assigned a role of either master or worker. interfaces: - name: eno1 macAddress: 00:ef:44:21:e6:a7 networkConfig: interfaces: - name: eno1 type: ethernet state: up mac-address: 00:ef:44:21:e6:a7 ipv4: enabled: true address: - ip: 10.10.60.12 prefix-length: 16 dhcp: false dns-resolver: config: server: - 10.10.10.1 # The DNS server host routes: # config: # - destination: 0.0.0.0/0 # Set to 0.0.0.0/0 for every destination. next-hop-address: 10.10.10.1 # Next hop address for the node traffic. This must be in the same subnet as the IP address set for the specified interface. next-hop-interface: eno1 # Sets eno1 as the gateway for the default route. table-id: 254 # ? - hostname: worker-0 role: worker # Each host in the cluster is assigned a role of either master or worker. interfaces: - name: eno1 macAddress: 00:ef:44:21:e6:b1 networkConfig: interfaces: - name: eno1 type: ethernet state: up mac-address: 00:ef:44:21:e6:b1 ipv4: enabled: true address: - ip: 10.10.60.20 prefix-length: 16 dhcp: false dns-resolver: config: server: - 10.10.10.1 # The DNS server host routes: # config: # - destination: 0.0.0.0/0 # Set to 0.0.0.0/0 for every destination. next-hop-address: 10.10.10.1 # Next hop address for the node traffic. This must be in the same subnet as the IP address set for the specified interface. next-hop-interface: eno1 # Sets eno1 as the gateway for the default route. table-id: 254 # ? - hostname: worker-1 role: worker # Each host in the cluster is assigned a role of either master or worker. interfaces: - name: eno1 macAddress: 00:ef:44:21:e6:b2 networkConfig: interfaces: - name: eno1 type: ethernet state: up mac-address: 00:ef:44:21:e6:b2 ipv4: enabled: true address: - ip: 10.10.60.21 prefix-length: 16 dhcp: false dns-resolver: config: server: - 10.10.10.1 # The DNS server host routes: # config: # - destination: 0.0.0.0/0 # Set to 0.0.0.0/0 for every destination. next-hop-address: 10.10.10.1 # Next hop address for the node traffic. This must be in the same subnet as the IP address set for the specified interface. next-hop-interface: eno1 # Sets eno1 as the gateway for the default route. table-id: 254 # ? - hostname: worker-2 role: worker # Each host in the cluster is assigned a role of either master or worker. interfaces: - name: eno1 macAddress: 00:ef:44:21:e6:b3 networkConfig: interfaces: - name: eno1 type: ethernet state: up mac-address: 00:ef:44:21:e6:b3 ipv4: enabled: true address: - ip: 10.10.60.22 prefix-length: 16 dhcp: false dns-resolver: config: server: - 10.10.10.1 # The DNS server host routes: # config: # - destination: 0.0.0.0/0 # Set to 0.0.0.0/0 for every destination. next-hop-address: 10.10.10.1 # Next hop address for the node traffic. This must be in the same subnet as the IP address set for the specified interface. next-hop-interface: eno1 # Sets eno1 as the gateway for the default route. table-id: 254 # ?