PHP Classes

File: doc/Deployment.md

Recommend this page to a friend!
  Classes of Niko   PHP HouseHold   doc/Deployment.md   Download  
File: doc/Deployment.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP HouseHold
Manage the stock of groceries in a house
Author: By
Last change:
Date: 2 years ago
Size: 656 bytes
 

Contents

Class file image Download

Kubernetes Deployment

Only in Minikube: eval $(minikube docker-env)

Build docker images:

docker-compose -f docker-compose.prod.yml build

Install chart dependencies

helm dep up etc/deploy/chart

Install chart

helm install --name cqrs etc/deploy/chart

Update

helm upgrade cqrs -f {YOUR CUSTOM YAML FILE} etc/deploy/chart

Recommendations

  • Use your own chart registry. i.e: https://github.com/helm/chartmuseum
  • Use separated `values.yaml` per environment and concat in deployments. i.e: `helm upgrade cqrs -f production.yaml etc/deploy/chart`
  • Use helm secrets plugin: https://github.com/futuresimple/helm-secrets