Skip to content

Commit 0a268f6

Browse files
committed
Add file mode change in branch sandboxing blog
1 parent 809e6f2 commit 0a268f6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • adminforth/documentation/blog/2026-06-01-branch-sandboxing-k3s

adminforth/documentation/blog/2026-06-01-branch-sandboxing-k3s/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,12 @@ docker push "${IMAGE_FULL_TAG}"
436436
echo "LOG: Sandbox image build and push complete. IMAGE_FULL_TAG=${IMAGE_FULL_TAG}"
437437
```
438438

439+
After this
440+
441+
```bash
442+
chmod +x deploy/sandboxing/build-and-push-sandbox.sh
443+
```
444+
439445
Here, you should pay attention to the **APP_SOURCE_CODE_PATH** variable and make sure it correctly points to the directory containing your source code and Dockerfile. Also, if necessary, repeat the `docker build` and `docker push` steps for the number of images you need.
440446

441447
Next, we need to configure the autoscaler. In the `deploy/sandboxing` directory, create a file named `deploy/sandboxing/manage-autoscaler.sh`:
@@ -577,6 +583,12 @@ elif [[ "$ACTION" == "uninstall" ]]; then
577583
fi
578584
```
579585

586+
And
587+
588+
```bash
589+
chmod +x deploy/sandboxing/manage-autoscaler.sh
590+
```
591+
580592
When running this specific script, we’ll activate the sandbox for our repository with just a single command.
581593

582594
Next is a file designed to address a problem that may seem minor at first glance but is actually very important: resource limits. Since we’re working with Kubernetes and AWS ASG, this is a mandatory requirement. When configuring a Kubernetes manifest or Helm chart, engineers do not always specify resource limits, and this is a common practice. However, because of this, the autoscaler—which is responsible for creating new instances—will not recognize the need for that new instance because it will not know even the approximate amount of resources being used.

0 commit comments

Comments
 (0)