Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
57 lines (40 loc) · 1.84 KB

SETUP.md

File metadata and controls

57 lines (40 loc) · 1.84 KB

Istio Setup

These notes are for information and are not necessarily designed to be shown in the demo. This should be set up ahead of presentation start.

Prerequisites

Minikube Environment

  • WARNING: This command contains a MacOS workaround for cluster certificates
  • WARNING: ClusterSigningCertFile & ClusterSigningKeyFile may not work on non-MacOS platforms

minikube:

minikube start \
  --extra-config=controller-manager.ClusterSigningCertFile="/var/lib/localkube/certs/ca.crt" \
  --extra-config=controller-manager.ClusterSigningKeyFile="/var/lib/localkube/certs/ca.key" \
  --extra-config=apiserver.Admission.PluginNames=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota \
  --kubernetes-version=v1.9.0

Demo Preparation

Run the following commands from the scripts directory or simply run the setup script

  • Deploy Istio control plane (sometimes need to run twice due to CRD create race conditions)
make setup
  • Deploy Istio Sidecar-Injector
make injector-all
  • Open k8s-dashboard to ensure applications in istio-system namespace deployed properly
minikube dashboard
  • Deploy all demo applications (do this way ahead of time to be sure everything comes up properly before you start demo'ing)
make deploy-demos