Consolidate YAML files [part-4] (#9241)
This PR consolidates YAML files used in the `tasks/debug-application-cluster` subdirectory. Depends-On: #9236
This commit is contained in:
@@ -64,7 +64,7 @@ customized node problems.
|
||||
|
||||
* **Step 1:** `node-problem-detector.yaml`:
|
||||
|
||||
{{< code file="node-problem-detector.yaml" >}}
|
||||
{{< codenew file="debug/node-problem-detector.yaml" >}}
|
||||
|
||||
|
||||
***Notice that you should make sure the system log directory is right for your
|
||||
@@ -73,7 +73,7 @@ OS distro.***
|
||||
* **Step 2:** Start node problem detector with `kubectl`:
|
||||
|
||||
```shell
|
||||
kubectl create -f https://k8s.io/docs/tasks/debug-application-cluster/node-problem-detector.yaml
|
||||
kubectl create -f https://k8s.io/examples/debug/node-problem-detector.yaml
|
||||
```
|
||||
|
||||
### Addon Pod
|
||||
@@ -98,14 +98,14 @@ following the steps:
|
||||
node-problem-detector-config --from-file=config/`.
|
||||
* **Step 3:** Change the `node-problem-detector.yaml` to use the ConfigMap:
|
||||
|
||||
{{< code file="node-problem-detector-configmap.yaml" >}}
|
||||
{{< codenew file="debug/node-problem-detector-configmap.yaml" >}}
|
||||
|
||||
|
||||
* **Step 4:** Re-create the node problem detector with the new yaml file:
|
||||
|
||||
```shell
|
||||
kubectl delete -f https://k8s.io/docs/tasks/debug-application-cluster/node-problem-detector.yaml # If you have a node-problem-detector running
|
||||
kubectl create -f https://k8s.io/docs/tasks/debug-application-cluster/node-problem-detector-configmap.yaml
|
||||
kubectl delete -f https://k8s.io/examples/debug/node-problem-detector.yaml # If you have a node-problem-detector running
|
||||
kubectl create -f https://k8s.io/examples/debug/node-problem-detector-configmap.yaml
|
||||
```
|
||||
|
||||
***Notice that this approach only applies to node problem detector started with `kubectl`.***
|
||||
@@ -177,4 +177,4 @@ resource overhead on each node. Usually this is fine, because:
|
||||
* Even under high load, the resource usage is acceptable.
|
||||
(see [benchmark result](https://github.com/kubernetes/node-problem-detector/issues/2#issuecomment-220255629))
|
||||
|
||||
{{% /capture %}}
|
||||
{{% /capture %}}
|
||||
|
||||
Reference in New Issue
Block a user