https://github.com/morningspace/cluster-operator-fyre
An Ansible Operator to provision OpenShift cluster on Fyre
https://github.com/morningspace/cluster-operator-fyre
Last synced: 5 months ago
JSON representation
An Ansible Operator to provision OpenShift cluster on Fyre
- Host: GitHub
- URL: https://github.com/morningspace/cluster-operator-fyre
- Owner: morningspace
- Created: 2022-02-06T08:57:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-08T10:15:47.000Z (over 4 years ago)
- Last Synced: 2025-06-26T19:48:12.237Z (about 1 year ago)
- Language: Makefile
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cluster Operator Fyre
An Ansible Operator used to provision OpenShift cluster on Fyre by calling Fyre REST APIs.
## Installation
To install this operator, run:
```shell
make deploy
```
This will install the operator onto your target Kubernetes cluster that is currently being used. (The current context specified in your kubeconfig)
## How to use
For example, if you want to provision an OCP cluster with version `4.8.27` and `medium` size on Fyre QuickBurn, you can apply below Kubernetes resource:
```yaml
apiVersion: clusters.ibm.com/v1alpha1
kind: OpenShiftFyre
metadata:
name: openshiftfyre-qb-medium
namespace: cluster-operator-fyre-system
spec:
# Reference to a secret including your fyre credential
providerSecretRef: my-fyre-secret
# Using Quick Burn
quotaType: "quick_burn"
# Site location
site: "svl"
# OCP version
ocpVersion: "4.8.27"
# Platform using x86
platform: "x"
# Size using medium
size: "medium"
```
Before that, you may also need to create a secret including your Fyre credential that will be used by the operaor to communicate with Fyre REST APIs.
```sh
kubectl create secret generic my-fyre-secret -n cluster-operator-fyre-system \
--from-literal username= \
--from-literal password= \
--from-literal product_group_id= \
```
You can find more examples in `config/samples` directory.