I have the following allocation; a raw_exec
java process.
Allocations
ID Node ID Task Group Version Desired Status Created Modified
42056ea3 ebdbda91 my-pulsar-broker 25 run running 1mo24d ago 1mo24d ago
When I updated the Nomad (and Consul) binaries in place and restarted the systemd services for Consul and Nomad, it changes to the following:
Allocations
ID Node ID Task Group Version Desired Status Created Modified
42056ea3 ebdbda91 my-pulsar-broker 25 run running 1mo24d ago 3m34s ago
Note: I updated the binary versions as follows:
Consul : 1.12.2 -> 1.14.4
Nomad : 1.3.1 -> 1.4.4
The Pulsar (java) process kept running fine during the external agent upgrade; I confirmed with ps
output.
I had the following questions:
-
What change(s) causes the
Modified
column to change as the process is running fine? -
In case the allocation process does restart, for any reason (during the agent version upgrade) I would see the same “external” change in the Modified column. (an
alloc status
would reveal more)
2.1. Is there a way to easily understand if the task process restarted, without having to look at theallocation status
?