Files
robot-shop/K8s
Cedric Ziel f06a04ff86 Set default pullPolicy of IfNotPresent for helm chart
This will allow preloading images into the cluster
so the images dont have to be pulled. This is useful
for images/tags that are currently not in a public
registry. Otherwise it will try pulling anyways
and fail even if the image is already known to the
local daemon.
2020-06-22 11:27:16 +02:00
..
2019-09-03 10:27:22 +01:00
2019-05-22 16:06:28 +01:00
2019-05-22 15:54:05 +01:00
2019-12-10 11:21:09 +00:00
2019-07-09 17:09:53 +01:00

Instana Agent Install

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.

Stan's Robot Shop Install

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 .

Quotas and Scaling

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.

Istio

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.