Skip to main content

Higher-level cdk construct to build an eks kubernetes platform with batteries included

Project description

cdkeks

Higher-level cdk construct to build an eks kubernetes platform with batteries included:

:warning: This is experimental and subject to breaking changes.

Install

TypeScript/JavaScript:

npm install --save cdkeks

Python:

pip install cdkeks

Howto use

Install Addons

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
platform = Platform(self, "Platform",
    cluster=cluster,
    addons=[AwsCalicoAddon(), AwsLoadBalancerControllerAddon()]
)

See more addons.

Alb ingress

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
deployment = Deployment(self, "Deployment",
    platform=platform,
    containers=[{
        "image": "nginx"
    }
    ]
)

backend = IngressBackend.from_service(deployment.expose("Service", 80))

ingress = AlbIngress(self, "Ingress",
    platform=platform,
    target_type=TargetType.IP,
    internet_facing=True
)

ingress.connections.allow_from_any_ipv4(Port.tcp(80))
ingress.add_rule("/", backend)

LoadBalancer

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
deployment = Deployment(self, "Deployment",
    platform=platform,
    containers=[{
        "image": "nginx"
    }
    ]
)

deployment.expose("LoadBalancer", 80,
    service_type=ServiceType.LOAD_BALANCER
)

API Reference

See API.md.

Example

See more complete examples.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdkeks-0.0.3.tar.gz (426.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdkeks-0.0.3-py3-none-any.whl (424.2 kB view details)

Uploaded Python 3

File details

Details for the file cdkeks-0.0.3.tar.gz.

File metadata

  • Download URL: cdkeks-0.0.3.tar.gz
  • Upload date:
  • Size: 426.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for cdkeks-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1e72ea3d6bd86eae17d0ec7ce893d9ee07719dcb02c2cd740394c9cf8c5187c7
MD5 a661579c87a58f6980db6bcc6d9fe9c7
BLAKE2b-256 b8c04dc7279c722a5a004e8bf0f14631393c5b6821075f2c142196e8c73edd99

See more details on using hashes here.

File details

Details for the file cdkeks-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: cdkeks-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 424.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for cdkeks-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 183ad76f0d722aa1ab7803850133cd4afcced3d572e76e1302e0ac6d952ba91d
MD5 b653815b1f164e819d34b7acadb4b001
BLAKE2b-256 3e801a2522c7ce94312b1080453c13b697e4ffb9a0dd8ad7aefb79e046596b9a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page