From 3a194519d1ba7eec5c310cea2c90cd6232963ee3 Mon Sep 17 00:00:00 2001 From: Mikhail Avramenko Date: Mon, 7 Jun 2021 15:14:18 +0700 Subject: [PATCH] refactoring of forwarder healing example Signed-off-by: Mikhail Avramenko --- examples/heal/README.md | 11 +++++++++++ .../local-forwarder-healing}/README.md | 5 ++--- examples/heal/namespace.yaml | 5 +++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 examples/heal/README.md rename examples/{use-cases/LocalForwarderHealing => heal/local-forwarder-healing}/README.md (96%) create mode 100644 examples/heal/namespace.yaml diff --git a/examples/heal/README.md b/examples/heal/README.md new file mode 100644 index 000000000000..edf89a3f2493 --- /dev/null +++ b/examples/heal/README.md @@ -0,0 +1,11 @@ +# Feature examples + +This document contain links for heal examples of NSM. + +## Requires + +To run any heal example follow steps for [Basic NSM setup](../basic) + +## Includes + +- [Local Forwarder restart](./local-forwarder-healing) \ No newline at end of file diff --git a/examples/use-cases/LocalForwarderHealing/README.md b/examples/heal/local-forwarder-healing/README.md similarity index 96% rename from examples/use-cases/LocalForwarderHealing/README.md rename to examples/heal/local-forwarder-healing/README.md index ef97295e7806..121236946a45 100644 --- a/examples/use-cases/LocalForwarderHealing/README.md +++ b/examples/heal/local-forwarder-healing/README.md @@ -1,7 +1,6 @@ -# Test kernel to kernel connection +# Test local forwarder restart - -This example shows that NSC and NSE on the one node can find each other. +This example shows that NSM keeps working after the local Forwarder restart. NSC and NSE are using the `kernel` mechanism to connect to its local forwarder. diff --git a/examples/heal/namespace.yaml b/examples/heal/namespace.yaml new file mode 100644 index 000000000000..7919ccab9bec --- /dev/null +++ b/examples/heal/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + generateName: ns-