Hi Vijay

That sounds odd. The demo-app profile isn't limited in any way I can think
of. Specifying the Elastic Agent Profile ID is all you should have to do.

What does the console say for the job while it is "waiting for an agent"?
You should see it saying things like:

[go] Waiting to create agent pod.
[go] Creating pod: k8s-ea-b65a313d-fb8d-41db-b13e-7fd3394993c5
[go] Agent pod k8s-ea-b65a313d-fb8d-41db-b13e-7fd3394993c5 created.
Waiting for it to register to the GoCD server.
[go] Job Started: 2022-03-20 09:57:42 GMT

Do you see it creating a pod within your cluster? By default you should see
a pod like "k8s-ea-<UUID>" being created, and transition to running state
within Kubernetes.

Perhaps you can share the rest of the job/pipeline configuration if you
can't figure out what is going on.

-Chad

On Wed, Mar 16, 2022 at 7:52 AM Vijay Dirisala <[email protected]> wrote:

> Hi,
>
> I have the latest version of gocd installed via helm on Docker for Desktop
> on Windows. The default getting_started_pipeline is working fine. The
> installation created an cluster configuration called k8-cluster-profile and
> an elastic agent profile called demo-app. The getting_started_pipeline is
> running on this agent without any problems.
>
> Now I tried to create my own simple, test pipeline and job settings used
> the same Elastic Agent Profild Id (demo-app). Run Type is "Run on one
> instance." However, my test pipeline is never running. The agent is never
> launched. It's stuck in "Waiting for an agent" state. Is there any other
> configuration/selection logic I'm missing? Is the demo-app profile only
> limited to the getting_started_pipleline somehow? I can't figure out where
> else I can specify the demo-app agent to be used for my test pipeline.
>
> I hope that's clear. Any help is greatly appreciated!
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/8202d324-f945-437d-8178-bd9276265a1fn%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/8202d324-f945-437d-8178-bd9276265a1fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAA1RwH_ci%3D8G9Gomw0eNj0cAyuV%2BceeMAjx%3D_Fb31C-S689%3DYw%40mail.gmail.com.

Reply via email to