Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- name: wordpress-ingress
- annotations:
- nginx.ingress.kubernetes.io/rewrite-target: /
- spec:
- rules:
- - host: wordpress.local
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: wordpress
- port:
- number: 80
Advertisement
Add Comment
Please, Sign In to add comment