event-processor: request amd64 arch
diff --git a/events/processor.go b/events/processor.go
index d4bbc6c..4ece5e6 100644
--- a/events/processor.go
+++ b/events/processor.go
@@ -83,7 +83,8 @@
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("event-%s", id)},
Spec: apiv1.PodSpec{
- RestartPolicy: apiv1.RestartPolicyAlways,
+ RestartPolicy: apiv1.RestartPolicyIfNotPresent,
+ NodeSelector: map[string]string{"kubernetes.io/arch", "amd64"},
Containers: []apiv1.Container{{
Name: "event",
Image: "giolekva/face-detector:latest",