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 · 0 comments
Open

kafkactl fails with gcloud's kubectl component #228

kimxogus opened this issue Jan 2, 2025 · 0 comments

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 
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