Last active
May 8, 2024 05:11
-
-
Save initcron/fd6d76c9d7ec6bbbea66266d5e43a74b to your computer and use it in GitHub Desktop.
Ingress Rule for Vote App for Traefik
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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