не удалось получить доступ к сервису kubernetes с помощью телеприсутствия на локальной машине - PullRequest
0 голосов
/ 04 мая 2020

Я использую telepresense для отладки модулей kubernetes (v1.15.2), после того как я запустил telepresence (v0.104), я не смог получить доступ к службе kubernetes. Когда я получаю домашнюю страницу apache flink с помощью этой команды на хост-компьютере удаленного центра данных:

curl http://10.254.77.184:8081/

Я могу успешно получить ответ http html, я говорю, что модуль apache flink работает нормально , Но когда я получаю домашнюю страницу на локальном компьютере, она выглядит примерно так:

~/Library/Mobile Documents/com~apple~CloudDocs/Document/k8s/work/elk/elasticsearch/custom ⌚ 0:22:43
$ telepresence
T: How Telepresence uses sudo: https://www.telepresence.io/reference/install#dependencies
T: Invoking sudo. Please enter your sudo password.
Password:
T: Starting proxy with method 'vpn-tcp', which has the following limitations: All processes are affected, only
T: one telepresence can run per machine, and you can't use other VPNs. You may need to add cloud hosts and
T: headless services with --also-proxy. For a full list of method limitations see
T: https://telepresence.io/reference/methods.html
T: Volumes are rooted at $TELEPRESENCE_ROOT. See https://telepresence.io/howto/volumes.html for details.
T: Starting network proxy to cluster using new Deployment telepresence-1588609825-155246-24943

T: No traffic is being forwarded from the remote Deployment to your local machine. You can use the --expose
T: option to specify which ports you want to forward.

T: Connected. Flushing DNS cache.
T: Setup complete. Launching your command.

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
@default|bash-3.2$ curl -L http://10.254.77.184:8081/
curl: (52) Empty reply from server

, что мне делать, чтобы узнать, что происходит не так? и как это исправить?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...