Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/Pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
on:
pull_request:

jobs:
run:
runs-on: [ self-hosted-k8n ]
steps:
run: echo 'Hello?'
83 changes: 83 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,85 @@
# prototype
For fast prototyping!

- https://docs.github.com/en/actions/concepts/runners/actions-runner-controller
- https://docs.github.com/en/actions/concepts/runners/support-for-arc

- https://docs.github.com/en/actions/tutorials/use-actions-runner-controller/quickstart

- https://github.com/parjong/prototype/settings/actions/runners

**STEP** Install docker

```
sudo apt install docker.io
```

**STEP** Install minikube

https://minikube.sigs.k8s.io/docs/start/?arch=%2Flinux%2Fx86-64%2Fstable%2Fdebian+package

**STEP** Install helm

```
sudo snap install --classic helm
```

**STEP** Start minikube cluster

```
minikube start
```

Check the status with
```
minikube kubectl -- get pods -A
```
**STEP**

```
helm install arc \
--namespace "arc-systems" \
--create-namespace \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller

```

**STEP** Create namespace

```
minikube kubectl -- create namespace arc-runners
```

**STEP** Create secret

https://docs.github.com/en/actions/tutorials/use-actions-runner-controller/authenticate-to-the-api#authenticating-arc-with-a-personal-access-token-classic
```
minikube kubectl -- create secret generic pre-defined-secret \
--namespace=arc-runners \
--from-literal=github_token=$GITHUB_PAT
```

**STEP**
```
helm install "self-hosted-k8n" \
--namespace "arc-runners" \
--set githubConfigUrl="https://github.com/parjong/prototype" \
--set githubConfigSecret.github_token="${GITHUB_PAT}" \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
Copy link
Owner Author

Choose a reason for hiding this comment

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

흠... 이게 왜 동작을 안할까?

```
https://github.com/actions/actions-runner-controller/blob/master/charts/gha-runner-scale-set/values.yaml

<!-- helm uninstall self-hosted-k8n --namespace arc-runners -->

```
helm list -A
Copy link
Owner Author

Choose a reason for hiding this comment

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

helm list -A

NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                                       APP VERSION
arc             arc-systems     1               2025-12-16 23:17:32.379393712 +0900 KST deployed        gha-runner-scale-set-controller-0.13.0      0.13.0
self-hosted-k8n arc-runners     1               2025-12-16 23:18:00.909885263 +0900 KST deployed        gha-runner-scale-set-0.13.0                 0.13.0

```

```
minikube kubectl -- get pods --namespace arc-runners
Copy link
Owner Author

Choose a reason for hiding this comment

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

``minikube kubectl -- get pods --namespace arc-runners

No resources found in arc-runners namespace.

흠 🤔

Copy link
Owner Author

Choose a reason for hiding this comment

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

arc-runners가 배포가 되었으니 이에 따라서 만들어야 할 것 같은데 동작을 안하네 🤔

디버깅 하는 방법을 찾아보자.

```

**Alternative**