Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Alicloud: enable customized image sharing #427

Merged
merged 1 commit into from
Nov 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ data:
{{- if .Values.config.machineImages }}
machineImages:
{{ toYaml .Values.config.machineImages | indent 4 }}
{{- end }}
{{- if .Values.config.machineImageOwnerSecret }}
machineImageOwnerSecretRef:
name: {{ .Values.config.machineImageOwnerSecret.name }}
namespace: {{ .Release.Namespace }}
{{- end }}
etcd:
storage:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If .Values.config.machineImageOwnerSecret is not set, let's not create the secret.

metadata:
name: {{ .Values.config.machineImageOwnerSecret.name }}
namespace: {{ .Release.Namespace }}
data:
accessKeyID: {{ .Values.config.machineImageOwnerSecret.accessKeyID }}
accessKeySecret: {{ .Values.config.machineImageOwnerSecret.accessKeySecret }}
type: Opaque
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ config:
capacity: 25Gi
# backup:
# schedule: "0 */24 * * *"
machineImageOwnerSecret:
name: machine-image-owner
accessKeyID: ZHVtbXk=
accessKeySecret: ZHVtbXk=
Comment on lines +65 to +68
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mark them off. Otherwise, it will be used as an default value.


gardener:
seed:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func NewControllerManagerCommand(ctx context.Context) *cobra.Command {
}

configFileOpts.Completed().ApplyMachineImages(&alicloudworker.DefaultAddOptions.MachineImages)
configFileOpts.Completed().ApplyMachineImages(&alicloudinfrastructure.DefaultAddOptions.MachineImages)
configFileOpts.Completed().ApplyMachineImageOwnerSecretRef(&alicloudinfrastructure.DefaultAddOptions.MachineImageOwnerSecretRef)
configFileOpts.Completed().ApplyETCDStorage(&alicloudcontrolplaneexposure.DefaultAddOptions.ETCDStorage)
configFileOpts.Completed().ApplyETCDBackup(&alicloudcontrolplanebackup.DefaultAddOptions.ETCDBackup)
backupBucketCtrlOpts.Completed().Apply(&alicloudbackupbucket.DefaultAddOptions.Controller)
Expand Down
77 changes: 77 additions & 0 deletions controllers/provider-alicloud/docs/usage-as-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ The [`core.gardener.cloud/v1alpha1.CloudProfile` resource](https://github.com/ga

In this document we are describing how this configuration looks like for Alicloud and provide an example `CloudProfile` manifest with minimal configuration that you can use to allow creating Alicloud shoot clusters.

In addition, this document also describes how to enable the use of customized machine images for Alicloud.

## `CloudProfileConfig`

The cloud profile configuration contains information about the real machine image IDs in the Alicloud environment (AMIs).
Expand Down Expand Up @@ -67,3 +69,78 @@ spec:
- name: eu-central-1
id: coreos_2023_4_0_64_30G_alibase_20190319.vhd
```

## Enable customized machine images for the Alicloud extension

Customized machine images can be created for an Alicloud account and shared with other Alicloud accounts. The same customized machine image has different image ID in different regions on Alicloud. Administrators/Operators need to explicitly declare them per imageID per region as below:

```yaml
machineImages:
- name: customized_coreos
regions:
- imageID: <image_id_in_eu_central_1>
region: eu-central-1
- imageID: <image_id_in_cn_shanghai>
region: cn-shanghai
...
version: 2191.4.1
...
```

End-users have to have the permission to use the customized image from its creator Alicloud account. To enable end-users to use customized images, the images are shared from Alicloud account of Seed operator with end-users' Alicloud accounts. Administrators/Operators need to explicitly provide Seed operator's Alicloud account access credentials (base64 encoded) as below:

```yaml
machineImageOwnerSecret:
name: machine-image-owner
accessKeyID: <base64_encoded_access_key_id>
accessKeySecret: <base64_encoded_access_key_secret>
```

As a result, a Secret named `machine_image_owner` by default will be created in namespace of Alicloud provider extension.
EmoinLanyu marked this conversation as resolved.
Show resolved Hide resolved

## Example `ControllerRegistration` manifest for enabling customized machine images

```yaml
apiVersion: core.gardener.cloud/v1alpha1
kind: ControllerRegistration
metadata:
name: extension-provider-alicloud
spec:
deployment:
type: helm
providerConfig:
chart: |
H4sIFAAAAAAA/yk...
values:
config:
machineImageOwnerSecret:
accessKeyID: <base64_encoded_access_key_id>
accessKeySecret: <base64_encoded_access_key_secret>
machineImages:
- name: customized_coreos
regions:
- imageID: <image_id_in_eu_central_1>
region: eu-central-1
- imageID: <image_id_in_cn_shanghai>
region: cn-shanghai
...
version: 2191.4.1
...
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
memory: 128Mi
resources:
- kind: BackupBucket
type: alicloud
- kind: BackupEntry
type: alicloud
- kind: ControlPlane
type: alicloud
- kind: Infrastructure
type: alicloud
- kind: Worker
type: alicloud
```
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
deployment:
type: helm
providerConfig:
chart: H4sIAAAAAAAAA+0cf2/btnJ/+1MQ3nvANtSyZTvJ6oc9PDfJOmNtEiRZi2EYAlqibS2yqFFUUq/bd393JCXrl604SdO107VAZJJ3PJLH493xpFDwG89lokN9z/F57Ha/eHToARzs7am/AMW/6tkeDO3+Xn9/H8vtgX1w8AXZe3xWyhBHkgpCvhCcy23t6uo/UQhL63+4oEJaK7r0H6uPuvXv9w8K679nD3pfkN5jMbAN/uHrT0PvDRORx4MRubFbNAzTn7ZlW72Oy25aLosc4YVSFY/JD8xfEgfFhMy4IHLByEsqXBYwQcZGjMiZESzC3kkWIMVWQJdsREoS17op9/ixp+UfA+X973LHmvPH7KNm//ft3n5h/w/7B3vN/n8K6HbJIQ9XwpsvJPnK+Zr0e/ZzcjE+IxfHBDY3DdQPOpt5vkclIw5fhjRYWbDTfaLQIiJYxMQNcy1yufAiAk0Zgb8gUbDzmUviABUB6olxSB34c8Fn8pYKRl7pJs/IjUX6oCocFkpCIxJwCXgcUMStFwG1QKG/mhwenwBj2EOr24X/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gsa31JqtIT8Un0lyT5yZuh/JwkKgY0jlTSusxnlnWEqPk+zyz9zBXzeIIWaGeVsZn9OPH4pLOgGIzrTGLXczqSdOeIw8KE8od5Fe2sQCXSxPnMY1erlzcK16ALZ3+g0aTwtPtmt60Lsr8ObpkfPu9RWaVRtf/9AkfWUxWmabZauWjjsKXSl5McdIxdtuy0qvp5edXjcv1Twdio82vE/URWVw+9K1vIJ9hWV2Wa6vfRVh+/Fp4hZ7N2Q8aj1Q8F5sbb6/b65sBU9DCbIs1rNpTg4tWPonCFba8GV92r/cFVv/vqSjpJEbvC36ju9q3n5s1cUU8o4RgMWH4xB2tCGFaJqQIv1nMLeLE28rIwxMDvPg97nNPpc/p89tt769tpXberx8iFp8iZh8j5tBtjSiORNEqfG/f2XrlSMpReGyYirpLM0Ubpkm86vQH5Bv+1W2tfZg8z5lDyQy1yjAbHRqnYpNdv//v+rZj89/pFvia5UEtr09+KVILK9KgTu2LlQaupz7neQ/Rr/9LmVQMNNNBAAw000EADDTTQQAMNNNBAAw08KfwfxVCPaQB4AAA=
values:
image:
tag: 1.1.0-dev
21 changes: 20 additions & 1 deletion controllers/provider-alicloud/hack/api-reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,32 @@ string
<td>
</td>
</tr>
<tr>
<td>
<code>machineImages</code></br>
<em>
<a href="#alicloud.provider.extensions.gardener.cloud/v1alpha1.MachineImage">
[]MachineImage
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>MachineImages is a list of machine images that have been used in this infrastructure. Usually, the extension controller
gets the mapping from name/version to the provider-specific machine image data in its componentconfig. However, if
a version that is still in use gets removed from this componentconfig and Shoot&rsquo;s access to the this version is revoked,
it cannot reconcile anymore existing <code>Infrastructure</code> resources that are still using this version. Hence, it stores
the used versions in the provider status to ensure reconciliation is possible.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="alicloud.provider.extensions.gardener.cloud/v1alpha1.MachineImage">MachineImage
</h3>
<p>
(<em>Appears on:</em>
<a href="#alicloud.provider.extensions.gardener.cloud/v1alpha1.WorkerStatus">WorkerStatus</a>)
<a href="#alicloud.provider.extensions.gardener.cloud/v1alpha1.WorkerStatus">WorkerStatus</a>,
<a href="#alicloud.provider.extensions.gardener.cloud/v1alpha1.InfrastructureStatus">InfrastructureStatus</a>)
</p>
<p>
<p>MachineImage is a mapping from logical names and versions to provider-specific machine image data.</p>
Expand Down
14 changes: 14 additions & 0 deletions controllers/provider-alicloud/hack/api-reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ logical names and versions to Alicloud-specific identifiers.</p>
</tr>
<tr>
<td>
<code>machineImageOwnerSecretRef</code></br>
<em>
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.15/#secretreference-v1-core">
Kubernetes core/v1.SecretReference
</a>
</em>
</td>
<td>
<p>MachineImageOwnerSecretRef is the secret reference which contains credential of AliCloud subaccount for customized images.
We currently assume multiple customized images should always be under this account.</p>
</td>
</tr>
<tr>
<td>
<code>etcd</code></br>
<em>
<a href="#alicloud.provider.extensions.config.gardener.cloud/v1alpha1.ETCD">
Expand Down
Loading