Deploy a static html Project (K8S Deployment Target)
As an Aegir user,
In order to deploy my static html project to a K8S Deployment Target
I need to run a deploy operation on my static html Project
-
this is an Operation (button) whose tasks will need to run remotely on the K8S cluster
- Marshal the variables from the Operation's tasks
- Determine the backend for each task
- Dispatch each task to the appropriate backend
-
Tasks:
- Build a Docker image (from a template?)
- Based on basic Nginx container image
- Clone the git repo (from the "static html Project")
- Create a Deployment resource for K8S
- ClusterIP service
- Ingress service
- Deployment (for now?)
kubectl apply
- Build a Docker image (from a template?)
Edited by Derek Laventure