CodeForPhilly / civic-cluster

Apache License 2.0
1 stars 2 forks source link

Create an end-to-end guide for working on single application under minikube #8

Open themightychris opened 4 years ago

themightychris commented 4 years ago

/admin/README.md covers the main ansible commands, including to deploy a single application, but it assumes the user is starting from our private bastion environment that already has ansible setup.

Create an end-to-end guide that someone already familiar with kubernetes and docker, but not ansible, could follow to get into a single-app-deploy dev loop from having a fresh minikube instance running locally

sam-writer commented 4 years ago

As the target audience of such a guide, I will add some notes:

It was pretty easy to brew install minikube and brew install ansible. I use kubectx and so minikube just became another cluster I could target with kubectl commands. However, as you can see in #7 , once I tried to use ansible, I immediately ran into vault permission issues:

$ ansible-playbook projects.yaml -l chime
ERROR! The vault password file /Users/sh/q/repos/covid/ansible-vault-pass was not found

This may be because I am trying to access your private container registry, I'm realizing...

themightychris commented 4 years ago

I don't think that's related at all to our container registry, I'm not familiar with ansible much either but I believe that has to do with initializing a storage space for ansible. @lottspot would know more