Consider the following Ingress controller:
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: main-ingress spec: rules: - http: paths: - path: / pathType: Prefix backend: serviceName: main-app servicePort: 80 - path: /files/ pathType: Prefix backend: serviceName: file-app servicePort: 80 - path: /files/default.png pathType: Exact backend: serviceName: default-app servicePort: 8080
Select all the true statements.
(Select all acceptable answers.)
Requests to /files/banner.jpg will be served by the file-app service.
Requests to /files_old/banner.jpg will be served by the file-app service.
The main-app service has to be declared with "name: main-app" metadata.
Requests to /files/default.png will be served by the default-app service.
Only requests that target port 8080 and match the path will be forwarded to the default-app service.