בדף הזה מפורטות ההרשאות שנדרשות ל-Google Distributed Cloud במודל מחובר והתפקידים בניהול הזהויות והרשאות הגישה (IAM) שכוללים אותן.
תפקידים והרשאות ב-Distributed Cloud Edge Container API
בטבלה הבאה מפורטים תפקידי הפרויקט ב-Distributed Cloud Edge Container API וההרשאות המחוברות ל-Distributed Cloud שהם כוללים. Google Cloud
| Role | Permissions |
|---|---|
Edge Container Admin( Full access to Edge Container all resources. |
|
Edgecontainer Editor( Editor role for edgecontainer |
|
Edge Container Viewer( Read-only access to Edge Container all resources. |
|
Edge Container API Key Admin( Access to manage API Keys. |
|
Edge Container API Key Viewer( Read-only access to API Keys. |
|
Edge Container Identity Provider Admin( Access to manage Identity Providers. |
|
Edge Container Identity Provider Viewer( Read-only access to Identity Providers. |
|
Edge Container Machine User( Access to use Edge Container Machine resources. |
|
Edge Container Cluster offline Credential User( Access to get Edge Container cluster offline credentials |
|
Edge Container Service Account Admin( Access to manage Service Accounts. |
|
Edge Container Service Account Key Admin( Access to manage Service Account Keys. |
|
Edge Container Service Account Key Viewer( Access to view Service Account Keys. |
|
Edge Container Service Account Viewer( Read-only access to Service Accounts. |
|
Edge Container Zonal Project Admin( Access to manage zonal projects. |
|
Edge Container Zonal Project Viewer( Read-only access to zonal projects. |
|
Edge Container Zonal Service Admin( Access to mutate zonal service. |
|
Edge Container Zonal Service Viewer( Read-only access to zonal services. |
|
Edge Container Zone Iam Policy Admin( Access to manage Iam Policy in the zone. |
|
Edge Container Zone Iam Policy Viewer( Read-only access to Iam Policy in the zone. |
|
Edge Container Roles Viewer( Read-only access to Roles in the zone. |
|
Edge Container Zone Viewer( Read-only access to zones. |
|
Service agent roles
Service agent roles should only be granted to service agents.
| Role | Permissions |
|---|---|
Edge Container Cluster Service Agent( Grants the Edge Container Cluster Service Account access to manage resources. |
|
Edge Container Service Agent( Grants the Edge Container Service Account access to manage resources. |
|
תפקידים והרשאות ב-API של Distributed Cloud Edge Network
בטבלה הבאה מפורטים תפקידי הפרויקט ב-Distributed Cloud Edge Network API וההרשאות המחוברות ל-Distributed Cloud שהם כוללים. Google Cloud
| Role | Permissions |
|---|---|
Edge Network Admin( Full access to Edge Network all resources. |
|
Edge Network Editor( Editor role for Edge Network |
|
Edge Network Viewer( Read-only access to Edge Network all resources. |
|
תפקידים והרשאות ב-GDC Hardware Management API
בטבלה הבאה מפורטים תפקידי הפרויקט ב-GDC Hardware Management API וההרשאות המקושרות של Distributed Cloud שהם כוללים. Google Cloud
| Role | Permissions |
|---|---|
GDC Hardware Management Admin Beta( Full access to GDC Hardware Management resources. |
|
Gdchardwaremanagement Viewer Beta( Viewer role for gdchardwaremanagement |
|
GDC Hardware Management Operator Beta( Create, read, and update access to GDC Hardware Management resources that support those operations. Also grants delete access to HardwareGroup resource. |
|
GDC Hardware Management Reader Beta( Readonly access to GDC Hardware Management resources. |
|
תפקידים והרשאות של שערים
ברשימה הבאה מפורטים התפקידים בפרויקט שנדרשים כדי ששער החיבור יוכל לגשת לאשכולות שלכם. Google Cloud
- Connect Gateway Admin (
roles/gkehub.gatewayAdmin): מעניקה גישה ל-Connect Gateway API. התפקיד הזה מאפשר להשתמש בכליkubectlשל שורת הפקודה כדי לנהל את האשכול. - Connect Gateway Editor (
roles/gkehub.gatewayEditor): מעניקה גישת קריאה וכתיבה לאשכול. - Connect Gateway Reader (
roles/gkehub.gatewayReader): מעניקה גישה לקריאה בלבד לאשכול. - GKE Hub Viewer (
roles/gkehub.viewer): מאפשרת לאחזר קובצי kubeconfig מהאשכול.
תפקידים והרשאות בחבילות Fleet של סנכרון תצורות
ברשימה הבאה מפורטים התפקידים בפרויקט שנדרשים ליצירה ולניהול של חבילות צי. Google Cloud
- אדמין של העברת הגדרות (
roles/configdelivery.admin): נדרש כדי ליצור ולנהל חבילות ופריסות של צי רכב. - Developer Connect Admin (אדמין של Developer Connect) (
roles/developerconnect.admin): נדרש כדי ליצור ולנהל חיבורים למאגרים. - אדמין IAM של פרויקט (
roles/resourcemanager.projectIamAdmin): נדרש כדי להקצות את התפקידים הדרושים לחשבון השירות.
תפקידים בחשבון השירות של חבילת Fleet
- Config Delivery Resource Bundle Publisher (
roles/configdelivery.resourceBundlePublisher): מאפשר לחשבון השירות ליצור ולנהל חבילות משאבים וגרסאות. - משתמש בחיבור Cloud Build (
roles/cloudbuild.connectionUser): מאפשר לחשבון השירות להשתמש בחיבור למאגר Cloud Build. - Logging Log Writer (
roles/logging.logWriter): מאפשר לחשבון השירות לכתוב יומני בנייה. - בעל הרשאת כתיבה ב-Artifact Registry (
roles/artifactregistry.writer): מאפשר לחשבון השירות לדחוף חבילות של חבילות עם ניהול גרסאות ל-Artifact Registry. - משתמש בחיבור Developer Connect
(
roles/developerconnect.connectionUser): מאפשר לחשבון השירות להשתמש בחיבור Developer Connect.
תפקידי RBAC באשכול עבור VM Runtime ב-GDC
VM Runtime ב-GDC משתמש בבקרת גישה מבוססת-תפקידים (RBAC) כדי להגדיר ולאכוף הרשאות למשאבים מנוהלים באשכול. מפת הרשאות מ-Identity and Access Management ל-Kubernetes RBAC מקומי, שמנוהל דרך החברות בצי.
VM Runtime ב-GDC מספק ארבעה ClusterRole שהוגדרו מראש. ברשימה הבאה מתוארים התפקידים האלה.
-
kubevm.admin: מעניק גישה מלאה לכל המשאבים שקשורים למכונות וירטואליות. -
kubevm.edit: מעניק הרשאת קריאה וכתיבה לכל המשאבים שקשורים למכונות וירטואליות. -
kubevm.view: מעניק הרשאת קריאה לכל המשאבים שקשורים למכונות וירטואליות. -
kubevm.cluster.view: מעניקה הרשאת קריאה למשאבים ברמת האשכול.
התפקידים האלה מצטברים לתפקידי ברירת המחדל הבאים ב-Kubernetes:
-
kubevm.adminעדadmin -
kubevm.editעדedit -
kubevm.viewעדview
משתמשים עם התפקיד edit שמוגדר כברירת מחדל מקבלים באופן אוטומטי הרשאות kubevm.edit.