EKS: "There are no available nodes for LoadBalancer"

0

Hi there, I am trying to deploy EKS managed by ArgoCD and deployed with Pulumi. The setup is as follows:

#pulumi_IaC/__main__.py

...
argo = k8s.helm.v3.Release(
    "argocd",
    args=k8s.helm.v3.ReleaseArgs(
        chart="argo-cd",
        namespace=ns.metadata.name,
        repository_opts=k8s.helm.v3.RepositoryOptsArgs(
            repo="https://argoproj.github.io/argo-helm"
        ),
        values={
            "server": {
                "service": {
                    "type": "LoadBalancer",
                }
            }
        },
    ),
    opts=pulumi.ResourceOptions(provider=provider, parent=ns),
)

app_ns = k8s.core.v1.Namespace(
    "sock-shop",
    metadata={
        "name": "sock-shop",
    },
    opts=pulumi.ResourceOptions(provider=provider, parent=cluster),
)

argo_app = app.argoproj.v1alpha1.Application(
    "sock-shop",
    metadata=k8s.meta.v1.ObjectMetaArgs(name="sock-shop", namespace=ns.metadata.name),
    spec=app.argoproj.v1alpha1.ApplicationSpecArgs(
        destination=app.argoproj.v1alpha1.ApplicationSpecDestinationArgs(
            namespace=app_ns.metadata.name,
            server="https://kubernetes.default.svc"
        ),
        project="default",
        source=app.argoproj.v1alpha1.ApplicationSpecSourceArgs(
            path="sock-shop",
            repo_url="https://github.com/argoproj/argocd-example-apps",
            target_revision="HEAD",
        ),
        sync_policy=app.argoproj.v1alpha1.ApplicationSpecSyncPolicyArgs(
            automated={}
        )
    ),
    opts=pulumi.ResourceOptions(provider=provider, depends_on=[argo, app_ns]),
)

Viewing the cluster through Kube Lens showes the following message: "There are no available nodes for LoadBalancer" | argocd-7483fb39-server.

I am not sure if this or something else is the reason I can't access the application from my machine... How can I access the sock-shop frontend?

1 Answer
1
Accepted Answer

I found the ip for the lb using: kubectl get services -n sock-shop | grep LoadBalancer

Elon
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions