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
10 months agoFelicidad
11 months agoJunita
11 months agoRodolfo
11 months agoLeota
11 months agoWhitley
11 months agoTwanna
11 months agoEleni
11 months agoMichal
11 months agoMarilynn
12 months agoTresa
12 months agoSharan
12 months ago