This website uses cookies to ensure you get the best experience.
Learn more.
A Service's targetPort is the name http. Its selected Pods expose a container port named web instead. Which change directly makes the named targetPort resolve?
Published
- Add a label http=true to the Service
- Set targetPort to web or rename the Pod port consistently
- Change only the Service's metadata name to web
- Increase only the replica count
Comments — 0
Sign in to comment