cdk8s-image


Namecdk8s-image JSON
Version 0.2.178 PyPI version JSON
download
home_pagehttps://github.com/cdk8s-team/cdk8s-image
SummaryBuild & Push local docker images inside CDK8s applications
upload_time2022-06-26 11:05:51
maintainer
docs_urlNone
authorAmazon Web Services
requires_python~=3.7
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",
    "name": "cdk8s-image",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Amazon Web Services",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/4a/ff/4f9e4130de9af1fbb8c38fc7a1b3ee4d7d6cfaffb1fee9c121ccb923b872/cdk8s-image-0.2.178.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\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Build & Push local docker images inside CDK8s applications",
    "version": "0.2.178",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e900ad1434744c41d7d9254eb5e44716",
                "sha256": "84bb96093f718e3cf45875018194c80efc07c841ef596bd713861a14f4ce284f"
            },
            "downloads": -1,
            "filename": "cdk8s_image-0.2.178-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e900ad1434744c41d7d9254eb5e44716",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 25464,
            "upload_time": "2022-06-26T11:05:50",
            "upload_time_iso_8601": "2022-06-26T11:05:50.303107Z",
            "url": "https://files.pythonhosted.org/packages/e5/41/811bd260ea0a5d433a18906a7a23b3027842b877bb12bd29921da116c161/cdk8s_image-0.2.178-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "268b6356bb5a3455da03d547913760a4",
                "sha256": "3f771d0e61e9aff9c1615da4beb0a0b3a0ec7909b523d565c27233b68b088275"
            },
            "downloads": -1,
            "filename": "cdk8s-image-0.2.178.tar.gz",
            "has_sig": false,
            "md5_digest": "268b6356bb5a3455da03d547913760a4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 26833,
            "upload_time": "2022-06-26T11:05:51",
            "upload_time_iso_8601": "2022-06-26T11:05:51.819243Z",
            "url": "https://files.pythonhosted.org/packages/4a/ff/4f9e4130de9af1fbb8c38fc7a1b3ee4d7d6cfaffb1fee9c121ccb923b872/cdk8s-image-0.2.178.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-06-26 11:05:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "cdk8s-team",
    "github_project": "cdk8s-image",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cdk8s-image"
}
        
Elapsed time: 0.53927s