Giter Club home page Giter Club logo

spectro-tf-examples's Introduction

spectro-tf-examples

Terraform examples for Spectrocloud Palette

aws_with_ebs_csi

Demonstrates deployment of a Kubernetes cluster on AWS EC2, including auto-configuration of AWS EBS for block storage PVs.

The Terraform run will create the following resources:

  • An IAM Role attachment, attaching the AWS-owned EBS CSI driver policy to the nodes.cluster-api-provider-aws.sigs.k8s.io IAM role
  • A Kubernetes cluster on AWS EC2 (1 master node, 2 worker nodes), using Spectrocloud Palette for deployment

aws_with_ebs_and_efs_csi

Demonstrates deployment of a Kubernetes cluster on AWS EC2, including auto-configuration of AWS EBS for block storage PVs and AWS EFS for file storage PVs.

The Terraform run will create the following resources:

  • An IAM Policy for the EFS CSI driver
  • An IAM Role attachment, attaching the EFS CSI driver policy to the nodes.cluster-api-provider-aws.sigs.k8s.io IAM role
  • An IAM Role attachment, attaching the AWS-owned EBS CSI driver policy to the nodes.cluster-api-provider-aws.sigs.k8s.io IAM role
  • An AWS EFS filesystem
  • A Kubernetes cluster on AWS EC2 (1 master node, 2 worker nodes), using Spectrocloud Palette for deployment
  • Three EFS mount targets, in the private subnets that were created by Palette's Kubernetes cluster deployment

To ensure the EFS and EBS CSIs are ready immediately after cluster deployment, Terraform will:

  • inject the Filesystem ID of the created EFS filesystem into the csi-aws-efs-add-on pack

eks_with_ebs_csi

Demonstrates deployment of a AWS EKS cluster, including auto-configuration of AWS EBS for block storage PVs.

The Terraform run will create the following resources:

  • An IAM IRSA Role for the EKS cluster, attaching the AWS-owned EBS CSI driver policy to this role and allowing access to the EKS cluster's OIDC identity
  • An EKS cluster (2 worker nodes), using Spectrocloud Palette for deployment

To ensure the EBS CSI is ready immediately after cluster deployment, Terraform will:

  • inject the EKS IRSA role ARN that contains the IAM Policy for the EBS CSI driver into an annotation for the CSI ServiceAccount

eks_with_ebs_and_efs_csi

Demonstrates deployment of a AWS EKS cluster, including auto-configuration of AWS EBS for block storage PVs and AWS EFS for file storage PVs.

The Terraform run will create the following resources:

  • An IAM Policy for the EFS CSI driver
  • An IAM IRSA Role for the EKS cluster, attaching the EFS CSI driver policy and the AWS-owned EBS CSI driver policy to this role and allowing access to the EKS cluster's OIDC identity
  • An AWS EFS filesystem
  • An EKS cluster (2 worker nodes), using Spectrocloud Palette for deployment
  • Three EFS mount targets, in the private subnets that were created by Palette's Kubernetes cluster deployment

To ensure the EFS and EBS CSIs are ready immediately after cluster deployment, Terraform will:

  • inject the Filesystem ID of the created EFS filesystem into the csi-aws-efs-add-on pack
  • inject the EKS IRSA role ARN that contains the IAM Policies for the EFS and EBS CSI drivers into an annotation for the CSI ServiceAccounts for both drivers

spectro-tf-examples's People

Contributors

kreeuwijk avatar

Stargazers

Pedro Oliveira avatar  avatar Jethro Cao avatar

Watchers

James Cloos avatar Jethro Cao avatar  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.