logger.info('Deploying %s service with default placement...' % t)
cli(['orch', 'apply', t])
- if not ctx.skip_centralized_logging:
+ if ctx.with_centralized_logging:
for t in ['loki', 'promtail']:
logger.info('Deploying %s service with default placement...' % t)
cli(['orch', 'apply', t])
action='store_true',
help='Do not automatically provision monitoring stack (prometheus, grafana, alertmanager, node-exporter)')
parser_bootstrap.add_argument(
- '--skip-centralized-logging',
+ '--with-centralized-logging',
action='store_true',
- help='Do not automatically provision centralized logging (promtail, loki)')
+ help='Automatically provision centralized logging (promtail, loki)')
parser_bootstrap.add_argument(
'--apply-spec',
help='Apply cluster spec after bootstrap (copy ssh key, add hosts and apply services)')