Uploaded image for project: 'Acumos'
  1. Acumos
  2. ACUMOS-3677

Ensure all resources have names with max length 63 chars

    XMLWordPrintable

    Details

    • Sprint:
      Demeter Bugfix Sprint-1

      Description

      Kubernetes enforces a max resource name length of 63 chars. If a solution name is longer than 18 chars, the solution will fail to deploy with errors such as below:

       

      The Service "nginx-boreas-customer-segmentation-ab268f5d-b91e-4508-9d12-3e9cdfe90401" is invalid: 
      
      
      • metadata.name: Invalid value: "nginx-boreas-customer-segmentation-ab268f5d-b91e-4508-9d12-3e9cdfe90401": must be no more than 63 characters
      • spec.selector: Invalid value: "nginx-boreas-customer-segmentation-ab268f5d-b91e-4508-9d12-3e9cdfe90401": must be no more than 63 characters

      As a workaround, reduce the solution name to a max 18 chars in deploy.sh

      Long-term solution will be to assign a shorter unique suffix, with annotations that identify the tracking ID GUID (so resources can be cleaned up by tracking ID).

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            blsaws Bryan Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: