Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- container.projects.zones.clusters.create
- container.projects.zones.clusters.delete
- container.projects.zones.clusters.get
- container.projects.zones.clusters.list
- container.projects.zones.clusters.nodePools.create
- container.projects.zones.clusters.nodePools.delete
- container.projects.zones.clusters.nodePools.get
- container.projects.zones.clusters.nodePools.list
- container.projects.zones.clusters.update
- container.projects.zones.getServerconfig
- container.projects.zones.operations.get
- container.projects.zones.operations.list
- Types
Builds and manages clusters that run container-based applications, powered by open source Kubernetes technology.
- containerService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- type ContainerAPI = ProjectsZonesOperationsListResource :<|> (ProjectsZonesOperationsGetResource :<|> (ProjectsZonesClustersNodePoolsListResource :<|> (ProjectsZonesClustersNodePoolsGetResource :<|> (ProjectsZonesClustersNodePoolsCreateResource :<|> (ProjectsZonesClustersNodePoolsDeleteResource :<|> (ProjectsZonesClustersListResource :<|> (ProjectsZonesClustersGetResource :<|> (ProjectsZonesClustersCreateResource :<|> (ProjectsZonesClustersDeleteResource :<|> (ProjectsZonesClustersUpdateResource :<|> ProjectsZonesGetServerConfigResource))))))))))
- module Network.Google.Resource.Container.Projects.Zones.Clusters.Create
- module Network.Google.Resource.Container.Projects.Zones.Clusters.Delete
- module Network.Google.Resource.Container.Projects.Zones.Clusters.Get
- module Network.Google.Resource.Container.Projects.Zones.Clusters.List
- module Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Create
- module Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Delete
- module Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.Get
- module Network.Google.Resource.Container.Projects.Zones.Clusters.NodePools.List
- module Network.Google.Resource.Container.Projects.Zones.Clusters.Update
- module Network.Google.Resource.Container.Projects.Zones.GetServerConfig
- module Network.Google.Resource.Container.Projects.Zones.Operations.Get
- module Network.Google.Resource.Container.Projects.Zones.Operations.List
- data HorizontalPodAutoscaling
- horizontalPodAutoscaling :: HorizontalPodAutoscaling
- hpaDisabled :: Lens' HorizontalPodAutoscaling (Maybe Bool)
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorOperations :: Lens' ListOperationsResponse [Operation]
- lorMissingZones :: Lens' ListOperationsResponse [Text]
- data CreateClusterRequest
- createClusterRequest :: CreateClusterRequest
- ccrCluster :: Lens' CreateClusterRequest (Maybe Cluster)
- data Cluster
- cluster :: Cluster
- cStatus :: Lens' Cluster (Maybe Text)
- cNodePools :: Lens' Cluster [NodePool]
- cNodeConfig :: Lens' Cluster (Maybe NodeConfig)
- cNodeIPv4CIdRSize :: Lens' Cluster (Maybe Int32)
- cClusterIPv4CIdR :: Lens' Cluster (Maybe Text)
- cInitialNodeCount :: Lens' Cluster (Maybe Int32)
- cCurrentNodeVersion :: Lens' Cluster (Maybe Text)
- cNetwork :: Lens' Cluster (Maybe Text)
- cInitialClusterVersion :: Lens' Cluster (Maybe Text)
- cZone :: Lens' Cluster (Maybe Text)
- cAddonsConfig :: Lens' Cluster (Maybe AddonsConfig)
- cServicesIPv4CIdR :: Lens' Cluster (Maybe Text)
- cMasterAuth :: Lens' Cluster (Maybe MasterAuth)
- cSelfLink :: Lens' Cluster (Maybe Text)
- cName :: Lens' Cluster (Maybe Text)
- cCurrentMasterVersion :: Lens' Cluster (Maybe Text)
- cStatusMessage :: Lens' Cluster (Maybe Text)
- cSubnetwork :: Lens' Cluster (Maybe Text)
- cCurrentNodeCount :: Lens' Cluster (Maybe Int32)
- cEndpoint :: Lens' Cluster (Maybe Text)
- cLocations :: Lens' Cluster [Text]
- cLoggingService :: Lens' Cluster (Maybe Text)
- cDescription :: Lens' Cluster (Maybe Text)
- cInstanceGroupURLs :: Lens' Cluster [Text]
- cMonitoringService :: Lens' Cluster (Maybe Text)
- cCreateTime :: Lens' Cluster (Maybe Text)
- data UpdateClusterRequest
- updateClusterRequest :: UpdateClusterRequest
- ucrUpdate :: Lens' UpdateClusterRequest (Maybe ClusterUpdate)
- data NodeConfig
- nodeConfig :: NodeConfig
- ncDiskSizeGb :: Lens' NodeConfig (Maybe Int32)
- ncOAuthScopes :: Lens' NodeConfig [Text]
- ncMachineType :: Lens' NodeConfig (Maybe Text)
- ncMetadata :: Lens' NodeConfig (Maybe NodeConfigMetadata)
- data HTTPLoadBalancing
- hTTPLoadBalancing :: HTTPLoadBalancing
- httplbDisabled :: Lens' HTTPLoadBalancing (Maybe Bool)
- data Operation
- operation :: Operation
- oStatus :: Lens' Operation (Maybe Text)
- oZone :: Lens' Operation (Maybe Text)
- oSelfLink :: Lens' Operation (Maybe Text)
- oName :: Lens' Operation (Maybe Text)
- oStatusMessage :: Lens' Operation (Maybe Text)
- oOperationType :: Lens' Operation (Maybe Text)
- oTargetLink :: Lens' Operation (Maybe Text)
- oDetail :: Lens' Operation (Maybe Text)
- data AddonsConfig
- addonsConfig :: AddonsConfig
- acHorizontalPodAutoscaling :: Lens' AddonsConfig (Maybe HorizontalPodAutoscaling)
- acHTTPLoadBalancing :: Lens' AddonsConfig (Maybe HTTPLoadBalancing)
- data NodePool
- nodePool :: NodePool
- npStatus :: Lens' NodePool (Maybe Text)
- npConfig :: Lens' NodePool (Maybe NodeConfig)
- npInitialNodeCount :: Lens' NodePool (Maybe Int32)
- npSelfLink :: Lens' NodePool (Maybe Text)
- npName :: Lens' NodePool (Maybe Text)
- npStatusMessage :: Lens' NodePool (Maybe Text)
- npVersion :: Lens' NodePool (Maybe Text)
- npInstanceGroupURLs :: Lens' NodePool [Text]
- data MasterAuth
- masterAuth :: MasterAuth
- maClientKey :: Lens' MasterAuth (Maybe Text)
- maUsername :: Lens' MasterAuth (Maybe Text)
- maClientCertificate :: Lens' MasterAuth (Maybe Text)
- maPassword :: Lens' MasterAuth (Maybe Text)
- maClusterCaCertificate :: Lens' MasterAuth (Maybe Text)
- data NodeConfigMetadata
- nodeConfigMetadata :: HashMap Text Text -> NodeConfigMetadata
- ncmAddtional :: Lens' NodeConfigMetadata (HashMap Text Text)
- data ServerConfig
- serverConfig :: ServerConfig
- scValidNodeVersions :: Lens' ServerConfig [Text]
- scDefaultImageFamily :: Lens' ServerConfig (Maybe Text)
- scValidImageFamilies :: Lens' ServerConfig [Text]
- scDefaultClusterVersion :: Lens' ServerConfig (Maybe Text)
- data ListClustersResponse
- listClustersResponse :: ListClustersResponse
- lcrClusters :: Lens' ListClustersResponse [Cluster]
- lcrMissingZones :: Lens' ListClustersResponse [Text]
- data ClusterUpdate
- clusterUpdate :: ClusterUpdate
- cuDesiredAddonsConfig :: Lens' ClusterUpdate (Maybe AddonsConfig)
- cuDesiredNodePoolId :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredNodeVersion :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredMasterVersion :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredMonitoringService :: Lens' ClusterUpdate (Maybe Text)
- data ListNodePoolsResponse
- listNodePoolsResponse :: ListNodePoolsResponse
- lnprNodePools :: Lens' ListNodePoolsResponse [NodePool]
- data CreateNodePoolRequest
- createNodePoolRequest :: CreateNodePoolRequest
- cnprNodePool :: Lens' CreateNodePoolRequest (Maybe NodePool)
Service Configuration
containerService :: ServiceConfig Source #
Default request referring to version v1
of the Google Container Engine API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
API Declaration
type ContainerAPI = ProjectsZonesOperationsListResource :<|> (ProjectsZonesOperationsGetResource :<|> (ProjectsZonesClustersNodePoolsListResource :<|> (ProjectsZonesClustersNodePoolsGetResource :<|> (ProjectsZonesClustersNodePoolsCreateResource :<|> (ProjectsZonesClustersNodePoolsDeleteResource :<|> (ProjectsZonesClustersListResource :<|> (ProjectsZonesClustersGetResource :<|> (ProjectsZonesClustersCreateResource :<|> (ProjectsZonesClustersDeleteResource :<|> (ProjectsZonesClustersUpdateResource :<|> ProjectsZonesGetServerConfigResource)))))))))) Source #
Represents the entirety of the methods and resources available for the Google Container Engine API service.
Resources
container.projects.zones.clusters.create
container.projects.zones.clusters.delete
container.projects.zones.clusters.get
container.projects.zones.clusters.list
container.projects.zones.clusters.nodePools.create
container.projects.zones.clusters.nodePools.delete
container.projects.zones.clusters.nodePools.get
container.projects.zones.clusters.nodePools.list
container.projects.zones.clusters.update
container.projects.zones.getServerconfig
container.projects.zones.operations.get
container.projects.zones.operations.list
Types
HorizontalPodAutoscaling
data HorizontalPodAutoscaling Source #
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
See: horizontalPodAutoscaling
smart constructor.
horizontalPodAutoscaling :: HorizontalPodAutoscaling Source #
Creates a value of HorizontalPodAutoscaling
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hpaDisabled :: Lens' HorizontalPodAutoscaling (Maybe Bool) Source #
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that a Heapster pod is running in the cluster, which is also used by the Cloud Monitoring service.
ListOperationsResponse
data ListOperationsResponse Source #
ListOperationsResponse is the result of ListOperationsRequest.
See: listOperationsResponse
smart constructor.
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations in the project in the specified zone.
lorMissingZones :: Lens' ListOperationsResponse [Text] Source #
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
CreateClusterRequest
data CreateClusterRequest Source #
CreateClusterRequest creates a cluster.
See: createClusterRequest
smart constructor.
createClusterRequest :: CreateClusterRequest Source #
Creates a value of CreateClusterRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Cluster
A Google Container Engine cluster.
See: cluster
smart constructor.
Creates a value of Cluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cStatus
cNodePools
cNodeConfig
cNodeIPv4CIdRSize
cClusterIPv4CIdR
cInitialNodeCount
cCurrentNodeVersion
cNetwork
cInitialClusterVersion
cZone
cAddonsConfig
cServicesIPv4CIdR
cMasterAuth
cSelfLink
cName
cCurrentMasterVersion
cStatusMessage
cSubnetwork
cCurrentNodeCount
cEndpoint
cLocations
cLoggingService
cDescription
cInstanceGroupURLs
cMonitoringService
cCreateTime
cNodePools :: Lens' Cluster [NodePool] Source #
The node pools associated with this cluster. When creating a new cluster, only a single node pool should be specified. This field should not be set if "node_config" or "initial_node_count" are specified.
cNodeConfig :: Lens' Cluster (Maybe NodeConfig) Source #
Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. If unspecified, the defaults are used.
cNodeIPv4CIdRSize :: Lens' Cluster (Maybe Int32) Source #
- Output only
- The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range.
cClusterIPv4CIdR :: Lens' Cluster (Maybe Text) Source #
The IP address range of the container pods in this cluster, in CIDR notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
cInitialNodeCount :: Lens' Cluster (Maybe Int32) Source #
The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time.
cCurrentNodeVersion :: Lens' Cluster (Maybe Text) Source #
- Output only
- The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
cNetwork :: Lens' Cluster (Maybe Text) Source #
The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the `default` network will be used.
cInitialClusterVersion :: Lens' Cluster (Maybe Text) Source #
- Output only
- The software version of the master endpoint and kubelets used in the cluster when it was first created. The version can be upgraded over time.
cZone :: Lens' Cluster (Maybe Text) Source #
- Output only
- The name of the Google Compute Engine
- zone
- (/compute/docs/zones#available) in which the cluster resides.
cAddonsConfig :: Lens' Cluster (Maybe AddonsConfig) Source #
Configurations for the various addons available to run in the cluster.
cServicesIPv4CIdR :: Lens' Cluster (Maybe Text) Source #
- Output only
- The IP address range of the Kubernetes services in this cluster, in
- CIDR
- (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
cMasterAuth :: Lens' Cluster (Maybe MasterAuth) Source #
The authentication information for accessing the master endpoint.
cName :: Lens' Cluster (Maybe Text) Source #
The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
cCurrentMasterVersion :: Lens' Cluster (Maybe Text) Source #
- Output only
- The current software version of the master endpoint.
cStatusMessage :: Lens' Cluster (Maybe Text) Source #
- Output only
- Additional information about the current status of this cluster, if available.
cSubnetwork :: Lens' Cluster (Maybe Text) Source #
The name of the Google Compute Engine subnetwork to which the cluster is connected.
cCurrentNodeCount :: Lens' Cluster (Maybe Int32) Source #
- Output only
- The number of nodes currently in the cluster.
cEndpoint :: Lens' Cluster (Maybe Text) Source #
- Output only
- The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password'endpoint/`. See the `masterAuth` property of this resource for username and password information.
cLocations :: Lens' Cluster [Text] Source #
The list of Google Compute Engine locations in which the cluster's nodes should be located.
cLoggingService :: Lens' Cluster (Maybe Text) Source #
The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com` - the Google Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.
cInstanceGroupURLs :: Lens' Cluster [Text] Source #
- Output only
- The resource URLs of instance groups associated with this cluster.
cMonitoringService :: Lens' Cluster (Maybe Text) Source #
The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported from the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.
cCreateTime :: Lens' Cluster (Maybe Text) Source #
- Output only
- The time the cluster was created, in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
UpdateClusterRequest
data UpdateClusterRequest Source #
UpdateClusterRequest updates the settings of a cluster.
See: updateClusterRequest
smart constructor.
updateClusterRequest :: UpdateClusterRequest Source #
Creates a value of UpdateClusterRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucrUpdate :: Lens' UpdateClusterRequest (Maybe ClusterUpdate) Source #
A description of the update.
NodeConfig
data NodeConfig Source #
Parameters that describe the nodes in a cluster.
See: nodeConfig
smart constructor.
nodeConfig :: NodeConfig Source #
Creates a value of NodeConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ncDiskSizeGb :: Lens' NodeConfig (Maybe Int32) Source #
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
ncOAuthScopes :: Lens' NodeConfig [Text] Source #
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the Google Container Registry). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
ncMachineType :: Lens' NodeConfig (Maybe Text) Source #
The name of a Google Compute Engine machine type (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
ncMetadata :: Lens' NodeConfig (Maybe NodeConfigMetadata) Source #
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
HTTPLoadBalancing
data HTTPLoadBalancing Source #
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
See: hTTPLoadBalancing
smart constructor.
hTTPLoadBalancing :: HTTPLoadBalancing Source #
Creates a value of HTTPLoadBalancing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
httplbDisabled :: Lens' HTTPLoadBalancing (Maybe Bool) Source #
Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
Operation
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
See: operation
smart constructor.
operation :: Operation Source #
Creates a value of Operation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oZone :: Lens' Operation (Maybe Text) Source #
The name of the Google Compute Engine zone in which the operation is taking place.
oStatusMessage :: Lens' Operation (Maybe Text) Source #
If an error has occurred, a textual description of the error.
oTargetLink :: Lens' Operation (Maybe Text) Source #
Server-defined URL for the target of the operation.
AddonsConfig
data AddonsConfig Source #
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
See: addonsConfig
smart constructor.
addonsConfig :: AddonsConfig Source #
Creates a value of AddonsConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acHorizontalPodAutoscaling :: Lens' AddonsConfig (Maybe HorizontalPodAutoscaling) Source #
Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
acHTTPLoadBalancing :: Lens' AddonsConfig (Maybe HTTPLoadBalancing) Source #
Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
NodePool
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
See: nodePool
smart constructor.
Creates a value of NodePool
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
npInitialNodeCount :: Lens' NodePool (Maybe Int32) Source #
The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
npStatusMessage :: Lens' NodePool (Maybe Text) Source #
- Output only
- Additional information about the current status of this node pool instance, if available.
npInstanceGroupURLs :: Lens' NodePool [Text] Source #
- Output only
- The resource URLs of instance groups associated with this node pool.
MasterAuth
data MasterAuth Source #
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
See: masterAuth
smart constructor.
masterAuth :: MasterAuth Source #
Creates a value of MasterAuth
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
maClientKey :: Lens' MasterAuth (Maybe Text) Source #
- Output only
- Base64-encoded private key used by clients to authenticate to the cluster endpoint.
maUsername :: Lens' MasterAuth (Maybe Text) Source #
The username to use for HTTP basic authentication to the master endpoint.
maClientCertificate :: Lens' MasterAuth (Maybe Text) Source #
- Output only
- Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
maPassword :: Lens' MasterAuth (Maybe Text) Source #
The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password.
maClusterCaCertificate :: Lens' MasterAuth (Maybe Text) Source #
- Output only
- Base64-encoded public certificate that is the root of trust for the cluster.
NodeConfigMetadata
data NodeConfigMetadata Source #
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
See: nodeConfigMetadata
smart constructor.
Creates a value of NodeConfigMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ServerConfig
data ServerConfig Source #
Container Engine service configuration.
See: serverConfig
smart constructor.
serverConfig :: ServerConfig Source #
Creates a value of ServerConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scValidNodeVersions :: Lens' ServerConfig [Text] Source #
List of valid node upgrade target versions.
scDefaultImageFamily :: Lens' ServerConfig (Maybe Text) Source #
Default image family.
scValidImageFamilies :: Lens' ServerConfig [Text] Source #
List of valid image families.
scDefaultClusterVersion :: Lens' ServerConfig (Maybe Text) Source #
Version of Kubernetes the service deploys by default.
ListClustersResponse
data ListClustersResponse Source #
ListClustersResponse is the result of ListClustersRequest.
See: listClustersResponse
smart constructor.
listClustersResponse :: ListClustersResponse Source #
Creates a value of ListClustersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrClusters :: Lens' ListClustersResponse [Cluster] Source #
A list of clusters in the project in the specified zone, or across all ones.
lcrMissingZones :: Lens' ListClustersResponse [Text] Source #
If any zones are listed here, the list of clusters returned may be missing those zones.
ClusterUpdate
data ClusterUpdate Source #
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
See: clusterUpdate
smart constructor.
clusterUpdate :: ClusterUpdate Source #
Creates a value of ClusterUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cuDesiredAddonsConfig :: Lens' ClusterUpdate (Maybe AddonsConfig) Source #
Configurations for the various addons available to run in the cluster.
cuDesiredNodePoolId :: Lens' ClusterUpdate (Maybe Text) Source #
The node pool to be upgraded. This field is mandatory if the "desired_node_version" or "desired_image_family" is specified and there is more than one node pool on the cluster.
cuDesiredNodeVersion :: Lens' ClusterUpdate (Maybe Text) Source #
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
cuDesiredMasterVersion :: Lens' ClusterUpdate (Maybe Text) Source #
The Kubernetes version to change the master to. The only valid value is the latest supported version. Use "-" to have the server automatically select the latest version.
cuDesiredMonitoringService :: Lens' ClusterUpdate (Maybe Text) Source #
The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster
ListNodePoolsResponse
data ListNodePoolsResponse Source #
ListNodePoolsResponse is the result of ListNodePoolsRequest.
See: listNodePoolsResponse
smart constructor.
listNodePoolsResponse :: ListNodePoolsResponse Source #
Creates a value of ListNodePoolsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnprNodePools :: Lens' ListNodePoolsResponse [NodePool] Source #
A list of node pools for a cluster.
CreateNodePoolRequest
data CreateNodePoolRequest Source #
CreateNodePoolRequest creates a node pool for a cluster.
See: createNodePoolRequest
smart constructor.
createNodePoolRequest :: CreateNodePoolRequest Source #
Creates a value of CreateNodePoolRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cnprNodePool :: Lens' CreateNodePoolRequest (Maybe NodePool) Source #
The node pool to create.