When you use the kubectl apply command, it automatically maintains an audit trail for you in the Kubernetes resources as annotations. If you use the following command:
kubectl describe deployment flask
You'll see fairly readable output akin to the following:
Name: flaskNamespace: defaultCreationTimestamp: Sat, 16 Sep 2017 08:31:00 -0700Labels: run=flaskAnnotations: deployment.kubernetes.io/revision=1kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"apps/v1beta1","kind":"Deployment","metadata":{"annotations":{},"labels":{"run":"flask"},"name":"flask","namespace":"default"},"spec":{"t...Selector: app=flaskReplicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailableStrategyType: RollingUpdateMinReadySeconds: ...