10.3.15. 매니페스트 파일 생성

설치 프로그램을 사용하여 assets 디렉터리에 매니페스트 파일 세트를 생성하십시오.

매니페스트 파일을 생성하는 명령은 install-config.yaml 파일을 사용하기 전에 경고 메시지를 표시합니다.

install-config.yaml 파일을 재사용하려는 경우 매니페스트 파일을 생성하기 전에 해당 파일의 백업 사본을 생성합니다.

프로세스

  1. 선택 사항: install-config.yaml 파일의 백업 사본을 생성합니다.

    $ cp install-config.yaml install-config.yaml.backup
  2. assets 디렉터리에 매니페스트 세트를 생성합니다.

    $ openshift-install create manifests --dir $ASSETS_DIR

    이 명령은 다음 메시지를 표시합니다.

    출력 예

    INFO Consuming Install Config from target directory
    WARNING Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings

    이 명령은 다음 매니페스트 파일을 생성합니다.

    출력 예

    $ tree
    .
    └── wrk
        ├── manifests
        │   ├── 04-openshift-machine-config-operator.yaml
        │   ├── cluster-config.yaml
        │   ├── cluster-dns-02-config.yml
        │   ├── cluster-infrastructure-02-config.yml
        │   ├── cluster-ingress-02-config.yml
        │   ├── cluster-network-01-crd.yml
        │   ├── cluster-network-02-config.yml
        │   ├── cluster-proxy-01-config.yaml
        │   ├── cluster-scheduler-02-config.yml
        │   ├── cvo-overrides.yaml
        │   ├── etcd-ca-bundle-configmap.yaml
        │   ├── etcd-client-secret.yaml
        │   ├── etcd-host-service-endpoints.yaml
        │   ├── etcd-host-service.yaml
        │   ├── etcd-metric-client-secret.yaml
        │   ├── etcd-metric-serving-ca-configmap.yaml
        │   ├── etcd-metric-signer-secret.yaml
        │   ├── etcd-namespace.yaml
        │   ├── etcd-service.yaml
        │   ├── etcd-serving-ca-configmap.yaml
        │   ├── etcd-signer-secret.yaml
        │   ├── kube-cloud-config.yaml
        │   ├── kube-system-configmap-root-ca.yaml
        │   ├── machine-config-server-tls-secret.yaml
        │   └── openshift-config-secret-pull-secret.yaml
        └── openshift
            ├── 99_kubeadmin-password-secret.yaml
            ├── 99_openshift-cluster-api_master-user-data-secret.yaml
            ├── 99_openshift-cluster-api_worker-user-data-secret.yaml
            ├── 99_openshift-machineconfig_99-master-ssh.yaml
            ├── 99_openshift-machineconfig_99-worker-ssh.yaml
            └── openshift-install-manifests.yaml

다음 단계

  • 컨트롤 플레인 노드를 예약 불가능하게 설정합니다.