Investigation: Use KubeVirt to provide container build and run capability inside workspace
MR: Pending
Description
Explore how we can use KubeVirt to be able to run sudo
inside the workspace and how howe we can then use it for building and running containers inside the workspace.
- https://kubevirt.io/
- https://medium.com/agoda-engineering/devops-at-agoda-how-we-move-3-million-ci-pipelines-from-vms-to-kubernetes-c05a59b60fb1
Acceptance Criteria
-
User can run sudo
commands inside the workspace - e.g.apt update
/sudo apt update
. -
User can build containers from Dockerfile inside the workspace. -
User can run a container inside the workspace. -
The solution should not result in privilege escalation.
Technical Requirements
TODO: Fill out or delete (optional) [If applicable, please list out any technical requirements for this feature/enhancement.]
Design Requirements
TODO: Fill out or delete (optional) [If applicable, please provide a link to the design specifications for this feature/enhancement.]
Impact Assessment
TODO: Fill out or delete (optional) [Please describe the impact this feature/enhancement will have on the user experience and/or the product as a whole.]
User Story
TODO: Fill out or delete (optional) [Provide a user story to illustrate the use case for this feature/enhancement. Include examples to help communicate the intended functionality.]