Questions tagged [daemonset]
75 questions
1
vote
1 answer
Why spec.schedulerName does not work under daemonset?
Following this K8s page here on how to use multiple schedulers,and this, all I could see is that the schedulerName is taking place under the pod's spec , though I don't understand if this is explained particularly to single pods (as Pod is the…

shermakh
- 117
- 1
- 7
1
vote
2 answers
Kubernetes daemonset not running at all in AWS EKS 1.21
I'm using AWS EKS 1.21 with Fargate (serverless). I'm trying to run Fluentd as a daemonset however the daemonset is not running at all.
All the other objects like role, rolebinding, serviceaccount, configmap are already in place in the cluster.
NAME…

vinod827
- 1,123
- 1
- 21
- 45
1
vote
1 answer
Allowing K8S daemonset to exist in the global pid namespace
I'm trying to configure a daemonset to run on the global pid namespace resulting the ability to see other processes in the host, including the containers' processes.
I couldn't find an option to achieve this.
In general, what I'm looking for is…

Eytan Naim
- 159
- 14
1
vote
1 answer
Purge Kubernetes Image Cache on containerd runtime with daemonSet
I am trying to purge images from the local kubernetes cache on a set cadence. Before you could setup some volumeMounts on a daemonSet and talk to the docker runtime directly.
The latest runtime is based on containerd but I can't seem to connect…

Travis Sharp
- 821
- 11
- 26
1
vote
2 answers
2 different services for same DaemonSet K8s
I was wondering if there is a way to create a service for a pod on a specific node.
For example:
Lets say I have a cluster with 4 worker nodes [compute-0 ... compute-3].
Nodes "compute-0" and "compute-1" have a label "app=firstApplication"
Nodes…

Linux Devops
- 11
- 1
- 3
1
vote
1 answer
Deploying two different daemonsets with the same List manifest
I have a scenario where I need to deploy one pod on every node in my cluster so that it can watch certain behaviour (like, whether the pod gets created, terminated properly or not). Since, I've already one DaemonSet running inside my cluster, I…

NightOwl19
- 419
- 5
- 24
1
vote
1 answer
Kubernetes DaemonSet Pods schedule on all nodes expect one
I'm trying to deploy a Prometheus nodeexporter Daemonset in my AWS EKS K8s cluster.
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
labels:
app: prometheus
chart: prometheus-11.12.1
component: node-exporter
heritage: Helm
…

Shubham Shrivastav
- 75
- 1
- 5
1
vote
2 answers
How kubernetes daemonset works?
I have a doubt, hope you would help.
Suppose I have 4 node and created a deployment with ReplicaSet value is 3 with pod spec having label xyz. Now creating one DaemonSet with pod having label xyz which is same mentioned above. Now finally how many…

ankit mishra
- 11
- 1
1
vote
2 answers
What does a kubectl delete do that a Crashloop Backoff Restart doesn't do?
Perhaps there's something fundamental that a pod delete-and-recreate does that a pod restart doesn't do (restart as per a Crashloop). My first thought is mounting file, etc. I've seen where some issues are resolved after a Delete, even though a…

lucidquiet
- 6,124
- 7
- 51
- 88
1
vote
4 answers
Problem with daemonset creation on kubernetes cluster
I am running the following command on the master node, to create a daemonset on a Kubernetes cluster.
$ kubectl apply -f https://k8s.io/examples/controllers/daemonset.yaml
I think it got created successfully because the following message is…

Mridul Gain
- 77
- 8
1
vote
2 answers
Kubernetes: Is it Possible to mount the host's entire root filesystem into container and execute its commands?
I have a Kubernetes cluster and need to install WireGuard kernel module as a Daemonset-like job in each and every node in the cluster since the kernel version I have to deal with is pre 5.16.
My question is: is it possible to replace and mount the…

Winos
- 13
- 3
1
vote
1 answer
How to deploy daemonset with different resource limits in kubernetes?
I need deploy daemonset in Kubernetes, but each pod in different nodes requires different memory and cpu requests for different hardware types.

che yang
- 395
- 3
- 18
1
vote
3 answers
Run telegraf as daemonset
I would like to run telegraf as daemonset but it complains about volumemounts.
I've followed this article to create my kubernetes cluster.
Now try to follow this article to setup telegraf metrics sendings to our kafka endpoint.
This is my yaml…

Badb0y
- 331
- 2
- 21
1
vote
2 answers
K8s Scheduling DaemonSets
I would like to schedule a pod on all nodes of a cluster. No exceptions. DaemonSet seems like do the job when there is no shortage of resources. But sometimes other pods get scheduled on certain nodes as such that there are no more resources left…

rubenhak
- 830
- 2
- 10
- 28
0
votes
1 answer
Multiple tolerations in daemonset - Kubernetes
Is it possible to define multiple label and taints for a daemonset (i.e.) so that it can access / deploy in multiple nodes?
spec:
tolerations:
- key: "sample-node","example-node"
operator: "Equal"
effect: "NoSchedule"
…

Lakshmi Narayanan
- 5,220
- 13
- 50
- 92