diff --git a/libs/curlpp b/libs/curlpp index d845f2e..3fa83ba 160000 --- a/libs/curlpp +++ b/libs/curlpp @@ -1 +1 @@ -Subproject commit d845f2eb15d13ac6bff92c067840375f3bde19e8 +Subproject commit 3fa83ba2999e6f0eee098accf280f4b7653f32e8 diff --git a/libs/nlohmann_json b/libs/nlohmann_json index 9cca280..5d27543 160000 --- a/libs/nlohmann_json +++ b/libs/nlohmann_json @@ -1 +1 @@ -Subproject commit 9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03 +Subproject commit 5d2754306d67d1e654a1a34e1d2e74439a9d53b3 diff --git a/libs/yaml-cpp b/libs/yaml-cpp index c7639e8..db03655 160000 --- a/libs/yaml-cpp +++ b/libs/yaml-cpp @@ -1 +1 @@ -Subproject commit c7639e81d5f00a5b47a2c9bd668f10d74b949071 +Subproject commit db03655d58c66f31952c772718d0394eac2e5481 diff --git a/src/kubecontrol/KubePod.cpp b/src/kubecontrol/KubePod.cpp index 992e527..3237f6b 100644 --- a/src/kubecontrol/KubePod.cpp +++ b/src/kubecontrol/KubePod.cpp @@ -193,7 +193,7 @@ namespace kubecontrol node["spec"]["containers"][0]["command"].push_back(PodCommand_); } - node["spec"]["terminationGracePeriodSeconds"] = 10; + node["spec"]["terminationGracePeriodSeconds"] = 5; node["spec"]["restartPolicy"] = "Never"; @@ -233,6 +233,10 @@ namespace kubecontrol } } + else { + std::this_thread::sleep_for(std::chrono::milliseconds(200)); + + } return 0; }