⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’
Excalidraw Data
Text Elements
Serve a Static Site with Nginx on Minikube
git clone https://github.com/yashbhangale/shaids-static.git
server { listen 80; server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html;
}
}
nginx.conf
FROM nginx:alpine COPY ./my-static-site /usr/share/nginx/html COPY ./nginx.conf /etc/nginx/conf.d/default.conf
Dockerfile
docker build -t my-static-site:1.0 .
Load the Docker Image into Minikube
minikube image load my-static-site:1.0
Deploy the Static Site on Minikube
kubectl create deployment static-site —image=my-static-site:1.0
Expose the Deployment as a Service:
-
kubectl expose deployment static-site —type=NodePort —port=80
-
minikube service static-site —url
Embedded Files
5dfd8b01ae2ec861084bf8736886cf408651faf3: PastedImage20250109154252_053.png