Release Notes
Announcements
Release Notes
apiVersion: ensurance.crane.io/v1alpha1kind: PodQOSmetadata:name: sqlspec:labelSelector:matchLabels:k8s-app: low # Select the business label to applyresourceQOS:memoryQOS:memAsyncReclaim:asyncRatio: 90 # asyncRatio represents the threshold for asynchronous reclamation. Reclamation starts when memory usage exceeds this proportion in the cgroup. The value range is [0-100]. It is recommended to set above 90. It is 0 by default, which means offasyncDistanceFactor: 200 # asyncDistanceFactor controls the total number of pages to be reclaimed each time asynchronous reclamation is triggered. It is 1 by default, with the value range of [1, 150000]
apiVersion: ensurance.crane.io/v1alpha1kind: PodQOSmetadata:name: testspec:labelSelector:matchLabels:k8s-app: low # Select the business label to applyresourceQOS:memoryQOS:memWatermark:watermarkRatio: 50 # The value range of watermarkRatio is [-75,75]; negative values indicate the reduced threshold, mainly for online containers; and positive values indicate the elevated threshold, mainly for offline containers;
apiVersion: ensurance.crane.io/v1alpha1kind: PodQOSmetadata:name: sqlspec:labelSelector:matchLabels:k8s-app: mysqlresourceQOS:memoryQOS:memWatermark:watermarkRatio: -50
apiVersion: ensurance.crane.io/v1alpha1kind: PodQOSmetadata:name: sqlspec:labelSelector:matchLabels:k8s-app: mysql-pi-000006 # Select the business label to applyresourceQOS:memoryQOS:memPageCacheLimit:pageCacheMaxRatio: 20 # pageCacheMaxRatio represents the maximum ratio of pagecache usage to memory quota, based on the current memory limit. Therefore, to use this feature, memory thresholds must be set in the limits. For example, if the Pod memory threshold is 10 GB and pageCacheMaxRatio is 20%, then the pagecache is limited to using a maximum of 2 GB.pageCacheReclaimRatio: 5 # pageCacheReclaimRatio represents the reclamation ratio after pagecache exceeds its limit, specifically referring to the ratio of the maximum pagecache usage.
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários