Skip to content

Commit

Permalink
feat: add preload image
Browse files Browse the repository at this point in the history
  • Loading branch information
rivamarco committed Jun 26, 2024
1 parent 668b0a7 commit b8561b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,5 @@ ui/*.sw?
## K3S SPECIFICS #
#####################

docker/k3s_data/kubeconfig/
docker/k3s_data/kubeconfig/
docker/k3s_data/images/
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ services:
- ./docker/k3s_data/manifests/spark-init.yaml:/var/lib/rancher/k3s/server/manifests/spark-init.yaml
# Mount entrypoint
- ./docker/k3s_data/init/entrypoint.sh:/opt/entrypoint/entrypoint.sh
# Preload docker images
- ./docker/k3s_data/images:/var/lib/rancher/k3s/agent/images
expose:
- "6443" # Kubernetes API Server
- "80" # Ingress controller port 80
Expand Down

0 comments on commit b8561b7

Please sign in to comment.