adding new specs

This commit is contained in:
dhaval055
2023-10-09 21:00:14 +00:00
parent b0a3eaf228
commit 772b1d3693
8 changed files with 786 additions and 3 deletions
+4 -3
View File
@@ -614,9 +614,10 @@ func deployWorker(image string, identifier string, env []string, executionReques
Spec: corev1.PodSpec{
RestartPolicy: "Never",
// once images is pushed, we can remove this
NodeSelector: map[string]string{
"node": "master",
},
// keep this when running locally
// NodeSelector: map[string]string{
// "node": "master",
// },
Containers: []corev1.Container{
{
Name: identifier,