VineyardCompTemplateSpec is the common configurations for vineyard components including Master and Worker.
Name | Type | Description | Notes |
---|---|---|---|
env | dict(str, str) | Environment variables that will be used by Vineyard component. For Master, refer to <a href="https://etcd.io/docs/v3.5/op-guide/configuration/\">Etcd Configuration</a> for more info Default is not set. | [optional] |
image | str | The image of Vineyard component. For Master, the default image is `registry.aliyuncs.com/vineyard/vineyardd` For Worker, the default image is `registry.aliyuncs.com/vineyard/vineyardd` The default container registry is `docker.io`, you can change it by setting the image field | [optional] |
image_pull_policy | str | The image pull policy of Vineyard component. Default is `IfNotPresent`. | [optional] |
image_tag | str | The image tag of Vineyard component. For Master, the default image tag is `v0.22.2`. For Worker, the default image tag is `v0.22.2`. | [optional] |
network_mode | str | Whether to use hostnetwork or not Default is HostNetwork | [optional] |
node_selector | dict(str, str) | NodeSelector is a selector to choose which nodes to launch the Vineyard component. E,g. {"disktype": "ssd"} | [optional] |
options | dict(str, str) | Configurable options for Vineyard component. For Master, there is no configurable options. For Worker, support the following options. vineyardd.reserve.memory: (Bool) where to reserve memory for vineyardd If set to true, the memory quota will be counted to the vineyardd rather than the application. etcd.prefix: (String) the prefix of etcd key for vineyard objects wait.etcd.timeout: (String) the timeout period before waiting the etcd to be ready, in seconds Default value is as follows. vineyardd.reserve.memory: "true" etcd.prefix: "/vineyard" wait.etcd.timeout: "120" | [optional] |
pod_metadata | PodMetadata | [optional] | |
ports | dict(str, int) | Ports used by Vineyard component. For Master, the default client port is 2379 and peer port is 2380. For Worker, the default rpc port is 9600 and the default exporter port is 9144. | [optional] |
replicas | int | The replicas of Vineyard component. If not specified, defaults to 1. For worker, the replicas should not be greater than the number of nodes in the cluster | [optional] |
resources | V1ResourceRequirements | [optional] | |
volume_mounts | list[V1VolumeMount] | VolumeMounts specifies the volumes listed in ".spec.volumes" to mount into the vineyard runtime component's filesystem. It is useful for specifying a persistent storage. Default is not set. | [optional] |