Learning State Machines to Monitor and Detect Anomalies on a Kubernetes Cluster