...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Prerequisites
- SQL Server connection string
- SSL certificate and decrypted key files
- Azure container registry login for pulling OneList containers
- SMTP server login and email address for sending notification emails
- Base64 string Machine key
Deployment steps
Open a command prompt from the folder that contains the YAML deployment files. Flow steps below to deploy OneList.
1. Create namespace
Run the command below to create "onelist" namespace.
kubectl create namespace onelist
2. Create ConfigMap and secret
ConfigMap and secret contains environment variables that will be used by OneList services. Open "config.yaml" in notepad and update the following fields with the correct value.
...
kubectl apply -f config.yaml
3. Create docker secrete for pulling OneList containers
Replace placeholders in the command below and run it.
kubectl create secret docker-registry iqx.acr --docker-server=https://iqxbusiness.azurecr.io --docker-username=ACR_USERNAME --docker-password=ACR_PASSWORD --docker-email=YOUR_EMAIL_ADDRESS --namespace onelist
4. Create TLS secrete
Run the command below.
kubectl create secret tls tls.onelist --cert YOURCERTIFICATEFILE --key YOURKEYFILE --namespace onelist
5. Deploy OneList app containers and services
Run the 2 commands below.
kubectl appy -f onelist6-deployment.yaml
kubectl appy -f onelist6-service.yaml
6. Create Nginx ingress service
Run the 2 commands below.
kubectl create -f ingress-nginx-controller.yaml
kubectl create -f onelist6-ingress.yaml