Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task for OCP cluster provisioning in AWS #7

Open
pehala opened this issue Feb 12, 2024 · 0 comments
Open

Add task for OCP cluster provisioning in AWS #7

pehala opened this issue Feb 12, 2024 · 0 comments

Comments

@pehala
Copy link
Contributor

pehala commented Feb 12, 2024

Summary

This task should provision a new clean OCP cluster backed by AWS cloud provider. The way of doing this I am aware of is to use openshift-install cli tool. The end goal is to have a pipeline capable of creating cluster, installing Kuadrant, running tests, cleaning up. So do also an OCP cleanup task as part of this.

Documentation
https://docs.openshift.com/container-platform/4.16/installing/installing_aws/preparing-to-install-on-aws.html

Example

openshift-install create cluster --dir=my-cluster-config
openshift-install destroy cluster --dir=my-cluster-config

The my-cluster-config directory should contain install-config.yaml file containing cluster specifications, example:

$ cat install-config.yaml 
apiVersion: v1
baseDomain: csqeperf.link
compute:
- architecture: amd64
  hyperthreading: Enabled
  name: worker
  platform:
    aws:
      type: m5.xlarge
      zones:
      - us-east-1a
  replicas: 1
controlPlane:
  architecture: amd64
  hyperthreading: Enabled
  name: master
  platform:
    aws:
      type: m5.xlarge
      zones:
      - us-east-1a
  replicas: 1
metadata:
  creationTimestamp: null
  name: trepel01
networking:
  clusterNetwork:
  - cidr: 10.128.0.0/14
    hostPrefix: 23
  machineNetwork:
  - cidr: 10.0.0.0/16
  networkType: OVNKubernetes
  serviceNetwork:
  - 172.30.0.0/16
platform:
  aws:
    region: us-east-1
    userTags:
      adminContact: trepel01
    propagateUserTags: true
publish: External
sshKey: xxx
pullSecret: xxx
@github-project-automation github-project-automation bot moved this to 🆕 New in Kuadrant QE Feb 12, 2024
@pehala pehala added epic Issue encapsulating other related issues and removed epic Issue encapsulating other related issues labels Feb 12, 2024
@pehala pehala moved this from 🆕 New to 📋 Backlog in Kuadrant QE Feb 12, 2024
@martinhesko martinhesko moved this from 📋 Backlog to 🆕 New in Kuadrant QE Mar 6, 2024
@jsmolar jsmolar moved this from 🆕 New to ✅ Done in Kuadrant QE Jun 19, 2024
@jsmolar jsmolar moved this from ✅ Done to 📋 Backlog in Kuadrant QE Jun 19, 2024
@trepel trepel changed the title Add task for cluster setup Add task for OCP setup is AWS Jul 24, 2024
@trepel trepel changed the title Add task for OCP setup is AWS Add task for OCP cluster provisioning in AWS Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant