Files
robot-shop/K8s/README.md

42 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2018-05-11 09:40:45 +01:00
# Instana Agent Install
2019-12-10 11:21:09 +00:00
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/).
2019-05-07 14:57:04 +01:00
2019-12-10 11:21:09 +00:00
# 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
2019-07-10 12:21:52 +01:00
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.
2019-12-10 11:21:09 +00:00
## Istio
2019-07-10 12:21:52 +01:00
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.