βΈοΈService
Describe about What is Service ?
Last updated
Describe about What is Service ?
Last updated
It is the component that use to communicate between pod to pod
or pod to external
There are 3 types of service:
NodePort
Cluster IP (Default)
Load Balancer
Node Port
It is the service that use for communicate between pod and external
Cluster IP
It is the service that use for communicate between internal pod
Load Balancer
Due to we have multiple Node running and Pod is in the different Node so we will have a lot of URL depend on Node then It will be hard to know which URL that we need to provide to user for access. This type of service is comming to solve this problem (Support for cloud only AWS, Azure GCP)
CheatSheet Command
Get Service : kubectl get svc
Check the apiVersion of the template: kubectl explain svc
Execute command from file kubectl apply -f <file_name>.yaml