InterviewSolution
Saved Bookmarks
| 1. |
How to turn the service defined below in the spec into an external one? |
|
Answer» spec: selector: APP: some-app PORTS: - PROTOCOL: UDP PORT: 8080 targetPort: 8080 Explanation - Adding type: LoadBalancer and nodePort as follows: spec: selector: app: some-app type: LoadBalancer ports: - protocol: UDP port: 8080 targetPort: 8080 nodePort: 32412 |
|