@pulumi/eks 2.8.1 → 2.9.0-alpha.1727304793
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addon.d.ts +61 -13
- package/addon.js +45 -18
- package/addon.js.map +1 -1
- package/cluster.d.ts +291 -585
- package/cluster.js +120 -947
- package/cluster.js.map +1 -1
- package/clusterCreationRoleProvider.d.ts +28 -0
- package/clusterCreationRoleProvider.js +47 -0
- package/clusterCreationRoleProvider.js.map +1 -0
- package/clusterMixins.d.ts +71 -0
- package/clusterMixins.js +107 -0
- package/clusterMixins.js.map +1 -0
- package/index.d.ts +31 -7
- package/index.js +80 -34
- package/index.js.map +1 -1
- package/managedNodeGroup.d.ts +221 -0
- package/managedNodeGroup.js +81 -0
- package/managedNodeGroup.js.map +1 -0
- package/nodeGroup.d.ts +273 -0
- package/nodeGroup.js +93 -0
- package/nodeGroup.js.map +1 -0
- package/nodeGroupSecurityGroup.d.ts +51 -0
- package/nodeGroupSecurityGroup.js +60 -0
- package/nodeGroupSecurityGroup.js.map +1 -0
- package/nodeGroupV2.d.ts +280 -0
- package/nodeGroupV2.js +90 -0
- package/nodeGroupV2.js.map +1 -0
- package/nodegroupMixins.d.ts +203 -0
- package/{securitygroup.js → nodegroupMixins.js} +25 -36
- package/nodegroupMixins.js.map +1 -0
- package/package.json +8 -36
- package/provider.d.ts +21 -0
- package/provider.js +38 -0
- package/provider.js.map +1 -0
- package/{storageclass.js → storageclassMixins.js} +1 -14
- package/storageclassMixins.js.map +1 -0
- package/types/enums/index.d.ts +170 -0
- package/types/enums/index.js +145 -0
- package/types/enums/index.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +13 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +745 -0
- package/types/input.js +30 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +422 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -1
- package/utilities.js +90 -17
- package/utilities.js.map +1 -1
- package/vpcCniAddon.d.ts +175 -0
- package/vpcCniAddon.js +88 -0
- package/vpcCniAddon.js.map +1 -0
- package/LICENSE +0 -202
- package/README.md +0 -77
- package/authenticationMode.d.ts +0 -24
- package/authenticationMode.js +0 -172
- package/authenticationMode.js.map +0 -1
- package/authenticationMode.test.d.ts +0 -1
- package/authenticationMode.test.js +0 -208
- package/authenticationMode.test.js.map +0 -1
- package/cert-thumprint.d.ts +0 -16
- package/cert-thumprint.js +0 -113
- package/cert-thumprint.js.map +0 -1
- package/cmd/provider/addon.d.ts +0 -1
- package/cmd/provider/addon.js +0 -40
- package/cmd/provider/addon.js.map +0 -1
- package/cmd/provider/cluster.d.ts +0 -1
- package/cmd/provider/cluster.js +0 -71
- package/cmd/provider/cluster.js.map +0 -1
- package/cmd/provider/cni.d.ts +0 -2
- package/cmd/provider/cni.js +0 -291
- package/cmd/provider/cni.js.map +0 -1
- package/cmd/provider/index.d.ts +0 -1
- package/cmd/provider/index.js +0 -171
- package/cmd/provider/index.js.map +0 -1
- package/cmd/provider/nodegroup.d.ts +0 -1
- package/cmd/provider/nodegroup.js +0 -89
- package/cmd/provider/nodegroup.js.map +0 -1
- package/cmd/provider/randomSuffix.d.ts +0 -1
- package/cmd/provider/randomSuffix.js +0 -52
- package/cmd/provider/randomSuffix.js.map +0 -1
- package/cmd/provider/schema.json +0 -1909
- package/cmd/provider/securitygroup.d.ts +0 -1
- package/cmd/provider/securitygroup.js +0 -41
- package/cmd/provider/securitygroup.js.map +0 -1
- package/cni/README.md +0 -6
- package/cni/aws-k8s-cni.yaml +0 -602
- package/cni.d.ts +0 -177
- package/cni.js +0 -64
- package/cni.js.map +0 -1
- package/dashboard/heapster-rbac.yaml +0 -12
- package/dashboard/heapster.yaml +0 -46
- package/dashboard/influxdb.yaml +0 -40
- package/dashboard/kubernetes-dashboard.yaml +0 -167
- package/dashboard.d.ts +0 -5
- package/dashboard.js +0 -58
- package/dashboard.js.map +0 -1
- package/dependencies.d.ts +0 -2
- package/dependencies.js +0 -81
- package/dependencies.js.map +0 -1
- package/dependencies.test.d.ts +0 -1
- package/dependencies.test.js +0 -133
- package/dependencies.test.js.map +0 -1
- package/nodegroup.d.ts +0 -515
- package/nodegroup.js +0 -1152
- package/nodegroup.js.map +0 -1
- package/nodegroup.test.d.ts +0 -1
- package/nodegroup.test.js +0 -336
- package/nodegroup.test.js.map +0 -1
- package/package.json.dev +0 -67
- package/randomSuffix.d.ts +0 -1
- package/randomSuffix.js +0 -51
- package/randomSuffix.js.map +0 -1
- package/securitygroup.d.ts +0 -52
- package/securitygroup.js.map +0 -1
- package/servicerole.d.ts +0 -43
- package/servicerole.js +0 -72
- package/servicerole.js.map +0 -1
- package/storageclass.js.map +0 -1
- package/utils.d.ts +0 -23
- package/utils.js +0 -16
- package/utils.js.map +0 -1
- /package/{storageclass.d.ts → storageclassMixins.d.ts} +0 -0
package/vpcCniAddon.d.ts
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as enums from "./types/enums";
|
|
3
|
+
/**
|
|
4
|
+
* VpcCniAddon manages the configuration of the Amazon VPC CNI plugin for Kubernetes by leveraging the EKS managed add-on.
|
|
5
|
+
* For more information see: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
6
|
+
*/
|
|
7
|
+
export declare class VpcCniAddon extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing VpcCniAddon resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): VpcCniAddon;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of VpcCniAddon. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is VpcCniAddon;
|
|
22
|
+
/**
|
|
23
|
+
* Create a VpcCniAddon resource with the given unique name, arguments, and options.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resource.
|
|
26
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
27
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
28
|
+
*/
|
|
29
|
+
constructor(name: string, args: VpcCniAddonArgs, opts?: pulumi.CustomResourceOptions);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The set of arguments for constructing a VpcCniAddon resource.
|
|
33
|
+
*/
|
|
34
|
+
export interface VpcCniAddonArgs {
|
|
35
|
+
/**
|
|
36
|
+
* The version of the addon to use. If not specified, the latest version of the addon for the cluster's Kubernetes version will be used.
|
|
37
|
+
*/
|
|
38
|
+
addonVersion?: pulumi.Input<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the EKS cluster.
|
|
41
|
+
*/
|
|
42
|
+
clusterName: pulumi.Input<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The Kubernetes version of the cluster. This is used to determine the addon version to use if `addonVersion` is not specified.
|
|
45
|
+
*/
|
|
46
|
+
clusterVersion?: pulumi.Input<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies whether ipamd should configure rp filter for primary interface. Default is `false`.
|
|
49
|
+
*/
|
|
50
|
+
cniConfigureRpfilter?: pulumi.Input<boolean>;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies that your pods may use subnets and security groups that are independent of your worker node's VPC configuration. By default, pods share the same subnet and security groups as the worker node's primary interface. Setting this variable to true causes ipamd to use the security groups and VPC subnet in a worker node's ENIConfig for elastic network interface allocation. You must create an ENIConfig custom resource for each subnet that your pods will reside in, and then annotate or label each worker node to use a specific ENIConfig (multiple worker nodes can be annotated or labelled with the same ENIConfig). Worker nodes can only be annotated with a single ENIConfig at a time, and the subnet in the ENIConfig must belong to the same Availability Zone that the worker node resides in. For more information, see CNI Custom Networking in the Amazon EKS User Guide. Default is `false`
|
|
53
|
+
*/
|
|
54
|
+
cniCustomNetworkCfg?: pulumi.Input<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied. Disable SNAT if you need to allow inbound communication to your pods from external VPNs, direct connections, and external VPCs, and your pods do not need to access the Internet directly via an Internet Gateway. However, your nodes must be running in a private subnet and connected to the internet through an AWS NAT Gateway or another external NAT device. Default is `false`
|
|
57
|
+
*/
|
|
58
|
+
cniExternalSnat?: pulumi.Input<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Custom configuration values for the vpc-cni addon. This object must match the schema derived from [describe-addon-configuration](https://docs.aws.amazon.com/cli/latest/reference/eks/describe-addon-configuration.html).
|
|
61
|
+
*/
|
|
62
|
+
configurationValues?: pulumi.Input<{
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}>;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies that your pods may use subnets and security groups (within the same VPC as your control plane resources) that are independent of your cluster's `resourcesVpcConfig`.
|
|
67
|
+
*
|
|
68
|
+
* Defaults to false.
|
|
69
|
+
*/
|
|
70
|
+
customNetworkConfig?: pulumi.Input<boolean>;
|
|
71
|
+
/**
|
|
72
|
+
* Allows the kubelet's liveness and readiness probes to connect via TCP when pod ENI is enabled. This will slightly increase local TCP connection latency.
|
|
73
|
+
*/
|
|
74
|
+
disableTcpEarlyDemux?: pulumi.Input<boolean>;
|
|
75
|
+
/**
|
|
76
|
+
* Enables using Kubernetes network policies. In Kubernetes, by default, all pod-to-pod communication is allowed. Communication can be restricted with Kubernetes NetworkPolicy objects.
|
|
77
|
+
*
|
|
78
|
+
* See for more information: [Kubernetes Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/).
|
|
79
|
+
*/
|
|
80
|
+
enableNetworkPolicy?: pulumi.Input<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies whether to allow IPAMD to add the `vpc.amazonaws.com/has-trunk-attached` label to the node if the instance has capacity to attach an additional ENI. Default is `false`. If using liveness and readiness probes, you will also need to disable TCP early demux.
|
|
83
|
+
*/
|
|
84
|
+
enablePodEni?: pulumi.Input<boolean>;
|
|
85
|
+
/**
|
|
86
|
+
* IPAMD will start allocating (/28) prefixes to the ENIs with ENABLE_PREFIX_DELEGATION set to true.
|
|
87
|
+
*/
|
|
88
|
+
enablePrefixDelegation?: pulumi.Input<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* Specifies the ENI_CONFIG_LABEL_DEF environment variable value for worker nodes. This is used to tell Kubernetes to automatically apply the ENIConfig for each Availability Zone
|
|
91
|
+
* Ref: https://docs.aws.amazon.com/eks/latest/userguide/cni-custom-network.html (step 5(c))
|
|
92
|
+
*
|
|
93
|
+
* Defaults to the official AWS CNI image in ECR.
|
|
94
|
+
*/
|
|
95
|
+
eniConfigLabelDef?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Used to configure the MTU size for attached ENIs. The valid range is from 576 to 9001.
|
|
98
|
+
*
|
|
99
|
+
* Defaults to 9001.
|
|
100
|
+
*/
|
|
101
|
+
eniMtu?: pulumi.Input<number>;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies whether an external NAT gateway should be used to provide SNAT of secondary ENI IP addresses. If set to true, the SNAT iptables rule and off-VPC IP rule are not applied, and these rules are removed if they have already been applied.
|
|
104
|
+
*
|
|
105
|
+
* Defaults to false.
|
|
106
|
+
*/
|
|
107
|
+
externalSnat?: pulumi.Input<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the file path used for logs.
|
|
110
|
+
*
|
|
111
|
+
* Defaults to "stdout" to emit Pod logs for `kubectl logs`.
|
|
112
|
+
*/
|
|
113
|
+
logFile?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Specifies the log level used for logs.
|
|
116
|
+
*
|
|
117
|
+
* Defaults to "DEBUG"
|
|
118
|
+
* Valid values: "DEBUG", "INFO", "WARN", "ERROR", or "FATAL".
|
|
119
|
+
*/
|
|
120
|
+
logLevel?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Specifies whether NodePort services are enabled on a worker node's primary network interface. This requires additional iptables rules and that the kernel's reverse path filter on the primary interface is set to loose.
|
|
123
|
+
*
|
|
124
|
+
* Defaults to true.
|
|
125
|
+
*/
|
|
126
|
+
nodePortSupport?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are `NONE` and `OVERWRITE`. For more details see the [CreateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html) API Docs.
|
|
129
|
+
*/
|
|
130
|
+
resolveConflictsOnCreate?: enums.ResolveConflictsOnCreate;
|
|
131
|
+
/**
|
|
132
|
+
* How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
|
|
133
|
+
*/
|
|
134
|
+
resolveConflictsOnUpdate?: enums.ResolveConflictsOnUpdate;
|
|
135
|
+
/**
|
|
136
|
+
* Pass privilege to containers securityContext. This is required when SELinux is enabled. This value will not be passed to the CNI config by default
|
|
137
|
+
*/
|
|
138
|
+
securityContextPrivileged?: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role.
|
|
141
|
+
*
|
|
142
|
+
* For more information, see [Amazon EKS node IAM role](https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) in the Amazon EKS User Guide.
|
|
143
|
+
*
|
|
144
|
+
* Note: To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see [Enabling IAM roles for service accounts on your cluster](https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) in the Amazon EKS User Guide.
|
|
145
|
+
*/
|
|
146
|
+
serviceAccountRoleArn?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
149
|
+
*/
|
|
150
|
+
tags?: pulumi.Input<pulumi.Input<{
|
|
151
|
+
[key: string]: pulumi.Input<string>;
|
|
152
|
+
}>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Specifies the veth prefix used to generate the host-side veth device name for the CNI.
|
|
155
|
+
*
|
|
156
|
+
* The prefix can be at most 4 characters long.
|
|
157
|
+
*
|
|
158
|
+
* Defaults to "eni".
|
|
159
|
+
*/
|
|
160
|
+
vethPrefix?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Specifies the number of free elastic network interfaces (and all of their available IP addresses) that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
163
|
+
*
|
|
164
|
+
* Defaults to 1.
|
|
165
|
+
*/
|
|
166
|
+
warmEniTarget?: pulumi.Input<number>;
|
|
167
|
+
/**
|
|
168
|
+
* Specifies the number of free IP addresses that the ipamD daemon should attempt to keep available for pod assignment on the node.
|
|
169
|
+
*/
|
|
170
|
+
warmIpTarget?: pulumi.Input<number>;
|
|
171
|
+
/**
|
|
172
|
+
* WARM_PREFIX_TARGET will allocate one full (/28) prefix even if a single IP is consumed with the existing prefix. Ref: https://github.com/aws/amazon-vpc-cni-k8s/blob/master/docs/prefix-and-ip-target.md
|
|
173
|
+
*/
|
|
174
|
+
warmPrefixTarget?: pulumi.Input<number>;
|
|
175
|
+
}
|
package/vpcCniAddon.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-gen-eks. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.VpcCniAddon = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* VpcCniAddon manages the configuration of the Amazon VPC CNI plugin for Kubernetes by leveraging the EKS managed add-on.
|
|
10
|
+
* For more information see: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
11
|
+
*/
|
|
12
|
+
class VpcCniAddon extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing VpcCniAddon resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, opts) {
|
|
22
|
+
return new VpcCniAddon(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of VpcCniAddon. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === VpcCniAddon.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create a VpcCniAddon resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name, args, opts) {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (!opts.id) {
|
|
46
|
+
if ((!args || args.clusterName === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'clusterName'");
|
|
48
|
+
}
|
|
49
|
+
resourceInputs["addonVersion"] = args ? args.addonVersion : undefined;
|
|
50
|
+
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
51
|
+
resourceInputs["clusterVersion"] = args ? args.clusterVersion : undefined;
|
|
52
|
+
resourceInputs["cniConfigureRpfilter"] = args ? args.cniConfigureRpfilter : undefined;
|
|
53
|
+
resourceInputs["cniCustomNetworkCfg"] = args ? args.cniCustomNetworkCfg : undefined;
|
|
54
|
+
resourceInputs["cniExternalSnat"] = args ? args.cniExternalSnat : undefined;
|
|
55
|
+
resourceInputs["configurationValues"] = args ? args.configurationValues : undefined;
|
|
56
|
+
resourceInputs["customNetworkConfig"] = args ? args.customNetworkConfig : undefined;
|
|
57
|
+
resourceInputs["disableTcpEarlyDemux"] = args ? args.disableTcpEarlyDemux : undefined;
|
|
58
|
+
resourceInputs["enableNetworkPolicy"] = args ? args.enableNetworkPolicy : undefined;
|
|
59
|
+
resourceInputs["enablePodEni"] = args ? args.enablePodEni : undefined;
|
|
60
|
+
resourceInputs["enablePrefixDelegation"] = args ? args.enablePrefixDelegation : undefined;
|
|
61
|
+
resourceInputs["eniConfigLabelDef"] = args ? args.eniConfigLabelDef : undefined;
|
|
62
|
+
resourceInputs["eniMtu"] = args ? args.eniMtu : undefined;
|
|
63
|
+
resourceInputs["externalSnat"] = args ? args.externalSnat : undefined;
|
|
64
|
+
resourceInputs["logFile"] = args ? args.logFile : undefined;
|
|
65
|
+
resourceInputs["logLevel"] = args ? args.logLevel : undefined;
|
|
66
|
+
resourceInputs["nodePortSupport"] = args ? args.nodePortSupport : undefined;
|
|
67
|
+
resourceInputs["resolveConflictsOnCreate"] = (_a = (args ? args.resolveConflictsOnCreate : undefined)) !== null && _a !== void 0 ? _a : "OVERWRITE";
|
|
68
|
+
resourceInputs["resolveConflictsOnUpdate"] = (_b = (args ? args.resolveConflictsOnUpdate : undefined)) !== null && _b !== void 0 ? _b : "OVERWRITE";
|
|
69
|
+
resourceInputs["securityContextPrivileged"] = args ? args.securityContextPrivileged : undefined;
|
|
70
|
+
resourceInputs["serviceAccountRoleArn"] = args ? args.serviceAccountRoleArn : undefined;
|
|
71
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
72
|
+
resourceInputs["vethPrefix"] = args ? args.vethPrefix : undefined;
|
|
73
|
+
resourceInputs["warmEniTarget"] = args ? args.warmEniTarget : undefined;
|
|
74
|
+
resourceInputs["warmIpTarget"] = args ? args.warmIpTarget : undefined;
|
|
75
|
+
resourceInputs["warmPrefixTarget"] = args ? args.warmPrefixTarget : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
const aliasOpts = { aliases: [{ type: "eks:index:VpcCni" }] };
|
|
81
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
82
|
+
super(VpcCniAddon.__pulumiType, name, resourceInputs, opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.VpcCniAddon = VpcCniAddon;
|
|
86
|
+
/** @internal */
|
|
87
|
+
VpcCniAddon.__pulumiType = 'eks:index:VpcCniAddon';
|
|
88
|
+
//# sourceMappingURL=vpcCniAddon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcCniAddon.js","sourceRoot":"","sources":["../vpcCniAddon.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,iFAAiF;;;AAEjF,yCAAyC;AA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C,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;SACN;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA3EL,kCA4EC;AA/DG,gBAAgB;AACO,wBAAY,GAAG,uBAAuB,CAAC"}
|
package/LICENSE
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|
package/README.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
[](https://github.com/pulumi/pulumi-eks/actions/workflows/master.yml)
|
|
2
|
-
[](https://slack.pulumi.com)
|
|
3
|
-
[](https://badge.fury.io/js/@pulumi%2Feks)
|
|
4
|
-
[](https://pypi.org/project/pulumi-eks)
|
|
5
|
-
[](https://badge.fury.io/nu/pulumi.eks)
|
|
6
|
-
[](https://pkg.go.dev/github.com/pulumi/pulumi-eks/sdk/go/eks)
|
|
7
|
-
|
|
8
|
-
# Pulumi Amazon Web Services (AWS) EKS Components
|
|
9
|
-
|
|
10
|
-
The Pulumi EKS library provides a Pulumi component that creates and manages the resources necessary to run an EKS Kubernetes cluster in AWS. This component exposes the Crosswalk for AWS functionality documented in the [Pulumi Elastic Kubernetes Service guide](https://www.pulumi.com/docs/guides/crosswalk/aws/eks/) as a package available in all Pulumi languages.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
This includes:
|
|
14
|
-
- The EKS cluster control plane.
|
|
15
|
-
- The cluster's worker nodes configured as node groups, which are managed by an auto scaling group.
|
|
16
|
-
- The AWS CNI Plugin [`aws-k8s-cni`](https://github.com/aws/amazon-vpc-cni-k8s/) to manage pod networking in Kubernetes.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<div>
|
|
20
|
-
<a href="https://www.pulumi.com/templates/kubernetes/aws/" title="Get Started">
|
|
21
|
-
<img src="https://www.pulumi.com/images/get-started.svg?" width="120">
|
|
22
|
-
</a>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
## Installing
|
|
26
|
-
|
|
27
|
-
This package is available in many languages in the standard packaging formats.
|
|
28
|
-
|
|
29
|
-
### Node.js (JavaScript/TypeScript)
|
|
30
|
-
|
|
31
|
-
To use from JavaScript or TypeScript in Node.js, install it using either `npm`:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
$ npm install @pulumi/eks
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
or `yarn`:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
$ yarn add @pulumi/eks
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Python
|
|
44
|
-
|
|
45
|
-
To use from Python, install using `pip`:
|
|
46
|
-
|
|
47
|
-
$ pip install pulumi_eks
|
|
48
|
-
|
|
49
|
-
### Go
|
|
50
|
-
|
|
51
|
-
To use from Go, use `go get` to grab the latest version of the library
|
|
52
|
-
|
|
53
|
-
$ go get github.com/pulumi/pulumi-eks/sdk/go
|
|
54
|
-
|
|
55
|
-
### .NET
|
|
56
|
-
|
|
57
|
-
To use from .NET, install using `dotnet add package`:
|
|
58
|
-
|
|
59
|
-
$ dotnet add package Pulumi.Eks
|
|
60
|
-
|
|
61
|
-
## References
|
|
62
|
-
|
|
63
|
-
* [Tutorial](https://www.pulumi.com/blog/easily-create-and-manage-aws-eks-kubernetes-clusters-with-pulumi/)
|
|
64
|
-
* [Reference Documentation](https://www.pulumi.com/registry/packages/eks/api-docs/)
|
|
65
|
-
* [Examples](./examples)
|
|
66
|
-
* [Crosswalk for AWS - EKS Guide](https://www.pulumi.com/docs/guides/crosswalk/aws/eks/)
|
|
67
|
-
|
|
68
|
-
## Contributing
|
|
69
|
-
|
|
70
|
-
If you are interested in contributing, please see the [contributing docs][contributing].
|
|
71
|
-
|
|
72
|
-
## Code of Conduct
|
|
73
|
-
|
|
74
|
-
Please follow the [code of conduct][code-of-conduct].
|
|
75
|
-
|
|
76
|
-
[contributing]: CONTRIBUTING.md
|
|
77
|
-
[code-of-conduct]: CODE-OF-CONDUCT.md
|
package/authenticationMode.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as aws from "@pulumi/aws";
|
|
2
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
3
|
-
import { AccessEntry, ClusterOptions, RoleMapping, UserMapping } from "./cluster";
|
|
4
|
-
export declare const CONFIG_MAP = "CONFIG_MAP";
|
|
5
|
-
export declare const API_AND_CONFIG_MAP = "API_AND_CONFIG_MAP";
|
|
6
|
-
export declare const API = "API";
|
|
7
|
-
export declare function validateAuthenticationMode(rawArgs: ClusterOptions): ClusterOptions;
|
|
8
|
-
export declare function supportsConfigMap(authenticationMode: string | undefined): boolean;
|
|
9
|
-
export declare function supportsAccessEntries(authenticationMode: string | undefined): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Creates the AWS authentication data for the aws-auth ConfigMap.
|
|
12
|
-
*
|
|
13
|
-
* @param instanceRoles - The instance roles to be mapped.
|
|
14
|
-
* @param roleMappings - The IAM role mappings to be included.
|
|
15
|
-
* @param userMappings - The IAM user mappings to be included.
|
|
16
|
-
* @returns The AWS authentication data for the aws-auth ConfigMap.
|
|
17
|
-
* @throws Error if the IAM role mappings or user mappings are invalid or cannot be serialized to YAML.
|
|
18
|
-
*/
|
|
19
|
-
export declare function createAwsAuthData(instanceRoles: pulumi.Output<aws.iam.Role[]>, roleMappings: pulumi.Input<pulumi.Input<RoleMapping>[]> | undefined, userMappings: pulumi.Input<pulumi.Input<UserMapping>[]> | undefined): pulumi.Input<{
|
|
20
|
-
[key: string]: pulumi.Input<string>;
|
|
21
|
-
}>;
|
|
22
|
-
export declare function createAccessEntries(componentName: string, clusterName: pulumi.Input<string>, accessEntries: {
|
|
23
|
-
[key: string]: AccessEntry;
|
|
24
|
-
}, opts: pulumi.CustomResourceOptions): aws.eks.AccessEntry[];
|