13.5. 클러스터 API 시스템에 대한 구성 옵션
13.5.1. Amazon Web Services의 클러스터 API 구성 옵션
클러스터 API를 사용하여 머신을 관리하는 것은 기술 프리뷰 기능만 해당합니다. 기술 프리뷰 기능은 Red Hat 프로덕션 서비스 수준 계약(SLA)에서 지원되지 않으며 기능적으로 완전하지 않을 수 있습니다. 따라서 프로덕션 환경에서 사용하는 것은 권장하지 않습니다. 이러한 기능을 사용하면 향후 제품 기능을 조기에 이용할 수 있어 개발 과정에서 고객이 기능을 테스트하고 피드백을 제공할 수 있습니다.
Red Hat 기술 프리뷰 기능의 지원 범위에 대한 자세한 내용은 기술 프리뷰 기능 지원 범위를 참조하십시오.
Cluster API 사용자 정의 리소스 매니페스트에서 값을 업데이트하여 AWS(Amazon Web Services) 클러스터 API 머신의 구성을 변경할 수 있습니다.
13.5.1.1. Amazon Web Services 클러스터 구성을 위한 샘플 YAML
다음 예제 YAML 파일은 Amazon Web Services 클러스터에 대한 구성을 보여줍니다.
13.5.1.1.1. Amazon Web Services에서 클러스터 API 인프라 리소스의 샘플 YAML
인프라 리소스는 공급자별로 다르며 리전 및 서브넷과 같이 클러스터의 모든 컴퓨팅 머신 세트에서 공유하는 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 이 리소스를 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSCluster metadata: name: <cluster_name> namespace: openshift-cluster-api spec: controlPlaneEndpoint: host: <control_plane_endpoint_address> port: 6443 region: <region>
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: AWSCluster
metadata:
name: <cluster_name>
namespace: openshift-cluster-api
spec:
controlPlaneEndpoint:
host: <control_plane_endpoint_address>
port: 6443
region: <region>
13.5.1.1.2. Amazon Web Services에서 클러스터 API 머신 템플릿 리소스의 샘플 YAML
머신 템플릿 리소스는 공급자마다 다르며 컴퓨팅 머신 세트에서 생성하는 시스템의 기본 속성을 정의합니다. 머신을 생성할 때 컴퓨팅 머신 세트는 이 템플릿을 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 kind: AWSMachineTemplate metadata: name: <template_name> namespace: openshift-cluster-api spec: template: spec: uncompressedUserData: true iamInstanceProfile: # ... instanceType: m5.large ignition: storageType: UnencryptedUserData version: "3.2" ami: id: # ... subnet: filters: - name: tag:Name values: - # ... additionalSecurityGroups: - filters: - name: tag:Name values: - # ...
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
kind: AWSMachineTemplate
metadata:
name: <template_name>
namespace: openshift-cluster-api
spec:
template:
spec:
uncompressedUserData: true
iamInstanceProfile: # ...
instanceType: m5.large
ignition:
storageType: UnencryptedUserData
version: "3.2"
ami:
id: # ...
subnet:
filters:
- name: tag:Name
values:
- # ...
additionalSecurityGroups:
- filters:
- name: tag:Name
values:
- # ...
13.5.1.1.3. Amazon Web Services에서 클러스터 API 컴퓨팅 머신 세트 리소스의 샘플 YAML
컴퓨팅 머신 세트 리소스는 생성하는 시스템의 추가 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 인프라 리소스 및 머신 템플릿도 참조합니다.
apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineSet metadata: name: <machine_set_name> namespace: openshift-cluster-api spec: clusterName: <cluster_name> replicas: 1 selector: matchLabels: test: example template: metadata: labels: test: example spec: bootstrap: dataSecretName: worker-user-data clusterName: <cluster_name> infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: AWSMachineTemplate name: <template_name>
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineSet
metadata:
name: <machine_set_name>
namespace: openshift-cluster-api
spec:
clusterName: <cluster_name>
replicas: 1
selector:
matchLabels:
test: example
template:
metadata:
labels:
test: example
spec:
bootstrap:
dataSecretName: worker-user-data
clusterName: <cluster_name>
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: AWSMachineTemplate
name: <template_name>
13.5.2. Google Cloud Platform의 클러스터 API 구성 옵션
클러스터 API를 사용하여 머신을 관리하는 것은 기술 프리뷰 기능만 해당합니다. 기술 프리뷰 기능은 Red Hat 프로덕션 서비스 수준 계약(SLA)에서 지원되지 않으며 기능적으로 완전하지 않을 수 있습니다. 따라서 프로덕션 환경에서 사용하는 것은 권장하지 않습니다. 이러한 기능을 사용하면 향후 제품 기능을 조기에 이용할 수 있어 개발 과정에서 고객이 기능을 테스트하고 피드백을 제공할 수 있습니다.
Red Hat 기술 프리뷰 기능의 지원 범위에 대한 자세한 내용은 기술 프리뷰 기능 지원 범위를 참조하십시오.
Cluster API 사용자 정의 리소스 매니페스트에서 값을 업데이트하여 GCP(Google Cloud Platform) 클러스터 API 머신의 구성을 변경할 수 있습니다.
13.5.2.1. Google Cloud Platform 클러스터를 구성하는 샘플 YAML
다음 예제 YAML 파일은 Google Cloud Platform 클러스터에 대한 구성을 보여줍니다.
13.5.2.1.1. Google Cloud Platform에서 클러스터 API 인프라 리소스의 샘플 YAML
인프라 리소스는 공급자별로 다르며 리전 및 서브넷과 같이 클러스터의 모든 컴퓨팅 머신 세트에서 공유하는 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 이 리소스를 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPCluster metadata: name: <cluster_name> spec: controlPlaneEndpoint: host: <control_plane_endpoint_address> port: 6443 network: name: <cluster_name>-network project: <project> region: <region>
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: GCPCluster
metadata:
name: <cluster_name>
spec:
controlPlaneEndpoint:
host: <control_plane_endpoint_address>
port: 6443
network:
name: <cluster_name>-network
project: <project>
region: <region>
13.5.2.1.2. Google Cloud Platform의 클러스터 API 머신 템플릿 리소스의 샘플 YAML
머신 템플릿 리소스는 공급자마다 다르며 컴퓨팅 머신 세트에서 생성하는 시스템의 기본 속성을 정의합니다. 머신을 생성할 때 컴퓨팅 머신 세트는 이 템플릿을 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPMachineTemplate metadata: name: <template_name> namespace: openshift-cluster-api spec: template: spec: rootDeviceType: pd-ssd rootDeviceSize: 128 instanceType: n1-standard-4 image: projects/rhcos-cloud/global/images/rhcos-411-85-202203181601-0-gcp-x86-64 subnet: <cluster_name>-worker-subnet serviceAccounts: email: <service_account_email_address> scopes: - https://www.googleapis.com/auth/cloud-platform additionalLabels: kubernetes-io-cluster-<cluster_name>: owned additionalNetworkTags: - <cluster_name>-worker ipForwarding: Disabled
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: GCPMachineTemplate
metadata:
name: <template_name>
namespace: openshift-cluster-api
spec:
template:
spec:
rootDeviceType: pd-ssd
rootDeviceSize: 128
instanceType: n1-standard-4
image: projects/rhcos-cloud/global/images/rhcos-411-85-202203181601-0-gcp-x86-64
subnet: <cluster_name>-worker-subnet
serviceAccounts:
email: <service_account_email_address>
scopes:
- https://www.googleapis.com/auth/cloud-platform
additionalLabels:
kubernetes-io-cluster-<cluster_name>: owned
additionalNetworkTags:
- <cluster_name>-worker
ipForwarding: Disabled
13.5.2.1.3. Google Cloud Platform에서 클러스터 API 컴퓨팅 머신 세트 리소스의 샘플 YAML
컴퓨팅 머신 세트 리소스는 생성하는 시스템의 추가 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 인프라 리소스 및 머신 템플릿도 참조합니다.
apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineSet metadata: name: <machine_set_name> namespace: openshift-cluster-api spec: clusterName: <cluster_name> replicas: 1 selector: matchLabels: test: example template: metadata: labels: test: example spec: bootstrap: dataSecretName: worker-user-data clusterName: <cluster_name> infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPMachineTemplate name: <template_name> failureDomain: <failure_domain>
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineSet
metadata:
name: <machine_set_name>
namespace: openshift-cluster-api
spec:
clusterName: <cluster_name>
replicas: 1
selector:
matchLabels:
test: example
template:
metadata:
labels:
test: example
spec:
bootstrap:
dataSecretName: worker-user-data
clusterName: <cluster_name>
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: GCPMachineTemplate
name: <template_name>
failureDomain: <failure_domain>
13.5.3. Red Hat OpenStack Platform의 클러스터 API 구성 옵션
클러스터 API를 사용하여 머신을 관리하는 것은 기술 프리뷰 기능만 해당합니다. 기술 프리뷰 기능은 Red Hat 프로덕션 서비스 수준 계약(SLA)에서 지원되지 않으며 기능적으로 완전하지 않을 수 있습니다. 따라서 프로덕션 환경에서 사용하는 것은 권장하지 않습니다. 이러한 기능을 사용하면 향후 제품 기능을 조기에 이용할 수 있어 개발 과정에서 고객이 기능을 테스트하고 피드백을 제공할 수 있습니다.
Red Hat 기술 프리뷰 기능의 지원 범위에 대한 자세한 내용은 기술 프리뷰 기능 지원 범위를 참조하십시오.
Cluster API 사용자 정의 리소스 매니페스트에서 값을 업데이트하여 RHOSP(Red Hat OpenStack Platform) 클러스터 API 머신의 구성을 변경할 수 있습니다.
13.5.3.1. RHOSP 클러스터 구성을 위한 샘플 YAML
다음 예제 YAML 파일은 RHOSP 클러스터에 대한 구성을 보여줍니다.
13.5.3.1.1. RHOSP에서 Cluster API 인프라 클러스터 리소스의 샘플 YAML
인프라 클러스터 리소스는 공급자마다 다르며 리전 및 서브넷과 같이 클러스터의 모든 컴퓨팅 머신 세트에서 공유하는 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 이 리소스를 참조합니다.
다음 예제의 매개변수만 OpenShift Container Platform과 호환되도록 검증됩니다. 업스트림 클러스터 API 공급자 OpenStack 북에 설명된 것과 같은 기타 매개변수로 인해 바람직하지 않은 동작이 발생할 수 있습니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: OpenStackCluster metadata: name: <cluster_name> namespace: openshift-cluster-api labels: cluster.x-k8s.io/cluster-name: <cluster_name> spec: controlPlaneEndpoint: <control_plane_endpoint_address> disableAPIServerFloatingIP: true tags: - openshiftClusterID=<cluster_name> network: id: <api_service_network_id> externalNetwork: id: <floating_network_id> identityRef: cloudName: openstack name: openstack-cloud-credentials
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: OpenStackCluster
metadata:
name: <cluster_name>
namespace: openshift-cluster-api
labels:
cluster.x-k8s.io/cluster-name: <cluster_name>
spec:
controlPlaneEndpoint: <control_plane_endpoint_address>
disableAPIServerFloatingIP: true
tags:
- openshiftClusterID=<cluster_name>
network:
id: <api_service_network_id>
externalNetwork:
id: <floating_network_id>
identityRef:
cloudName: openstack
name: openstack-cloud-credentials
- 1
- 클러스터의 인프라 유형을 지정합니다. 이 값은 플랫폼의 값과 일치해야 합니다.
- 2
- 클러스터 ID를 클러스터 이름으로 지정합니다.
- 3
- 컨트롤 플레인 끝점의 IP 주소와 액세스하는 데 사용되는 포트를 지정합니다.
- 4
- 포트를 지정하지 않는 시스템에 사용할 기본 네트워크의 UUID를 지정합니다.참고
이 기능은 향후 릴리스에서 제거될 수 있습니다. 이 기능 제거로 인한 문제를 방지하려면 이 기능에만 의존하는 대신 머신 사양에 포트를 하나 이상 지정합니다.
- 5
- 외부 네트워크의 UUID를 지정합니다. 외부 유동 IP 주소를 할당하는 데 사용되는 네트워크 또는 이 필드에 대한 송신에 사용되는 네트워크를 지정할 수 있습니다.참고
인프라 클러스터 리소스에는 이 필드가 필요하지만 현재 이 값을 사용하지 않습니다. 이 요구 사항은 향후 릴리스에서 제거될 예정입니다.
13.5.3.1.2. RHOSP에서 클러스터 API 머신 템플릿 리소스의 샘플 YAML
머신 템플릿 리소스는 공급자마다 다르며 컴퓨팅 머신 세트에서 생성하는 시스템의 기본 속성을 정의합니다. 머신을 생성할 때 컴퓨팅 머신 세트는 이 템플릿을 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: OpenStackMachineTemplate metadata: name: <template_name> namespace: openshift-cluster-api spec: template: spec: flavor: <openstack_node_machine_flavor> image: filter: name: <openstack_image>
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: OpenStackMachineTemplate
metadata:
name: <template_name>
namespace: openshift-cluster-api
spec:
template:
spec:
flavor: <openstack_node_machine_flavor>
image:
filter:
name: <openstack_image>
13.5.3.1.3. RHOSP에서 Cluster API 컴퓨팅 머신 세트 리소스의 샘플 YAML
컴퓨팅 머신 세트 리소스는 생성하는 시스템의 추가 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 인프라 리소스 및 머신 템플릿도 참조합니다.
apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineSet metadata: name: <machine_set_name> namespace: openshift-cluster-api spec: clusterName: <cluster_name> replicas: 1 selector: matchLabels: test: example cluster.x-k8s.io/cluster-name: <cluster_name> cluster.x-k8s.io/set-name: <machine_set_name> template: metadata: labels: test: example cluster.x-k8s.io/cluster-name: <cluster_name> cluster.x-k8s.io/set-name: <machine_set_name> node-role.kubernetes.io/<role>: "" spec: bootstrap: dataSecretName: worker-user-data clusterName: <cluster_name> infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: OpenStackMachineTemplate name: <template_name> failureDomain: <nova_availability_zone>
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineSet
metadata:
name: <machine_set_name>
namespace: openshift-cluster-api
spec:
clusterName: <cluster_name>
replicas: 1
selector:
matchLabels:
test: example
cluster.x-k8s.io/cluster-name: <cluster_name>
cluster.x-k8s.io/set-name: <machine_set_name>
template:
metadata:
labels:
test: example
cluster.x-k8s.io/cluster-name: <cluster_name>
cluster.x-k8s.io/set-name: <machine_set_name>
node-role.kubernetes.io/<role>: ""
spec:
bootstrap:
dataSecretName: worker-user-data
clusterName: <cluster_name>
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: OpenStackMachineTemplate
name: <template_name>
failureDomain: <nova_availability_zone>
13.5.4. VMware vSphere의 클러스터 API 구성 옵션
클러스터 API를 사용하여 머신을 관리하는 것은 기술 프리뷰 기능만 해당합니다. 기술 프리뷰 기능은 Red Hat 프로덕션 서비스 수준 계약(SLA)에서 지원되지 않으며 기능적으로 완전하지 않을 수 있습니다. 따라서 프로덕션 환경에서 사용하는 것은 권장하지 않습니다. 이러한 기능을 사용하면 향후 제품 기능을 조기에 이용할 수 있어 개발 과정에서 고객이 기능을 테스트하고 피드백을 제공할 수 있습니다.
Red Hat 기술 프리뷰 기능의 지원 범위에 대한 자세한 내용은 기술 프리뷰 기능 지원 범위를 참조하십시오.
Cluster API 사용자 정의 리소스 매니페스트에서 값을 업데이트하여 VMware vSphere Cluster API 머신의 구성을 변경할 수 있습니다.
13.5.4.1. VMware vSphere 클러스터 구성을 위한 샘플 YAML
다음 예제 YAML 파일은 VMware vSphere 클러스터에 대한 구성을 보여줍니다.
13.5.4.1.1. VMware vSphere에서 클러스터 API 인프라 리소스의 샘플 YAML
인프라 리소스는 공급자별로 다르며 리전 및 서브넷과 같이 클러스터의 모든 컴퓨팅 머신 세트에서 공유하는 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 이 리소스를 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: VSphereCluster metadata: name: <cluster_name> spec: controlPlaneEndpoint: host: <control_plane_endpoint_address> port: 6443 identityRef: kind: Secret name: <cluster_name> server: <vsphere_server>
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: VSphereCluster
metadata:
name: <cluster_name>
spec:
controlPlaneEndpoint:
host: <control_plane_endpoint_address>
port: 6443
identityRef:
kind: Secret
name: <cluster_name>
server: <vsphere_server>
- 1
- 클러스터의 인프라 유형을 지정합니다. 이 값은 플랫폼의 값과 일치해야 합니다.
- 2
- 클러스터 ID를 클러스터 이름으로 지정합니다.
- 3
- 컨트롤 플레인 끝점의 IP 주소와 액세스하는 데 사용되는 포트를 지정합니다.
- 4
- 클러스터의 vSphere 서버를 지정합니다. 다음 명령을 실행하여 기존 vSphere 클러스터에서 이 값을 찾을 수 있습니다.
oc get infrastructure cluster \ -o jsonpath="{.spec.platformSpec.vsphere.vcenters[0].server}"
$ oc get infrastructure cluster \ -o jsonpath="{.spec.platformSpec.vsphere.vcenters[0].server}"
Copy to Clipboard Copied!
13.5.4.1.2. VMware vSphere에서 클러스터 API 머신 템플릿 리소스의 샘플 YAML
머신 템플릿 리소스는 공급자마다 다르며 컴퓨팅 머신 세트에서 생성하는 시스템의 기본 속성을 정의합니다. 머신을 생성할 때 컴퓨팅 머신 세트는 이 템플릿을 참조합니다.
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: VSphereMachineTemplate metadata: name: <template_name> namespace: openshift-cluster-api spec: template: spec: template: <vm_template_name> server: <vcenter_server_ip> diskGiB: 128 cloneMode: linkedClone datacenter: <vcenter_data_center_name> datastore: <vcenter_datastore_name> folder: <vcenter_vm_folder_path> resourcePool: <vsphere_resource_pool> numCPUs: 4 memoryMiB: 16384 network: devices: - dhcp4: true networkName: "<vm_network_name>"
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: VSphereMachineTemplate
metadata:
name: <template_name>
namespace: openshift-cluster-api
spec:
template:
spec:
template: <vm_template_name>
server: <vcenter_server_ip>
diskGiB: 128
cloneMode: linkedClone
datacenter: <vcenter_data_center_name>
datastore: <vcenter_datastore_name>
folder: <vcenter_vm_folder_path>
resourcePool: <vsphere_resource_pool>
numCPUs: 4
memoryMiB: 16384
network:
devices:
- dhcp4: true
networkName: "<vm_network_name>"
- 1
- 머신 템플릿 유형을 지정합니다. 이 값은 플랫폼의 값과 일치해야 합니다.
- 2
- 머신 템플릿의 이름을 지정합니다.
- 3
- 환경에 대한 세부 정보를 지정합니다. 여기에 있는 값은 예입니다.
- 4
- 사용할 vSphere VM 템플릿 (예:
user-5ddjd-rhcos)
을 지정합니다. - 5
- vCenter 서버 IP 또는 정규화된 도메인 이름을 지정합니다.
- 6
- 사용할 VM 복제 유형을 지정합니다. 다음 값이 유효합니다.
-
fullClone
-
linkedClone
linkedClone
유형을 사용하는 경우 디스크 크기는diskGiB
값을 사용하는 대신 복제 소스와 일치합니다. 자세한 내용은 VM 복제 유형에 대한 vSphere 설명서를 참조하십시오. -
- 7
- 컴퓨팅 머신 세트를 배포할 vCenter 데이터 센터를 지정합니다.
- 8
- 컴퓨팅 머신 세트를 배포할 vCenter 데이터 저장소를 지정합니다.
- 9
- vCenter의 vSphere VM 폴더에 경로(예:
/dc1/vm/user-inst-5ddjd
)를 지정합니다. - 10
- VM의 vSphere 리소스 풀을 지정합니다.
- 11
- 컴퓨팅 머신 세트를 배포할 vSphere VM 네트워크를 지정합니다. 이 VM 네트워크는 다른 컴퓨팅 시스템이 클러스터에 상주하는 위치여야 합니다.
13.5.4.1.3. VMware vSphere에서 Cluster API 컴퓨팅 머신 세트 리소스의 샘플 YAML
컴퓨팅 머신 세트 리소스는 생성하는 시스템의 추가 속성을 정의합니다. 컴퓨팅 머신 세트는 머신을 생성할 때 인프라 리소스 및 머신 템플릿도 참조합니다.
apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineSet metadata: name: <machine_set_name> namespace: openshift-cluster-api spec: clusterName: <cluster_name> replicas: 1 selector: matchLabels: test: example template: metadata: labels: test: example spec: bootstrap: dataSecretName: worker-user-data clusterName: <cluster_name> infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: VSphereMachineTemplate name: <template_name> failureDomain: - name: <failure_domain_name> region: <region_a> zone: <zone_a> server: <vcenter_server_name> topology: datacenter: <region_a_data_center> computeCluster: "</region_a_data_center/host/zone_a_cluster>" resourcePool: "</region_a_data_center/host/zone_a_cluster/Resources/resource_pool>" datastore: "</region_a_data_center/datastore/datastore_a>" networks: - port-group
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineSet
metadata:
name: <machine_set_name>
namespace: openshift-cluster-api
spec:
clusterName: <cluster_name>
replicas: 1
selector:
matchLabels:
test: example
template:
metadata:
labels:
test: example
spec:
bootstrap:
dataSecretName: worker-user-data
clusterName: <cluster_name>
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: VSphereMachineTemplate
name: <template_name>
failureDomain:
- name: <failure_domain_name>
region: <region_a>
zone: <zone_a>
server: <vcenter_server_name>
topology:
datacenter: <region_a_data_center>
computeCluster: "</region_a_data_center/host/zone_a_cluster>"
resourcePool: "</region_a_data_center/host/zone_a_cluster/Resources/resource_pool>"
datastore: "</region_a_data_center/datastore/datastore_a>"
networks:
- port-group
- 1
- 컴퓨팅 머신 세트의 이름을 지정합니다.
- 2
- 클러스터 ID를 클러스터 이름으로 지정합니다.
- 3
- Cluster API 기술 프리뷰의 경우 Operator는
openshift-machine-api
네임스페이스의 작업자 사용자 데이터 시크릿을 사용할 수 있습니다. - 4
- 머신 템플릿 유형을 지정합니다. 이 값은 플랫폼의 값과 일치해야 합니다.
- 5
- 머신 템플릿 이름을 지정합니다.
- 6
- 실패 도메인 구성 세부 정보를 지정합니다.참고
클러스터 API를 사용하는 vSphere 클러스터에서 여러 리전 및 영역을 사용하는 것은 검증된 구성이 아닙니다.