Code Monkey home page Code Monkey logo

helm-tftpd's Introduction

Helm Chart for tftpd

This is an example Helm chart for tftpd, to demonstrate how to run a UDP service behind a LoadBalancer Service on minikube

Instructions

Install this chart:

$ helm upgrade --install tftp ~/path/to/this/chart/

Wait until it is ready:

$ helm status tftp

Start tunnel to minikube LoadBalancers:

$ minikube tunnel

In another terminal, we can note the LoadBalancer IP:

$ kubectl get svc

Now we can use the tftp client to retrieve a file:

$ tftp $LOADBALANCERIP
tftp> verbose
Verbose mode on.
tftp> trace
Packet tracing on.
tftp> binary
mode set to octet
tftp> get file1.txt
getting from 10.104.126.213:file1.txt to file1.txt [octet]
sent RRQ <file=file1.txt, mode=octet>
received DATA <block=1, 31 bytes>
Received 31 bytes in 0.0 seconds [60783 bit/s]
tftp> quit

And make sure that the file has our expected contents:

$ cat file1.txt
contents of file1.txt go here!

Customizing data file contents

This is meant as a simple demonstration. If you want to change the example data files in this application, you will find them in the templates/configmap.yaml as plain text.

License

This project is licensed under the MIT License. Please see the LICENSE file for details.

helm-tftpd's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.