Dear,
We’re trying to use *Kubernetes Based Elastic Agent Plugins for GoCD* to
manage our GoCD agents.
Just a quick question, what’s the different or relationship about GoCD
Agent Deployments deployed by HELM and Pod defined by Elastic Agent
Profiles.
GoCD Agent deployed by HELM HELM Info
# helm list gocd
NAME REVISION UPDATED STATUS CHART APP
VERSION NAMESPACE
gocd 2 Tue Dec 4 07:26:26 2018 DEPLOYED gocd-1.5.5
18.10.0 gocd
Deployment Info
# kubectl describe deploy/gocd-agent -n gocd
Name: gocd-agent
Namespace: gocd
CreationTimestamp: Wed, 28 Nov 2018 14:29:37 +0000
Labels: app=gocd
chart=gocd-1.5.5
component=agent
heritage=Tiller
release=gocd
Annotations: deployment.kubernetes.io/revision: 2
Selector: app=gocd,component=agent,release=gocd
Replicas: 0 desired | 0 updated | 0 total | 0 available | 0
unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app=gocd
component=agent
release=gocd
Containers:
gocd-agent:
Image: x.x.x.x:5000/k8s/gocd-agent-docker:v18.11.0
Port: <none>
Host Port: <none>
Environment:
GO_SERVER_URL: https://x.x.x.x:8443
Mounts:
/docker-entrypoint.d from goagent-vol (rw)
/home/go from goagent-vol (rw)
/home/go/.ssh from ssh-secrets (ro)
Volumes:
goagent-vol:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim
in the same namespace)
ClaimName: gocd-agent
ReadOnly: false
ssh-secrets:
Type: Secret (a volume populated by a Secret)
SecretName: gocd-agent-ssh
Optional: false
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing True NewReplicaSetAvailable
OldReplicaSets: <none>
NewReplicaSet: <none>
Events: <none>
Pod defined by Elastic Agent Profiles.
apiVersion: v1
kind: Pod
metadata:
name: pod-name-prefix-{{ POD_POSTFIX }}
labels:
app: web
spec:
containers:
- name: gocd-agent-container-{{ CONTAINER_POSTFIX }}
image: {{ GOCD_AGENT_IMAGE }}:{{ LATEST_VERSION }}
securityContext:
privileged: true
Thanks a lot.
--
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].
For more options, visit https://groups.google.com/d/optout.