kubectl describe services

From wikieduonline
Revision as of 05:36, 14 March 2023 by Newworld3 (talk | contribs)
Jump to navigation Jump to search

kubectl describe services
Name:              kubernetes
Namespace:         default
Labels:            component=your-label
                   provider=kubernetes
Annotations:       <none>
Selector:          <none>
Type:              ClusterIP
IP Family Policy:  SingleStack
IP Families:       IPv4
IP:                10.100.0.1
IPs:               10.100.0.1
Port:              https  443/TCP
TargetPort:        443/TCP
Endpoints:         192.168.104.103:443,192.168.181.204:443
Session Affinity:  None
Events:            <none>
kubectl describe service -A


kubectl expose deployment hello-world --type=LoadBalancer --name=my-service


See also

Advertising: