简体   繁体   English

Azure AKS 错误:Kubernetes 集群无法访问拨号 tcp 没有这样的主机 443

[英]Azure AKS Error: Kubernetes cluster unreachable dial tcp no such host 443

I'm trying to run helm command from my terraform configuration.我正在尝试从我的 terraform 配置运行 helm 命令。 But i'm getting kubernetes cluster unreachable error.但是我遇到了 kubernetes 集群无法访问的错误。 My cluster is private and i don't want to change it.我的集群是私有的,我不想更改它。 How can i access it?我怎样才能访问它?

Error: Kubernetes cluster unreachable: Get "https://aksdns-8f2967.c8e977-d63e-461f-a4b6-c356d1.privatelink.westeurope.azmk8s.io:443/version": dial tcp: lookup aksdns-8f67.c8e95477-d63e-461f-a4b6-c33b2d6d1.privatelink.westeurope.azmk8s.io on 192.168.1.1:53: no such host错误:Kubernetes 集群无法访问:获取“https://aksdns-8f2967.c8e977-d63e-461f-a4b6-c356d1.privatelink.westeurope.azmk8s.io:443/version”:拨号 tcp:查找 aksdns-8f67.c8e95477-d63e -461f-a4b6-c33b2d6d1.privatelink.westeurope.azmk8s.io 192.168.1.1:53:没有这样的主机

resource "helm_release" "ingress-nginx" {
  name             = "ingress-nginx"
  namespace        = "ingress-nginx"
  create_namespace = true
  repository       = "https://kubernetes.github.io/ingress-nginx"
  chart            = "ingress-nginx"

  values = [
    file("ingress-nginx-values.yaml")
  ]
}

You will need to run your Terraform scripts from a machine (like a build agent) that is connected via VNet connection to that private cluster.您将需要从通过 VNet 连接到该私有集群的机器(如构建代理)运行 Terraform 脚本。 That is the whole point of private clusters: The control plane is only accessible to machines with direct line-of-sight, not over the internet.这就是私有集群的全部意义所在:控制平面只能由具有直接视线的机器访问,而不能通过互联网访问。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 中的 Kubernetes - 无法连接到服务器:proxyconnect tcp:dial tcp:lookup http:没有这样的主机 - Kubernetes in Azure - Unable to connect to the server: proxyconnect tcp: dial tcp: lookup http: no such host 将卷添加到 Azure 上的 Terraform AKS 群集时出现错误“没有这样的主机” - Error 'no such host' when adding a volume to Terraform AKS cluster on Azure 调整 Azure Kubernetes 服务 (AKS) 群集的大小 - Sizing Azure Kubernetes Services (AKS) Cluster 来自守护程序的错误响应:获取 https://azure/v2/:拨打 tcp:查找 azure:没有这样的主机 - Error response from daemon: Get https://azure/v2/: dial tcp: lookup azure: no such host Kube.netes 挑战等待 http-01 传播:拨打 tcp:没有这样的主机 - Kubernetes challenge waiting for http-01 propagation: dial tcp: no such host 是否有适用于Azure AKS(Azure kubernetes服务)群集的API网关 - Is there any API Gateway for Azure AKS (Azure kubernetes services) cluster 无法进入kubernetes pod。 服务器出错:错误拨号后端:在168.63.129.16:53上拨tcp:lookup(节点主机名):没有这样的主机 - Unable to enter a kubernetes pod. Error from server: error dialing backend: dial tcp: lookup (node hostname) on 168.63.129.16:53: no such host 错误:在 Azure Kubernetes 服务 (AKS) 中轮换证书 - Error: Rotate certificates in Azure Kubernetes Service (AKS) Azure Container Registry拉取请求失败,无法进行拨号tcp查找 - Azure Container Registry pull request fails with dial tcp lookup no such host 尝试使用 AKS 在 Azure 上创建托管 Kubernetes 集群时出现“不正确的填充” - “Incorrect padding” when trying to create managed Kubernetes cluster on Azure with AKS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM