kruise-game

by OpenKruise

Helm chartv1.1.0App 1.1.0

Helm chart for kruise-game components

About this chart

Kruise Game v1.1.0

Configuration

The following table lists the configurable parameters of the kruise-game chart and their default values.

ParameterDescriptionDefault
installation.namespaceNamespace for kruise-game operation installationkruise-game-system
installation.createNamespaceWhether to create the installation.namespacetrue
kruiseGame.fullnameNick name for kruise-game deployment and other configurationskruise-game-controller-manager
kruiseGame.healthBindPortPort for checking health of kruise-game container8082
kruiseGame.webhook.portPort of webhook served by kruise-game container443
kruiseGame.webhook.targetPortObjectSelector for workloads in MutatingWebhookConfigurations9876
kruiseGame.apiServerQpsIndicates the maximum QPS to the master from kruise-game-controller-manager5
kruiseGame.apiServerQpsBurstMaximum burst for throttle of kruise-game-controller-manager10
kruiseGame.gameserverWorkersMax concurrent workers for GameServer controller10
kruiseGame.gameserversetWorkersMax concurrent workers for GameServerSet controller10
kruiseGame.logging.formatLog output format (console/json)console
kruiseGame.logging.jsonPresetJSON log preset (kibana/otel)kibana
kruiseGame.logging.enableOTelLogsEnable OTLP log exportfalse
kruiseGame.tracing.enabledEnable OpenTelemetry tracingfalse
kruiseGame.tracing.collectorEndpointOTel Collector gRPC endpointlocalhost:4317
kruiseGame.tracing.collectorTokenOTLP authentication token""
kruiseGame.tracing.samplingRateTracing sampling rate (0.0-1.0)1.0
kruiseGame.pprof.bindAddresspprof bind address (empty to disable)""
replicaCountReplicas of kruise-game deployment1
image.repositoryRepository for kruise-game imageopenkruise/kruise-game-manager
image.tagTag for kruise-game imagev1.1.0
image.pullPolicyImagePullPolicy for kruise-game containerAlways
serviceAccount.annotationsThe annotations for serviceAccount of kruise-game
service.portPort of kruise-game service8443
resources.limits.cpuCPU resource limit of kruise-game container500m
resources.limits.memoryMemory resource limit of kruise-game container1Gi
resources.requests.cpuCPU resource request of kruise-game container10m
resources.requests.memoryMemory resource request of kruise-game container64Mi
prometheus.enabledWhether to bind metric endpointtrue
prometheus.monitorService.portPort of the monitorservice bind to8080
scale.service.portPort of the external scaler server binds to6000
scale.service.targetPortTargetPort of the external scaler server binds to6000
network.totalWaitTimeMaximum time to wait for network ready, the unit is seconds60
network.probeIntervalTimeTime interval for detecting network status, the unit is seconds5
cloudProvider.installCRDWhether to install CloudProvider CRDtrue
indexOffsetScheduler.enabledWhether to install index-offset-schedulerfalse
certificates.autoGeneratedWhether to auto-generate webhook certificatestrue
certificates.secretNameName of the secret containing webhook certificateskruise-game-certs
certificates.mountPathPath to mount webhook certificates in container/tmp/webhook-certs/
certificates.certManager.enabledWhether to use cert-manager for certificate managementfalse
certificates.certManager.durationCertificate validity duration8760h0m0s
certificates.certManager.renewBeforeTime before expiry to renew certificate5840h0m0s
certificates.certManager.generateCAWhether to generate a Certificate Authoritytrue
certificates.certManager.caSecretNameName of the secret containing the CA certificatekruise-game-ca
certificates.certManager.issuer.generateWhether to generate the issuer automaticallytrue
certificates.certManager.issuer.nameName of the certificate issuerkruise-ca
certificates.certManager.issuer.kindType of the certificate issuerClusterIssuer
certificates.certManager.issuer.groupAPI group of the certificate issuercert-manager.io

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Optional: the local image for China

If you are in China and have problem to pull image from official DockerHub, you can use the registry hosted on Alibaba Cloud:

$ helm install kruise-game https://... --set image.repository=registry.cn-hangzhou.aliyuncs.com/acs/kruise-game-manager
...

Deploy kruise-game with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kruise-game on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkruise-game is pinned at v1.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply