GoCD default Helm creates on server and 0 agents.
helm show values gocd/gocd
shows
# agent.replicaCount is the GoCD Agent replicas Count. Specify the number of GoCD agents to run
replicaCount: 0
I created a new release
helm upgrade --install gocd gocd/gocd -n gocd --set replicaCount=1
Release "gocd" has been upgraded. Happy Helming!
NAME: gocd
LAST DEPLOYED: Fri Mar 21 14:30:47 2025
NAMESPACE: gocd
STATUS: deployed
REVISION: 2
The Cluster does not have agent pods.
gocd-agent-65979fd7dc 0 0 0 9m48s
gocd-server-7b58d6ccd4 1 1 1 9m48s
Why did a new realese not resolve this issue?
I'm assuming you're using this helm chart to install GoCD.
From the templates and values file, we can see that the value to set the replica count of agent pods falls under agent.replicaCount
variable.
Changing your helm command from
helm upgrade --install gocd gocd/gocd -n gocd --set replicaCount=1
to
helm upgrade --install gocd gocd/gocd -n gocd --set agent.replicaCount=1
should make the agent replica becomes 1.