Reputation: 7950
I'm trying to set the resources of my pod from a config map
resources:
requests:
cpu:
valueFrom:
configMapKeyRef:
name: config
value: CPU_REQUEST
But get error "got map", expected "string"
Upvotes: 2
Views: 145
Reputation: 6765
Resources cannot be configured through configmaps, they need to be configured as part of the podspec
Upvotes: 3