kubectl YAML config file equivalent of "kubectl run ... -i --tty ..."
I think you are mentioning these fields.https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/core/types.go#L2081-L2088
You can define stdin
and tty
in yaml file.
apiVersion: v1 kind: Pod metadata: name: test spec: containers: - name: test image: test stdin: true tty: true