7

GitHub - IBM/ocp4-upi-compute-powervs: Automation to support additional Red Hat...

 1 year ago
source link: https://github.com/IBM/ocp4-upi-compute-powervs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

ocp4-upi-compute-powervs

The ocp4-upi-compute-powervs project provides Terraform based automation code to help with the deployment of OpenShift Container Platform (OCP) 4.x compute workers on IBM® Power Systems™ Virtual Server on IBM Cloud.

Prerequisites

  1. Requires Terraform v1.4.0 or Higher
  2. A PowerVS Service
  3. An RHCOS Image loaded to the PowerVS Service
  4. An Existing OpenShift Container Platform Cluster (on Power or Intel VPC)
  5. A downloaded ignition file stored (in data folder)
❯ curl -k http://api.demo.ocp-power.xyz:22624/config/worker -o worker.ign -H "Accept: application/vnd.coreos.ignition+json;version=3.2.0"
❯ oc extract -n openshift-machine-api secret/worker-user-data --keys=userData --to=-

Commands

❯ terraform init -upgrade
❯ terraform plan -var-file=var.tfvars

Apply

❯ terraform apply -var-file=var.tfvars

Destroy

❯ terraform destroy -var-file=var.tfvars

If you have any questions or issues you can create a new [issue here][issues].

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

All source files must include a Copyright and License header. The SPDX license header is preferred because it can be easily scanned.

If you would like to see the detailed LICENSE click here.

#
# Copyright 2023 - IBM Corporation. All rights reserved
# SPDX-License-Identifier: Apache2.0
#

Support

Is this a Red Hat or IBM supported solution?

No. This is only an early alpha version of a mixed architecture compute.

This notice will be removed when the feature is generally available or in Tech Preview.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK