diff --git a/README.md b/README.md index c8e6d5c1..b397959c 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ helm install stable/node-problem-detector Or alternatively, to install node-problem-detector manually: -1. Edit [node-problem-detector.yaml](deployment/node-problem-detector.yaml) to fit your environment. Set `log` volume to your system log directory (used by SystemLogMonitor). You can use a ConfigMap to overwrite the `config` directory inside the pod. For Kubernetes versions older than 1.9, use [node-problem-detector-old.yaml](deployment/node-problem-detector-old.yaml). +1. Edit [node-problem-detector.yaml](deployment/node-problem-detector.yaml) to fit your environment. Set `log` volume to your system log directory (used by SystemLogMonitor). You can use a ConfigMap to overwrite the `config` directory inside the pod. 2. Edit [node-problem-detector-config.yaml](deployment/node-problem-detector-config.yaml) to configure node-problem-detector. diff --git a/deployment/node-problem-detector-old.yaml b/deployment/node-problem-detector-old.yaml deleted file mode 100644 index cad580db..00000000 --- a/deployment/node-problem-detector-old.yaml +++ /dev/null @@ -1,55 +0,0 @@ -apiVersion: extensions/v1beta1 -kind: DaemonSet -metadata: - name: node-problem-detector - namespace: kube-system -spec: - template: - metadata: - labels: - app: node-problem-detector - spec: - containers: - - name: node-problem-detector - command: - - /node-problem-detector - - --logtostderr - - --kernel-monitor=/config/kernel-monitor.json - image: k8s.gcr.io/node-problem-detector:v0.2 - imagePullPolicy: Always - securityContext: - privileged: true - env: - - name: NODE_NAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName - volumeMounts: - - name: log - mountPath: /var/log - readOnly: true - - name: kmsg - mountPath: /dev/kmsg - readOnly: true - # Make sure node problem detector is in the same timezone - # with the host. - - name: localtime - mountPath: /etc/localtime - readOnly: true - - name: config - mountPath: /config - readOnly: true - volumes: - - name: log - # Config `log` to your system log directory - hostPath: - path: /var/log/ - - name: kmsg - hostPath: - path: /dev/kmsg - - name: localtime - hostPath: - path: /etc/localtime - - name: config - configMap: - name: node-problem-detector-config