Components
Node
Node
Node is a Virtual or Physical Machine
Pod
-
when you are running
Ephemeral
- container or node ran out of resources
- application crash
-
when a pod dies out. new IP address will be assigned to it .
Service
-
to avoid the complexities come from assigning a new ip address kubernetes uses
services
-
You want your application to be accessible through browser
- for that you need to create an external service
External Services
They Open the communication from external service to the cluster
Internal Services
You don’t need to expose your databases to the public internet. For that you need internal services
-
You can specify the type of service when you are creating it.
-
URL of the external services is not practical(http protocol + ip address + port).
-
these external services are useful for testing purposes. if you want to test something fast.
-
You want your domain name to look like this
-
with a secure protocol + domain name
-
for that you use
ingress