geo_node
Gets or lists a geo_node resource.
Overview​
| Name | geo_node |
| Type | Resource |
| Id | gitlab.admin.geo_node |
Fields​
The following fields are returned by SELECT queries:
- get
GraphQL response envelope
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the GeoNode. |
name | string | Unique identifier for the Geo node. |
container_repositories_max_capacity | integer | Maximum concurrency of container repository sync for the secondary node. |
enabled | boolean | Indicates whether the Geo node is enabled. |
files_max_capacity | integer | Maximum concurrency of LFS/attachment backfill for the secondary node. |
internal_url | string | URL defined on the primary node secondary nodes should use to contact it. |
minimum_reverification_interval | integer | Interval (in days) in which the repository verification is valid. After expiry, it is reverted. |
primary_ | boolean | Indicates whether the Geo node is the primary. |
repos_max_capacity | integer | Maximum concurrency of repository backfill for the secondary node. |
selective_sync_shards | array | |
selective_sync_type | string | Indicates if syncing is limited to only specific groups, or shards. |
sync_object_storage | boolean | Indicates if the secondary node will replicate blobs in Object Storage. |
url | string | User-facing URL for the Geo node. |
verification_max_capacity | integer | Maximum concurrency of repository verification for the secondary node. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | host | name | Find a Geo node. Generated from the GitLab GraphQL schema field Query.geoNode (GeoNode). |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
host | string | GitLab host, with an optional port (default gitlab.com). Resolved from the GITLAB_HOST environment variable when it is set (x-stackQL-envVar); a WHERE host value always takes precedence. Self-managed instances: the provider is generated from the gitlab.com schema, so older instances may reject fields they do not serve. (default: gitlab.com, x-stackQL-envVar: GITLAB_HOST) |
name | string | Name of the Geo node. Defaults to the current Geo node name. |
SELECT examples​
- get
Find a Geo node. Generated from the GitLab GraphQL schema field Query.geoNode (GeoNode).
SELECT
id,
name,
container_repositories_max_capacity,
enabled,
files_max_capacity,
internal_url,
minimum_reverification_interval,
primary_,
repos_max_capacity,
selective_sync_shards,
selective_sync_type,
sync_object_storage,
url,
verification_max_capacity
FROM gitlab.admin.geo_node
WHERE host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
AND name = '{{ name }}'
;