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.
| Parameter | Description | Default |
|---|---|---|
installation.namespace | Namespace for kruise-game operation installation | kruise-game-system |
installation.createNamespace | Whether to create the installation.namespace | true |
kruiseGame.fullname | Nick name for kruise-game deployment and other configurations | kruise-game-controller-manager |
kruiseGame.healthBindPort | Port for checking health of kruise-game container | 8082 |
kruiseGame.webhook.port | Port of webhook served by kruise-game container | 443 |
kruiseGame.webhook.targetPort | ObjectSelector for workloads in MutatingWebhookConfigurations | 9876 |
kruiseGame.apiServerQps | Indicates the maximum QPS to the master from kruise-game-controller-manager | 5 |
kruiseGame.apiServerQpsBurst | Maximum burst for throttle of kruise-game-controller-manager | 10 |
kruiseGame.gameserverWorkers | Max concurrent workers for GameServer controller | 10 |
kruiseGame.gameserversetWorkers | Max concurrent workers for GameServerSet controller | 10 |
kruiseGame.logging.format | Log output format (console/json) | console |
kruiseGame.logging.jsonPreset | JSON log preset (kibana/otel) | kibana |
kruiseGame.logging.enableOTelLogs | Enable OTLP log export | false |
kruiseGame.tracing.enabled | Enable OpenTelemetry tracing | false |
kruiseGame.tracing.collectorEndpoint | OTel Collector gRPC endpoint | localhost:4317 |
kruiseGame.tracing.collectorToken | OTLP authentication token | "" |
kruiseGame.tracing.samplingRate | Tracing sampling rate (0.0-1.0) | 1.0 |
kruiseGame.pprof.bindAddress | pprof bind address (empty to disable) | "" |
replicaCount | Replicas of kruise-game deployment | 1 |
image.repository | Repository for kruise-game image | openkruise/kruise-game-manager |
image.tag | Tag for kruise-game image | v1.1.0 |
image.pullPolicy | ImagePullPolicy for kruise-game container | Always |
serviceAccount.annotations | The annotations for serviceAccount of kruise-game | |
service.port | Port of kruise-game service | 8443 |
resources.limits.cpu | CPU resource limit of kruise-game container | 500m |
resources.limits.memory | Memory resource limit of kruise-game container | 1Gi |
resources.requests.cpu | CPU resource request of kruise-game container | 10m |
resources.requests.memory | Memory resource request of kruise-game container | 64Mi |
prometheus.enabled | Whether to bind metric endpoint | true |
prometheus.monitorService.port | Port of the monitorservice bind to | 8080 |
scale.service.port | Port of the external scaler server binds to | 6000 |
scale.service.targetPort | TargetPort of the external scaler server binds to | 6000 |
network.totalWaitTime | Maximum time to wait for network ready, the unit is seconds | 60 |
network.probeIntervalTime | Time interval for detecting network status, the unit is seconds | 5 |
cloudProvider.installCRD | Whether to install CloudProvider CRD | true |
indexOffsetScheduler.enabled | Whether to install index-offset-scheduler | false |
certificates.autoGenerated | Whether to auto-generate webhook certificates | true |
certificates.secretName | Name of the secret containing webhook certificates | kruise-game-certs |
certificates.mountPath | Path to mount webhook certificates in container | /tmp/webhook-certs/ |
certificates.certManager.enabled | Whether to use cert-manager for certificate management | false |
certificates.certManager.duration | Certificate validity duration | 8760h0m0s |
certificates.certManager.renewBefore | Time before expiry to renew certificate | 5840h0m0s |
certificates.certManager.generateCA | Whether to generate a Certificate Authority | true |
certificates.certManager.caSecretName | Name of the secret containing the CA certificate | kruise-game-ca |
certificates.certManager.issuer.generate | Whether to generate the issuer automatically | true |
certificates.certManager.issuer.name | Name of the certificate issuer | kruise-ca |
certificates.certManager.issuer.kind | Type of the certificate issuer | ClusterIssuer |
certificates.certManager.issuer.group | API group of the certificate issuer | cert-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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkruise-game is pinned at v1.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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