-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
- Loading branch information
1 parent
354f532
commit 42109f6
Showing
18 changed files
with
90 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: nsm-system | ||
|
||
bases: | ||
- ../../apps/nsmgr | ||
- ../../apps/forwarder-vpp | ||
- ../../apps/registry-k8s | ||
- ../../apps/admission-webhook-k8s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Calico examples | ||
|
||
Contain calico setup for NSM. | ||
|
||
## Requires | ||
|
||
- [spire](../spire) | ||
|
||
## Includes | ||
|
||
- [Memif to Memif Connection](../use-cases/Memif2Memif) | ||
- [Kernel to Kernel Connection](../use-cases/Kernel2Kernel) | ||
- [Kernel to Memif Connection](../use-cases/Kernel2Memif) | ||
- [Memif to Kernel Connection](../use-cases/Memif2Kernel) | ||
- [Kernel to VXLAN to Kernel Connection](../use-cases/Kernel2Vxlan2Kernel) | ||
- [Memif to VXLAN to Memif Connection](../use-cases/Memif2Vxlan2Memif) | ||
- [Kernel to VXLAN to Memif Connection](../use-cases/Kernel2Vxlan2Memif) | ||
- [Memif to VXLAN to Kernel Connection](../use-cases/Memif2Vxlan2Kernel) | ||
- [Kernel to Wireguard to Kernel Connection](../use-cases/Kernel2Wireguard2Kernel) | ||
- [Memif to Wireguard to Memif Connection](../use-cases/Memif2Wireguard2Memif) | ||
- [Kernel to Wireguard to Memif Connection](../use-cases/Kernel2Wireguard2Memif) | ||
- [Memif to Wireguard to Kernel Connection](../use-cases/Memif2Wireguard2Kernel) | ||
- [Kernel to Kernel IPv6](../features/ipv6/Kernel2Kernel) | ||
- [Kernel to Wireguard to Kernel IPv6](../features/ipv6/Kernel2Wireguard2Kernel) | ||
- [Kernel to Wireguard to Memif IPv6](../features/ipv6/Kernel2Wireguard2Memif) | ||
- [Memif to Memif IPv6](../features/ipv6/Memif2Memif) | ||
- [Memif to Wireguard to Kernel IPv6](../features/ipv6/Memif2Wireguard2Kernel) | ||
- [Memif to Wireguard to Memif IPv6](../features/ipv6/Memif2Wireguard2Memif) | ||
- [Nse composition](../features/nse-composition) | ||
|
||
## Run | ||
|
||
1. Create ns for deployments: | ||
```bash | ||
kubectl create ns nsm-system | ||
``` | ||
|
||
2. Apply NSM resources for calico tests: | ||
|
||
```bash | ||
kubectl apply -k https://github.com/networkservicemesh/deployments-k8s/examples/calico/?ref=bbe46ecf104280e96ae3a32d4757149e792f0d11 | ||
``` | ||
|
||
3. Wait for admission-webhook-k8s: | ||
|
||
```bash | ||
WH=$(kubectl get pods -l app=admission-webhook-k8s -n nsm-system --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}') | ||
kubectl wait --for=condition=ready --timeout=1m pod ${WH} -n nsm-system | ||
``` | ||
|
||
## Cleanup | ||
|
||
To free resouces follow the next command: | ||
|
||
```bash | ||
kubectl delete mutatingwebhookconfiguration --all | ||
kubectl delete ns nsm-system | ||
``` |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
namespace: nsm-system | ||
|
||
bases: | ||
- ../../apps/nsmgr | ||
- ../../apps/forwarder-vpp | ||
- ../../apps/forwarder-sriov | ||
- ../../apps/registry-k8s | ||
- ../../apps/admission-webhook-k8s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters