Skip to content

tke platform api support proxy /version api to remote cluster  #1134

@huxiaoliang

Description

@huxiaoliang
root@VM-0-80-ubuntu:~# curl -sk -H "Authorization: Bearer $(cat /etc/kubernetes/tke-token)" -H "Cont-Type:application/json" -H "X-TKE-ClusterName:cls-xs6qr89sasassasasav" "https://192.168.0.38:9443/version" 
{
  "major": "",
  "minor": "",
  "gitVersion": "644dec56dc57970d425b6deef94e3b638657ff2d",
  "gitCommit": "",
  "gitTreeState": "",
  "buildDate": "2021-03-16T07:12:48Z",
  "goVersion": "xxx",
  "compiler": "gc",
  "platform": "linux/amd64"
}

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions