Pod Grace Shutdown Help

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Hey guys, do you ever have the case that after the pod receives SIGTERM signal, it sill needs to reach outside(for example, saving local data to external storage, sending a request to external resource, or reaching to redis) to finish current work, then safely to close the service? I have a service in a pod listening request and it spends relative long time(a couple of minutes) to do computing jobs. I have set the grace shutdown period enough long(1 hour). When the pods rolls out or scales down, after the service receives SIGTERM signal, the service will check the current job is done or not, if it is done, close the service; if not, let the job finish and close the service afterwards. But my difficulty is the job needs to connect to external resources, such as Azure storage, and redis server, etc. It fails to connect those resources after receiving SIGTERM. It seems the pod network is cut totally. I know when the pod is terminating, it is removed from the iptable, is there any methods to walk around this case? ​ Thank you in advance!! submitted by /u/zachery2006 [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Kube-OVN v1.4.0, Multi-Cluster Networking for Kubernetes

Thu Sep 17 , 2020
Spread the love           submitted by /u/oilbeater [link] [comments] X ITM Cloud News
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM