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