Kuota
Dokumen ini berisi batas konten dan kuota permintaan saat ini untuk Cloud Service Mesh.
Google Cloud menggunakan kuota untuk membantu memastikan keadilan dan mengurangi lonjakan penggunaan dan ketersediaan resource. Kuota membatasi jumlah Google Cloud resource yang dapat digunakan Google Cloud project Anda. Kuota berlaku untuk berbagai jenis resource, termasuk komponen hardware, software, dan jaringan. Misalnya, kuota dapat membatasi jumlah panggilan API ke suatu layanan, jumlah load balancer yang digunakan secara bersamaan oleh project Anda, atau jumlah project yang dapat Anda buat. Kuota melindungi komunitas penggunaGoogle Cloud dengan mencegah kelebihan beban layanan. Kuota juga membantu Anda mengelola resource sendiri. Google Cloud
Sistem Kuota Cloud melakukan hal berikut:
- Memantau penggunaan Google Cloud produk dan layanan
- Membatasi pemakaian resource tersebut
- Menyediakan cara untuk meminta perubahan pada nilai kuota dan mengotomatiskan penyesuaian kuota
Dalam sebagian besar kasus, saat Anda mencoba menggunakan resource lebih dari yang diizinkan kuotanya, sistem akan memblokir akses ke resource tersebut, dan tugas yang Anda coba lakukan akan gagal.
Kuota umumnya berlaku di level Google Cloud project Penggunaan resource dalam satu project tidak memengaruhi kuota yang tersedia di project lain. Dalam project Google Cloud , kuota dibagikan ke semua aplikasi dan alamat IP.
Ada juga batas sistem pada resource Cloud Service Mesh. Batas sistem tidak dapat diubah.
Perhatikan bahwa resource Istio diterjemahkan ke dalam resource Cloud Service Mesh yang dihitung berdasarkan kuota berikut.
Batas
Cloud Service Mesh memiliki batas 100 kueri per detik (QPS) per Google Cloud project.
Semua aturan penerusan, layanan backend, dan kuota serta batas load balancing lainnya yang ada per project berlaku untuk deployment Cloud Service Mesh berdasarkan API load balancing dan perutean layanan. Google Cloud
Batas peta URL
Peta URL untuk Cloud Service Mesh dengan API load balancing tunduk pada batas per project berikut.
Item | Kuota dan batas | Catatan |
---|---|---|
Peta URL | Kuota | Kuota ini berlaku per project. |
Jalur dalam aturan jalur | 50 | Batas ini tidak dapat ditingkatkan. |
Aturan pencocokan dalam aturan rute | 50 | Batas ini tidak dapat ditingkatkan. |
Aturan host per peta URL | 2.500 | Batas ini tidak dapat ditingkatkan. |
Pencocok jalur per peta URL | 2.500 | Batas ini tidak dapat ditingkatkan. |
Aturan jalur per pencocok jalur | 500 | Batas ini tidak dapat ditingkatkan. |
Aturan rute per pencocok jalur | 500 | Batas ini tidak dapat ditingkatkan. |
Kecocokan header per aturan kecocokan | 50 | Batas ini tidak dapat ditingkatkan. |
Pencocokan parameter kueri per aturan pencocokan | 50 | Batas ini tidak dapat ditingkatkan. |
Filter metadata per aturan pencocokan | 5 | Batas ini tidak dapat ditingkatkan. |
Memfilter label per filter metadata | 64 | Batas ini tidak dapat ditingkatkan. |
Host per aturan host | 100 | Batas ini tidak dapat ditingkatkan. |
Pengujian per peta URL | 100 | Batas ini tidak dapat ditingkatkan. |
Ukuran peta URL | 524 KB | Batas ini tidak dapat ditingkatkan. |
Layanan backend berbobot per tindakan rute | 10 | Batas ini tidak dapat ditingkatkan. |
Jika Anda melebihi salah satu batas dalam tabel, Anda akan melihat error seperti berikut:
Value for field 'resource.hostRules[0].hosts' is too large: maximum size 100 element(s);actual size 107.
Batas API perutean layanan
Item | Catatan |
---|---|
Mesh | Kuota ini berlaku per project. |
Gateway | Kuota ini berlaku per project. |
GrpcRoutes | Kuota ini berlaku per project. |
HttpRoutes | Kuota ini berlaku per project. |
TcpRoutes | Kuota ini berlaku per project. |
TlsRoutes | Kuota ini berlaku per project. |
Batas API keamanan jaringan
Item | Kuota dan batas | Catatan |
---|---|---|
clientTlsPolicy | 500 | Kuota ini berlaku per project. |
serverTlsPolicy | 500 | Kuota ini berlaku per project. |
AuthorizationPolicy | 500 | Kuota ini berlaku per project. |
EndpointPolicy | 750 | Kuota ini berlaku per project. |
Kebijakan load balancing layanan
Item | Kuota dan batas | Catatan |
---|---|---|
ServiceLbPolicies | Kuota | Kuota ini berlaku per project. |
Untuk menyesuaikan sebagian besar kuota, gunakan konsol Google Cloud . Untuk mengetahui informasi selengkapnya, lihat Meminta penyesuaian kuota.
Manage quotas
Cloud Service Mesh enforces quotas on resource usage for various reasons. For example, quotas protect the community of Google Cloud users by preventing unforeseen spikes in usage. Quotas also help users who are exploring Google Cloud with the free tier to stay within their trial.
All projects start with the same quotas, which you can change by requesting additional quota. Some quotas might increase automatically based on your use of a product.
Permissions
To view quotas or request quota increases, Identity and Access Management (IAM) principals need one of the following roles.
Task | Required role |
---|---|
Check quotas for a project | One of the following:
|
Modify quotas, request additional quota | One of the following:
|
Check your quota
Console
- In the Google Cloud console, go to the Quotas page.
- To search for the quota that you want to update, use the Filter table. If you don't know the name of the quota, use the links on this page instead.
gcloud
Using the Google Cloud CLI, run the following command to
check your quotas. Replace PROJECT_ID
with your own project ID.
gcloud compute project-info describe --project PROJECT_ID
To check your used quota in a region, run the following command:
gcloud compute regions describe example-region
Errors when exceeding your quota
If you exceed a quota with a gcloud
command,
gcloud
outputs a quota exceeded
error
message and returns with the exit code 1
.
If you exceed a quota with an API request, Google Cloud returns the
following HTTP status code: 413 Request Entity Too Large
.
Request additional quota
To adjust most quotas, use the Google Cloud console. For more information, see Request a quota adjustment.
Resource availability
Each quota represents a maximum number for a particular type of resource that you can create, if that resource is available. It's important to note that quotas don't guarantee resource availability. Even if you have available quota, you can't create a new resource if it is not available.
For example, you might have sufficient quota to create a new regional, external IP address in a given region. However, that is not possible if there are no available external IP addresses in that region. Zonal resource availability can also affect your ability to create a new resource.
Situations where resources are unavailable in an entire region are rare. However, resources within a zone can be depleted from time to time, typically without impact to the service level agreement (SLA) for the type of resource. For more information, review the relevant SLA for the resource.