Service
Since Pod IPs change often, a Service will provides stable network connectivity, and Fixed IP, DNS name, and port
Last updated
Since Pod IPs change often, a Service will provides stable network connectivity, and Fixed IP, DNS name, and port
Go to Service page β click β
Enter name (e.g., nginx-project)
Select deployment (nginx)
Choose type:
nodeport: Exposed to external traffic
clusterip: Internal-only access
Set:
Port Name: e.g., web
Port: 80
Target Port: 80
Click Create
View service details and click Service Details > Links to open in a browser.



Last updated