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

Kubernetes does not run with --tty -i by default from YAML


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Backend, Infrastructure
    • None

      Steps to reproduce:

      1. Start Workbench cluster
      2. kubectl exec into ndslabs-webui container
      3. open vi

      Actual Results:

      • Terminal sizing is all wrong, and cuts off mid-screen
      • Some control keys don't work properly in vi (i.e. Command + left/right, Fn + left/right, Shift + left/right, etc)
      • Exiting vi can cause all kinds of wacky terminal behavior, including improper sizing

      Expected results:

      • Terminal experience should feel less fragile

      See http://andykdocs.de/development/Docker/Fixing+the+Docker+TERM+variable+issue

      Very relevant: https://github.com/kubernetes/kubernetes/blob/master/pkg/api/types.go#L1004-L1006

      NOTE: this may also affect user apps started by Workbench, but more investigation would be needed to say for certain

              Unassigned Unassigned
              lambert8 Sara Lambert
              0 Vote for this issue
              1 Start watching this issue