This document describes how to deploy the EDA-Controller (AKA eda-server). Currently there are three supported ways to deploy the EDA-Controller:
- Using the eda-server-operator for k8s/ocp (recommended one)
- Using docker-compose
- Using minikube
If you are looking for a development environment, please refer to the development document.
The recommended way to deploy the EDA-Controller is using the eda-server-operator. This operator is available in the eda-server-operator repository
Look at the eda-server-operator documentation for more information.
- Git
- Docker or Podman
- Docker Compose plugin or
docker-compose
python package. - Taskfile
You'll need to install Docker or Podman.
For further information please refer our guidelines.
For further information please refer our guidelines.
For further information please refer our guidelines.
git clone [email protected]:ansible/eda-server.git
You might want to configure the AWX integration. To do so, you need to set the environment variables EDA_CONTROLLER_URL
and EDA_CONTROLLER_SSL_VERIFY
. For example:
export EDA_CONTROLLER_URL=https://awx-example.com
export EDA_CONTROLLER_SSL_VERIFY=yes
cd tools/docker
You may want to pull the latest images from the registry:
docker-compose -p eda -f docker-compose-stage.yaml pull
You can start all services with:
docker-compose -p eda -f docker-compose-stage.yaml up
Note: You can use the environment variables EDA_IMAGE_URL
and EDA_UI_IMAGE
to use a different image url. By default is the latest code from the main branch.
Minikube is the recommended method for macOS users
- Kubernetes CLI (kubectl)
- kustomize
- minikube
- Taskfile
- bash, version 3.* or above
-
Copy environment properties example file to default location
cp ./tools/deploy/environment.properties.example ./tools/deploy/environment.properties
-
Edit ./tools/deploy/environment.properties file and add your values.
-
Start minikube if it is not already running:
minikube start
-
Ensure minikube instance is up and running:
minikube status
-
Run the deployment:
task minikube:all
-
Forward the webserver port to the localhost:
task minikube:fp:ui
Note: For fedora, the binary may be go-task
.
You can now inspect the API documentation at https://localhost:8443/api/eda/v1/docs or navigate through the resources with the DRF browsable API at https://localhost:8443/api/eda/v1/
You can also access the standalone UI at http://localhost:8443/ with the default credentials admin
/testpass
.