Closed LeiQL closed 4 months ago
We don't interpret this value ourselves, we just feed the deserialized string as ResourceRequirements.
Cannot repro this issue. Container deployed with correct resource requirement.
Containers:
sample-prometheus-server:
Container ID: docker://3ec94c2236442a62d45363b86d8eb331e6a7fb81de2ec02ba745bde243fe736a
Image: prom/prometheus
Image ID: docker-pullable://prom/prometheus@sha256:beb5e30ffba08d9ae8a7961b9a2145fc8af6296ff2a4f463df7cd722fcbfc789
Port: 9090/TCP
Host Port: 0/TCP
State: Running
Started: Wed, 31 Jan 2024 17:28:12 +0800
Ready: True
Restart Count: 0
Requests:
cpu: 100m
memory: 100Mi
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bbktl (ro)
Issue: 100m will be translated to 100 cpu in existing k8s.provider. Doc: https://github.com/Azure/symphony/blob/d4172fbb2166af16962562dafd919928a8c01bdc/docs/symphony-book/quick_start/deploy_prometheus_k8s.md