cdk8s-image


Namecdk8s-image JSON
Version 0.2.665 PyPI version JSON
download
home_pagehttps://github.com/cdk8s-team/cdk8s-image.git
SummaryBuild & Push local docker images inside CDK8s applications
upload_time2025-02-05 12:17:03
maintainerNone
docs_urlNone
authorAmazon Web Services
requires_python~=3.8
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.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Amazon Web Services",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/34/76/a4c2f28e8a612fe9619ef7ae8bab690a033a93957c5989adaab5fc3cb301/cdk8s_image-0.2.665.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.665",
    "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": "a673ed54dfd0bf82f6a3b42d72e8bc068670eaadbd14416bc5f111240ca0d22a",
                "md5": "8f01b93cbfbb788c5409cb025c79bdd8",
                "sha256": "bd6358f74af52dc79a17f2308da998a120a53d44ba4687f85761b8d8ba9dc2da"
            },
            "downloads": -1,
            "filename": "cdk8s_image-0.2.665-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8f01b93cbfbb788c5409cb025c79bdd8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 28182,
            "upload_time": "2025-02-05T12:17:01",
            "upload_time_iso_8601": "2025-02-05T12:17:01.662226Z",
            "url": "https://files.pythonhosted.org/packages/a6/73/ed54dfd0bf82f6a3b42d72e8bc068670eaadbd14416bc5f111240ca0d22a/cdk8s_image-0.2.665-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3476a4c2f28e8a612fe9619ef7ae8bab690a033a93957c5989adaab5fc3cb301",
                "md5": "188b99fd6cf1c8aa5d7013268a79dbf6",
                "sha256": "c54792bc3f308be30933a579d7e54079bd74b1ec6af3beb217fe72ab69fad14c"
            },
            "downloads": -1,
            "filename": "cdk8s_image-0.2.665.tar.gz",
            "has_sig": false,
            "md5_digest": "188b99fd6cf1c8aa5d7013268a79dbf6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 29358,
            "upload_time": "2025-02-05T12:17:03",
            "upload_time_iso_8601": "2025-02-05T12:17:03.268117Z",
            "url": "https://files.pythonhosted.org/packages/34/76/a4c2f28e8a612fe9619ef7ae8bab690a033a93957c5989adaab5fc3cb301/cdk8s_image-0.2.665.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-05 12:17:03",
    "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: 1.51918s