github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/agentconfigtemplate/agent-config-template.txt (about) 1 # Verify the generated default template for agent-config.yaml 2 3 exec openshift-install agent create agent-config-template --dir $WORK 4 5 stderr 'level=info msg=Agent-Config-Template created in:' 6 7 exists $WORK/agent-config.yaml 8 9 cmp $WORK/agent-config.yaml $WORK/expected/agent-config.yaml 10 11 -- expected/agent-config.yaml -- 12 # 13 # Note: This is a sample AgentConfig file showing 14 # which fields are available to aid you in creating your 15 # own agent-config.yaml file. 16 # 17 apiVersion: v1beta1 18 kind: AgentConfig 19 metadata: 20 name: example-agent-config 21 namespace: cluster0 22 # All fields are optional 23 rendezvousIP: your-node0-ip 24 bootArtifactsBaseURL: http://user-specified-infra.com 25 additionalNTPSources: 26 - 0.rhel.pool.ntp.org 27 - 1.rhel.pool.ntp.org 28 hosts: 29 # If a host is listed, then at least one interface 30 # needs to be specified. 31 - hostname: change-to-hostname 32 role: master 33 # For more information about rootDeviceHints: 34 # https://docs.openshift.com/container-platform/4.10/installing/installing_bare_metal_ipi/ipi-install-installation-workflow.html#root-device-hints_ipi-install-installation-workflow 35 rootDeviceHints: 36 deviceName: /dev/sda 37 # interfaces are used to identify the host to apply this configuration to 38 interfaces: 39 - macAddress: 00:00:00:00:00:00 40 name: host-network-interface-name 41 # networkConfig contains the network configuration for the host in NMState format. 42 # See https://nmstate.io/examples.html for examples. 43 networkConfig: 44 interfaces: 45 - name: eth0 46 type: ethernet 47 state: up 48 mac-address: 00:00:00:00:00:00 49 ipv4: 50 enabled: true 51 address: 52 - ip: 192.168.122.2 53 prefix-length: 23 54 dhcp: false