Linux Foundation CKA Exam - Topic 3 Question 35 Discussion
Score: 7%TaskCreate a new nginx Ingress resource as follows:* Name: ping* Namespace: ing-internal* Exposing service hi on path /hi using service port 5678
A) Explanation:
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
Raylene
9 months agoFelicidad
9 months agoJunita
9 months agoRodolfo
9 months agoLeota
10 months agoWhitley
10 months agoTwanna
10 months agoEleni
10 months agoMichal
10 months agoMarilynn
10 months agoTresa
10 months agoSharan
10 months ago