Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Kronos Example

This example is for creating a simple WASM filter for the BookInfo example.

  1. Create a Kubernetes cluster
  2. Install the WASME CRD's
    kubectl apply -f https://github.com/solo-io/wasme/releases/latest/download/wasme.io_v1_crds.yaml
  3. Install the WASME Operator
    kubectl apply -f https://github.com/solo-io/wasme/releases/latest/download/wasme-default.yaml
  4. Install Istio (>1.5.0 is needed for WASME to work)
    istioctl manifest apply --set profile=demo
  5. Enable injection so that Envoy is attached to your pods
    kubectl label namespace default istio-injection=enabled
  6. Install Bookinfo and Bookinfo Gateways
    kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.5/samples/bookinfo/platform/kube/bookinfo.yaml
    kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.5/samples/bookinfo/networking/bookinfo-gateway.yaml
  7. Apply the FilterDeployment
    kubectl apply -f example/filterdeployment.yaml
  8. Inspect the response headers for the correct security headers