[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: unit of measurement for memory quota



Memory and storage are always bytes

> On Apr 28, 2017, at 8:11 AM, Joseph Lorenzini <jaloren gmail com> wrote:
>
> Hi all,
>
> If I oc describe the quota for a project, I get a number for memory usage but unit of measurement. Would anyone happen to know what the unit is?
>
> Thanks,
> Joe
>
>
> {
> 	"kind": "ResourceQuota",
> 	"apiVersion": "v1",
> 	"metadata": {
> 		"name": "cm-project-quota",
> 		"namespace": "cm-qa",
> 		"selfLink": "/api/v1/namespaces/cm-qa/resourcequotas/cm-project-quota",
> 		"uid": "54e03c02-e421-11e6-9d89-005056b13af0",
> 		"resourceVersion": "18569045",
> 		"creationTimestamp": "2017-01-26T23:44:09Z"
> 	},
> 	"spec": {
> 		"hard": {
> 			"cpu": "8",
> 			"memory": "20G",
> 			"pods": "60",
> 			"replicationcontrollers": "500",
> 			"resourcequotas": "50",
> 			"services": "50"
> 		}
> 	},
> 	"status": {
> 		"hard": {
> 			"cpu": "8",
> 			"memory": "20G",
> 			"pods": "60",
> 			"replicationcontrollers": "500",
> 			"resourcequotas": "50",
> 			"services": "50"
> 		},
> 		"used": {
> 			"cpu": "4500m",
> 			"memory": "13258332800",
> 			"pods": "12",
> 			"replicationcontrollers": "257",
> 			"resourcequotas": "1",
> 			"services": "10"
> 		}
> 	}
> }
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]