cdkeks-0.0.4
توضیحات
Higher-level hybrid cdk|cdk8s construct to build an eks kubernetes platform with batteries included
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cdkeks-0.0.4 |
| نام | cdkeks |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | hupe1980 |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/hupe1980/cdkeks |
| آدرس اینترنتی | https://pypi.org/project/cdkeks/ |
| مجوز | MIT |
# cdkeks
Higher-level hybrid cdk|cdk8s construct to build an eks kubernetes platform with batteries included:
* Network policies with [aws-calico](https://github.com/aws/eks-charts/tree/master/stable/aws-calico)
* DNS management with [external-dns](https://github.com/kubernetes-sigs/external-dns)
* Forwarding logs to CloudWatch Logs or ElasticSearch with [fluent-bit](https://github.com/aws/aws-for-fluent-bit)
* Ingress management with the [aws load balancer controller](https://github.com/kubernetes-sigs/aws-load-balancer-controller)
:warning: This is experimental and subject to breaking changes.
## Install
TypeScript/JavaScript:
```bash
npm install --save cdkeks
```
Python:
```bash
pip install cdkeks
```
## Howto use
### Install Addons
```python
# 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](https://github.com/hupe1980/cdkeks/tree/main/cdkeks/src/addons).
### AlbIngress
```python
# 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
```python
# 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](https://github.com/hupe1980/cdkeks/tree/master/cdkeks/API.md).
## Example
See more complete [examples](https://github.com/hupe1980/cdkeks/tree/main/examples).
## License
[MIT](https://github.com/hupe1980/cdkeks/tree/main/cdkeks/LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.107.0 | aws-cdk.aws-certificatemanager |
| <2.0.0,>=1.107.0 | aws-cdk.aws-ec2 |
| <2.0.0,>=1.107.0 | aws-cdk.aws-efs |
| <2.0.0,>=1.107.0 | aws-cdk.aws-eks |
| <2.0.0,>=1.107.0 | aws-cdk.aws-elasticloadbalancingv2 |
| <2.0.0,>=1.107.0 | aws-cdk.aws-elasticsearch |
| <2.0.0,>=1.107.0 | aws-cdk.aws-iam |
| <2.0.0,>=1.107.0 | aws-cdk.aws-logs |
| <2.0.0,>=1.107.0 | aws-cdk.aws-route53 |
| <2.0.0,>=1.107.0 | aws-cdk.aws-s3 |
| <2.0.0,>=1.107.0 | aws-cdk.core |
| <2.0.0,>=1.0.0.b20 | cdk8s-plus-17 |
| ==1.0.0.b14 | cdk8s |
| <4.0.0,>=3.3.75 | constructs |
| <2.0.0,>=1.30.0 | jsii |
| >=0.0.3 | publication |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cdkeks-0.0.4:
pip install cdkeks-0.0.4.whl
نصب پکیج tar.gz cdkeks-0.0.4:
pip install cdkeks-0.0.4.tar.gz