Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.26 KB

File metadata and controls

58 lines (43 loc) · 1.26 KB

Step 1: Initialize a local Kubernetes cluster to run the examples

This uses kind to provision a cluster. You also need to install Istio, as the only available implementation of feature targeting is currently an Istio (specifically Mixer) adapter.

Create a cluster

Install kind.

$ brew install kind
(...)
==> Summary
🍺  /usr/local/Cellar/kind/0.7.0: 7 files, 8.9MB

Start a cluster with the provided script

$ ./kind.sh
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.17.0) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹️
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a nice day! 👋

Install Istio

Follow the installation guide at https://istio.io/docs/setup/getting-started/

Then run the provided script:

$ ./istio.sh
Checking the cluster to make sure it is ready for Istio installation...
(...)
Install Pre-Check passed! The cluster is ready for Istio installation.
(...)
✔ Installation complete

Remove Istio

If needed, you can remove istio with

$ istio-delete.sh