generated from GSA/template-brokerpak
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy patheks-service-definition.yml
246 lines (234 loc) · 16.6 KB
/
eks-service-definition.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
version: 1
name: aws-eks-service
id: 497326e5-a514-4eec-a3e3-5c755da9a866
description: Provision AWS EKS clusters for use with your own Kubernetes workloads
display_name: Amazon EKS Kubernetes
image_url: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAuAAAAKoBAMAAADE+1c7AAAAD1BMVEWYo+pPhPTV3PhAUtc4fvrYrdIhAAAAA3RSTlNG7wBXh9qPAAAWx0lEQVR42u3dbXqqPBAG4EQ2gOICgn0XoHUFXJf7X9N7atFCvsjHECbyzL/T06rcjpMhCSguiKIhQABwgCMADnAEwAGOADjAAY4AOMARAAc4AuAABzgC4ABHABzgCIADHOAIgAMcAXCAIwAOcIAjAA5wBMABjgA4wAGOADjAEQAHOALgAAc4AuAARwAc4AiAAxzgCIADHAFwgCMADnCAIwAOcATAAY4AOMABjgA4wBEABzgC4AAHOALgAEcAHOAIgAMc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VORK5CYII=
documentation_url: https://github.com/GSA/eks-brokerpak
support_url: https://github.com/GSA/eks-brokerpak/issues
plan_updateable: true
tags: [kubernetes, k8s, amazon, aws, eks]
plans:
- name: raw
id: f921da02-d9b3-403d-b41f-223f2e61a861
description: Raw AWS EKS deployment
display_name: Raw
bullets:
- Simplest possible deployment
- Ingress controller, but no dashboard, metrics, etc.
free: true
properties: {}
provision:
plan_inputs: []
user_inputs:
- field_name: subdomain
required: false
type: string
constraints:
maxLength: 64
minLength: 2
pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$
default: ${str.truncate(64, "${request.instance_id}")}
details: A subdomain to use for the cluster instance. Default is the instance ID. Make sure the name meets AWS requirements (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html)
- field_name: use_hardened_ami
type: boolean
required: false
details: "Specify whether we want to use the GSA hardened AMI."
- field_name: write_kubeconfig
type: boolean
details: "Specify whether the cluster kubeconfig is written during provisioning. (This is an operator debugging aid.)"
- field_name: mng_desired_capacity
required: false
type: number
details: "The desired steady-state capacity of the managed node group (desired number of running instances)"
- field_name: mng_min_capacity
required: false
type: number
details: "The minimum required capacity of the managed node group (minimum number of running instances)"
- field_name: mng_max_capacity
required: false
type: number
details: "The maximum allowed capacity of the managed node group (maximum number of running instances)"
- field_name: mng_instance_types
required: false
type: array
details: "A list of the desired AWS Compute types that the nodes will be launched with (e.g. [\"m5.large\"])"
- field_name: single_az
required: false
type: boolean
details: "Specify whether the managed node group should span only a single availability zone"
- field_name: control_plane_ingress_cidrs
required: false
type: array
details: "Specify which IP Ranges can access the k8s Control Plane/Admin Server (ex. [\"x.x.x.x/x\", ...])"
computed_inputs:
- name: instance_name
required: true
type: string
default: ${request.instance_id}
- name: labels
default: ${json.marshal(request.default_labels)}
overwrite: true
type: object
- name: zone
type: string
details: "The Route53 zone in which to create k8s instances"
overwrite: true
default: ${config("aws.zone")}
- name: region
type: string
details: "The AWS region in which to create k8s instances"
overwrite: true
default: ${config("aws.default_region")}
- name: write_kubeconfig
type: boolean
overwrite: true
default: false
- name: mng_desired_capacity
type: number
default: 1
overwrite: true
- name: use_hardened_ami
type: boolean
default: false
overwrite: true
- name: mng_min_capacity
type: number
default: 1
overwrite: true
- name: mng_max_capacity
type: number
default: 1
overwrite: true
- name: mng_instance_types
type: array
default: ["m5.large"]
overwrite: true
- name: single_az
type: boolean
default: false
overwrite: true
- name: control_plane_ingress_cidrs
type: array
default: ["52.222.122.97/32", "52.222.123.172/32"]
overwrite: true
outputs:
- field_name: domain_name
required: true
type: string
details: The primary domain name to use for external ingress
- field_name: cluster-id
required: true
type: string
details: The cluster id for the eks cluster
- field_name: certificate_authority_data
required: true
type: string
details: The cluster CA Certificate for authentication of the eks cluster
- field_name: server
required: true
type: string
details: The main endpoint for the eks cluster
- field_name: token
required: true
type: string
details: The cluster token for authentication of the eks cluster user
template_refs:
# These files make up the provision module (AWS resources)
cluster-dns: terraform/modules/provision-aws/cluster-dns.tf
crds: terraform/modules/provision-aws/crds.tf
data: terraform/modules/provision-aws/data.tf
eks: terraform/modules/provision-aws/eks.tf
external-dns: terraform/modules/provision-aws/external-dns.tf
ingress: terraform/modules/provision-aws/ingress.tf
main: terraform/modules/provision-aws/main.tf
outputs: terraform/modules/provision-aws/outputs.tf
persistent-storage: terraform/modules/provision-aws/persistent-storage.tf
variables: terraform/modules/provision-aws/variables.tf
versions: terraform/modules/provision-aws/versions.tf
vpc: terraform/modules/provision-aws/vpc.tf
maintenance: terraform/modules/provision-aws/maintenance.tf
managed-node-groups: terraform/modules/provision-aws/managed-node-groups.tf
# Since these modules are being used as a root module in the brokerpak,
# these files add the necessary provider configuration.
provider-aws: terraform/modules/provision-aws/providers/provider-aws.tf
provider-kubernetes: terraform/modules/provision-aws/providers/provider-kubernetes.tf
provider-helm: terraform/modules/provision-aws/providers/provider-helm.tf
# This file sets provision-k8s locals based on internal/output values from provision-aws
k8s-locals: terraform/modules/provision-aws/locals/k8s-locals.tf
# These files make up the provision module (k8s/helm resources)
k8s-admin-account: terraform/modules/provision-k8s/k8s-admin-account.tf
k8s-autoscaler: terraform/modules/provision-k8s/k8s-autoscaler.tf
k8s-external-dns: terraform/modules/provision-k8s/k8s-external-dns.tf
k8s-logging: terraform/modules/provision-k8s/k8s-logging.tf
k8s-network-policy: terraform/modules/provision-k8s/k8s-network-policy.tf
k8s-outputs: terraform/modules/provision-k8s/k8s-outputs.tf
k8s-persistent-storage: terraform/modules/provision-k8s/k8s-persistent-storage.tf
k8s-scanning: terraform/modules/provision-k8s/k8s-scanning.tf
# EXPLICITLY OMITTED; these are only useful for submodule usage
# terraform/modules/provision-aws/standalone-outputs.tf
# terraform/modules/provision-k8s/standalone-variables.tf
# terraform/modules/provision-k8s/standalone-versions.tf
# EXPLICITLY OMITTED; thse are only useful when running terraform directly
# terraform/modules/provision-k8s/kubernetes.tf
bind:
plan_inputs: []
user_inputs: []
computed_inputs:
- name: instance_name
default: ${request.instance_id}
required: true
overwrite: true
type: string
- name: server
default: ${instance.details["server"]}
required: true
overwrite: true
type: string
- name: certificate_authority_data
default: ${instance.details["certificate_authority_data"]}
required: true
overwrite: true
type: string
- name: token
default: ${instance.details["token"]}
required: true
overwrite: true
type: string
outputs:
- field_name: kubeconfig
required: true
type: string
details: A standalone kubeconfig for administering the created namespace
- field_name: server
required: true
type: string
details: The kubernetes service endpoint
- field_name: token
required: true
type: string
details: An authentication token for a service account in the namespace
- field_name: namespace
required: true
type: string
details: The name of the namespace that was created
- field_name: certificate_authority_data
required: true
type: string
details: The CA data for the kubernetes endpoint
template_refs:
data: terraform/modules/bind/data.tf
main: terraform/modules/bind/main.tf
outputs: terraform/modules/bind/outputs.tf
variables: terraform/modules/bind/variables.tf
versions: terraform/modules/bind/versions.tf
# Since this module is being used as a root module in the brokerpak, this file adds the necessary provider
provider-kubernetes: terraform/modules/bind/providers/provider-kubernetes.tf
examples:
- name: Demonstrate provisioning and binding the "raw" plan
description: |
Provision an EKS cluster, then bind to get a kubeconfig
providing access to a namespace.
plan_id: f921da02-d9b3-403d-b41f-223f2e61a861
provision_params: {}
bind_params: {}