Skip to content

Instantly share code, notes, and snippets.

@initcron
Last active April 24, 2025 09:12
Show Gist options
  • Save initcron/514e8b917420f24a0593957aa337308e to your computer and use it in GitHub Desktop.
Save initcron/514e8b917420f24a0593957aa337308e to your computer and use it in GitHub Desktop.
Vote Ingress with Nginx
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: vote
namespace: instavote
spec:
ingressClassName: nginx
rules:
- host: vote.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: vote
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment