Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKA Exam - Topic 1 Question 72 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 72
Topic #: 1
[All CKA Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Matt
4 months ago
I thought Ingress was more complicated than this. Surprised it’s so straightforward!
upvoted 0 times
...
Veronika
4 months ago
Yup, using pathType: Prefix is the way to go for flexibility!
upvoted 0 times
...
Florinda
4 months ago
Wait, does the path need to be exactly /hi? What if I want to add more paths later?
upvoted 0 times
...
Cristy
4 months ago
Looks good! That’s the right way to expose the service.
upvoted 0 times
...
Ryann
5 months ago
Just created an Ingress resource named 'ping' in the 'ing-internal' namespace.
upvoted 0 times
...
Wava
5 months ago
I practiced creating Ingress resources, but I’m a bit uncertain about the exact syntax for the backend section.
upvoted 0 times
...
Lelia
5 months ago
I feel confident about the service name and port, but I might mix up the namespace if I'm not careful.
upvoted 0 times
...
Hoa
5 months ago
This looks similar to the practice questions we did on Ingress resources, but I can't recall if the pathType is always required.
upvoted 0 times
...
Alberta
5 months ago
I think I remember that we need to specify the apiVersion and kind correctly, but I'm not entirely sure about the indentation in YAML.
upvoted 0 times
...
Nobuko
5 months ago
This is a good opportunity to practice creating Ingress resources. I'll give it a try and see if I can get it right.
upvoted 0 times
...
Yvonne
5 months ago
Wait, do I need to create the `hi` service first before defining it in the Ingress? I better review the steps.
upvoted 0 times
...
Marleen
5 months ago
Okay, I think I've got this. I'll create the Ingress resource in the `ing-internal` namespace and expose the `hi` service on the `/hi` path.
upvoted 0 times
...
Candra
5 months ago
Hmm, not sure about the `pathType` field, I'll need to double-check the documentation on that.
upvoted 0 times
...
Willodean
6 months ago
This looks straightforward, I'll start by creating the YAML file for the Ingress resource.
upvoted 0 times
...
Margot
6 months ago
I'm pretty sure it's vSphere HA, since Fault Tolerance is all about high availability.
upvoted 0 times
...
Melinda
1 year ago
I bet the person who came up with this question was feeling a little 'nginx' that day. Get it? *laughs awkwardly*
upvoted 0 times
...
German
1 year ago
I wonder if the 'ping' Ingress resource is for a health check endpoint. You know, just to make sure the 'hi' service is up and running. *winks*
upvoted 0 times
Teddy
1 year ago
Definitely! It's always good to have monitoring in place for critical services like 'hi'.
upvoted 0 times
...
Lyndia
1 year ago
I like the creativity in naming it 'ping'. It's clear and to the point.
upvoted 0 times
...
Latosha
1 year ago
Yes, it's a good way to ensure the 'hi' service is up and running smoothly.
upvoted 0 times
...
Izetta
1 year ago
That's a clever idea! Having a 'ping' Ingress resource for a health check endpoint.
upvoted 0 times
...
...
Elsa
1 year ago
This is a piece of cake! I could probably do this in my sleep. *yawns* But seriously, great job on the solution. It's concise and to the point.
upvoted 0 times
Isabelle
1 year ago
Definitely, creating a new nginx Ingress resource is not too complicated.
upvoted 0 times
...
Una
1 year ago
I agree, the solution is clear and easy to follow.
upvoted 0 times
...
Janessa
1 year ago
Thanks! Yeah, it's pretty straightforward.
upvoted 0 times
...
...
Alyssa
1 year ago
I think the provided solution with creating the Ingress resource in the YAML file is clear and easy to follow.
upvoted 0 times
...
Santos
1 year ago
Nice! I like how the solution uses the 'pathType: Prefix' option to handle the '/hi' path. That's a good way to ensure the Ingress resource works as expected.
upvoted 0 times
Juan
1 year ago
Good point! It's a key detail to pay attention to when setting up an Ingress resource.
upvoted 0 times
...
Bettyann
1 year ago
Exactly, it's important for ensuring the Ingress resource functions properly with the specified path.
upvoted 0 times
...
Magnolia
1 year ago
I agree, it helps to make sure the traffic is correctly routed to the specified service.
upvoted 0 times
...
Diane
1 year ago
Thanks! Yes, using 'pathType: Prefix' is a great way to define the path for the Ingress resource.
upvoted 0 times
...
...
Malcom
1 year ago
I agree, it requires attention to detail to set it up correctly.
upvoted 0 times
...
Tarra
2 years ago
The solution is correct, but I'd recommend adding some comments to the YAML file to explain what each section does. That way, it'll be easier to understand if you come back to it later.
upvoted 0 times
...
Carline
2 years ago
This is a pretty straightforward question. The solution provided looks good, though I'd suggest double-checking the indentation and formatting to ensure the YAML is valid.
upvoted 0 times
Milly
1 year ago
Once the YAML file is ready, we can create the Ingress resource using kubectl create -f ingress.yaml.
upvoted 0 times
...
Breana
1 year ago
Make sure to check the YAML formatting and indentation before creating the Ingress resource.
upvoted 0 times
...
Cherri
1 year ago
Yes, we need to expose the service hi on path /hi using service port 5678.
upvoted 0 times
...
Michel
1 year ago
Looks simple enough, just need to create a new nginx Ingress resource named ping in the ing-internal namespace.
upvoted 0 times
...
...
Alyssa
2 years ago
I found the question on creating a new nginx Ingress resource challenging.
upvoted 0 times
...

Save Cancel