docs: Add comprehensive buildkit drivers documentation with Kubernetes focus#695
docs: Add comprehensive buildkit drivers documentation with Kubernetes focus#695Copilot wants to merge 8 commits into
Conversation
Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
…etes driver Co-authored-by: sozercan <852750+sozercan@users.noreply.github.com> Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
|
|
||
| Buildkit drivers are different backends that execute the build operations. Each driver has different capabilities and is suitable for different use cases: | ||
|
|
||
| - **docker**: The default driver that runs builds in the Docker daemon |
There was a problem hiding this comment.
add links to each of these drivers
There was a problem hiding this comment.
Added links to all four buildkit drivers (docker, docker-container, kubernetes, remote) pointing to their respective Docker documentation pages. eb7528b
Co-authored-by: sozercan <852750+sozercan@users.noreply.github.com> Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
There was a problem hiding this comment.
undo changes here and yarn.lock
There was a problem hiding this comment.
Reverted package-lock.json and yarn.lock changes. 70b9c7e
Co-authored-by: sozercan <852750+sozercan@users.noreply.github.com> Signed-off-by: Sertaç Özercan <852750+sozercan@users.noreply.github.com>
|
@copilot rebase |
Merged the latest |
|
@copilot All commits must include a DCO sign-off |
Adding DCO sign-off (
|
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
|
Fixed DCO issue. |
There was a problem hiding this comment.
Pull request overview
This PR adds a new Docusaurus documentation page describing Docker BuildKit driver options with a focus on using the kubernetes Buildx driver for running Dalec builds inside Kubernetes, and wires the page into the “Getting Started” sidebar.
Changes:
- Added a new
buildkit-driversdoc page underwebsite/docs/. - Updated the docs sidebar to link the new page from the “Getting Started” section.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
website/sidebars.ts |
Adds the new buildkit-drivers doc to the “Getting Started” sidebar items. |
website/docs/buildkit-drivers.md |
Introduces a new page explaining BuildKit drivers and a basic Kubernetes-driver example workflow. |
| title: Buildkit Drivers | ||
| --- | ||
|
|
||
| Dalec builds use Docker Buildkit under the hood. Buildkit supports different drivers that determine where and how builds are executed. Understanding these drivers can help you choose the right setup for your build environment, especially when building at scale or in containerized environments like Kubernetes. |
|
|
||
| ### Setting up the Kubernetes Driver | ||
|
|
||
| 2. **Create a builder instance**: |
| --use | ||
| ``` | ||
|
|
||
| 3. **Build with Dalec using the Kubernetes driver**: |
| docker buildx build \ | ||
| -t my-package:latest \ | ||
| -f my-spec.yml \ | ||
| --target=azl3 \ |
There was a problem hiding this comment.
Fixed in 22760d8 — updated the example target from azl3 to azlinux3 in website/docs/buildkit-drivers.md.
|
Ugh, needs a rebase apparently. |
invidian
left a comment
There was a problem hiding this comment.
LGTM except the steps numbering.
Adds comprehensive documentation for Docker buildkit drivers, with specific focus on the Kubernetes driver for users who want to build Dalec packages inside Kubernetes environments.
Changes Made
New Documentation
/website/docs/buildkit-drivers.md- Complete guide covering buildkit driversContent Coverage
Buildkit Drivers Overview:
Kubernetes Driver (Primary Focus):
Practical Examples:
Additional Features:
Validation
This provides users with the guidance they need to leverage Dalec's capabilities in Kubernetes environments, addressing scalability, security, and resource management concerns.
Fixes #694.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.