Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piomin/terraform-openshift
This repository contains Terraform configuration for creating and managing OpenShift clusters
https://github.com/piomin/terraform-openshift
aro azure openshift terraform
Last synced: 11 days ago
JSON representation
This repository contains Terraform configuration for creating and managing OpenShift clusters
- Host: GitHub
- URL: https://github.com/piomin/terraform-openshift
- Owner: piomin
- Created: 2023-09-26T13:12:50.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-20T15:35:46.000Z (about 2 months ago)
- Last Synced: 2024-10-10T20:55:11.485Z (28 days ago)
- Topics: aro, azure, openshift, terraform
- Language: HCL
- Homepage: https://piotrminkowski.com/
- Size: 43 KB
- Stars: 6
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenShift with Terraform Configuration [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social&logo=twitter&label=Follow%20Me)](https://twitter.com/piotr_minkowski)
[![CircleCI](https://circleci.com/gh/piomin/sample-spring-microservices-new.svg?style=svg)](https://circleci.com/gh/piomin/sample-spring-microservices-new)
In this project I'm demonstrating how to use Terraform to create and manage OpenShift clusters.
## Description
Here's the list of articles that explain in the details how it works:
1. How to create OpenShift cluster on Azure with the ARO managed service and install operators and apps: [Manage OpenShift with Terraform](https://piotrminkowski.com/2023/09/29/manage-openshift-with-terraform/)## Getting Started
You need to install Azure CLI (`az`) and Terraform CLI.
First login to the Azure account. You need an account there:
```shell
$ az account show
```Then just run my script on the existing AZ resource group:
```shell
$ ./aro-with-servicemesh.sh
```### Scenarios
#### Multicluster
Go to the `multicluster` directory. Run the following command to initialize workspace:
```shell
$ terraform init
```Then, let's create required objects:
```shell
$ terraform apply -auto-approve -var kubeconfig=../aro/kubeconfig
```