You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Zarf examples demonstrate different ways to utility Zarf in your environment. All of these examples follow the same general release pattern and assume an offline / air-gapped deployment target.
4
+
5
+
To test create a virtual area to test all examples, you can run `make all` or `make vm-init` if you've already run the examples before. Run `make vm-destroy` to clean up.
This example deploys Big Bang Core to a Utility Cluster. This is not normally the method that will be used in production but for a demo it works great.
4
+
5
+
Because the same cluster will be running both Traefik and Istio, Istio's VirtualServices will be available on port 9443
6
+
7
+
## Prerequisites
8
+
9
+
1. Install [Vagrant](https://www.vagrantup.com/)
10
+
2. Install `make` and `kustomize`
11
+
12
+
## Instructions
13
+
14
+
1. From within the examples directory, Run: `make all`, which will download the latest built binaries, build all of the example packages, and launch a basic VM to run in. Alternatively, run `make all-dev` if you want to build the binaries using the current codebase instead of downloading them.
15
+
5. Run: `sudo su` - Change user to root
16
+
6. Run: `cd zarf-examples` - Change to the directory where the examples folder is mounted
17
+
7. Run: `./zarf init --confirm --features management,utility-cluster --host localhost` - Initialize Zarf, telling it to install the management feature and utility cluster and skip logging feature (since BB has logging already) and tells Zarf to use `localhost` as the domain
18
+
8. Wait a bit, run `k9s` to see pods come up. Don't move on until everything is running
19
+
9. Run: `./zarf package deploy zarf-package-big-bang-core-demo.tar.zst --confirm` - Deploy Big Bang Core
20
+
10. Wait several minutes. Run `k9s` to watch progress
21
+
11. Use a browser to visit the various services, available at https://*.bigbang.dev:9443
22
+
12. When you're done, run `make vm-destroy` to bring everything down
23
+
24
+
## To-Do
25
+
26
+
1. Re-enable the NetworkPolicies - They got disabled to resolve an issue connecting to the k8s cluster API server, which is fine for a demo but unacceptable in production
0 commit comments