Open CAlexPac opened 4 years ago
Facing the same problem even for Kafka DaemonSet
I also faced the same issue. It got fixed after trying with
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: fluent-bit
namespace: logging
labels:
k8s-app: fluent-bit-logging
version: v1
kubernetes.io/cluster-service: "true"
spec:
selector:
matchLabels:
k8s-app: fluent-bit-logging
@CAlexPac you have to give one of the labels of the DS.
After changing the apiVersion value to apps/v1, now I have an issue with the missing selector for the spec section. What should the value be? I've tried with:
but it does not work.