为SharePoint 2013 Online 设置 Resource Quota

本文介绍如何通过Microsoft Online Portal调整SharePoint Online中站点集合的服务器资源配额,包括设置资源使用警告级别,防止单一站点集合过度消耗服务器资源,影响整体性能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Server Resource Quota

As a SharePoint Online service administrator, you can specify a server resource quota. You can also specify the warning level at which you are sent an email alert that the site collection approaches its resource limit. The purpose of this quota is to set a maximum percentage of server resources (such as CPU and RAM) that your site collection should use. The quota helps prevent one site collection from depleting server resources, that might adversely affect performance for all site collections.

Procedure to increase the server resource Quota

Step 1: Open the “Microsoft Online Portal” (Admin Center) in your browser as in the following:

URL: https://portal.microsoftonline.com/default.aspx

Provide the username and password to login the portal, then you will be navigated to the online portal (Admin Center) as shown below.
这里写图片描述

Step 2: Then click on the “Admin” dropdown on the portal. On the dropdown select the “SharePoint” as shown below:
这里写图片描述

Step 3: When you click on the SharePoint, you will be navigated to the “SharePoint Admin center” as shown below:

这里写图片描述

Step 4: Then select the check boxes next to the site collections whose server resource quotas you want to change.

这里写图片描述

Step 5: On the site collection ribbon bar, select the Server Resource Quota as shown below:

这里写图片描述

Step 6: Then you will get the “set server resource quota” dialog box to change the server resource as shown below:

这里写图片描述

Step 7: In the dialog box enter a maximum number of resources on “Limit the server quota for each selected site collection to a maximum of” as in the following:

Step 8: After completing the changes, click on the “Save” button in the dialog box to save the changes.

Finally the server resource quota will be updated successfully.

这里写图片描述

Summary

In this article we have explored how to increase the server resource quota for a SharePoint site collection in SharePoint Online.

### Kubernetes 中的 ResourceQuota 及其使用方法 ResourceQuota 是 Kubernetes 中用于限制命名空间(Namespace)资源使用上限的一种机制。通过定义 ResourceQuota,集群管理员可以控制每个命名空间中资源的配额,包括 CPU、内存请求与限制、Pod 数量、服务数量等,从而实现多租户环境下的资源公平分配和防止资源滥用。 ResourceQuota 主要作用于命名空间级别,能够对以下类型的资源进行限制: - **计算资源**:如 `cpu` 和 `memory` 的请求(request)和限制(limit) - **对象数量**:如 Pod、Service、ReplicationController、PersistentVolumeClaim 等资源对象的数量 - **存储资源**:如特定存储类(StorageClass)的存储卷大小限制 例如,一个限制命名空间内 CPU 请求总量不超过 20 核、内存请求不超过 1GB,并且最多只能创建 10 个 Pod 的 ResourceQuota 配置如下: ```yaml apiVersion: v1 kind: ResourceQuota metadata: name: example-quota namespace: default spec: hard: cpu: "20" memory: 1Gi pods: "10" ``` 当某个命名空间中的资源使用达到 ResourceQuota 所设定的硬性限制时,Kubernetes 将拒绝进一步的资源创建或分配请求。这种机制对于在共享集群环境中实现资源隔离和成本控制非常关键 [^3]。 此外,ResourceQuota 还支持更细粒度的配置选项,例如通过 `scopes` 字段指定配额适用的范围,如仅适用于 BestEffort 类型的 Pod 或者非终止状态的资源。它还可以与 LimitRange 结合使用,以确保单个容器的资源请求不会超过命名空间级别的总体限制 [^2]。 为了查看某个命名空间下当前的资源使用情况和配额限制,可以使用以下命令: ```bash kubectl get resourcequota -n <namespace> ``` 这将显示该命名空间下的所有 ResourceQuota 对象及其当前使用量和硬性限制值 [^2]。 ###
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值