Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

kubectl exec throwing error #477

Closed
alljames opened this issue Aug 31, 2018 · 0 comments · Fixed by #621
Closed

kubectl exec throwing error #477

alljames opened this issue Aug 31, 2018 · 0 comments · Fixed by #621
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@alljames
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
Issue running kubectl exec (Tarmak throws the error below)

Error: unknown shorthand flag: 'i' in -it

What you expected to happen:
Execute a command on a specified pod

How to reproduce it (as minimally and precisely as possible):
Example taken from k8s docs on exec command

tarmak kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/master/content/en/examples/application/shell-demo.yaml
tarmak kubectl get pod shell-demo # verify container is running
tarmak kubectl exec -it shell-demo -- /bin/bash

Anything else we need to know?:
N/A

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • Install tools: As Tarmak docs
  • Others:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants