Can a Kubernetes Service expose multiple ports?
Can a Kubernetes Service expose multiple ports?
Yes, a Kubernetes Service can expose multiple ports. The only requirement is to use different port numbers for each exposed port. Naming the ports is not a strict necessity, though it can help in clarifying the configuration.
Copilot says C
should be C
Option B is incorrect because, while you can name the ports for clarity, it is not a strict requirement. Correct C
Isn't the correct answer C? I don't think it requires a name for each port