DataDog / extendeddaemonset

Kubernetes Extended Daemonset controller
Apache License 2.0
98 stars 13 forks source link

Implement inital ExtendedNode support #12

Closed clamoriniere closed 4 years ago

clamoriniere commented 4 years ago

ExtendedNode is a new CRD that allows user to overwrite some ExtendedDaemonset.Spec.PodTemplate for a subset of Node.

this is a simple ExtendedNode example

apiVersion: datadoghq.com/v1alpha1
kind: ExtendedNode
metadata:
  name: foo-extendednode
spec:
  nodeSelector: 
    matchLabels:
      overwrite: foo-daemon
  reference:
    kind: ExtendedDaemonset
    name: foo
  containers:
   - name: daemon
    resources:
      requests:
        cpu: "0.1"
        memory: "30m"
clamoriniere commented 4 years ago

@ahmed-mez PR updated, ready for a second review :)