Created
January 28, 2023 03:57
-
-
Save initcron/469b8d975c1c41a8423eb19ee2fd9c0f to your computer and use it in GitHub Desktop.
Ingress for Web App
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: web | |
namespace: instavote | |
annotations: | |
kubernetes.io/ingress.class: traefik | |
traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip | |
spec: | |
rules: | |
- host: web.example.com | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: nginx | |
port: | |
number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment