Setup

In order to deploy EXTO release on a kubernetes cluster we need to first setup a few secrets.

  • Exto Docker is hosted on the private azure registry. In order to get those images from the exto container registry, you will need the credentials.Contact the support team for these credentails. Once you obtain them, set up a secret kubernetes cluster accordingly. User the below command to create a pull secret.

ACR denotes Azure Container Registry

$ kubectl create secret docker-registry exto-$(ENV)-pull-secret \
  --namespace $(ENV) \
  --docker-server=$(EXTO_ACR) \
  --docker-username=$(EXTO_ACR_USERNAME) \
  --docker-password=$(EXTO_ACR_PASSWORD)

The above requires the following env variables :

  • ENV: Defaults to dev

  • EXTO_ACR: is the ACR domain.

  • EXTO_ACR_USERNAME: is the ACR username. Required.

  • EXTO_ACR_PASSWORD: is the ACR password. Required.

  • TLS certificate secret. This is required for the ingress controller to serve the tls certicicate.

    $ kubectl create secret tls $(ENV).exto.com \
      --namespace $(ENV) \
      --key=ssl-certs/<tls_certificate>.key \
      --cert=ssl-certs/<tls_certificate>.crt

    The above requires ENV, which defaults to dev.

By the end of this section, you will have 3 files created.

Last updated

Was this helpful?