當我請求這個啟動的服務器時:https://gist.github.com/Rasarts/1180479de480d7e36d6d7aef08babe59#file-server我得到正確的回應:{ "args": {}, "headers": { "Accept-Encoding": "gzip", "Connection": "close", "Host": "httpbin.org", "User-Agent": "Go-http-client/1.1" }, "origin": "", "url": "https://httpbin.org/get"}但是當我向以這種方式創建的 minikube 上的服務器發出請求時: https://gist.github.com/Rasarts/1180479de480d7e36d6d7aef08babe59#file-serve-yaml我收到錯誤:ERROR: Get https://httpbin.org/get: EOF<nil>如何從 kubernetes pod 發出 http 請求?
- 0 回答
- 0 關注
- 100 瀏覽
添加回答
舉報
0/150
提交
取消