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

report: validate worker key on scheduler.cycloid.io:32223 #3

Open
talset opened this issue Feb 21, 2020 · 1 comment
Open

report: validate worker key on scheduler.cycloid.io:32223 #3

talset opened this issue Feb 21, 2020 · 1 comment

Comments

@talset
Copy link
Member

talset commented Feb 21, 2020

1/ idea would be to validate a connexion on the scheduler from the worker

Something like ssh -p 32223 scheduler.cycloid.io -i worker_key

2/ Add curl on TSA/concourse API https://concourse.infra.cycloid.io/api/v1/info

@gaelL
Copy link
Member

gaelL commented Mar 23, 2022

If ssh is not enough we could eventually run something like that

cat > worker.json <<EOF
{
    "platform": "linux",
    "tags": []
}
EOF

ssh -p 2222 -vvv localhost \
  -i concourse-keys/worker_key2 \
  -o UserKnownHostsFile=concourse-keys/tsa_host_key.pub \
  -R0.0.0.0:7777:127.0.0.1:7777 \
  -R0.0.0.0:7788:127.0.0.1:7788 \
  forward-worker \
    --garden 0.0.0.0:7777 \
    --baggageclaim 0.0.0.0:7788 \
  < worker.json

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

No branches or pull requests

2 participants