The preparations described below are required to install Usage Engine using Helm charts and Docker images. Read through the steps below and follow each step before installing.
...
Note | ||
---|---|---|
| ||
In the case a Downgrade is needed later, you must define Persistent Storage. For information about Persistent Storage, see Persistent Storage (2.2). |
Create kubernetes docker pull secret
All the usage-engine-private-edition container images are kept in a private repository (AWS ECR).
In order to pull the container images in the Kubernetes cluster you will need to create a secret for use with Digitalroute AWS ECR. You will need to have the access keys provided by Digitalroute in order to create the secret.
- Export AWS keys
Code Block $ export AWS_ACCESS_KEY_ID=<access key provided by Digitalroute> $ export AWS_SECRET_ACCESS_KEY=<secret access key provided by Digitalroute> $ export AWS_REGION=eu-west-1
- Create Secret
Code Block $ kubectl create secret docker-registry <name of the secret> \ --docker-server=https://462803626708.dkr.ecr.eu-west-1.amazonaws.com \ --docker-username=AWS \ --docker-password=$(aws ecr get-login-password --region eu-west-1) \ -n <namespace>
Example.
Create secret named ecr-cred in default namespace.Code Block $ kubectl create secret docker-registry ecr-cred \ --docker-server=https://462803626708.dkr.ecr.eu-west-1.amazonaws.com \ --docker-username=AWS \ --docker-password=$(aws ecr get-login-password --region eu-west-1) \ -n default //Verify that the secret is created. $ kubectl get secret ecr-cred -n default
Info |
---|
When installing usage-engine-private-edition you will need to use the ecr-cred secret in set values. Example: $ helm install uepe usage-engine-private-edition --set "global.imagePullSecrets[0].name=ecr-cred" |
Note | ||
---|---|---|
| ||
The created pull secret will only be valid for 12 hours! |