Compare languages | Cloud provider — GCP: настройки

Модуль настраивается автоматически, исходя из выбранной схемы размещения, определяемой в параметрах структуры GCPClusterConfiguration. В большинстве случаев нет необходимости ручной конфигурации модуля.

The module is configured automatically based on the chosen placement strategy defined in the GCPClusterConfiguration struct. In most cases, you do not have to configure the module manually.

Количество и параметры процесса заказа машин в облаке настраиваются в custom resource NodeGroup модуля node-manager, в котором также указывается название используемого для этой группы узлов инстанс-класса (параметр cloudInstances.classReference NodeGroup). Инстанс-класс для cloud-провайдера GCP — это custom resource GCPInstanceClass, в котором указываются конкретные параметры самих машин.

You can configure the number and parameters of provisioning machines in the cloud via the NodeGroup custom resource of the node-manager module. Also, in this custom resource, you can specify the instance class’s name for the above group of nodes (the cloudInstances.ClassReference parameter of NodeGroup). In the case of the GCP cloud provider, the instance class is the GCPInstanceClass custom resource that stores specific parameters of the machines.

Модуль автоматически создает StorageClass’ы, покрывающие все варианты дисков в GCP:

The module automatically creates StorageClasses that cover all the available disk types in GCP:

Тип Репликация Имя StorageClass
standard none pd-standard-not-replicated
standard regional pd-standard-replicated
balanced none pd-balanced-not-replicated
balanced regional pd-balanced-replicated
ssd none pd-ssd-not-replicated
ssd regional pd-ssd-replicated
Type Replication StorageClass Name
standard none pd-standard-not-replicated
standard regional pd-standard-replicated
balanced none pd-balanced-not-replicated
balanced regional pd-balanced-replicated
ssd none pd-ssd-not-replicated
ssd regional pd-ssd-replicated

Также он позволяет отфильтровать ненужные StorageClass’ы, для этого нужно указать их в параметре exclude.

Also, it can filter out the unnecessary StorageClasses (you can do this via the exclude parameter).