Skip to content

Instantly share code, notes, and snippets.

View maximmai's full-sized avatar

Maxim Mai maximmai

View GitHub Profile
@maximmai
maximmai / nginx-hello-world-deployment.yaml
Last active January 29, 2024 16:32 — forked from sdenel/nginx-hello-world-deployment.yaml
Kubernetes: a simple Nginx "Hello world" deployment file
# To deploy: kubectl create -f nginx-hello-world-deployment.yaml
# Access it with the API as a proxy:
# $ kubectl proxy
# Then in you browser: http://localhost:8001/api/v1/namespaces/default/services/nginx:/proxy/#!/
apiVersion: v1
kind: Service
metadata:
name: nginx
spec: