Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubectl get events --watch doesn't print messages #793

Closed
tsubasaxZZZ opened this issue Jan 3, 2020 · 6 comments
Closed

kubectl get events --watch doesn't print messages #793

tsubasaxZZZ opened this issue Jan 3, 2020 · 6 comments
Labels
area/kubectl sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@tsubasaxZZZ
Copy link

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):

What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):

is:issue "kubectl get events"

Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Kubernetes version (use kubectl version):

clientVersion:
  buildDate: "2019-12-07T21:20:10Z"
  compiler: gc
  gitCommit: 70132b0f130acc0bed193d9ba59dd186f0e634cf
  gitTreeState: clean
  gitVersion: v1.17.0
  goVersion: go1.13.4
  major: "1"
  minor: "17"
  platform: linux/amd64
serverVersion:
  buildDate: "2019-09-18T14:34:46Z"
  compiler: gc
  gitCommit: 25074a190ef2a07d8b0ed38734f2cb373edfb868
  gitTreeState: clean
  gitVersion: v1.13.11
  goVersion: go1.11.13
  major: "1"
  minor: "13"
  platform: linux/amd64

Environment:

  • Cloud provider or hardware configuration: Azure Kubernetes Service
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others: kubecrl is on Windows Subsystem for Linux

What happened:

$ kubectl get events -w
LAST SEEN   TYPE      REASON                KIND         MESSAGE
42m         Normal    SuccessfulCreate      ReplicaSet   (combined from similar events): Created pod: nginx-5c7588df-p24zh
46m         Normal    ScalingReplicaSet     Deployment   Scaled up replica set nginx-5c7588df to 3
44m         Normal    ScalingReplicaSet     Deployment   Scaled down replica set nginx-5c7588df to 3
43m         Normal    ScalingReplicaSet     Deployment   Scaled up replica set nginx-5c7588df to 6
59m         Normal    DeletedLoadBalancer   Service      Deleted load balancer

NAME                       AGE               <---------------- MESSAGE column is missing
aks-ssh.15e66a30543fc247   0s
aks-ssh.15e66a309034736f   0s
aks-ssh.15e66a312f47ef25   0s
aks-ssh.15e66a3140939369   0s

What you expected to happen:

I expect the command to behave output message add events.

How to reproduce it (as minimally and precisely as possible):
See examples above.

Anything else we need to know:

@Zebradil
Copy link

IIRC, kubectl supports one version forward and backward skew. So, try using kubectl 1.13.

@Zebradil
Copy link

Check this SO answer if you need to maintain several kubectl versions: https://stackoverflow.com/a/59373340/2227895.

@soltysh
Copy link
Contributor

soltysh commented Jan 22, 2020

The will be addressed as part of kubernetes/enhancements#1291

@seans3
Copy link
Contributor

seans3 commented Feb 19, 2020

/area kubectl
/sig cli

@k8s-ci-robot k8s-ci-robot added area/kubectl sig/cli Categorizes an issue or PR as relevant to SIG CLI. labels Feb 19, 2020
@soltysh
Copy link
Contributor

soltysh commented Feb 19, 2020

Closing in favor of kubernetes/enhancements#1440
/close

@k8s-ci-robot
Copy link
Contributor

@soltysh: Closing this issue.

In response to this:

Closing in favor of kubernetes/enhancements#1440
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubectl sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
None yet
Development

No branches or pull requests

5 participants