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
- HorizontalPodAutoscaling
- ListOperationsResponse
- CreateClusterRequest
- Cluster
- CancelOperationRequest
- UpdateClusterRequest
- NodeConfig
- HTTPLoadBalancing
- Operation
- Empty
- NodeManagement
- NodePoolAutoscaling
- AddonsConfig
- NodePool
- SetNodePoolManagementRequest
- MasterAuth
- NodeConfigMetadata
- NodeConfigLabels
- ServerConfig
- AutoUpgradeOptions
- ListClustersResponse
- ClusterUpdate
- RollbackNodePoolUpgradeRequest
- ListNodePoolsResponse
- CreateNodePoolRequest
- containerService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- 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]
- cEnableKubernetesAlpha :: Lens' Cluster (Maybe Bool)
- 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)
- cExpireTime :: 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 CancelOperationRequest
- cancelOperationRequest :: CancelOperationRequest
- data UpdateClusterRequest
- updateClusterRequest :: UpdateClusterRequest
- ucrUpdate :: Lens' UpdateClusterRequest (Maybe ClusterUpdate)
- data NodeConfig
- nodeConfig :: NodeConfig
- ncLocalSsdCount :: Lens' NodeConfig (Maybe Int32)
- ncDiskSizeGb :: Lens' NodeConfig (Maybe Int32)
- ncOAuthScopes :: Lens' NodeConfig [Text]
- ncServiceAccount :: Lens' NodeConfig (Maybe Text)
- ncImageType :: Lens' NodeConfig (Maybe Text)
- ncMachineType :: Lens' NodeConfig (Maybe Text)
- ncMetadata :: Lens' NodeConfig (Maybe NodeConfigMetadata)
- ncLabels :: Lens' NodeConfig (Maybe NodeConfigLabels)
- ncTags :: Lens' NodeConfig [Text]
- ncPreemptible :: Lens' NodeConfig (Maybe Bool)
- 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 Empty
- empty :: Empty
- data NodeManagement
- nodeManagement :: NodeManagement
- nmAutoUpgrade :: Lens' NodeManagement (Maybe Bool)
- nmUpgradeOptions :: Lens' NodeManagement (Maybe AutoUpgradeOptions)
- data NodePoolAutoscaling
- nodePoolAutoscaling :: NodePoolAutoscaling
- npaMaxNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32)
- npaEnabled :: Lens' NodePoolAutoscaling (Maybe Bool)
- npaMinNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32)
- data AddonsConfig
- addonsConfig :: AddonsConfig
- acHorizontalPodAutoscaling :: Lens' AddonsConfig (Maybe HorizontalPodAutoscaling)
- acHTTPLoadBalancing :: Lens' AddonsConfig (Maybe HTTPLoadBalancing)
- data NodePool
- nodePool :: NodePool
- npStatus :: Lens' NodePool (Maybe Text)
- npAutoscaling :: Lens' NodePool (Maybe NodePoolAutoscaling)
- npConfig :: Lens' NodePool (Maybe NodeConfig)
- npInitialNodeCount :: Lens' NodePool (Maybe Int32)
- npManagement :: Lens' NodePool (Maybe NodeManagement)
- 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 SetNodePoolManagementRequest
- setNodePoolManagementRequest :: SetNodePoolManagementRequest
- snpmrManagement :: Lens' SetNodePoolManagementRequest (Maybe NodeManagement)
- 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 NodeConfigLabels
- nodeConfigLabels :: HashMap Text Text -> NodeConfigLabels
- nclAddtional :: Lens' NodeConfigLabels (HashMap Text Text)
- data ServerConfig
- serverConfig :: ServerConfig
- scDefaultImageType :: Lens' ServerConfig (Maybe Text)
- scValidNodeVersions :: Lens' ServerConfig [Text]
- scValidImageTypes :: Lens' ServerConfig [Text]
- scDefaultClusterVersion :: Lens' ServerConfig (Maybe Text)
- scValidMasterVersions :: Lens' ServerConfig [Text]
- data AutoUpgradeOptions
- autoUpgradeOptions :: AutoUpgradeOptions
- auoAutoUpgradeStartTime :: Lens' AutoUpgradeOptions (Maybe Text)
- auoDescription :: Lens' AutoUpgradeOptions (Maybe Text)
- data ListClustersResponse
- listClustersResponse :: ListClustersResponse
- lcrClusters :: Lens' ListClustersResponse [Cluster]
- lcrMissingZones :: Lens' ListClustersResponse [Text]
- data ClusterUpdate
- clusterUpdate :: ClusterUpdate
- cuDesiredNodePoolAutoscaling :: Lens' ClusterUpdate (Maybe NodePoolAutoscaling)
- cuDesiredAddonsConfig :: Lens' ClusterUpdate (Maybe AddonsConfig)
- cuDesiredNodePoolId :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredImageType :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredNodeVersion :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredMasterVersion :: Lens' ClusterUpdate (Maybe Text)
- cuDesiredLocations :: Lens' ClusterUpdate [Text]
- cuDesiredMonitoringService :: Lens' ClusterUpdate (Maybe Text)
- data RollbackNodePoolUpgradeRequest
- rollbackNodePoolUpgradeRequest :: RollbackNodePoolUpgradeRequest
- 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
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
cEnableKubernetesAlpha
cNodeConfig
cNodeIPv4CIdRSize
cClusterIPv4CIdR
cInitialNodeCount
cCurrentNodeVersion
cNetwork
cInitialClusterVersion
cZone
cAddonsConfig
cServicesIPv4CIdR
cMasterAuth
cSelfLink
cName
cCurrentMasterVersion
cStatusMessage
cSubnetwork
cCurrentNodeCount
cEndpoint
cExpireTime
cLocations
cLoggingService
cDescription
cInstanceGroupURLs
cMonitoringService
cCreateTime
cNodePools :: Lens' Cluster [NodePool] Source #
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
cEnableKubernetesAlpha :: Lens' Cluster (Maybe Bool) Source #
Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
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.
cExpireTime :: Lens' Cluster (Maybe Text) Source #
- Output only
- The time the cluster will be automatically deleted in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
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.
CancelOperationRequest
data CancelOperationRequest Source #
CancelOperationRequest cancels a single operation.
See: cancelOperationRequest
smart constructor.
cancelOperationRequest :: CancelOperationRequest Source #
Creates a value of CancelOperationRequest
with the minimum fields required to make a request.
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:
ncLocalSsdCount :: Lens' NodeConfig (Maybe Int32) Source #
The number of local SSD disks to be attached to the node. The limit for this value is dependant upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for more information.
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.
ncServiceAccount :: Lens' NodeConfig (Maybe Text) Source #
The Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the "default" service account is used.
ncImageType :: Lens' NodeConfig (Maybe Text) Source #
The image type to use for this node. Note that for a given image type, the latest version of it will be used.
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.
ncLabels :: Lens' NodeConfig (Maybe NodeConfigLabels) Source #
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html
ncTags :: Lens' NodeConfig [Text] Source #
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
ncPreemptible :: Lens' NodeConfig (Maybe Bool) Source #
Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
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.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
NodeManagement
data NodeManagement Source #
NodeManagement defines the set of node management services turned on for the node pool.
See: nodeManagement
smart constructor.
nodeManagement :: NodeManagement Source #
Creates a value of NodeManagement
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nmAutoUpgrade :: Lens' NodeManagement (Maybe Bool) Source #
Whether the nodes will be automatically upgraded.
nmUpgradeOptions :: Lens' NodeManagement (Maybe AutoUpgradeOptions) Source #
Specifies the Auto Upgrade knobs for the node pool.
NodePoolAutoscaling
data NodePoolAutoscaling Source #
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
See: nodePoolAutoscaling
smart constructor.
nodePoolAutoscaling :: NodePoolAutoscaling Source #
Creates a value of NodePoolAutoscaling
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
npaMaxNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32) Source #
Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.
npaEnabled :: Lens' NodePoolAutoscaling (Maybe Bool) Source #
Is autoscaling enabled for this node pool.
npaMinNodeCount :: Lens' NodePoolAutoscaling (Maybe Int32) Source #
Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
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:
npStatus :: Lens' NodePool (Maybe Text) Source #
- Output only
- The status of the nodes in this pool instance.
npAutoscaling :: Lens' NodePool (Maybe NodePoolAutoscaling) Source #
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
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.
npManagement :: Lens' NodePool (Maybe NodeManagement) Source #
NodeManagement configuration for this NodePool.
npStatusMessage :: Lens' NodePool (Maybe Text) Source #
- Output only
- Additional information about the current status of this node pool instance, if available.
npVersion :: Lens' NodePool (Maybe Text) Source #
- Output only
- The version of the Kubernetes of this node.
npInstanceGroupURLs :: Lens' NodePool [Text] Source #
- Output only
- The resource URLs of instance groups associated with this node pool.
SetNodePoolManagementRequest
data SetNodePoolManagementRequest Source #
SetNodePoolManagementRequest sets the node management properties of a node pool.
See: setNodePoolManagementRequest
smart constructor.
setNodePoolManagementRequest :: SetNodePoolManagementRequest Source #
Creates a value of SetNodePoolManagementRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snpmrManagement :: Lens' SetNodePoolManagementRequest (Maybe NodeManagement) Source #
NodeManagement configuration for the 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:
NodeConfigLabels
data NodeConfigLabels Source #
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html
See: nodeConfigLabels
smart constructor.
Creates a value of NodeConfigLabels
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:
scDefaultImageType :: Lens' ServerConfig (Maybe Text) Source #
Default image type.
scValidNodeVersions :: Lens' ServerConfig [Text] Source #
List of valid node upgrade target versions.
scValidImageTypes :: Lens' ServerConfig [Text] Source #
List of valid image types.
scDefaultClusterVersion :: Lens' ServerConfig (Maybe Text) Source #
Version of Kubernetes the service deploys by default.
scValidMasterVersions :: Lens' ServerConfig [Text] Source #
List of valid master versions.
AutoUpgradeOptions
data AutoUpgradeOptions Source #
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
See: autoUpgradeOptions
smart constructor.
autoUpgradeOptions :: AutoUpgradeOptions Source #
Creates a value of AutoUpgradeOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
auoAutoUpgradeStartTime :: Lens' AutoUpgradeOptions (Maybe Text) Source #
- Output only
- This field is set when upgrades are about to commence with the approximate start time for the upgrades, in
- RFC3339
- (https://www.ietf.org/rfc/rfc3339.txt) text format.
auoDescription :: Lens' AutoUpgradeOptions (Maybe Text) Source #
- Output only
- This field is set when upgrades are about to commence with the description of the upgrade.
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:
cuDesiredNodePoolAutoscaling :: Lens' ClusterUpdate (Maybe NodePoolAutoscaling) Source #
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
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 "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
cuDesiredImageType :: Lens' ClusterUpdate (Maybe Text) Source #
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
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.
cuDesiredLocations :: Lens' ClusterUpdate [Text] Source #
The desired list of Google Compute Engine locations in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
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
RollbackNodePoolUpgradeRequest
data RollbackNodePoolUpgradeRequest Source #
RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
See: rollbackNodePoolUpgradeRequest
smart constructor.
rollbackNodePoolUpgradeRequest :: RollbackNodePoolUpgradeRequest Source #
Creates a value of RollbackNodePoolUpgradeRequest
with the minimum fields required to make a request.
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.