PR:
can anyone help me what is the command to create this “Create a service messaging-service
to expose the messaging
application within the cluster on port 6379
.
Use imperative commands”
Sambasiva Rao:
Below command might help you,
kubectl expose service messaging --port=6379 --name=messaging-service
PR:
I tried “kubectl create --name=messaging-service --port=6379 --type=clusterip”? is this right commadn
PR:
to create SERVICE
Sambasiva Rao:
Pls try below command,
kubectl expose pod messaging --port=6379 --name=messaging-service
PR:
Thank you I got it