Skip to content

Instantly share code, notes, and snippets.

@a-mpch
Created September 14, 2020 20:57
Show Gist options
  • Save a-mpch/4dcd8d435c665d7acf6f3de1bbd13c6d to your computer and use it in GitHub Desktop.
Save a-mpch/4dcd8d435c665d7acf6f3de1bbd13c6d to your computer and use it in GitHub Desktop.
Deploy
deploy:
python main.py \
--region $(REGION) \
--job_name deepdrive-pipe \
--subscription $(SUB_INPUT) \
--project $(GCP_PROJECT) \
--output_topic $(OUTPUT_TOPIC) \
--api_endpoint $(API_ENDPOINT) \
--runner=DataflowRunner \
--staging_location=gs://$(BUCKET)/staging \
--temp_location=gs://$(BUCKET)/tmp \
--setup_file ./setup.py \
--enable_streaming_engine true \
--autoscaling_algorithm=THROUGHPUT_BASED \
--max_num_workers=10 \
--num_workers=3 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment