Skip to content
anchor

GitHub Action

Install Istio

v1.0.0 Latest version

Install Istio

anchor

Install Istio

This action installs Istio

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Install Istio

uses: huang195/[email protected]

Learn more about this action in huang195/actions-install-istio

Choose a version

Setup Istio Github Action

Install Istio

Usage

Istio requires a Kubernetes cluster to run. You can use any Github Actions that installs a Kubernetes cluster before running this action. An example is shown below.

Basic

name: Example workflow
on: [push]
jobs:
  example:
    name: Create Istio service mesh
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Setup Minikube
        uses: manusa/[email protected]
        with:
          minikube version: 'v1.11.0'
          kubernetes version: 'v1.17.7'
          start args: '--embed-certs'
      - name: Get kubeconfig
        id: kubeconfig
        run: a="$(cat ~/.kube/config)"; a="${a//'%'/'%25'}"; a="${a//$'\n'/'%0A'}"; a="${a//$'\r'/'%0D'}"; echo "::set-output name=config::$a"
      - name: Install Istio
        uses: huang195/[email protected]
        with:
          kubeconfig: "${{steps.kubeconfig.outputs.config}}"
          istio version: '1.6.3'
      - name: Interact with the cluster
        run: kubectl get all --all-namespaces

Required input parameters

Parameter Description
kubeconfig Kubeconfig file that kubectl uses

Optional input parameters

Parameter Description
istio version Istio version to deploy
istio profile Istio profile during installation
istio args Istio arguments during installation