Kubernetes Agent - Cannot convert string to float 10Mi on Kubernetes 1.15.12

So if you have any Statefulset or Deployment that utilizes resource requests in the containers definition, you would see this issue.

For example, the below definition will get that error:

...
containers:
  - resources:
       requests:
         cpu: 100m
         memory: 10Mi

Now if I change the resources request to just a byte number representation everything works fine.

...
containers:
  - resources:
       requests:
         cpu: 100m
         memory: 10485760