Skip to content

Commit

Permalink
Merge pull request #689 from godber/fix-cluster-master-k8s-ex-issue
Browse files Browse the repository at this point in the history
k8s cluster master fix
  • Loading branch information
godber committed Apr 3, 2018
2 parents fb28905 + 687768e commit 333fc11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cluster/node_master.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ module.exports = function module(context) {
});
}

if (context.sysconfig.teraslice.cluster_manager_type === 'kubernetes') {
if (context.sysconfig.teraslice.cluster_manager_type === 'kubernetes'
&& !context.sysconfig.teraslice.master) {
const workerType = process.env.node_type;
const jobStr = process.env.EX;
let ex;
Expand Down

0 comments on commit 333fc11

Please sign in to comment.