LogDC: Problem Diagnosis for Declartively-Deployed Cloud Applications with Log
Recently, as the evolution of application's development and management paradigms, the deployment declaration becomes a standard interface connecting application developers and Cloud platforms. Kuberenetes is such a system for automating deployment, scaling, and management of micro-service based applications. However, managing and operating such a cloud benefit with additional complexities from the declarative deployment. This paper proposes a log model based problem diagnosis tool for declaratively-deployed cloud applications with the full lifecycle Kubernetes logs. With the runtime logs and deployment declarations, we can pinpoint the root causes in terms of abnormal declarative items and log entries. The advantage of this approach is that we provide a precise log model of a normal deployment to help diagnose problems. The experimental results show that our approach can find out the anomalies of some real-world Kubernetes problems, some of which have been confirmed as bugs. Within the given fault types, our approach can pinpoint the root causes at 91% in Precision and at 92% in Recall.