GCPInstanceClass

Scope: Cluster

Parameters of a group of GCP Instances used by machine-controller-manager (the node-manager module).

The CloudInstanceClass resource of the node-manager module refers to this resource.

  • spec (object)

    Required value.

    • additionalLabels (object)

      Additional labels.

      More info….

      Example:

      project: cms-production
      severity: critical
      
    • additionalNetworkTags (array of strings)

      The list of additional tags.

      For example, you can use tags to apply firewall rules to instances. The detailed description of network tags is available in the official documentation.

    • disableExternalIP (boolean)

      Defines whether to disable external ip for an instance or not. True means that an instance is created without external ip

    • diskSizeGb (integer)

      Instance’s root disk size in gigabytes.

      Default: 50

      Example: 20

    • diskType (string)

      Instance’s disk type.

      Default: "pd-standard"

      Allowed values: pd-standard, pd-ssd

      Example: "pd-ssd"

    • image (string)

      Image to use while provisioning GCP servers.

      You can find a list of images in the documentation.

      Caution! Currently, only Ubuntu 18.04, Ubuntu 20.04, Centos 7 are supported and tested to work.

      Example: "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1804-bionic-v20190911"

      Not required value.

    • machineType (string)

      Machine type of GCP instance.

      Caution! Make sure that this type is present in all zones specified in the zones parameter.

      GCP lets you specify a custom amount of resources (CPU and RAM), e.g., custom-8-40960 or n2-custom-8-40960.

      Example: "n1-standard-4"

      Required value.

    • preemptible (boolean)

      Should instances be preemptible.

      Default: false

Parameters of a group of GCP Instances used by machine-controller-manager (the node-manager module).

The CloudInstanceClass resource of the node-manager module refers to this resource.

  • spec (object)

    Required value.

    • additionalLabels (object)

      Additional labels.

      More info….

      Example:

      project: cms-production
      severity: critical
      
    • additionalNetworkTags (array of strings)

      The list of additional tags.

      For example, you can use tags to apply firewall rules to instances. The detailed description of network tags is available in the official documentation.

    • disableExternalIP (boolean)

      Defines whether to disable external ip for an instance or not. True means that an instance is created without external ip

    • diskSizeGb (integer)

      Instance’s root disk size in gigabytes.

      Default: 50

      Example: 20

    • diskType (string)

      Instance’s disk type.

      Default: "pd-standard"

      Allowed values: pd-standard, pd-ssd

      Example: "pd-ssd"

    • image (string)

      Image to use while provisioning GCP servers.

      You can find a list of images in the documentation.

      Caution! Currently, only Ubuntu 18.04, Ubuntu 20.04, Centos 7 are supported and tested to work.

      Example: "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1804-bionic-v20190911"

      Not required value.

    • machineType (string)

      Machine type of GCP instance.

      Caution! Make sure that this type is present in all zones specified in the zones parameter.

      GCP lets you specify a custom amount of resources (CPU and RAM), e.g., custom-8-40960 or n2-custom-8-40960.

      Example: "n1-standard-4"

      Required value.

    • preemptible (boolean)

      Should instances be preemptible.

      Default: false