GithubHelp home page GithubHelp logo

classic-cluster's Introduction

IKS on Classic Cluster

This module creates an IKS on classic cluster with worker pools in any number of zones.

Classic Cluster

Table of Contents

  1. Cluster
  2. Module Variables
  3. Outputs (optional)
  4. As a Module in a Larger Architecture

Cluster

This module creates an IKS cluster, it will also optionall provision workers in multiple zones from a list.


Module Variables

Variable Type Description Default
ibmcloud_api_key String IBM Cloud IAM API Key
resource_group String Name of resource group to provision resources
ibm_region String IBM Cloud region where all resources will be deployed us-south
public_vlan_ids List List of public vlans. The first will be for the master, any additional will be for worker pools. This is optional if you use private_only
private_vlan_ids List List of private vlans The first will be for the master, any additional will be for worker pools
zones List List of cluster zones The first will be for the master, any additional will be for worker pools. The zones must be in te same order as te VLAN Ids
cluster_name String Name of openshift cluster to be created classic-cluster
default_pool_size String Default pool size for cluster 1
hardware String Hardware type for cluster, shared or dedicated shared
machine_type String hardware type for cluster b2c.4x16
private_only Boolean Provision cluster workers on private only false

Outputs

  • cluster_id : Cluster ID, will await the worker pool zone attachments before outputting

As a Module in a Larger Architecture

Using Default Variables

module classic_cluster {
    source            = "<path to your code>"
    resource_group_id = "<path to your code>"
    public_vlan_ids   = "<path to your code>" 
    private_vlan_ids  = "<path to your code>" 
    zones             = "<path to your code>" 
    cluster_name      = "<path to your code>" 
}

Using All Custom Variables

module classic_cluster {
    source            = "<path to your code>"
    resource_group_id = "<path to your code>"
    public_vlan_ids   = "<path to your code>" 
    private_vlan_ids  = "<path to your code>" 
    zones             = "<path to your code>" 
    cluster_name      = "<path to your code>" 
    kube_version      = "<path to your code>" 
    default_pool_size = "<path to your code>" 
    hardware          = "<path to your code>" 
    machine_type      = "<path to your code>" 
    private_only      = "<path to your code>" 
}

classic-cluster's People

Contributors

hkantare avatar jvallexm 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.