Error when creating elastic agent for Kubernetes

37 views
Skip to first unread message

Royal

unread,
Apr 7, 2021, 9:50:14 AM4/7/21
to go-cd
When I try to add a elastic agent for kubernetes I get this error:

Invalid size: 3249786878. Wrong size unit

I am using this documentation but still can't figure out what I am doing wrong. Help would be appreciated!

Sriram Narayanan

unread,
Apr 13, 2021, 11:47:58 AM4/13/21
to go-cd
Per the code here: https://github.com/gocd/kubernetes-elastic-agents/blob/master/src/main/java/cd/go/contrib/elasticagent/utils/Size.java#L35

you should be providing the unit of measure (MB, KB, etc).

-- Ram

Reply all
Reply to author
Forward
0 new messages