VKPR infra start
Description
Create a configurable k3d cluster to test the applications.
Commands
Interactive inputs:
vkpr infra start [flags]
Non-interactive without setting values or using VKPR Values
:
vkpr infra start --default
Argument Reference
Flags
--default Use to automatically fill inputs with default values.
--enable_traefik Enable Traefik by default in Cluster.
--enable_volume Enable mount of volumes in cluster.
--http_port Specifies the HTTP listening port from the Cluster.
--https_port Specifies the HTTPS listening port from the Cluster.
--worker_nodes Specifies the quantity of Worker nodes.
Values File
Local
The following arguments are supported:
enabled
- (Required unless using the vkpr apply) Enable the auto install from the application.httpPort
- (Required) Specifies the HTTP port on which the Cluster will communicate. The default is8000
.httpsPort
- (Required) Specifies the HTTPS port on which the Cluster will communicate. The default is8001
.enableTraefik
- (Required) Enable ingressController Traefik on the cluster. The default isfalse
.enableVolume
- (Required) Enables local mapping of volumes on the cluster. The default isfalse
.resources
masters
- (Optional) Specifies the number of CP nodes in the cluster. The default is1
.workers
- (Optional) Specifies the number of DP nodes in the cluster. The default is1
.
Environment values
The following variables are supported:
httpPort
- VKPR_ENV_HTTP_PORThttpsPort
- VKPR_ENV_HTTPS_PORTenableTraefik
- VKPR_ENV_TRAEFIKenableVolume
- VKPR_ENV_VOLUMEresources
masters
- VKPR_ENV_K3D_SERVERSworkers
- VKPR_ENV_K3D_AGENTS
See Also
- VKPR infra stop - Delete the local cluster created.