Get cluster namespace DaemonSet details

Get cluster namespace DaemonSet details

get

Get detailed information for DaemonSet in the specified cluster and namespace.

Path parameters
clusterIdstringRequired
namespaceNamestringRequired
daemonSetNamestringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/daemonsets/{daemonSetName} HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "creationTimestamp": "2023-06-21 06:41:56",
    "deployment": "{\"apiVersion\":\"apps/v1\",\"kind\":\"DaemonSet\"...",
    "deploymentYaml": "apiVersion: apps/v1\nkind: DaemonSet\nmetadata:\n...",
    "desiredPodCnt": 7,
    "detail": {
      "annotations": {
        "deprecated.daemonset.template.generation": "5",
        "meta.helm.sh/release-name": "promtail",
        "meta.helm.sh/release-namespace": "cocktail-system"
      },
      "creationTime": "2023-06-21 06:41:56",
      "labels": {
        "app.kubernetes.io/instance": "promtail",
        "app.kubernetes.io/managed-by": "Helm",
        "app.kubernetes.io/name": "promtail"
      },
      "minReadySeconds": 0,
      "name": "promtail",
      "namespace": "cocktail-system",
      "podTemplate": {
        "annotations": {
          "checksum/config": "c0bfd056325ee83005df0c32ca6018bdcd2e31066846277781c9b68dfe1f9b88"
        },
        "labels": {
          "app.kubernetes.io/instance": "promtail",
          "app.kubernetes.io/name": "promtail"
        },
        "spec": {
          "conditions": [],
          "detail": {
            "containers": [
              {
                "args": [
                  "-config.file=/etc/promtail/promtail.yaml"
                ],
                "environmentVariables": {
                  "HOSTNAME": "{\"apiVersion\":\"v1\",\"fieldPath\":\"spec.nodeName\"}"
                },
                "image": "101.55.69.30/docker.io/grafana/promtail:2.7.4",
                "imagePullPolicy": "IfNotPresent",
                "name": "promtail",
                "resources": {},
                "restartCount": 0,
                "volumeMounts": {
                  "applications": "{\"mountPath\":\"/var/log/applications\",\"name\":\"applications\"}",
                  "audit": "{\"mountPath\":\"/var/log/kubernetes\",\"name\":\"audit\",\"readOnly\":true}",
                  "config": "{\"mountPath\":\"/etc/promtail\",\"name\":\"config\"}",
                  "containers": "{\"mountPath\":\"/var/log/containers\",\"name\":\"containers\",\"readOnly\":true}",
                  "cricontainers": "{\"mountPath\":\"/var/lib/containerd/io.containerd.grpc.v1.cri/containers\",\"name\":\"cricontainers\",\"readOnly\":true}",
                  "pods": "{\"mountPath\":\"/var/log/pods\",\"name\":\"pods\",\"readOnly\":true}",
                  "run": "{\"mountPath\":\"/run/promtail\",\"name\":\"run\"}"
                }
              }
            ],
            "initContainers": [],
            "restartPolicy": "Always",
            "serviceAccountName": "promtail",
            "terminationGracePeriodSeconds": 30,
            "tolerations": [
              {
                "operator": "Exists"
              }
            ]
          },
          "podStatus": "Pending",
          "restartCnt": 0
        }
      },
      "revisionHistoryLimit": "10",
      "rollingUpdate": {
        "maxSurge": 0,
        "maxUnavailable": 1
      },
      "selector": {
        "matchLabels": {
          "app.kubernetes.io/instance": "promtail",
          "app.kubernetes.io/name": "promtail"
        }
      },
      "status": {
        "available": 7,
        "current": 7,
        "desired": 7,
        "ready": 7,
        "up-to-date": 7
      },
      "strategy": "RollingUpdate"
    },
    "images": [
      "101.55.69.30/docker.io/grafana/promtail:2.7.4"
    ],
    "labels": {
      "app.kubernetes.io/instance": "promtail",
      "app.kubernetes.io/managed-by": "Helm",
      "app.kubernetes.io/name": "promtail"
    },
    "name": "promtail",
    "namespace": "cocktail-system",
    "readyPodCnt": 7
  }
]

Last updated

Was this helpful?