| 
					
				 | 
			
			
				@@ -43,7 +43,7 @@ def rec_server_health_check(client, instance_id): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     global health_instances 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ip_address = utils.get_ip_address(client=client, instance_id=instance_id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     while True: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        health_check_url = f"http://{ip_address}:5001/healthcheck" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        health_check_url = f"http://{ip_address}:8501/v1/models/deepfm" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             http_code = requests.get(health_check_url).status_code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         except: 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -129,7 +129,7 @@ def main(): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             logging.info(f"online instance ids: {online_instance_ids}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             # 3. 逐台更新 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            image_name = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            image_name = 'tensorflow/serving' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for i, instance_id in enumerate(online_instance_ids): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 logging.info(f"instance:{instance_id}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 # 3.1. 获取ip 
			 |