RegionInstanceGroupManager is the Schema for the RegionInstanceGroupManagers API. Manages an Regional Instance Group within GCE.
Type
CRD
Group
compute.gcp.upbound.io
Version
v1beta1
apiVersion: compute.gcp.upbound.io/v1beta1
kind: RegionInstanceGroupManager
RegionInstanceGroupManagerSpec defines the desired state of RegionInstanceGroupManager
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.
The distribution policy for this managed instance group. You can specify one or more values. 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. Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the update_policy.
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.
The distribution policy for this managed instance group. You can specify one or more values. 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. Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the update_policy.
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.
RegionInstanceGroupManagerStatus defines the observed state of RegionInstanceGroupManager.
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.
The distribution policy for this managed instance group. You can specify one or more values. 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. Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the update_policy.
No description provided.
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.
region-autoscaler
apiVersion: compute.gcp.upbound.io/v1beta1
kind: RegionInstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/regionautoscaler
labels:
testing.upbound.io/example-name: region-autoscaler
name: region-autoscaler
spec:
forProvider:
baseInstanceName: region-autoscaler
name: region-autoscaler
region: us-central1
targetPoolsRefs:
- name: region-autoscaler
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: region-autoscaler
name: primary
region-instance-group-manager
apiVersion: compute.gcp.upbound.io/v1beta1
kind: RegionInstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/regioninstancegroupmanager
labels:
testing.upbound.io/example-name: region-instance-group-manager
name: region-instance-group-manager
spec:
forProvider:
autoHealingPolicies:
- healthCheckSelector:
matchLabels:
testing.upbound.io/example-name: region-instance-group-manager
initialDelaySec: 300
baseInstanceName: region-instance-group-manager
distributionPolicyZones:
- us-central1-a
- us-central1-f
name: region-instance-group-manager
namedPort:
- name: custom
port: 8888
region: us-central1
targetPoolsRefs:
- name: region-instance-group-manager
targetSize: 2
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: region-instance-group-manager
region-per-instance-config
apiVersion: compute.gcp.upbound.io/v1beta1
kind: RegionInstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/regionperinstanceconfig
labels:
testing.upbound.io/example-name: region-per-instance-config
name: region-per-instance-config
spec:
forProvider:
baseInstanceName: region-per-instance-config
description: Terraform test instance group manager
name: region-per-instance-config
region: us-central1
targetSize: 3
updatePolicy:
- instanceRedistributionType: NONE
maxUnavailableFixed: 3
minimalAction: RESTART
type: OPPORTUNISTIC
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: region-per-instance-config
name: region-per-instance-config
forwarding-rule
apiVersion: compute.gcp.upbound.io/v1beta1
kind: RegionInstanceGroupManager
metadata:
annotations:
meta.upbound.io/example-id: compute/v1beta1/forwardingrule
labels:
testing.upbound.io/example-name: forwarding-rule
name: forwarding-rule
spec:
forProvider:
autoHealingPolicies:
- healthCheckSelector:
matchLabels:
testing.upbound.io/example-name: forwarding-rule
initialDelaySec: 300
baseInstanceName: forwarding-rule
distributionPolicyZones:
- us-central1-a
- us-central1-f
name: forwarding-rule
namedPort:
- name: custom
port: 8888
region: us-central1
targetSize: 2
version:
- instanceTemplateSelector:
matchLabels:
testing.upbound.io/example-name: forwarding-rule