InstanceGroupManager is the Schema for the InstanceGroupManagers API. Manages an Instance Group within GCE.
Type
CRD
Group
compute.gcp.upbound.io
Version
v1beta1
apiVersion: compute.gcp.upbound.io/v1beta1
kind: InstanceGroupManager
InstanceGroupManagerSpec defines the desired state of InstanceGroupManager
No description provided.
The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
Reference to a HealthCheck to populate healthCheck.
Policies for referencing.
Selector for a HealthCheck to populate healthCheck.
Policies for selection.
Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the official documentation.
The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
References to TargetPool to populate targetPools.
Policies for referencing.
Selector for a list of TargetPool to populate targetPools.
Policies for selection.
The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
Reference to a InstanceTemplate to populate instanceTemplate.
Policies for referencing.
Selector for a InstanceTemplate to populate instanceTemplate.
Policies for selection.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the official documentation.
The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
InstanceGroupManagerStatus defines the observed state of InstanceGroupManager.
No description provided.
The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the official documentation.
The status of this managed instance group.
Stateful status of the given Instance Group Manager.
Status of per-instance configs on the instance.
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
Conditions of the resource.
global-forwarding-rule
apiVersion: compute.gcp.upbound.io/v1beta1
kind: InstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/globalforwardingrule
labels:
testing.upbound.io/example-name: global-forwarding-rule
name: global-forwarding-rule
spec:
forProvider:
baseInstanceName: global-forwarding-rule
namedPort:
- name: tcp
port: 443
targetSize: 2
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: global-forwarding-rule
name: primary
zone: us-central1-c
autoscaler
apiVersion: compute.gcp.upbound.io/v1beta1
kind: InstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/autoscaler
labels:
testing.upbound.io/example-name: autoscaler
name: autoscaler
spec:
forProvider:
autoHealingPolicies:
- healthCheckRef:
name: autoscaler
initialDelaySec: 300
baseInstanceName: autoscaler
namedPort:
- name: custom
port: 8888
targetPoolsSelector:
matchLabels:
testing.upbound.io/example-name: autoscaler
targetSize: 2
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: autoscaler
zone: us-central1-a
instance-group-manager
apiVersion: compute.gcp.upbound.io/v1beta1
kind: InstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/instancegroupmanager
labels:
testing.upbound.io/example-name: instance-group-manager
name: instance-group-manager
spec:
forProvider:
autoHealingPolicies:
- healthCheckSelector:
matchLabels:
testing.upbound.io/example-name: instance-group-manager
initialDelaySec: 300
baseInstanceName: instance-group-manager
namedPort:
- name: custom
port: 8888
targetSize: 2
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: instance-group-manager
zone: us-central1-a
per-instance-config
apiVersion: compute.gcp.upbound.io/v1beta1
kind: InstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/perinstanceconfig
labels:
testing.upbound.io/example-name: per-instance-config
name: per-instance-config
spec:
forProvider:
baseInstanceName: per-instance-config
description: Terraform test instance group manager
targetSize: 2
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: per-instance-config
name: prod
zone: us-central1-a