Skip to content

Commit 4066efb

Browse files
kirilldorryaroslav8765
authored andcommitted
add build time comparison table
1 parent 8f16bae commit 4066efb

File tree

1 file changed

+7
-0
lines changed
  • adminforth/documentation/blog/2025-11-04-k3s-ec2-deployment

1 file changed

+7
-0
lines changed

adminforth/documentation/blog/2025-11-04-k3s-ec2-deployment/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,13 @@ resource "null_resource" "docker_build_and_push" {
299299
}
300300
```
301301

302+
This file contains a script that builds the Docker image locally. This is done for more flexible deployment. When changing the program code, there is no need to manually update the image on EC2 or in the repository. It is updated automatically with each terraform apply. Below is a table showing the time it takes to build this image from scratch and with minimal changes.
303+
304+
| Feature |
305+
| --- | --- |
306+
| Initial build time\* | 0m45.445s |
307+
| Rebuild time (changed `index.ts`)\* | 0m26.757s |
308+
302309
Also, `resvpc.tf`
303310

304311
```hcl title="deploy/terraform/resvpc.tf"

0 commit comments

Comments
 (0)