CDK8s Valheim
This is a CDK8s project that defines a Kubernetes deployment for Valheim using the lloesche/valheim-server image.
Use
A default deployment can be created with:
new ValheimChart(app, 'valheim')
Default deployment will produce a server configured with all default environment variables. The container will request resources for the games minimum recommended specs of 2 CPU and 4GB of memory.
Settings can be customized by passing in a ValheimChartProps object. This will allow you to configure all supported environment customizations and container configurations
new ValheimChart(app, 'valheim', {
server: {
name: 'K8S Valheim',
worldName: 'K8S',
password: {
raw: 'password',
},
},
})
Persistence
By default, the server will store its data on a host path. This is not recommended as your world data can easily be lost.
This chart allows for storing the data on a PersistentVolumeClaim. Two pvcs can be created, one for the world data and one for the configuration. The world data is mounted at /opt/valheim/data directory and the configuration is mounted at /config directory.
To create these, the PVCs can be configured as follows:
new ValheimChart(app, 'valheim'. {
persistence: {
server: {
storageClass: "my-class",
},
config: {
storageClass: "my-class",
},
},
})
Metadata
Release files for cdk8s-valheim 0.0.270
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdk8s-valheim-0.0.270.tar.gz | 55.3 kB | Without provenance | Details for cdk8s-valheim-0.0.270.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdk8s_valheim-0.0.270-py3-none-any.whl | Python 3 | none | any | Details for cdk8s_valheim-0.0.270-py3-none-any.whl |
Total release size: 108.5 kB
Release files / cdk8s-valheim-0.0.270.tar.gz
| Download URL | cdk8s-valheim-0.0.270.tar.gz |
|---|---|
| Size | 55.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe3a0309e7820d3ef5b3a37a7b2cb17e4b09f06bb87cce93ddd618090be30602
|
|
BLAKE2b-256 checksum How to use checksums |
98a7678eceab10b20d191367c3672cb3b34e485e1e3b27fdeba30682b6cd2b31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Release files / cdk8s_valheim-0.0.270-py3-none-any.whl
| Download URL | cdk8s_valheim-0.0.270-py3-none-any.whl |
|---|---|
| Size | 53.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b3417a5ca1fcc6a28c1cce0d33d59ff9ec4a681da61b7de18d8332b10967fb1
|
|
BLAKE2b-256 checksum How to use checksums |
9db55216359547c1b699985e4bf7a9e47f227f6fda9ee28cd7f5fe900ab56dfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for cdk8s-valheim 0.0.270
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.