Skip to content

Commit

Permalink
Force EKS K8 instance to always pull the latest from docker hub and I…
Browse files Browse the repository at this point in the history
… did need to change the gradle job for server since it is no longer server-site
  • Loading branch information
Andrew Quijano committed Jun 24, 2023
1 parent 200d554 commit a122e7b
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_01_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-01-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_02_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-02-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_03_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-03-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_04_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-04-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_05_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-05-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_06_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-06-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_07_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-07-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_08_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-08-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_09_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-09-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
1 change: 0 additions & 1 deletion eks-config/k8/level_sites/level_site_10_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ spec:
containers:
- name: ppdt-level-site-10-deploy
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9000
env:
Expand Down
2 changes: 1 addition & 1 deletion eks-config/k8/server/server_training_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
image: andrewquijano92/ppdt
imagePullPolicy: IfNotPresent
command: ["/bin/sh"]
args: ["-c", "gradle run -PchooseRole=weka.finito.server_site --args /data/hypothyroid.arff"]
args: ["-c", "gradle run -PchooseRole=weka.finito.server --args /data/hypothyroid.arff"]
env:
- name: TREE_ROLE
value: "SERVER"
Expand Down
2 changes: 1 addition & 1 deletion k8/server/server_training_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
image: ppdt:experiment
imagePullPolicy: IfNotPresent
command: ["/bin/sh"]
args: ["-c", "gradle run -PchooseRole=weka.finito.server_site --args /data/hypothyroid.arff"]
args: ["-c", "gradle run -PchooseRole=weka.finito.server --args /data/hypothyroid.arff"]
env:
- name: TREE_ROLE
value: "SERVER"
Expand Down

0 comments on commit a122e7b

Please sign in to comment.