Reputation: 1042
Is it possible to expose service ports with different policies like NodePort or ClusterIP.
For example we have
Right now I can create different services of types NodePort and ClisterIP but is it possible to handle it with single k8s 'Service'?
Upvotes: 1
Views: 270
Reputation: 22922
No, using two distinct services each of its own type is the right way to do it, and there is no harm/overhead in doing it like this
Upvotes: 1