-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a9a8bf
commit 2e76dfa
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# https://docs.px.dev/installing-pixie/install-guides/self-hosted-pixie/ | ||
|
||
echo "# Deploy Pixie Cloud" | ||
git clone https://github.com/pixie-io/pixie.git | ||
cd pixie | ||
|
||
# brew install mkcert | ||
mkcert -install | ||
|
||
kubectl create namespace plc | ||
./scripts/create_cloud_secrets.sh | ||
kustomize build k8s/cloud_deps/base/elastic/operator | kubectl apply --filename=- | ||
kustomize build k8s/cloud_deps/public | kubectl apply --filename=- | ||
kustomize build k8s/cloud/public/ | kubectl apply --filename=- | ||
|
||
# Set up DNS | ||
kubectl get service cloud-proxy-service -n plc | ||
kubectl get service vzconn-service -n plc | ||
go build src/utils/dev_dns_updater/dev_dns_updater.go | ||
./dev_dns_updater --domain-name="dev.withpixie.dev" --kubeconfig=$HOME/.kube/config --n=plc | ||
echo "==================================================" | ||
|
||
echo "# Install the Pixie CLI" | ||
export PL_CLOUD_ADDR=dev.withpixie.dev | ||
bash -c "$(curl -fsSL https://withpixie.ai/install.sh)" | ||
echo "==================================================" | ||
|
||
echo "# Deploy Pixie" | ||
px deploy --dev_cloud_namespace plc | ||
echo "==================================================" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# https://docs.px.dev/installing-pixie/install-guides/community-cloud-for-pixie/ | ||
|
||
echo "# Install the Pixie CLI" | ||
bash -c "$(curl -fsSL https://withpixie.ai/install.sh)" | ||
echo "==================================================" | ||
|
||
echo "# Deploy Pixie" | ||
px deploy | ||
echo "==================================================" |