Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shawsers/robot-shop
https://github.com/shawsers/robot-shop
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/shawsers/robot-shop
- Owner: shawsers
- Created: 2023-02-28T15:10:51.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T15:12:21.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T20:49:10.681Z (3 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instana Agent Install
The easiest way to install the Instana agent is with the helm [chart](https://hub.helm.sh/charts/stable/instana-agent). If you really want to do it by hand, template descriptors are available in the official [documentation](https://docs.instana.io/ecosystem/kubernetes/).
# Stan's Robot Shop Install
Install Stan's Robot Shop on to your K8s cluster using the helm chart, see the [README](helm/README.md) for details of the various options.
```shell
$ cd helm
$ helm install --name robot-shop --namespace robot-shop .
```## Quotas and Scaling
You can apply resource quotas to the namespace where you installed Stan's Robot Shop.
```shell
$ kubectl -n robot-shop apply -f resource-quota.yaml
```The quotas and usage are shown in the Instana Kubernetes dashboards.
Optinally you can also run the `autoscale.sh` script to configure automatic scaling of the deployments. You will need to edit the script if you did not deploy to the `robot-shop` namespace. Varying the load on the application will cause Kubernetes to scale up/down the various deployments.
## Istio
Stan's Robot Shop will run on Kubernetes with Istio service mesh. Configure Istio ingress.
```shell
$ kubectl -n robot-shop apply -f Istio/gateway.yaml
```Now use the exposed Istio gateway to access Robot Shop.
```shell
$ kubectl -n istio-system get svc istio-ingressgateway
```The above will display the IP address of the Istio gateway.
**NOTE** The Instana agent only works with later versions of Istio.