...

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

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

     1label: Config Connector ContainerNodePool
     2markdownDescription: Creates yaml for a ContainerNodePool resource
     3insertText: |
     4  apiVersion: container.cnrm.cloud.google.com/v1beta1
     5  kind: ContainerNodePool
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:containernodepool-name}
    10  spec:
    11    location: \${4:us-east1-c}
    12    autoscaling:
    13      minNodeCount: \${5:1}
    14      maxNodeCount: \${6:3}
    15    nodeConfig:
    16      machineType: \${7:n1-standard-1}
    17      diskSizeGb: \${8:100}
    18      diskType: \${9:pd-standard}
    19      tags:
    20      - \${10:tagone}
    21      - \${11:tagtwo}
    22      preemptible: \${12:false}
    23      minCpuPlatform: \${13:Intel Haswell}
    24      oauthScopes:
    25      - \${14:https://www.googleapis.com/auth/logging.write}
    26      - \${15:https://www.googleapis.com/auth/monitoring}
    27      guestAccelerator:
    28      - type: \${16:nvidia-tesla-k80}
    29        count: \${17:1}
    30      metadata:
    31        disable-legacy-endpoints: \${18:true}
    32    management:
    33      autoRepair: \${19:true}
    34      autoUpgrade: \${20:true}
    35    clusterRef:
    36      name: \${21:containernodepool-dep-basic}

View as plain text