Skip to content

NekoWilliams/relayPod-ICSM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

relayPod-ICSM

Overview

This is a modification of the content of https://github.com/hydrokhoos/relayPod-ICSM to allow experimentation in my environment. Here is the original:

This repository provides a Kubernetes Pod designed for use within an Information-Centric Service Mesh (ICSM) using NDN.

RelayPod simply passes through the received content and returns the content without any modification.

Deployment

  1. Clone the repositories:
git clone https://github.com/NekoWilliams/relayPod-ICSM.git
  1. Deploy NDN network:
    For NDN network deployment, refer to the instructions at https://github.com/NekoWilliams/nlsr-sample-k8s.

  2. Deploy the pod:

cd relayPod-ICSM
kubectl apply -f relayPod.yaml

Usage

  1. Provide content:
kubectl exec deployment/ndn-node1 -- /bin/bash -c "echo 'Hello, world' > /sample.txt"
kubectl exec deployment/ndn-node1 -- /bin/bash -c "nlsrc advertise /sample.txt"
kubectl exec deployment/ndn-node1 -- /bin/bash -c "ndnputchunks /sample.txt < /sample.txt"
  1. Request relaid content from another node:
kubectl exec deployment/ndn-node3 -- /bin/bash -c "ndncatchunks /relay/sample.txt"
All segments have been received.
Time elapsed: 0.0024145 seconds
Segments received: 1
Transferred size: 0.013 kB
Goodput: 43.073100 kbit/s
Congestion marks: 0 (caused 0 window decreases)
Timeouts: 0 (caused 0 window decreases)
Retransmitted segments: 0 (0%), skipped: 0
RTT min/avg/max = 2.388/2.388/2.388 ms
Hello, world

Undeploy

To remove the deployment, execute the following command:

kubectl delete -f relayPod.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors