Error: Post

From wikieduonline
Jump to navigation Jump to search
╷ 
│ Error: Post "http://localhost/apis/storage.k8s.io/v1/storageclasses": dial tcp [::1]:80: connect: 
connection refused
│
│   with module.eks.kubernetes_storage_class_v1.this,
│   on .terraform/modules/eks/main.tf line 111, in resource "kubernetes_storage_class_v1" "this":
│  111:   resource "kubernetes_storage_class_v1" "this" {
│
╵


Error: Post "http://localhost/api/v1/namespaces/kube-system/configmaps": dial tcp [::1]:80: connect: connection refused

 with module.eks.kubernetes_config_map.aws_auth[0],
 on .terraform/modules/eks/main.tf line 533, in resource "kubernetes_config_map" "aws_auth":
533: resource "kubernetes_config_map" "aws_auth" {

Solution: review Kubernetes provider in providers.tf is properly configured


│ Error: Post "https://C81324322342.us-east-2.eks.amazonaws.com/api/v1/namespaces/kube-system/configmaps": dial tcp: lookup 
C81324322342.us-east-2.eks.amazonaws.com on [fe80::1%en0]:53: no such host
│
│   with module.eks.module.eks.kubernetes_config_map.aws_auth[0],
│   on .terraform/modules/eks.eks_mytaverse/main.tf line 510, in resource "kubernetes_config_map" "aws_auth":
│  510: resource "kubernetes_config_map" "aws_auth" {

Solution: ?

See also[edit]

Advertising: