...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/compute_v1beta1_computeinstancegroupmanager.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector ComputeInstanceGroupManager
     2markdownDescription: Creates yaml for a ComputeInstanceGroupManager resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeInstanceGroupManager
     6  metadata:
     7    name: \${1:computeinstancegroupmanager-name}
     8  spec:
     9    projectRef:
    10      external: \${2:projects/[PROJECT_ID?]}
    11    location: \${3:us-central1}
    12    baseInstanceName: \${4:app}
    13    autoHealingPolicies:
    14    - healthCheckRef:
    15        name: \${5:computeinstancegroupmanager-dep-regional}
    16      initialDelaySec: \${6:300}
    17    targetSize: \${7:3}
    18    instanceTemplateRef:
    19      name: \${8:computeinstancegroupmanager-dep-regional}
    20    updatePolicy:
    21      instanceRedistributionType: \${9:PROACTIVE}
    22      minimalAction: \${10:RESTART}
    23      maxSurge:
    24        fixed: \${11:3}
    25      maxUnavailable:
    26        fixed: \${12:3}

View as plain text