Availability-Aware Resource Allocation for Containerized Network Functions