github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/image/validations/compact_invalid_controlPlane_replicas.txt (about)

     1  ! exec openshift-install agent create image --dir $WORK
     2  
     3  stderr 'ControlPlane.Replicas can only be set to 3 or 1. Found 2'
     4  
     5  ! exists $WORK/agent.x86_64.iso
     6  ! exists $WORK/auth/kubeconfig
     7  ! exists $WORK/auth/kubeadmin-password
     8  
     9  -- install-config.yaml --
    10  apiVersion: v1
    11  baseDomain: test.metalkube.org
    12  controlPlane: 
    13    name: master
    14    replicas: 2
    15  compute: 
    16  - name: worker
    17    replicas: 0
    18  metadata:
    19    namespace: cluster0
    20    name: ostest
    21  networking:
    22    clusterNetwork:
    23    - cidr: 10.128.0.0/14 
    24      hostPrefix: 23 
    25    networkType: OVNKubernetes
    26    machineNetwork:
    27    - cidr: 192.168.111.0/24
    28    serviceNetwork: 
    29    - 172.30.0.0/16
    30  platform:
    31    external:
    32      platformName: oci
    33      cloudControllerManager: External
    34  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    35  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    36  
    37  -- agent-config.yaml --
    38  apiVersion: v1alpha1
    39  metadata:
    40    name: ostest
    41    namespace: cluster0
    42  rendezvousIP: 192.168.111.20