Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1569

Add application id as a label when creating Kubernetes pods and services

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              ravihansa Akila
              Reporter:
              ravihansa Akila
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: