Skip to main content

server_config

Creates, updates, deletes, gets or lists a server_config resource.

Overview

Nameserver_config
TypeResource
Idgoogle.container.server_config

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
channelsarrayList of release channel configurations.
defaultClusterVersionstringVersion of Kubernetes the service deploys by default.
defaultImageTypestringDefault image type.
validImageTypesarrayList of valid image types.
validMasterVersionsarrayList of valid master versions, in descending order.
validNodeVersionsarrayList of valid node upgrade target versions, in descending order.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_get_server_configselectprojectsId, locationsIdprojectId, zoneReturns configuration info about the Google Kubernetes Engine service.

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.

NameDatatypeDescription
locationsIdstring
projectsIdstring
projectIdstring
zonestring

SELECT examples

Returns configuration info about the Google Kubernetes Engine service.

SELECT
channels,
defaultClusterVersion,
defaultImageType,
validImageTypes,
validMasterVersions,
validNodeVersions
FROM google.container.server_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND projectId = '{{ projectId }}'
AND zone = '{{ zone }}';