feat: deploy ARM worker
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f23bd9b9ee
commit
09f4dcaf71
3 changed files with 41 additions and 2 deletions
|
@ -176,9 +176,18 @@
|
||||||
|
|
||||||
- name: Deploy Drone runner chart
|
- name: Deploy Drone runner chart
|
||||||
kubernetes.core.helm:
|
kubernetes.core.helm:
|
||||||
name: drone-kube-runner
|
name: drone-kube-runner-x86-64
|
||||||
chart_ref: drone/drone-runner-docker
|
chart_ref: drone/drone-runner-docker
|
||||||
release_namespace: drone
|
release_namespace: drone
|
||||||
chart_version: 0.6.0
|
chart_version: 0.6.0
|
||||||
update_repo_cache: true
|
update_repo_cache: true
|
||||||
release_values: "{{ lookup('template', 'values.drone-runner-docker.yml.j2') | from_yaml }}"
|
release_values: "{{ lookup('template', 'values.drone-runner-docker.x86_64.yml.j2') | from_yaml }}"
|
||||||
|
|
||||||
|
- name: Deploy Drone runner chart
|
||||||
|
kubernetes.core.helm:
|
||||||
|
name: drone-kube-runner-arm64
|
||||||
|
chart_ref: drone/drone-runner-docker
|
||||||
|
release_namespace: drone
|
||||||
|
chart_version: 0.6.0
|
||||||
|
update_repo_cache: true
|
||||||
|
release_values: "{{ lookup('template', 'values.drone-runner-docker.arm64.yml.j2') | from_yaml }}"
|
|
@ -22,3 +22,6 @@ affinity:
|
||||||
values:
|
values:
|
||||||
- drone-runner-docker
|
- drone-runner-docker
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/arch: arm64
|
|
@ -0,0 +1,27 @@
|
||||||
|
image:
|
||||||
|
tag: 1.8.3
|
||||||
|
|
||||||
|
extraSecretNamesForEnvFrom:
|
||||||
|
- drone-runner-secrets
|
||||||
|
|
||||||
|
env:
|
||||||
|
DRONE_RUNNER_PRIVILEGED_IMAGES: code.icb4dc0.de/inetmock/inetmock
|
||||||
|
DRONE_RPC_HOST: drone.drone.svc.cluster.local:8080
|
||||||
|
DRONE_RPC_PROTO: http
|
||||||
|
DRONE_RUNNER_CAPACITY: 1
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- drone-runner-docker
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/arch: amd64
|
Loading…
Reference in a new issue