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

On Wednesday, April 7, 2021 at 9:50:14 PM UTC+8 Royal wrote:

> When I try to add a elastic agent for kubernetes I get this error:
>
> Invalid size: 3249786878. Wrong size unit
>
> I am using this 
> <https://github.com/gocd/kubernetes-elastic-agents/blob/cd284e4ea5ea14d15e7a1375eed18c2f19b7290f/docs/configure_elastic_profile.md>
>  documentation 
> but still can't figure out what I am doing wrong. Help would be 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/031e070f-630f-4dff-b8dd-c692165858c1n%40googlegroups.com.

Reply via email to