Skip to content

Commit

Permalink
chore(apps/actions-runner-controller): add runners for repo
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 committed Aug 29, 2023
1 parent dead5d5 commit dead59c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./runner.yaml
25 changes: 25 additions & 0 deletions apps/actions-runner-controller/runners/home-cluster/runner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: home-cluster-runner
namespace: apps
spec:
template:
spec:
repository: invakid404/home-cluster
dockerMTU: 1400
---
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
name: home-cluster-runner-autoscaler
namespace: apps
spec:
scaleTargetRef:
name: home-cluster-runner
minReplicas: 0
maxReplicas: 3
scaleUpTriggers:
- githubEvent:
workflowJob: {}
duration: "30m"
1 change: 1 addition & 0 deletions apps/actions-runner-controller/runners/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./home-cluster
- ./abcccid
- ./invablog

0 comments on commit dead59c

Please sign in to comment.