I'm learning k8s hpa autoscale and have one confusion。
if there are some codes run in pod like this:
# do something1
time.sleep(15)
# do something2
when execution come to time.sleep(15) and at this time the hpa scale down, will this pod be removed and something2 will not execute?