The easiest way to install the Instana agent is with the helm chart. If you really want to do it by hand, template descriptors are available in the official documentation.
Install Stan's Robot Shop on to your K8s cluster using the helm chart, see the README for details of the various options.
$ cd helm
$ helm install --name robot-shop --namespace robot-shop .
You can apply resource quotas to the namespace where you installed Stan's Robot Shop.
$ 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.
Stan's Robot Shop will run on Kubernetes with Istio service mesh. Configure Istio ingress.
$ kubectl -n robot-shop apply -f Istio/gateway.yaml
Now use the exposed Istio gateway to access Robot Shop.
$ 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.