use node_selector
This commit is contained in:
parent
a7efc524ce
commit
4da629e35c
16
.drone.yml
16
.drone.yml
|
@ -3,13 +3,13 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build-amd64
|
name: build-amd64
|
||||||
|
|
||||||
# node_selector:
|
node_selector:
|
||||||
# beta.kubernetes.io/arch: amd64
|
kubernetes.io/arch: amd64
|
||||||
|
|
||||||
tolerations:
|
# tolerations:
|
||||||
- key: kubernetes.io/arch
|
# - key: kubernetes.io/arch
|
||||||
value: amd64
|
# value: amd64
|
||||||
operator: "Equal"
|
# operator: "Equal"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
@ -26,8 +26,8 @@ kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: build-arm64
|
name: build-arm64
|
||||||
|
|
||||||
# node_selector:
|
node_selector:
|
||||||
# beta.kubernetes.io/arch: arm64
|
kubernetes.io/arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
|
Reference in New Issue