Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

  • kube-proxy
  • kube-networking
  • Monitoring Solution
  • Logging Solution
Code Block
linenumberstrue
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: monitorgin-daemon
spec:
  selector:
    matchLabels:
      app: monitoring-agent
  template:
    metadata:
      labels:
        app: monitoring-agent
    spec:
      containers:
        - name: monitoring-agent
          image: monitoring-agent
Code Block
linenumberstrue
sansae@sansaeAir15m2 k8s-lab-workspace % k apply -f daemonset.yaml 
daemonset.apps/monitorgin-daemon created
sansae@sansaeAir15m2 k8s-lab-workspace % k get ds
NAME                DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
monitorgin-daemon   1         1         0       1            0           <none>          3s