diff --git a/README.md b/README.md new file mode 100644 index 0000000..e52a7f0 --- /dev/null +++ b/README.md @@ -0,0 +1,44 @@ + + +Deploy with ansible from af-jump +``` +ssh user@af-jump + +cp cluster.dummy.yml cluster.stress.yml +vi cluster.stress.yml + +./tools/generate-inventory.py cluster.stress.yml + +ansible-playbook ansible/playbook-XXX -i ansible/inventory.stress.ini + +playbook-base-system.yml +playbook-proxies.yml +playbook-stress-sync-code.yml +playbook-stress-install-deps.yml +playbook-stress-generate-env.yml +playbook-docker-services-setup.yml +``` + +Code updates only of ytops +``` +#git pull or ./tools/sync-to-jump.sh + +playbook-stress-sync-code.yml +``` + +Running +``` +ssh user@af-green +cd /srv/airflow_master +./bin/build-yt-dlp-image + +bin/ytops-client setup-profiles --policy policies/6_profile_setup_policy.yaml --cleanup-all +bin/ytops-client profile list --auth-env sim_auth --download-env sim_download --live --no-blink --show-proxy-activity + +bin/ytops-client policy-enforcer --policy policies/8_unified_simulation_enforcer.yaml --live + +bin/ytops-client stress-policy --policy policies/10_direct_docker_auth_simulation.yaml --verbose --set execution_control.workers=1 --set settings.urls_file=inputfiles/urls.rt3700.txt +bin/ytops-client stress-policy --policy policies/11_direct_docker_download_simulation.yaml --set execution_control.workers=1 --verbose + + +```