On this page
article
Use Core DNS
networking
sangam@sangam:~$ kubectl create service clusterip my-service –tcp=8080:8080
service/my-service created
sangam@sangam:~$ kubectl get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1
25.213.106.10.in-addr.arpa name = my-service.default.svc.cluster.local
/ # exit
Last updated 03 Jun 2024, 13:43 +0530 .