Subrata Biswas:
@Alice it will be ClusterIP service
Alice:
Thanks for the explanation. May I know the reason? Does it mean if I want to create another type of service, explicitly specifying the type is necessary?
Subrata Biswas:
Yes that is necessary if you want anything else other than “ClusterIP” as key “type:”(both in imperative command and declarative yaml) there are four types “NodePort”,“CluserIP”,“LoadBalancer”,“None”(For headlesss)
Alice:
Got it, thanks.