Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.21 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.21 KB

Used for the ServiceMeshCon NA 2020 demo

For more info on qbec: https://github.com/splunk/qbec

Demo based on https://medium.com/@harsimranmaan/running-jupyterhub-with-istio-service-mesh-on-kubernetes-a-troubleshooting-journey-707039f36a7b

Setup

Enable Kubernetes on Docker for Mac.

Demo flow

  1. Do a stock deployment
  2. Build the patched hub images from Dockerfile
  3. Update the hub image tag in base.libsonnet L#32 as tag: '0.9.0-patch',
  4. Deploy with istio enabled on the namespace

To see all components:

qbec show  default -O

Apply the components:

qbec apply default

Diff the changes to be applied when enabling istio:

qbec diff default --vm:ext-str ISTIO=enabled
qbec apply default --vm:ext-str ISTIO=enabled

Enable/disable istio and PeerAuth on the namespace

Enable istio on namespace(not needed if running ):

# Enable
qbec apply default --vm:ext-str ISTIO=enabled -c namespace
# Disable
qbec apply default -c namespace