okd-installer - Getting Started
TODO / WIP page
This page is not completed!
Overview of the stack delivered by Ansible Collectio okd-installer:
- okd-installer's specific Ansible Playbook and Roles
- generic cloud provisioning Ansible Roles
TODO Content for Getting started
Guides:
- Quick Install
- Quick Setup
- Quick Create Cluster
- Quick Test
- References more Installing Guides
See Next
- AWS User-Provisioned Installation
- AWS with Agnostic Installation
- DigitalOcean with Agnostic Installation
---
TODO review and distribute items below to specific docs:
Install Ansible Collection okd-installer
Install and configure Ansible
-
Install Ansible
-
Create the configuration
Install the Collection
git clone git@github.com:mtulio/ansible-collection-okd-installer.git collections/ansible_collections/mtulio/okd_installer/
Install the OpenShift Clients
The binary path of the clients used by installer is ${HOME}/.ansible/okd-installer/bin
, so the utilities like openshift-installer
and oc
should be present in this path.
To check if the clients used by installer is present, run the client check:
To install you should have one valid pull secret file path exported to the environment variable CONFIG_PULL_SECRET_FILE
. Example:
To install the clients you can run set the version and run:
Example of configuration
This is one example how to create the configuration.
Export the environment variables
The environment variables is the only steps supported at this moment. We will add more examples in the future to create your own playbook setting the your custom variables.
Generate the Configuration
To generate the install config, you must set variables (defined above) and the cluster_name:
ansible-playbook mtulio.okd_installer.config \
-e mode=create \
-e cluster_name=${CONFIG_CLUSTER_NAME}
The install-config.yaml will be available on the path: ${HOME}/.ansible/okd-installer/clusters/${CONFIG_CLUSTER_NAME}/install-config.yaml
.