Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mysocketctl container with examples on how to expose services of containerlab with it #222

Closed
hellt opened this issue Jan 9, 2021 · 1 comment · Fixed by #261
Closed

Comments

@hellt
Copy link
Member

hellt commented Jan 9, 2021

ref https://twitter.com/ntdvps/status/1347972477759217667

idea is to prepare a mysocketctl container which will be used to spawn multiple mysocketctl clients inside per each shared port.
potentially skipping the login step, since cloud auth is possible https://twitter.com/atoonk/status/1347977674287841280

use go client instead of python one

Stage 1

first integration stage assumes that users manually connect to mysocketctl container and create multiple tunnels per each port needed exposure

Stage 2

the services on nodes that needs to be shared are configured like that

nodes:
  node1:
    share:
      - 80
      - 443

  mysocketio:
    image: mysocketctl

this should automatically invoke tunnel creation on mysocketio node targeting ports 80 and 443 on node1.
The exposed ports should be available in the log as well as on mysocket container

@hellt
Copy link
Member Author

hellt commented Feb 4, 2021

stage 1 skipped, delivering stage2 in #261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant