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

EFK中的runEFK.sh中有错误/There is an error in runEFK.sh in EFK #282

Open
AImcLD opened this issue Apr 14, 2024 · 0 comments
Open

EFK中的runEFK.sh中有错误/There is an error in runEFK.sh in EFK #282

AImcLD opened this issue Apr 14, 2024 · 0 comments

Comments

@AImcLD
Copy link

AImcLD commented Apr 14, 2024

Summary

train-ticket/deployment/kubernetes-manifests/efk-deployment/runEFK.shvar1=kubectl cluster-info | awk 'NR == 1 {print $6}'``在最后的参数中似乎应为 {print $7}

Expected behaviour

[root@master efk-deployment]# kubectl cluster-info | awk 'NR == 1 {print $6}'
https://xx.x.x.xxx:6443

Current behaviour

[root@master efk-deployment]# kubectl cluster-info | awk 'NR == 1 {print $6}'
at

Steps to reproduce

[root@master efk-deployment]# kubectl cluster-info | awk 'NR == 1 {print $7}'
https://xx.x.x.xxx:6443

Your environment

OS(e.g: cat /etc/os-release):CentOS Linux 7

docker version(e.g docker version): Docker version 20.10.7

docker-compose version (e.g docker-compose --version):

Kubernetes version(use kubectl version):Kubernetes v1.21.2

istio version:

Additional context

Search result and your thoughts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant