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
|
||||
name: build-amd64
|
||||
|
||||
# node_selector:
|
||||
# beta.kubernetes.io/arch: amd64
|
||||
node_selector:
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
tolerations:
|
||||
- key: kubernetes.io/arch
|
||||
value: amd64
|
||||
operator: "Equal"
|
||||
# tolerations:
|
||||
# - key: kubernetes.io/arch
|
||||
# value: amd64
|
||||
# operator: "Equal"
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
|
@ -26,8 +26,8 @@ kind: pipeline
|
|||
type: kubernetes
|
||||
name: build-arm64
|
||||
|
||||
# node_selector:
|
||||
# beta.kubernetes.io/arch: arm64
|
||||
node_selector:
|
||||
kubernetes.io/arch: arm64
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
|
|
Reference in New Issue