Cluster
Package: multicluster.solo.io
Types:
Source File: github.com/solo-io/skv2/api/multicluster/v1alpha1/cluster.proto
KubernetesClusterSpec
Representation of a Kubernetes cluster that has been registered.
"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 |
.multicluster.solo.io.KubernetesClusterSpec.ProviderInfo | Metadata for clusters provisioned from cloud providers. |
ProviderInfo
Metadata for clusters provisioned from cloud providers.
"eks": .multicluster.solo.io.KubernetesClusterSpec.Eks
Field | Type | Description |
---|---|---|
eks |
.multicluster.solo.io.KubernetesClusterSpec.Eks | Provider info for an AWS EKS provisioned cluster. |
Eks
AWS metadata associated with an EKS provisioned cluster.
"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. |
KubernetesClusterStatus
"status": []core.skv2.solo.io.Status
"namespace": string
"policyRules": []multicluster.solo.io.PolicyRule
Field | Type | Description |
---|---|---|
status |
[]core.skv2.solo.io.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 |
[]multicluster.solo.io.PolicyRule | The set of PolicyRules attached to ClusterRoles when this cluster was registered. |
PolicyRule
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.
"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. |