-
Notifications
You must be signed in to change notification settings - Fork 25
Pre requisites
You need to have an ACM cluster up and running.
ACM can be deployed manually with the UI, or automatically using https://github.com/redhat-ztp/ztp-cluster-deploy/tree/master/acm-hub.
If ACM has been deployed manually, you need to apply the following manifest: https://github.com/redhat-ztp/ztp-acm-manifests/blob/main/hub/04_add_subscription_permission.yaml
Once ACM is up and running, the manifests can be applied. Manifests are under https://github.com/redhat-ztp/ztp-acm-manifests , and need to be applied on ACM hub with:
oc apply -k subscriptions/spokes_definitions
oc apply -k subscriptions/base
oc apply -k subscriptions/function/cu
oc apply -k subscriptions/function/du
oc apply -k subscriptions/sites/sample_site_cu_subscription
oc apply -k subscriptions/sites/sample_site_du_subscription
ztp-cluster-deploy has been tested under CentOS 8 and RHEL 8. You need to have the right repositories enabled in your system, in order to install dependencies.
ztp-cluster-deploy playbooks are based on Ansible. So you need to have the latest ansible installed. Please refer to the Ansible instructions for your distro.