-
-
Save dev-scripts/b3e88371fff7677b1c0d37be060adbab to your computer and use it in GitHub Desktop.
ingress.yaml
This file contains hidden or 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-app-ingress | |
| annotations: | |
| ingress.kubernetes.io/rewrite-target: / | |
| spec: | |
| rules: | |
| - host: kubernete.local # Replace with your domain | |
| http: | |
| paths: | |
| - path: / | |
| pathType: Prefix | |
| backend: | |
| service: | |
| name: web-app | |
| port: | |
| number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment