cdk8s-image


Namecdk8s-image JSON
Version 0.2.709 PyPI version JSON
download
home_pagehttps://github.com/cdk8s-team/cdk8s-image.git
SummaryBuild & Push local docker images inside CDK8s applications
upload_time2025-10-23 12:20:14
maintainerNone
docs_urlNone
authorAmazon Web Services
requires_python~=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cdk8s-image

An `Image` construct which takes care of building & pushing docker images that
can be used in [CDK8s](https://github.com/awslabs/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.

```python
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](./LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cdk8s-team/cdk8s-image.git",
    "name": "cdk8s-image",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Amazon Web Services",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/0e/05/cd4a726375689d18c7d15d4d5841a5b9827fff8e6d16912160b917a61095/cdk8s_image-0.2.709.tar.gz",
    "platform": null,
    "description": "# cdk8s-image\n\nAn `Image` construct which takes care of building & pushing docker images that\ncan be used in [CDK8s](https://github.com/awslabs/cdk8s) apps.\n\nThe following example will build the docker image from `Dockerfile` under the\n`my-app` directory, push it to a local registry and then define a Kubernetes\ndeployment that deploys containers that run this image.\n\n```python\nconst image = new Image(this, 'image', {\n  dir: `${__dirname}/my-app`,\n  registry: 'localhost:5000'\n});\n\nnew Deployment(this, 'deployment', {\n  containers: [ new Container({ image: image.url }) ],\n});\n```\n\n## Contributions\n\nAll contributions are celebrated.\n\n## License\n\nLicensed under [Apache 2.0](./LICENSE).\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Build & Push local docker images inside CDK8s applications",
    "version": "0.2.709",
    "project_urls": {
        "Homepage": "https://github.com/cdk8s-team/cdk8s-image.git",
        "Source": "https://github.com/cdk8s-team/cdk8s-image.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9aa8239eecb7a61da3d2250f47b37eeb0e48192ba942581de46d0050c738afcd",
                "md5": "19b8880d503b5e1a96e4d3197a11a7ff",
                "sha256": "ab228cf4bad0494debf3c74d46217934318f1378fbd6eae57b6afae5567d82b0"
            },
            "downloads": -1,
            "filename": "cdk8s_image-0.2.709-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "19b8880d503b5e1a96e4d3197a11a7ff",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.9",
            "size": 28185,
            "upload_time": "2025-10-23T12:20:12",
            "upload_time_iso_8601": "2025-10-23T12:20:12.187014Z",
            "url": "https://files.pythonhosted.org/packages/9a/a8/239eecb7a61da3d2250f47b37eeb0e48192ba942581de46d0050c738afcd/cdk8s_image-0.2.709-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0e05cd4a726375689d18c7d15d4d5841a5b9827fff8e6d16912160b917a61095",
                "md5": "c79f996271f92bc77ec793d4039145d3",
                "sha256": "df7c052ddb2b97f016bf2e412dbd07a578832a321129d1570fd3b97d22c06deb"
            },
            "downloads": -1,
            "filename": "cdk8s_image-0.2.709.tar.gz",
            "has_sig": false,
            "md5_digest": "c79f996271f92bc77ec793d4039145d3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.9",
            "size": 29318,
            "upload_time": "2025-10-23T12:20:14",
            "upload_time_iso_8601": "2025-10-23T12:20:14.192893Z",
            "url": "https://files.pythonhosted.org/packages/0e/05/cd4a726375689d18c7d15d4d5841a5b9827fff8e6d16912160b917a61095/cdk8s_image-0.2.709.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-23 12:20:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cdk8s-team",
    "github_project": "cdk8s-image",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cdk8s-image"
}
        
Elapsed time: 0.43954s