Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.1.2
-
None
-
None
Description
Currently Kubernetes service and pod id's are generated by appending a sequence number to a static string (pod-1, pod-2, service-1, service-2 etc.)
This is not user friendly since it is hard to deduce the application that maps into a particular pod or service.
To resolve this we can add the application id as a label when creating pods and services. Also we can add the port mapping as a label when creating services.