Created
June 9, 2024 16:00
-
-
Save 3ng1n33r/876a7b3c9033f6a19f3e2c4f508536f0 to your computer and use it in GitHub Desktop.
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: bluegreen-demo | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: /$1 | |
spec: | |
rules: | |
- host: bluegreen-demo.lvh.me | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: bluegreen-demo-active | |
port: | |
name: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment