...

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

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

     1label: Config Connector ComputeNodeTemplate
     2markdownDescription: Creates yaml for a ComputeNodeTemplate resource
     3insertText: |
     4  apiVersion: compute.cnrm.cloud.google.com/v1beta1
     5  kind: ComputeNodeTemplate
     6  metadata:
     7    labels:
     8      \${1:memory_guarantee}: \${2:false}
     9      \${3:desired_workload}: \${4:high-cpu}
    10    name: \${5:computenodetemplate-name}
    11  spec:
    12    description: \${6:Node template for sole tenant nodes running in us-central1, with
    13      96vCPUs and any amount of memory on any machine type.}
    14    region: \${7:us-central1}
    15    nodeTypeFlexibility:
    16      cpus: \${8:96}
    17      memory: \${9:any}

View as plain text