From c9f672ce9ba5f48cae8bea3cc6405d19c7f10955 Mon Sep 17 00:00:00 2001 From: Alex Ronquillo Date: Tue, 23 Nov 2021 09:35:53 -0500 Subject: [PATCH] chore: add windows support to pixie lab --- src/markdown-pages/collect-data/pixie-lab/index.mdx | 6 ++++++ .../collect-data/pixie-lab/scenario-1.mdx | 10 ++++++++++ .../collect-data/pixie-lab/scenario-2.mdx | 10 ++++++++++ .../collect-data/pixie-lab/set-up-env.mdx | 10 ++++++++++ 4 files changed, 36 insertions(+) diff --git a/src/markdown-pages/collect-data/pixie-lab/index.mdx b/src/markdown-pages/collect-data/pixie-lab/index.mdx index 708298a75..5a3ebc2f1 100644 --- a/src/markdown-pages/collect-data/pixie-lab/index.mdx +++ b/src/markdown-pages/collect-data/pixie-lab/index.mdx @@ -34,6 +34,12 @@ You’re the developer of TinyHat.me, a website and API for putting virtual hats - [Helm 3](https://helm.sh/docs/intro/install/) - [Hyperkit](https://minikube.sigs.k8s.io/docs/drivers/hyperkit/) (for Mac) or [KVM2](https://minikube.sigs.k8s.io/docs/drivers/kvm2/) (Linux) minikube driver + + +If you're a Windows user, see our [materials repository](https://github.com/newrelic-experimental/pixie-lab-materials#requirements-for-windows-users) for your system requirements. + + + diff --git a/src/markdown-pages/collect-data/pixie-lab/scenario-1.mdx b/src/markdown-pages/collect-data/pixie-lab/scenario-1.mdx index b7d851fb2..4740d4337 100644 --- a/src/markdown-pages/collect-data/pixie-lab/scenario-1.mdx +++ b/src/markdown-pages/collect-data/pixie-lab/scenario-1.mdx @@ -30,6 +30,16 @@ cd ../scenario-1 [output] Done! ``` + + +If you're a windows user, run the PowerShell setup script: + +```sh +.\setup.ps1 +``` + + + Uh oh! You look on social media and see some confused customers: diff --git a/src/markdown-pages/collect-data/pixie-lab/scenario-2.mdx b/src/markdown-pages/collect-data/pixie-lab/scenario-2.mdx index f1f712c2a..8c9a9c0e0 100644 --- a/src/markdown-pages/collect-data/pixie-lab/scenario-2.mdx +++ b/src/markdown-pages/collect-data/pixie-lab/scenario-2.mdx @@ -32,6 +32,16 @@ cd ../scenario-2 [output] Done! ``` + + +If you're a windows user, run the PowerShell setup script: + +```sh +.\setup.ps1 +``` + + + Now that you've released your new code, it's time to check Twitter for some user feedback: diff --git a/src/markdown-pages/collect-data/pixie-lab/set-up-env.mdx b/src/markdown-pages/collect-data/pixie-lab/set-up-env.mdx index 66ea9a9fa..c69252e19 100644 --- a/src/markdown-pages/collect-data/pixie-lab/set-up-env.mdx +++ b/src/markdown-pages/collect-data/pixie-lab/set-up-env.mdx @@ -44,6 +44,16 @@ cd pixie-lab-materials/main ./setup.sh ``` + + +If you're a windows user, run the PowerShell setup script: + +```sh +.\setup.ps1 +``` + + + This script spins up a new minikube cluster using the Pixie-supported hyperkit driver. It also configures your network memory and CPU with limits that work well with this lab. Finally, it creates all the pods and services that make up the TinyHat application.