Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: prepare separation of node installers #603

Closed
wants to merge 2 commits into from

Conversation

msanft
Copy link
Contributor

@msanft msanft commented Jun 18, 2024

To support multiple deployment "flavours" (i.e. AKS and bare-metal QEMU on TDX), we need to provide separate node installer deployments, as both deployment scenarios require different components to be installed on the hosts. This prepares this separation, by moving the Microsoft-specific runtime-class-files into the microsoft package set, and including the "flavour" of the deployment in the node installer image name.

@msanft msanft added the no changelog PRs not listed in the release notes label Jun 18, 2024
@msanft msanft requested a review from katexochen as a code owner June 18, 2024 14:52
@msanft msanft force-pushed the msanft/runtime-class-files-msft branch 3 times, most recently from 277f877 to ebdbf1a Compare June 19, 2024 07:42
This migrates the runtime-class-files to the new directory structure, as they only contain Microsoft-specific components and thus should not live in the shared space.
@msanft msanft force-pushed the msanft/runtime-class-files-msft branch from ebdbf1a to 53a71bf Compare June 19, 2024 07:47
@katexochen katexochen self-assigned this Jun 19, 2024
This also pulls out the node installer image to the new directory structure, as it also only holds Microsoft-specific components. A future refactoring should make this share the lowest layer (i.e. the node installer binary itself) between flavour-specific node installers.
@msanft msanft force-pushed the msanft/runtime-class-files-msft branch from 53a71bf to 07b653f Compare June 19, 2024 09:47
Copy link
Member

@katexochen katexochen left a comment

Choose a reason for hiding this comment

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

Commit title should not end with a dot.

@@ -48,7 +48,7 @@ jobs:
just get-credentials
- name: Build and prepare deployments
run: |
just node-installer
just microsoft-node-installer
Copy link
Member

Choose a reason for hiding this comment

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

please change to node-installer-microsoft, which is more intuitive for tab completion.

@@ -42,12 +42,12 @@ func NodeInstaller(namespace string) *NodeInstallerConfig {
).
WithTemplate(PodTemplateSpec().
WithLabels(map[string]string{"app.kubernetes.io/name": name}).
WithAnnotations(map[string]string{"contrast.edgeless.systems/pod-role": "contrast-node-installer"}).
WithAnnotations(map[string]string{"contrast.edgeless.systems/pod-role": "contrast-node-installer-microsoft"}).
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to change this?

@msanft
Copy link
Contributor Author

msanft commented Jun 20, 2024

Closing in favor of #611

@msanft msanft closed this Jun 20, 2024
@msanft msanft deleted the msanft/runtime-class-files-msft branch December 9, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants