it just works
This commit is contained in:
parent
f382a90709
commit
af7ddf9661
1 changed files with 11 additions and 3 deletions
|
|
@ -12,21 +12,29 @@
|
||||||
# sudo usermod -aG microk8s $USER
|
# sudo usermod -aG microk8s $USER
|
||||||
# sudo chown -f -R $USER ~/.kube
|
# sudo chown -f -R $USER ~/.kube
|
||||||
|
|
||||||
|
|
||||||
|
# if you need to uninstall first
|
||||||
|
helm uninstall arc -n arc-systems
|
||||||
echo "=== Install Scale Set ARC Controller ==="
|
echo "=== Install Scale Set ARC Controller ==="
|
||||||
helm install arc \
|
helm install arc \
|
||||||
--namespace arc-systems \
|
--namespace arc-systems \
|
||||||
--create-namespace \
|
--create-namespace \
|
||||||
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
|
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
|
||||||
|
|
||||||
|
helm uninstall mealcraft-runners -n arc-systems
|
||||||
|
|
||||||
echo "=== Install MealCraft Runner Scale Set ==="
|
echo "=== Install MealCraft Runner Scale Set ==="
|
||||||
helm install mealcraft-runners \
|
helm install mealcraft-runners \
|
||||||
--namespace arc-systems \
|
--namespace arc-systems \
|
||||||
|
--set runnerScaleSetName=mealcraft-runners \
|
||||||
|
--set runnerLabels[0]=mealcraft-runners \
|
||||||
|
--set githubConfigUrl=https://github.com/MealCraft \
|
||||||
|
--set githubConfigSecret.github_token=$GITHUB_PAT \
|
||||||
|
--set githubConfigSecret.name=github-secret \
|
||||||
|
--set containerMode.type=kubernetes \
|
||||||
--set containerMode.kubernetesModeWorkVolumeClaim.accessModes[0]=ReadWriteOnce \
|
--set containerMode.kubernetesModeWorkVolumeClaim.accessModes[0]=ReadWriteOnce \
|
||||||
--set containerMode.kubernetesModeWorkVolumeClaim.storageClassName=microk8s-hostpath \
|
--set containerMode.kubernetesModeWorkVolumeClaim.storageClassName=microk8s-hostpath \
|
||||||
--set containerMode.kubernetesModeWorkVolumeClaim.resources.requests.storage=1Gi \
|
--set containerMode.kubernetesModeWorkVolumeClaim.resources.requests.storage=1Gi \
|
||||||
--set githubConfigUrl=https://github.com/MealCraft \
|
|
||||||
--set githubConfigSecret.github_token=$GITHUB_PAT \
|
|
||||||
--set containerMode.type=dind \
|
|
||||||
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
|
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue