github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/pxe/configurations/sno_arm.txt (about)

     1  skip # Verify a default configuration for the SNO topology for ARM architecture
     2  
     3  exec openshift-install agent create pxe-files --dir $WORK
     4  
     5  stderr 'Created iPXE script agent.aarch64.ipxe'
     6  
     7  exists $WORK/boot-artifacts/agent.aarch64-initrd.img
     8  exists $WORK/boot-artifacts/agent.aarch64-rootfs.img
     9  exists $WORK/boot-artifacts/agent.aarch64-vmlinuz
    10  exists $WORK/boot-artifacts/agent.aarch64.ipxe
    11  exists $WORK/auth/kubeconfig
    12  exists $WORK/auth/kubeadmin-password
    13  
    14  grep 'initrd --name initrd http://user-specified-pxe-infra.com/agent.aarch64-initrd.img' $WORK/boot-artifacts/agent.aarch64.ipxe
    15  grep 'kernel http://user-specified-pxe-infra.com/agent.aarch64-vmlinuz initrd=initrd coreos.live.rootfs_url=http://user-specified-pxe-infra.com/agent.aarch64-rootfs.img .*ignition.firstboot ignition.platform.id=metal' $WORK/boot-artifacts/agent.aarch64.ipxe
    16  ! grep 'coreos.liveiso=' $WORK/boot-artifacts/agent.aarch64.ipxe
    17  
    18  -- install-config.yaml --
    19  apiVersion: v1
    20  baseDomain: test.metalkube.org
    21  controlPlane: 
    22    name: master
    23    replicas: 1
    24    architecture: arm64
    25  compute: 
    26  - name: worker
    27    replicas: 0
    28    architecture: arm64
    29  metadata:
    30    namespace: cluster0
    31    name: ostest
    32  networking:
    33    clusterNetwork:
    34    - cidr: 10.128.0.0/14 
    35      hostPrefix: 23 
    36    networkType: OVNKubernetes
    37    machineNetwork:
    38    - cidr: 192.168.111.0/24
    39    serviceNetwork: 
    40    - 172.30.0.0/16
    41  platform:
    42    none: {}
    43  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    44  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    45  
    46  -- agent-config.yaml --
    47  apiVersion: v1alpha1
    48  metadata:
    49    name: ostest
    50    namespace: cluster0
    51  rendezvousIP: 192.168.111.20
    52  bootArtifactsBaseURL: http://user-specified-pxe-infra.com