smoskvin
3 years ago
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||
|
apiVersion: networking.k8s.io/v1 |
||||
|
kind: Ingress |
||||
|
metadata: |
||||
|
name: guestbook-localhost |
||||
|
namespace: guestbook-ui |
||||
|
spec: |
||||
|
ingressClassName: nginx |
||||
|
rules: |
||||
|
- host: guestbook.localdev.me |
||||
|
http: |
||||
|
paths: |
||||
|
- backend: |
||||
|
service: |
||||
|
name: guestbook-ui |
||||
|
port: |
||||
|
number: 80 |
||||
|
path: / |
||||
|
pathType: Prefix |
Loading…
Reference in new issue