594 B
594 B
git-sync-demo
This demo shows how to use a git-sync container alongside an HTTP server to
serve static content.
How it works
The pod is composed of 2 containers that share a volume.
- The
git-synccontainer clones a git repo into thecontentvolume - The
httpcontainer serves that content
For the purposes of this demo, it's about as trivial as it can get.
Usage
Apply the deployment and the service files:
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
Wait for the service to be assigned a LoadBalancer IP, then open that IP in your browser.