Kubernetes Service Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


==With CLI==
==With CLI==
<syntaxhighlight lang='bash'>


</syntaxhighlight>
A service of any type (ClusterIP, NodePort, LoadBalancer, ExternalName) can be created with the [[Kubectl_expose|kubectl expose]] command.


==With Metadata==
==With Metadata==

Revision as of 23:55, 19 September 2020

Internal

Create a Service

With CLI

A service of any type (ClusterIP, NodePort, LoadBalancer, ExternalName) can be created with the kubectl expose command.

With Metadata