<p>have issue with </p>

<pre><code>kubectl run -ti 
</code></pre>

<p>in gitlab ci.
For testing in CI we run docker container with "npm t" command in interactive mode and it was perfectly work on docker.
After migrate to Kubernetes have issue, as kubectl run give next error: <code>Unable to use a TTY - input is not a terminal or the right kind of file</code><br>
Job run in image: <strong>lachlanevenson/k8s-kubectl</strong>
If run kubectl run from local machine all work.
Pls help</p>

<p>The <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.10/#container-v1-core" rel="nofollow noreferrer">PodSpec <code>container:</code></a> has a <code>tty</code> attribute, which defaults to <code>false</code> but which one can set to <code>true</code> (that's what the <code>-t</code> option, which is a shortcut for <code>--tty=true</code>, does in <code>kubectl exec</code>). You can experiment with setting <code>stdin: true</code> but at your peril, since it can hang the Pod waiting for "someone" to type something.</p>
