CORRECT TEXT
Score: 7%
Task
Create a new nginx Ingress resource as follows:
• Name: ping
• Namespace: ing-internal
• Exposing service hi on path /hi using service port 5678
Answer: Solution:
vi ingress.yaml
#
apiVersion: networking.k8s.io/v1
kind: Ingress metadata: name: ping
namespace: ing-internal
spec:
rules:
– http:
paths:
– path: /hi pathType: Prefix backend: service: name: hi
port:
number: 5678
#
kubectl create -f ingress.yaml
Latest CKA Dumps Valid Version with 122 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund