Skip to content

A demo of using Tilt to run an application with Linkerd on your local machine

License

Notifications You must be signed in to change notification settings

campbel/tilt-linkerd-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tilt-linkerd-demo

A demo of using Tilt to run an application with Linkerd on your local machine

Quick Setup

  1. Setup local Kubernetes cluster

    Recommend using Orbstack (macOS only) for local Kubernetes

    Other options:

    Once Kubernetes is running, verify it's working and you can connect to it with kubectl

    kubectl get nodes
  2. Install Tilt

    brew install tilt-dev/tap/tilt

    Full instructions are available here

  3. Setup /etc/hosts (optional, choose one of the following)

    (option A) Add the following to /etc/hosts:

    127.0.0.1   linkerd.localhost
    127.0.0.1   foo.localhost

    (option B) use hostctl

    brew install guumaster/tap/hostctl
    sudo hostctl add tilt-linkerd-demo < .etchosts
  4. Install Linkerd cli (optional)

    curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install-edge | sh
    export PATH="$PATH:/Users/username/.linkerd/bin"

    Full instructions are available here

Run the demo

tilt up

About

A demo of using Tilt to run an application with Linkerd on your local machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published