From 044adf17aa177282b55b450d4dae56e023444678 Mon Sep 17 00:00:00 2001
From: Byungheong Jeong <byungheon.jeong@gmail.com>
Date: Mon, 13 Jul 2020 17:28:37 -0700
Subject: [PATCH] Update kerasDeloyment.yaml

---
 kerasDeloyment.yaml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/kerasDeloyment.yaml b/kerasDeloyment.yaml
index cb88811..bc88900 100644
--- a/kerasDeloyment.yaml
+++ b/kerasDeloyment.yaml
@@ -44,12 +44,12 @@ spec:
           persistentVolumeClaim:
             claimName: modeltraining
             
-    #   affinity:
-    #     nodeAffinity:
-    #       requiredDuringSchedulingIgnoredDuringExecution:
-    #         nodeSelectorTerms:
-    #         - matchExpressions:
-    #           - key: gpu-type
-    #             operator: In # Use NotIn for other types
-    #             values:
-    #             - V100
+      affinity:
+        nodeAffinity:
+          requiredDuringSchedulingIgnoredDuringExecution:
+            nodeSelectorTerms:
+            - matchExpressions:
+              - key: gpu-type
+                operator: In # Use NotIn for other types
+                values:
+                - V100
-- 
GitLab