Mininum requirement for resources
...
kubectl apply -f config.yaml -n onelist
3. Create the Secrete for pulling OneList images
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 the TLS secrete
Run the command below.
kubectl create secret tls tls.onelist --cert YOURCERTIFICATEFILE --key YOURKEYFILE --namespace onelist
5. Deploy OneList containers for the apps and services
Run the 2 commands below.
kubectl appy -f onelist6-deployment.yaml -n onelist
kubectl appy -f onelist6-service.yaml -n onelist
6. Create Nginx ingress service
Run the 2 commands below.
kubectl create -f ingress-nginx-controller.yaml -n onelist
kubectl create -f onelist6-ingress.yaml -n onelist
Upgrade image version
Upgrade all applications
...
kubectl set image deployment/onelistserver onelistserver=iqxbuild.azurecr.io/iqx.onelist.server:v6.2.2 -n onelistn namespaceofonelistapp
Parameters:
- deployment/onelistserver is the deployment name.
- onelistserver=iqxbuild.azurecr.io/iqx.onelist.server:v6.2.2. onelistserver is the container name.iqxbuild.azurecr.io/iqx.onelist.server is the image name.v6.2.2 is the version to be updated.
...