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

API server should do its best ensure integrity during startup

XMLWordPrintableJSON

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Backend
    • None
    • NDS Sprint 30

      As an end-user of Labs Workbench, when the server goes down for maintenance and then returns to working order, my services are all still shut down. Is there any way that these services could be restored automatically?

      On startup, the ndslabs-apiserver could loop over the users to verify their state.

      For each user:

      • Look up the user's added Applications (via ndslabs-etcd)
      • Check that a Kubernetes service exists for each service with access == "external" or access == "internal" (via Kubernetes API)
      • For each such service that is not found, create it
      • Then attempt to start the user's controllers/pods, if possible

      This ticket is complete when the above steps occur during the startup of ndslabs-apiserver.

              willis8 Craig Willis
              lambert8 Sara Lambert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified