/istio-action

Github Action to install Isio in a K8s cluster

Primary LanguageShell

Istio Action

A GitHub Action to install Istio on Kubernetes cluster.

Usage

Pre-requisites

  • Create a workflow YAML file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.
  • Use another Github Action as helm/kind-action to create a Kubernetes cluster.

Inputs

  • version: The Istio version to use (default: 1.7.4)
  • profile: The Istio profile (demo, default or minimal)
  • wait: The duration to wait for the Istio CRD's to become ready (default: 60s)

Example Workflow

Create a workflow (eg: .github/workflows/install-istio.yml):

name: Install Istio on KinD K8s cluster

on: pull_request

jobs:
  install-cluster:
    runs-on: ubuntu-latest
    steps:
      - name: Create k8s Kind Cluster
        uses: helm/kind-action@v1.0.0
      - name: Install Istio
        uses: bilelkhalsi/istio-action@v0.1.0      

This uses @bilelkhalsi/istio-action GitHub Action to spin up a kind Kubernetes cluster with Istion installed on every Pull Request.

Reference Documentation

For further reference, please consider the following sections: