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

kafkactl fails with gcloud's kubectl component #228

Open
kimxogus opened this issue Jan 2, 2025 · 1 comment
Open

kafkactl fails with gcloud's kubectl component #228

kimxogus opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@kimxogus
Copy link

kimxogus commented Jan 2, 2025

https://github.com/deviceinsight/kafkactl/blob/main/internal/k8s/executor.go#L89

$ gcloud components install kubectl
$ kubectl version -o json 
{
  "clientVersion": {
    "major": "1",
    "minor": "30+",
    "gitVersion": "v1.30.6-dispatcher",
    "gitCommit": "cab8b7130edcfb9d721071b8d9d606f6b4abe8d6",
    "gitTreeState": "clean",
    "buildDate": "2024-11-07T01:32:04Z",
    "goVersion": "go1.22.8",
    "compiler": "gc",
    "platform": "darwin/arm64"
  },
  "kustomizeVersion": "v5.0.4-0.20230601165947-6ce0bf390ce3",
  "serverVersion": {
    "major": "1",
    "minor": "30",
    ...
  }
} 

$ kafkactl get brokers
strconv.Atoi: parsing "30+": invalid syntax 
@d-rk
Copy link
Collaborator

d-rk commented Jan 7, 2025

Hey @kimxogus ,

thank you for reporting. I will look into it...

@d-rk d-rk added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants