Skip to content

Commit

Permalink
add basic documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Riccardo Piccoli <[email protected]>
  • Loading branch information
rccrdpccl committed May 14, 2024
1 parent a425a2c commit d627993
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,40 @@
# cluster-api-agent
// TODO(user): Add simple overview of use/purpose
# Cluster API OpenShift Agent providers

OpenShift Agent providers are a pair of CAPI providers, bootstrap and controlplane, which objective
is to install OpenShift on BareMetal.

## Description
// TODO(user): An in-depth paragraph about your project and overview of use
OpenShift Agent providers install OpenShift on BareMetal without the need of a bootstrap node.
To achieve this feature, the providers are using Assisted Installer ZTP flow behind the scenes.

## Getting Started

### Supported Infrastructure Providers
* [CAPM3](https://github.com/metal3-io/cluster-api-provider-metal3)

### Prerequisites
- go version v1.21.0+
- docker version 17.03+.
- kubectl version v1.11.3+.
- Access to a Kubernetes v1.11.3+ cluster.

### Installation
To configure clusterctl with the OpenShift Agent providers, edit `~/.cluster-api/clusterctl.yaml` and add the following:

```yaml
- name: "openshift-agent"
url: "https://github.com/openshift-assisted/cluster-api-agent/releases/latest/download/bootstrap-components.yaml"
type: "BootstrapProvider"
- name: "openshift-agent"
url: "https://github.com/openshift-assisted/cluster-api-agent/releases/latest/download/controlplane-components.yaml"
type: "ControlPlaneProvider"
```
After this we will be able to initialize clusterctl:
```bash
clusterctl init --bootstrap openshift-agent --control-plane openshift-agent -i metal3:v1.7.0
```

### To Deploy on the cluster
**Build and push your image to the location specified by `IMG`:**

Expand Down

0 comments on commit d627993

Please sign in to comment.