Creating Environments
In each cluster that run applications, an Istio control plane must be installed. This section covers the steps required to deploy Istio in each cluster and configure TSB to automatically import data from that cluster.
Creating the environment
First of all the environment must be created. If you are onboarding several clusters and the environment already exists, you can skip this step.
The environment can be created using the Environment API as follows:
curl --request POST --url https://${TSBIP}:8443/v1/tenants/${TENANT}/environments \
-u "admin:<credential>" \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data "{\"id\":\"${ENV}\"}"
ENV var
The ENV
environment variable is configured in the config-values
provided in the
TSB installation bundle.