From 475dc10274ca275966aa6eefc25b8932cc4f3957 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Tue, 21 Feb 2023 16:58:02 -0500 Subject: [PATCH] 19961: Mention interrupt handling on admin doc page. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- doc/admin/spot-instances.html.textile.liquid | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/admin/spot-instances.html.textile.liquid b/doc/admin/spot-instances.html.textile.liquid index 703e70fb86..aa640b9fdb 100644 --- a/doc/admin/spot-instances.html.textile.liquid +++ b/doc/admin/spot-instances.html.textile.liquid @@ -90,6 +90,16 @@ BaseHTTPError: AuthFailure.ServiceLinkedRoleCreationNotPermitted: The provided c The account needs to have a service linked role created. This can be done by logging into the AWS account, go to _IAM Management_ → _Roles_ and create the @AWSServiceRoleForEC2Spot@ role by clicking on the @Create@ button, selecting @EC2@ service and @EC2 - Spot Instances@ use case. +h3. Interruption notices + +When running a container on a spot instance, Arvados monitors the EC2 metadata endpoint for interruption notices. When an interruption notice is received, it is reported in a log entry in the @crunch-run.txt@ file as well as a @warning@ in the @runtime_status@ field of the affected container. + +Example excerpt from @crunch-run.txt@: + +
+2023-02-21T21:12:42.350719824Z Cloud provider indicates instance action "stop" scheduled for time "2023-02-21T21:14:42Z"
+
+ h2. Preemptible instances on Azure For general information, see "Use Spot VMs in Azure":https://docs.microsoft.com/en-us/azure/virtual-machines/spot-vms. -- 2.30.2