K8S deployment got error, "Load new/updated app access keys failed" #4976
-
Hi, here is the configserver log in K8s pod: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
OpenJDK 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release. :: Spring Boot :: (v2.6.8) 2023-09-20 17:15:39.420 INFO 1 --- [ main] c.c.f.a.c.ConfigServiceApplication : Starting ConfigServiceApplication v2.1.0 using Java 1.8.0_342 on apollo-service-dev-apollo-configservice-777699c645-65bl7 with PID 1 (/apollo-configservice/apollo-configservice-2.1.0.jar started by root in /apollo-configservice) org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'dataSourceScriptDatabaseInitializer': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) 2023-09-20 17:17:51.211 ERROR 1 --- [essageScanner-1] c.c.f.a.b.message.ReleaseMessageScanner : Scan and send message failed org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'dataSourceScriptDatabaseInitializer': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) 2023-09-20 17:17:51.318 INFO 1 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. |
Beta Was this translation helpful? Give feedback.
-
The application appears to be closing unexpectedly. Enable debug-level logging for detailed insights. 2023-09-20 17:17:49.816 INFO 1 --- [ main] c.c.f.a.c.ConfigServiceApplication : Started ConfigServiceApplication in 138.396 seconds (JVM running for 145.17) |
Beta Was this translation helpful? Give feedback.
Solved by adding following config, because i have found that if the starting time shorts than 120s, then the deploymeny worked out.
liveness: initialDelaySeconds: 120 periodSeconds: 10