If you’re using the Image Hub or if you like other Layer5 projects, please ★ star this repository to show your support! 🤩
Image Hub is a sample application written to run on Consul for exploring WebAssembly modules used as Envoy filters. This demo application has been enabled by experimental works of Nic Jackson of HashiCorp, and Kanishkar J, Lee Calcote, and other contributors of Layer5.
Deployment Instructions (pending meshery-consul/issues/2):
- Deploy the latest Consul:
helm repo add hashicorp https://helm.releases.hashicorp.com # Adds helm hashicorp repo
helm install consul hashicorp/consul -f config/consul-values.yaml # Setup custom Consul with support for WASM
- Use Meshery to deploy the Image Hub sample application onto the Consul service mesh.
- Find the port assigned to the
ingess
service:
kubectl get svc ingess
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingess NodePort 10.97.34.25 <none> 80:31118/TCP 27m
- Open http://localhost:31118 (where 31118 is your environment's port number).
- Test your ability to "pull" an image (images are not in fact pulled, but an HTTP request is sent to the backend
api
). You should not be able to pull an image. - Sign up a new user and select a subscription plan.
- Login as that user.
- Test your ability to "pull" an image. You should be able to pull an image.
- Open Meshery's performance management page (http://localhost:9081/performance)
- Configure a performance test against http://x.x.x.x:31118/api/pull (where x.x.x.x is your machine's host IP address, not "localhost")
- Enter
{ "authorization" : "<your user's token>" }
- Run the performance test. See that your subscription plan limit is enforced accordingly.
- Change your subscription plan and retest.
- DockerCon 2020 | deck | (video
Our projects are community-built and welcome collaboration. 👍 Be sure to see the Layer5 Community Welcome Guide for a tour of resources available to you and jump into our Slack!
✔️ Join any or all of the weekly meetings on the community calendar.
✔️ Watch community meeting recordings.
✔️ Access the community drive.
Not sure where to start? Grab an open issue with the help-wanted label.
Community First
The Layer5 community represents the largest collection of service mesh projects and their maintainers in the world.
Open Source First
We build projects to provide learning environments, deployment and operational best practices, performance benchmarks, create documentation, share networking opportunities, and more. Our shared commitment to the open source spirit pushes Layer5 projects forward.
License
This repository and site are available as open source under the terms of the Apache 2.0 License.