Project: Gloo (Orchestration & Management / API Gateway)
File: cluster.proto.sk.md

title: "cluster.proto" weight: 5 <!-- Code generated by solo-kit. DO NOT EDIT. --> Representation of a Kubernetes cluster that has been registered. ```yaml "secretName": string "clusterDomain": string "providerInfo": .multicluster.solo.io.KubernetesClusterSpec.ProviderInfo ``` | Field | Type | Description | | -- | - | -- | | `secretName` | `string` | name of the secret which contains the kubeconfig with information to connect to the remote cluster. | | `clusterDomain` | `string` | name local DNS suffix used by the cluster. used for building FQDNs for in-cluster services defaults to 'cluster.local'. | | `providerInfo` | | Metadata for clusters provisioned from cloud providers. | Metadata for clusters provisioned from cloud providers. ```yaml "eks": .multicluster.solo.io.KubernetesClusterSpec.Eks ``` | Field | Type | Description | | -- | - | -- | | `eks` | | Provider info for an AWS EKS provisioned cluster. | AWS metadata associated with an EKS provisioned cluster. ```yaml "arn": string "accountId": string "region": string "name": string ``` | Field | Type | Description | | -- | - | -- | | `arn` | `string` | AWS ARN. | | `accountId` | `string` | AWS 12 digit account ID. | | `region` | `string` | AWS region. | | `name` | `string` | EKS resource name. | ```yaml "status": []core.skv2.solo.io.Status "namespace": string "policyRules": []multicluster.solo.io.PolicyRule ``` | Field | Type | Description | | -- | - | -- | | `status` | | List of statuses about the kubernetes cluster. This list allows for multiple applications/pods to record their connection status. | | `namespace` | `string` | The namespace in which cluster registration resources were created. | | `policyRules` | | The set of PolicyRules attached to ClusterRoles when this cluster was registered. | Copy pasted from the official kubernetes definition: https://github.com/kubernetes/api/blob/697df40f2d58d7d48b180b83d7b9b2b5ff812923/rbac/v1alpha1/generated.proto#L98 PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. ```yaml "verbs": []string "apiGroups": []string "resources": []string "resourceNames": []string "nonResourceUrls": []string ``` | Field | Type | Description | | -- | - | -- | | `verbs` | `[]string` | Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. | | `apiGroups` | `[]string` | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. +optional. | | `resources` | `[]string` | Resources is a list of resources this rule applies to. ResourceAll represents all resources. +optional. | | `resourceNames` | `[]string` | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. +optional. | | `nonResourceUrls` | `[]string` | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. +optional. | <!-- Start of HubSpot Embed Code --> <script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/5130874.js"></script> <!-- End of HubSpot Embed Code -->