Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-307

Our container tag-naming in kubernetes resource specifications is error-prone

XMLWordPrintableJSON

    • NDS Sprint 8

      Our kubernetes yaml specifications use a pull-policy of always and tag of :latest which will cause unexpected troubles.
      If I build a cluster today, and get version 1.0 as latest, and the source pushes a new docker image where latest becomes 2.0 and a node in the cluster restarts, and therefore re-pulls (with the pull-policy = always), the node that was running a 1.0 service and which may be tied to a 1.0 API will now be requesting 1.2 and fail.

      The pull-policy and image tag naming schemes should be repeatable and deterministic over time.

      We should devise a proper and consistent naming scheme for image and kubernetes resource specifications that will not fail unexpectedly and that will support testing of branch-based naming for dev/test/alpha/beta/prod differentiation and that supports rolling updates of services in live environments.

              lambert8 Sara Lambert
              raila David Raila
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 1 hour, 20 minutes Remaining Estimate - 2 hours, 40 minutes
                  2h 40m
                  Logged:
                  Time Spent - 1 hour, 20 minutes Remaining Estimate - 2 hours, 40 minutes
                  1h 20m