Created
September 14, 2020 20:57
-
-
Save a-mpch/4dcd8d435c665d7acf6f3de1bbd13c6d to your computer and use it in GitHub Desktop.
Deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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