2.2. 既存の Ansible Automation Platform コンポーネントを使用したプラットフォームゲートウェイのデプロイ
すでにインストールされている Ansible Automation Platform のコンポーネントがある場合は、そのコンポーネントを、新しい Ansible Automation Platform インスタンスにリンクできます。
次の手順では、既存のコンポーネントとして Automation Controller があり、Automation Hub と Event-Driven Ansible を追加する状況を再現します。
手順
- Red Hat OpenShift Container Platform にログインします。
-
に移動します。 - Ansible Automation Platform Operator のデプロイメントを選択します。
- Update channel を stable-2.5 に編集します。 をクリックし、
- Ansible Automation Platform タイルで をクリックします。 をクリックし、
Create Ansible Automation Platform ページで、Name フィールドにインスタンスの名前を入力します。
-
Ansible Automation Platform のインスタンスをデプロイするときは、統合が機能するように、既存の Automation Controller インスタンスの
auto_update
がデフォルト値のfalse
に設定されていることを確認してください。
-
Ansible Automation Platform のインスタンスをデプロイするときは、統合が機能するように、既存の Automation Controller インスタンスの
apiVersion: aap.ansible.com/v1alpha1 kind: AnsibleAutomationPlatform metadata: name: example-aap namespace: aap spec: database: resource_requirements: requests: cpu: 200m memory: 512Mi storage_requirements: requests: storage: 100Gi # Platform image_pull_policy: IfNotPresent # Components controller: disabled: false name: existing-controller-name eda: disabled: false hub: disabled: false ## uncomment if using file storage for Content pod storage_type: file file_storage_storage_class: <your-read-write-many-storage-class> file_storage_size: 10Gi ## uncomment if using S3 storage for Content pod # storage_type: S3 # object_storage_s3_secret: example-galaxy-object-storage ## uncomment if using Azure storage
apiVersion: aap.ansible.com/v1alpha1 kind: AnsibleAutomationPlatform metadata: name: example-aap namespace: aap spec: database: resource_requirements: requests: cpu: 200m memory: 512Mi storage_requirements: requests: storage: 100Gi # Platform image_pull_policy: IfNotPresent # Components controller: disabled: false name: existing-controller-name eda: disabled: false hub: disabled: false ## uncomment if using file storage for Content pod storage_type: file file_storage_storage_class: <your-read-write-many-storage-class> file_storage_size: 10Gi ## uncomment if using S3 storage for Content pod # storage_type: S3 # object_storage_s3_secret: example-galaxy-object-storage ## uncomment if using Azure storage
Copy to Clipboard Copied! - 新しいコンポーネントは、名前を指定しないと、デフォルトの名前が生成されます。
- をクリックします。
- 新しいインスタンスにアクセスするには、プラットフォームゲートウェイへのアクセス を参照してください。
マネージド Postgres Pod を備えた既存のコントローラーがある場合、Ansible Automation Platform リソースを作成した後、Automation Controller インスタンスが元の Postgres Pod を引き続き使用します。新規インストールを実行しても、すべてのインスタンスに対して 1 つのマネージド Postgres Pod が使用されます。