Code Monkey home page Code Monkey logo

azure-aro's Introduction

Azure Red Hat Openshift (ARO) Deployment Code / Scripts

Azure Red Hat OpenShift 4.x

aro4-build.sh


This script will deploy Azure Red Hat OpenShift 4.x and create the necessary group/network infrastructure required. The process takes roughly 35 minutes. Until the 'az aro' command becomes GA within the Azure Linux CLI, you must ensure your Azure CLI has the extension included: az extension add -n aro --index https://az.aroapp.io/stable and continue to keep it updated: az extension update -n aro --index https://az.aroapp.io/stable

The usage is as follows:
./aro4-build.sh to create an ARO 4.x cluster with a standard aroapp.io domain.
./aro4-build.sh blah.foo.com to create an ARO 4.x cluster with a custom domain of blah.foo.com

Notes:

  • This script now supports Red Hat Cloud Access pull secrets. Just save your pull secret in a file called "pull-secret.txt" in the same directory in which you invoke this script.
  • Custom domains will error on an invalid SSL certificate since the certificate is self-signed. You will need to upload a signed SSL certificate for your domain to address this.
  • The build script will look for the DNS Zone and A records for the custom domain. If either don't exist, it will create the zone and/or associated A records.
  • Using the example above, it will be your responsibility to create an NS record from the foo.com zone to point to blah.foo.com. The nameservers for blah.foo.com will be provided by the script during build.

aro4-aad-connect.sh


This script will connect Azure Red Hat OpenShift to Azure Active Directory. It will create a new Azure Application & Service Principal within AAD and subsequently configure an OAuth based Authentication Provider to bind to it using the subscription and tenant which are active when the script is run. The script is compatible with standard "aroapp.io" deployments and custom domains.

The usage is as follows:
./aro4-aad-connect.sh (ARO Cluster Name) (ARO Resource Group Name)

cleanappsp.sh


This script is a housekeeping script that mercilessly deletes all Azure Active Directory applications and service principals with an aro- prefix. It is particularly useful when standing up / tearing down multiple ARO clusters.

The usage is as follows:
./cleanappsp.sh


aro4-replace-pull-secret.sh


This script will allow you to replace the global pull secret currently existing on your ARO cluster.

Pre-requisites:
  • Logged in a cluster-admin user (kubeadmin) with oc
  • Obtain a revised pull secret (ex. from cloud.redhat.com) and save to a text file

The usage is as follows:
./aro4-replace-pull-secret.sh (filename-of-pull-secret.json)

Note: This script assumes that you are logged in as kubeadmin - if you have created a new cluster-admin user, you will need to change the script to reflect this. Your cluster will also become unavailable for several minutes while the revised pull-secret is propogated across all nodes.


Azure Red Hat OpenShift 3.11

  • aro-311-deploy.json
  • aro-311-deploy.params.json

These ARM templates can be used to deploy the latest version of Azure Red Hat OpenShift 3.11. Support for the following has been added based on customer demand:

* Peering of Azure vnets / enablement of VPN connectivity / Private clusters
* Integration with Azure Monitoring to provide container application metrics

To deploy ARO 3.11 you will need to customize the parameters file per your Azure credentials and execute the following commands using the Azure Linux CLI, or clicking on the link below. The build takes roughly 15-20 minutes.

* az group create -n <resourcegroup> -l <azuredatacenter>
* az group deployment create -g <resourcegroup> --template-file aro-311-deploy.json --parameters aro-311-deploy.params.json

azure-aro's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.