-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.16
-
None
-
Informational
-
None
-
False
-
Description of problem:
For https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-aws_creating-infrastructure-machinesets Change securityGroups: - filters: - name: tag:Name values: - <infrastructure_id>-worker-sg subnet: filters: - name: tag:Name values: - <infrastructure_id>-private-<zone> to securityGroups: - filters: - name: tag:Name values: - <infrastructure_id>-node - filters: - name: tag:Name values: - <infrastructure_id>-lb spotMarketOptions: {} subnet: filters: - name: tag:Name values: - <infrastructure_id>-subnet-private-<zone> For https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-azure_creating-infrastructure-machinesets 1. add acceleratedNetworking: true 2. remove "machine.openshift.io/cluster-api-machineset: <machineset_name>" labels: machine.openshift.io/cluster-api-machineset: <machineset_name> node-role.kubernetes.io/infra: "" 3. change "subnet: <infrastructure_id>-<role>-subnet" to subnet: "<infrastructure_id>-worker-subnet" 4. resourceID: /resourceGroups/<infrastructure_id>-rg/providers/Microsoft.Compute/galleries/gallery_<infrastructure_id>/images/<infrastructure_id>-gen2/versions/latest "gallery_<infrastructure_id>" is not correct, here use underscores _, not -, for example resourceID: /resourceGroups/yingwang-0815-b2mwd-rg/providers/Microsoft.Compute/galleries/gallery_yingwang_0815_b2mwd/images/yingwang-0815-b2mwd-gen2/versions/latest 5. change tags: - name: <custom_tag_name> value: <custom_tag_value> to tags: <ustom_tag_name>: <custom_tag_value> For https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-azure-stack-hub_creating-infrastructure-machinesets 1. Change machine.openshift.io/cluster-api-machine-role: <infra> machine.openshift.io/cluster-api-machine-type: <infra> to machine.openshift.io/cluster-api-machine-role: infra machine.openshift.io/cluster-api-machine-type: infra "<infra> node label" change to "infra node label" as in doc we said "<infra> is the node label to add", but in fact infra node label is added by metadata: labels: node-role.kubernetes.io/infra: "" 2. add "acceleratedNetworking: true" to providerSpec.value For https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-ibm-cloud_creating-infrastructure-machinesets 1. Change machine.openshift.io/cluster-api-machine-role: <infra> machine.openshift.io/cluster-api-machine-type: <infra> to machine.openshift.io/cluster-api-machine-role: infra machine.openshift.io/cluster-api-machine-type: infra 2. Change userDataSecret: name: <role>-user-data to userDataSecret: name:worker-user-data For https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-gcp_creating-infrastructure-machinesets 1. Change apiVersion: gcpprovider.openshift.io/v1beta1 to apiVersion: machine.openshift.io/v1beta1 For doc https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-nutanix_creating-infrastructure-machinesets 1. remove below part, as these are generated automatically after creating machineset. annotations: machine.openshift.io/memoryMb: "16384" machine.openshift.io/vCPU: "4" For doc https://docs.openshift.com/container-platform/4.16/machine_management/creating-infrastructure-machinesets.html#machineset-yaml-vsphere_creating-infrastructure-machinesets 1. Change apiVersion: vsphereprovider.openshift.io/v1beta1 to apiVersion: machine.openshift.io/v1beta1 2. Change resourcepool to resourcePool