The connection to the server localhost:8080 was refused - did you specify the right host or port? user@test-eks-anywhere:~$ user@test-eks-anywhere:~$ eksctl anywhere version Version: v0.23.4 Release Manifest URL: https://anywhere-assets.eks.amazonaws.com/releases/eks-a/manifest.yaml Bundle Manifest URL: https://anywhere- assets.eks.amazonaws.com/releases/bundles/107/manifest.yaml user@test-eks-anywhere:~$ 4.Dockerプロバイダーの構築(eksctlとkubectl)
--provider docker > $CLUSTER_NAME.yaml user@test-eks-anywhere:~/eks-anywhere-test$ user@test-eks-anywhere:~/eks-anywhere-test$ ll total 16 drwxrwxr-x 3 user user 4096 Nov 3 06:12 ./ drwxr-x--- 6 user user 4096 Nov 3 06:11 ../ drwxr-x--- 2 user user 4096 Nov 3 06:12 eksa-cli-logs/ -rw-rw-r-- 1 user user 639 Nov 3 06:12 mgmt.yaml user@test-eks-anywhere:~/eks-anywhere-test$
setup and validations Warning: The docker infrastructure provider is meant for local development and testing only Docker Provider setup is valid Validate OS is compatible with registry mirror configuration Validate certificate for registry mirror Validate authentication for git provider Validate cluster's eksaVersion matches EKS-A version Validate extended kubernetes version support is supported ~割愛~ Cluster created! -------------------------------------------------------------------------------------- The Amazon EKS Anywhere Curated Packages are only available to customers with the Amazon EKS Anywhere Enterprise Subscription -------------------------------------------------------------------------------------- Enabling curated packages on the cluster Installing helm chart on cluster {"chart": "eks-anywhere-packages", "version": "0.4.8-eks-a-107"} 5.クラスターを作成する
service/hello-eks-a created user@test-eks-anywhere:~/test-eks-anywhere$ user@test-eks-anywhere:~/test-eks-anywhere$ user@test-eks-anywhere:~/test-eks-anywhere$ kubectl get pods -l app=hello-eks-a NAME READY STATUS RESTARTS AGE hello-eks-a-5ff5b8766b-klwkx 1/1 Running 0 119s user@test-eks-anywhere:~/test-eks-anywhere$ user@test-eks-anywhere:~/test-eks-anywhere$ kubectl get svc hello-eks-a NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-eks-a NodePort 10.104.57.21 <none> 80:30764/TCP 2m5s user@test-eks-anywhere:~/test-eks-anywhere$ user@test-eks-anywhere:~/test-eks-anywhere$ kubectl port-forward deploy/hello-eks-a 3000:80 Forwarding from 127.0.0.1:3000 -> 80 Forwarding from [::1]:3000 -> 80
4096 Nov 4 11:23 ./ drwxrwxr-x 4 user user 4096 Nov 4 11:19 ../ -rw-rw-r-- 1 user user 2217 Nov 4 11:22 deployment.yaml -rw-rw-r-- 1 user user 1925 Nov 4 11:22 ingress.yaml -rw-rw-r-- 1 user user 60 Nov 4 11:18 namespace.yaml -rw-rw-r-- 1 user user 700 Nov 4 11:23 postgres-secret.yaml -rw-rw-r-- 1 user user 1259 Nov 4 11:22 postgres.yaml -rw-rw-r-- 1 user user 564 Nov 4 11:18 service.yaml user@test-eks-anywhere:~/test-eks-anywhere/chat-app-manifest/manifest-repo$ user@test-eks-anywhere:~/test-eks-anywhere/chat-app-manifest/manifest-repo$ kubectl apply -f ./
a while {"cluster": "bootstrap- cluster", "bundle": "mgmt/generated/bootstrap-cluster-2025-11-03T07:20:21Z-bundle.yaml", "since": 1762143621771894602, "kubeconfig": "mgmt/generated/mgmt.kind.kubeconfig"} Support bundle archive created {"path": "support-bundle-2025-11-03T07_20_22.tar.gz"} Analyzing support bundle {"bundle": "mgmt/generated/bootstrap-cluster-2025-11- 03T07:20:21Z-bundle.yaml", "archive": "support-bundle-2025-11-03T07_20_22.tar.gz"} Analysis output generated {"path": "mgmt/generated/bootstrap-cluster-2025-11- 03T07:20:30Z-analysis.yaml"} Error: waiting for cluster's control plane to be ready: cluster condition ControlPlaneReady is False: Control plane nodes not ready yet, 1 expected (0 ready)