philipstaffordwood / infra-problem

worked out infrastructure as code problem
0 stars 0 forks source link

local development environment #1

Open philipstaffordwood opened 1 year ago

philipstaffordwood commented 1 year ago

As a developer on the project, I need to provision a local development environment to test features, And deploy the microservices, So that I can verify that the microservices are working

Acceptance Criteria

philipstaffordwood commented 1 year ago
philipstaffordwood commented 1 year ago

Demo of build and verification of config:

https://user-images.githubusercontent.com/11496482/228049281-274cd0ad-4760-4bcc-831b-0e9371264178.mp4


# when was this done:  
date
# is microk8s installed?
microk8s version
# is microk8s up?
microk8s status
# are the required addons enabled?
microk8s status | grep "dns\|helm3\|ingress\|registry" 
# show nothing is deployed yet:
microk8s helm ls
# build and push images and deploy:
make deploy-microk8s 
# verify static entries:
grep chart-example /etc/hosts
  `