What Daemon Sets are in my Kubernetes cluster?

Dave Jachimiak
Today I Googled
Published in
1 min readJan 10, 2017

What I Googled

kubernetes daemon set api

What I was Doing

I provisioned a Kubernetes cluster and wanted to check whether a DaemonSet was added when the machine booted. You can do this by looking at the Kubernetes UI, but I wanted to do this through the Kubernetes API on a live Kubernetes master box.

Solution

curl {kubernetes-origin}/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets

It took a few clicks to get that answer. Here’s a link to the relevant Kubernetes Docs.

--

--