cdk-eks-karpenter 1.0.6__tar.gz → 1.0.9__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {cdk-eks-karpenter-1.0.6/src/cdk_eks_karpenter.egg-info → cdk_eks_karpenter-1.0.9}/PKG-INFO +13 -4
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/README.md +6 -1
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/pyproject.toml +2 -2
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/setup.py +5 -6
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter/__init__.py +27 -4
- cdk_eks_karpenter-1.0.9/src/cdk_eks_karpenter/_jsii/__init__.py +42 -0
- cdk_eks_karpenter-1.0.9/src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@1.0.9.jsii.tgz +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9/src/cdk_eks_karpenter.egg-info}/PKG-INFO +13 -4
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter.egg-info/SOURCES.txt +1 -1
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter.egg-info/requires.txt +2 -2
- cdk-eks-karpenter-1.0.6/src/cdk_eks_karpenter/_jsii/__init__.py +0 -24
- cdk-eks-karpenter-1.0.6/src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@1.0.6.jsii.tgz +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/LICENSE +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/MANIFEST.in +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/NOTICE +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/setup.cfg +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter/py.typed +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter.egg-info/dependency_links.txt +0 -0
- {cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-eks-karpenter
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.9
|
4
4
|
Summary: CDK construct library that allows you install Karpenter in an AWS EKS cluster
|
5
5
|
Home-page: https://github.com/aws-samples/cdk-eks-karpenter.git
|
6
6
|
Author: Andreas Lindh<elindh@amazon.com>
|
@@ -10,7 +10,6 @@ Classifier: Intended Audience :: Developers
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
11
11
|
Classifier: Programming Language :: JavaScript
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
@@ -18,10 +17,15 @@ Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Typing :: Typed
|
19
18
|
Classifier: Development Status :: 5 - Production/Stable
|
20
19
|
Classifier: License :: OSI Approved
|
21
|
-
Requires-Python: ~=3.
|
20
|
+
Requires-Python: ~=3.8
|
22
21
|
Description-Content-Type: text/markdown
|
23
22
|
License-File: LICENSE
|
24
23
|
License-File: NOTICE
|
24
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.104.0
|
25
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
26
|
+
Requires-Dist: jsii<2.0.0,>=1.104.0
|
27
|
+
Requires-Dist: publication>=0.0.3
|
28
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
25
29
|
|
26
30
|
# cdk-eks-karpenter
|
27
31
|
|
@@ -49,7 +53,8 @@ const cluster = new Cluster(this, 'testCluster', {
|
|
49
53
|
});
|
50
54
|
|
51
55
|
const karpenter = new Karpenter(this, 'Karpenter', {
|
52
|
-
cluster: cluster
|
56
|
+
cluster: cluster,
|
57
|
+
namespace: "kube-system"
|
53
58
|
});
|
54
59
|
```
|
55
60
|
|
@@ -60,6 +65,10 @@ also need to create an [EC2NodeClass](https://karpenter.sh/docs/concepts/nodecla
|
|
60
65
|
|
61
66
|
## Known issues
|
62
67
|
|
68
|
+
### It is now a best practice to install Karpenter into the kube-system namespace:
|
69
|
+
|
70
|
+
Kapenter CRD webhooks have 'kube-system' hard-coded into them, and do not work in other namespaces (such as 'karpenter')
|
71
|
+
|
63
72
|
### Versions earlier than v0.6.1 fails to install
|
64
73
|
|
65
74
|
As of [aws/karpenter#1145](https://github.com/aws/karpenter/pull/1145) the Karpenter Helm chart is
|
@@ -24,7 +24,8 @@ const cluster = new Cluster(this, 'testCluster', {
|
|
24
24
|
});
|
25
25
|
|
26
26
|
const karpenter = new Karpenter(this, 'Karpenter', {
|
27
|
-
cluster: cluster
|
27
|
+
cluster: cluster,
|
28
|
+
namespace: "kube-system"
|
28
29
|
});
|
29
30
|
```
|
30
31
|
|
@@ -35,6 +36,10 @@ also need to create an [EC2NodeClass](https://karpenter.sh/docs/concepts/nodecla
|
|
35
36
|
|
36
37
|
## Known issues
|
37
38
|
|
39
|
+
### It is now a best practice to install Karpenter into the kube-system namespace:
|
40
|
+
|
41
|
+
Kapenter CRD webhooks have 'kube-system' hard-coded into them, and do not work in other namespaces (such as 'karpenter')
|
42
|
+
|
38
43
|
### Versions earlier than v0.6.1 fails to install
|
39
44
|
|
40
45
|
As of [aws/karpenter#1145](https://github.com/aws/karpenter/pull/1145) the Karpenter Helm chart is
|
@@ -1,9 +1,9 @@
|
|
1
1
|
[build-system]
|
2
|
-
requires = ["setuptools~=
|
2
|
+
requires = ["setuptools~=70.0.0", "wheel~=0.42"]
|
3
3
|
build-backend = "setuptools.build_meta"
|
4
4
|
|
5
5
|
[tool.pyright]
|
6
6
|
defineConstant = { DEBUG = true }
|
7
|
-
pythonVersion = "3.
|
7
|
+
pythonVersion = "3.8"
|
8
8
|
pythonPlatform = "All"
|
9
9
|
reportSelfClsParameterName = false
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
5
5
|
"""
|
6
6
|
{
|
7
7
|
"name": "cdk-eks-karpenter",
|
8
|
-
"version": "1.0.
|
8
|
+
"version": "1.0.9",
|
9
9
|
"description": "CDK construct library that allows you install Karpenter in an AWS EKS cluster",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"url": "https://github.com/aws-samples/cdk-eks-karpenter.git",
|
@@ -26,26 +26,25 @@ kwargs = json.loads(
|
|
26
26
|
],
|
27
27
|
"package_data": {
|
28
28
|
"cdk_eks_karpenter._jsii": [
|
29
|
-
"cdk-eks-karpenter@1.0.
|
29
|
+
"cdk-eks-karpenter@1.0.9.jsii.tgz"
|
30
30
|
],
|
31
31
|
"cdk_eks_karpenter": [
|
32
32
|
"py.typed"
|
33
33
|
]
|
34
34
|
},
|
35
|
-
"python_requires": "~=3.
|
35
|
+
"python_requires": "~=3.8",
|
36
36
|
"install_requires": [
|
37
37
|
"aws-cdk-lib>=2.104.0, <3.0.0",
|
38
38
|
"constructs>=10.0.5, <11.0.0",
|
39
|
-
"jsii>=1.
|
39
|
+
"jsii>=1.104.0, <2.0.0",
|
40
40
|
"publication>=0.0.3",
|
41
|
-
"typeguard
|
41
|
+
"typeguard>=2.13.3,<4.3.0"
|
42
42
|
],
|
43
43
|
"classifiers": [
|
44
44
|
"Intended Audience :: Developers",
|
45
45
|
"Operating System :: OS Independent",
|
46
46
|
"Programming Language :: JavaScript",
|
47
47
|
"Programming Language :: Python :: 3 :: Only",
|
48
|
-
"Programming Language :: Python :: 3.7",
|
49
48
|
"Programming Language :: Python :: 3.8",
|
50
49
|
"Programming Language :: Python :: 3.9",
|
51
50
|
"Programming Language :: Python :: 3.10",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
'''
|
1
|
+
r'''
|
2
2
|
# cdk-eks-karpenter
|
3
3
|
|
4
4
|
This construct configures the necessary dependencies and installs [Karpenter](https://karpenter.sh)
|
@@ -25,7 +25,8 @@ const cluster = new Cluster(this, 'testCluster', {
|
|
25
25
|
});
|
26
26
|
|
27
27
|
const karpenter = new Karpenter(this, 'Karpenter', {
|
28
|
-
cluster: cluster
|
28
|
+
cluster: cluster,
|
29
|
+
namespace: "kube-system"
|
29
30
|
});
|
30
31
|
```
|
31
32
|
|
@@ -36,6 +37,10 @@ also need to create an [EC2NodeClass](https://karpenter.sh/docs/concepts/nodecla
|
|
36
37
|
|
37
38
|
## Known issues
|
38
39
|
|
40
|
+
### It is now a best practice to install Karpenter into the kube-system namespace:
|
41
|
+
|
42
|
+
Kapenter CRD webhooks have 'kube-system' hard-coded into them, and do not work in other namespaces (such as 'karpenter')
|
43
|
+
|
39
44
|
### Versions earlier than v0.6.1 fails to install
|
40
45
|
|
41
46
|
As of [aws/karpenter#1145](https://github.com/aws/karpenter/pull/1145) the Karpenter Helm chart is
|
@@ -76,6 +81,9 @@ npx projen test:destroy
|
|
76
81
|
1. Ensure you have the appropriate linked role available in your account, for more details,
|
77
82
|
see [the karpenter documentation](https://karpenter.sh/v0.31/getting-started/getting-started-with-karpenter/#3-create-a-cluster)
|
78
83
|
'''
|
84
|
+
from pkgutil import extend_path
|
85
|
+
__path__ = extend_path(__path__, __name__)
|
86
|
+
|
79
87
|
import abc
|
80
88
|
import builtins
|
81
89
|
import datetime
|
@@ -86,7 +94,22 @@ import jsii
|
|
86
94
|
import publication
|
87
95
|
import typing_extensions
|
88
96
|
|
89
|
-
|
97
|
+
import typeguard
|
98
|
+
from importlib.metadata import version as _metadata_package_version
|
99
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
100
|
+
|
101
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
102
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
103
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
104
|
+
else:
|
105
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
106
|
+
pass
|
107
|
+
else:
|
108
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
109
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
110
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
111
|
+
else:
|
112
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
90
113
|
|
91
114
|
from ._jsii import *
|
92
115
|
|
@@ -280,7 +303,7 @@ class Karpenter(
|
|
280
303
|
if __debug__:
|
281
304
|
type_hints = typing.get_type_hints(_typecheckingstub__1e206ee251711a10854759f8d11ccd42fb723fb0550d8e49f1ff830d7c2ffc9b)
|
282
305
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
283
|
-
jsii.set(self, "helmChartValues", value)
|
306
|
+
jsii.set(self, "helmChartValues", value) # pyright: ignore[reportArgumentType]
|
284
307
|
|
285
308
|
|
286
309
|
@jsii.data_type(
|
@@ -0,0 +1,42 @@
|
|
1
|
+
from pkgutil import extend_path
|
2
|
+
__path__ = extend_path(__path__, __name__)
|
3
|
+
|
4
|
+
import abc
|
5
|
+
import builtins
|
6
|
+
import datetime
|
7
|
+
import enum
|
8
|
+
import typing
|
9
|
+
|
10
|
+
import jsii
|
11
|
+
import publication
|
12
|
+
import typing_extensions
|
13
|
+
|
14
|
+
import typeguard
|
15
|
+
from importlib.metadata import version as _metadata_package_version
|
16
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
17
|
+
|
18
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
19
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
20
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
21
|
+
else:
|
22
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
23
|
+
pass
|
24
|
+
else:
|
25
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
26
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
27
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
28
|
+
else:
|
29
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
30
|
+
|
31
|
+
import aws_cdk._jsii
|
32
|
+
import constructs._jsii
|
33
|
+
|
34
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
35
|
+
"cdk-eks-karpenter", "1.0.9", __name__[0:-6], "cdk-eks-karpenter@1.0.9.jsii.tgz"
|
36
|
+
)
|
37
|
+
|
38
|
+
__all__ = [
|
39
|
+
"__jsii_assembly__",
|
40
|
+
]
|
41
|
+
|
42
|
+
publication.publish()
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-eks-karpenter
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.9
|
4
4
|
Summary: CDK construct library that allows you install Karpenter in an AWS EKS cluster
|
5
5
|
Home-page: https://github.com/aws-samples/cdk-eks-karpenter.git
|
6
6
|
Author: Andreas Lindh<elindh@amazon.com>
|
@@ -10,7 +10,6 @@ Classifier: Intended Audience :: Developers
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
11
11
|
Classifier: Programming Language :: JavaScript
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
@@ -18,10 +17,15 @@ Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Typing :: Typed
|
19
18
|
Classifier: Development Status :: 5 - Production/Stable
|
20
19
|
Classifier: License :: OSI Approved
|
21
|
-
Requires-Python: ~=3.
|
20
|
+
Requires-Python: ~=3.8
|
22
21
|
Description-Content-Type: text/markdown
|
23
22
|
License-File: LICENSE
|
24
23
|
License-File: NOTICE
|
24
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.104.0
|
25
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
26
|
+
Requires-Dist: jsii<2.0.0,>=1.104.0
|
27
|
+
Requires-Dist: publication>=0.0.3
|
28
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
25
29
|
|
26
30
|
# cdk-eks-karpenter
|
27
31
|
|
@@ -49,7 +53,8 @@ const cluster = new Cluster(this, 'testCluster', {
|
|
49
53
|
});
|
50
54
|
|
51
55
|
const karpenter = new Karpenter(this, 'Karpenter', {
|
52
|
-
cluster: cluster
|
56
|
+
cluster: cluster,
|
57
|
+
namespace: "kube-system"
|
53
58
|
});
|
54
59
|
```
|
55
60
|
|
@@ -60,6 +65,10 @@ also need to create an [EC2NodeClass](https://karpenter.sh/docs/concepts/nodecla
|
|
60
65
|
|
61
66
|
## Known issues
|
62
67
|
|
68
|
+
### It is now a best practice to install Karpenter into the kube-system namespace:
|
69
|
+
|
70
|
+
Kapenter CRD webhooks have 'kube-system' hard-coded into them, and do not work in other namespaces (such as 'karpenter')
|
71
|
+
|
63
72
|
### Versions earlier than v0.6.1 fails to install
|
64
73
|
|
65
74
|
As of [aws/karpenter#1145](https://github.com/aws/karpenter/pull/1145) the Karpenter Helm chart is
|
{cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter.egg-info/SOURCES.txt
RENAMED
@@ -12,4 +12,4 @@ src/cdk_eks_karpenter.egg-info/dependency_links.txt
|
|
12
12
|
src/cdk_eks_karpenter.egg-info/requires.txt
|
13
13
|
src/cdk_eks_karpenter.egg-info/top_level.txt
|
14
14
|
src/cdk_eks_karpenter/_jsii/__init__.py
|
15
|
-
src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@1.0.
|
15
|
+
src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@1.0.9.jsii.tgz
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import abc
|
2
|
-
import builtins
|
3
|
-
import datetime
|
4
|
-
import enum
|
5
|
-
import typing
|
6
|
-
|
7
|
-
import jsii
|
8
|
-
import publication
|
9
|
-
import typing_extensions
|
10
|
-
|
11
|
-
from typeguard import check_type
|
12
|
-
|
13
|
-
import aws_cdk._jsii
|
14
|
-
import constructs._jsii
|
15
|
-
|
16
|
-
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
17
|
-
"cdk-eks-karpenter", "1.0.6", __name__[0:-6], "cdk-eks-karpenter@1.0.6.jsii.tgz"
|
18
|
-
)
|
19
|
-
|
20
|
-
__all__ = [
|
21
|
-
"__jsii_assembly__",
|
22
|
-
]
|
23
|
-
|
24
|
-
publication.publish()
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cdk-eks-karpenter-1.0.6 → cdk_eks_karpenter-1.0.9}/src/cdk_eks_karpenter.egg-info/top_level.txt
RENAMED
File without changes
|