Handle jenkins master service if running in kubernetes