See service deployment creation/deletion history in AKS

Prusty, Jatin Nath 1 Reputation point
2022-05-02T06:33:00.007+00:00

One of my AKS deployments is getting deleted everynight and it could be due to one of our devops scripts being wrongly setup. To debug further I need to check when the deployments are getting created/deleted. So far, I haven't been able to tarce any history for deployments. What would be a good way to find that?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,855 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,447 Reputation points Microsoft Employee
    2022-05-06T23:36:54.49+00:00

    Hi @Prusty, Jatin Nath

    Container insights includes the Live Data feature, which is an advanced diagnostic feature allowing you direct access to your Azure Kubernetes Service (AKS) container logs (stdout/stderror), events, and pod metrics.
    You can view the live logs for pods, deployments, and replica sets with or without Container insights from the AKS resource view.
    You can also view real-time event data as they are generated by the container engine from the Nodes, Controllers, Containers, and Deployments view when a container, pod, node, ReplicaSet, DaemonSet, job, CronJob or Deployment is selected.
    You can find detailed steps to achieve the above in the document here.

    With Container insights, the view Deployments (preview) feature emulates direct access to Kubernetes Deployment objects in real time by exposing the kubeclt get deployments and kubectl describe deployment {your deployment} commands.
    Please refer to this document for more details on the same : https://learn.microsoft.com/en-us/azure/azure-monitor/containers/container-insights-livedata-deployments

    Please try the options shared above and let me know if you have further questions.


  2. Qossay Abuamriya 0 Reputation points
    2023-10-18T10:52:14.56+00:00

    you are not helping

    0 comments No comments