我正在我的kubernetes 1.9.4集群上运行gke
我有两个豆荚,gate试图连接到coolapp,两者都是用elixir编写的。
我使用连接我的节点,得到以下错误:
[libcluster:app_name] cannot query kubernetes (unauthorized): endpoints is forbidden: User "system:serviceaccount:staging:default" cannot list endpoints in the namespace "staging": Unknown user
跟踪误差
Starting: Bash
==============================================================================
Task : Bash
Description : Run a Bash script on macOS, Linux, or Windows
Version : 3.201.1
Author : Microsoft Corporation
Help : https://learn.microsoft.com/azure/devops/pipe
我跟踪是为了建立一个DNS service,并将两个独立的kubernetes pods连接在一起。其中一个应该充当网关,它正在监听端口80,另一个在端口90上。
当我使用他们的节点IP,curl 10.32.0.24和curl 10.32.0.25:90时,我可以联系到他们。尽管如此,我还是想不出如何通过我的DNS服务来访问它们。URL会是什么?
Namespace是default,这是kubectl cluster-info: Kubernetes master is running at IP_OF_MY_SERVER:6443 KubeDNS is running at IP_OF_M
我有两个服务,它们都使用相同的接口,其中一个被注入到另一个。有了service.yaml中的这种配置,一切都运行得很好:
# fix autowiring for 2 services using the same interface
App\Domain\ListService: ~
App\Domain\SapService\SapListService: ~
App\Domain\ListService $sapListService: '@App\Domain\SapService\SapListService'
App