Skip to content

Commit

Permalink
add instance-type as label (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
alabdao authored Sep 11, 2023
1 parent 9d0de99 commit e8e0e69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/ansible/files/compute.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ExecStart=bacalhau serve \
--ipfs-connect {{ ipfs_connect }} \
--private-internal-ipfs=false \
--labels owner={{ owner }} \
{% if ansible_ec2_instance_type is defined %}
--labels instance-type={{ ansible_ec2_instance_type }} \
{% endif %}
--peer {{ requester_peer }} \
--limit-job-memory 12gb \
{% if gpu %}
Expand Down

0 comments on commit e8e0e69

Please sign in to comment.