Google Cloud Kubernetes
- Product name
- Publisher page
-
- [Google|Google]
- Category
- Cloud
- Release
- TKU 2021-Jun-1
- Publisher link
Kubernetes Engine (GKE) is a managed, production-ready environment for deploying containerized applications. It brings our latest innovations in developer productivity, resource efficiency, automated operations, and open source flexibility to accelerate your time to market.
Identification
Triggers
Pattern | Trigger Node | Attribute | Condition | Argument |
---|---|---|---|---|
InferKubernetes | DiscoveredCloudAPIResultList | discovery_method | = | "Google.Kubernetes.Clusters.List" |
UpdateFailureTime | DiscoveredCloudAPIResultList | discovery_method | "Google.Kubernetes.Clusters.List" | |
and | ||||
failure_reason exists |
Endpoints in the REST APIs
REST APIs | Comments |
---|---|
Google.Kubernetes.Clusters.List | Lists all Kubernetes Clusters |
API Discovery of GKE
Google Kubernetes Cluster can also be discovered via API Provider credentials. This type of scan provides a more extended model of Kubernetes Clusters, i.e., more nodes, attributes, and links. For complete information on Kubernetes clusters discovered via API, see Kubernetes documentation.
To use this discovery method, API access to the Kubernetes cluster should be configured. Use the following links to read about the configuration setup:
- https://cloud.google.com/anthos/fleet-management/docs/console, https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
- https://cloudhedge.io/setting-up-kubernetes-api-access-using-service-account/
Please note that read (get/list) permissions for the required resources should be granted to your Service Account. Discovery retrieves the required resources by executing the API queries described in Kubernetes API queries paragraph.
Attributes
Patterns models 'container' Cloud Service for each Cloud Region where the Google Kubernetes Cluster instance was found.
NodeKind | Attribute | Default value/Comments |
---|---|---|
CloudService | type | Kubernetes |
code | container | |
name | Kubernetes |
BMC Helix Discovery view of the scanned results for CloudService is the following:
Pattern models Cluster node for Kubernetes Cluster each as follows:
NodeKind | Attribute | Default value/Comments | |
---|---|---|---|
Cluster | type | Google Kubernetes Cluster | |
key | or | <rel_path>/Google Kubernetes Cluster | |
Exciting cluster with attached Host / VM . key | |||
name | result.name | ||
short_name | result.name | ||
type | 'Google Kubernetes Cluster' | ||
cloud | boolean | true | |
project | discovery.access.project | ||
project_name | from function | cp.getProjectName(discovery.access) | |
rel_path | from function | gcp.getRelPath(attrs.self_link); | |
node_count | result.currentNodeCount | ||
cluster_name | result.name | ||
ip_addrs | list | [result.endpoint] | |
version | result.initialClusterVersion | ||
status | result.selfLink | ||
cloud_id | from function | gcp.getRelPath(result.selfLink) | |
network | result.network | ||
max_pods_per_node | result.defaultMaxPodsConstraint.maxPodsPerNode | ||
availability_zones | list | result.locations |
Model visualization is represented below:
BMC Helix Discovery view of the scanned results for Cluster is the following:
Discovery does not model containers because of the API data limitation.
Comments
Log in or register to comment.