cdk8s-image
An Image construct which takes care of building & pushing docker images that
can be used in CDK8s apps.
The following example will build the docker image from Dockerfile under the
my-app directory, push it to a local registry and then define a Kubernetes
deployment that deploys containers that run this image.
const image = new Image(this, 'image', {
dir: `${__dirname}/my-app`,
registry: 'localhost:5000'
});
new Deployment(this, 'deployment', {
containers: [ new Container({ image: image.url }) ],
});
Contributions
All contributions are celebrated.
License
Licensed under Apache 2.0.
Metadata
Release files for cdk8s-image 0.2.553
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cdk8s-image-0.2.553.tar.gz | 28.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cdk8s_image-0.2.553-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.6 kB
Release files / cdk8s-image-0.2.553.tar.gz
| Download URL | cdk8s-image-0.2.553.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a668fa2733c0350d3c61a4122435b6b5ab3aba9a6f91e4445656728511647bca
|
|
BLAKE2b-256 checksum How to use checksums |
dbf939febdfc7d81a7e0d66a04ae9aaf93b70d054562de01439537e31aa84c51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / cdk8s_image-0.2.553-py3-none-any.whl
| Download URL | cdk8s_image-0.2.553-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c6552ffd07798eac0118bc97464188c3cae0649ad227c7dfdcd85cce7023e6e
|
|
BLAKE2b-256 checksum How to use checksums |
6aafd17953811d4c83c75b435dd0d2699998a26954382166f5db26061120c5ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|