Hi,
I'm using `kubectl` to set up and install/deploy kubernetes deployments from within Bitbucket Pipelines.
For integration testing, I'm trying to use port-forwarding to send traffic from the bitbucket pipeline to my cluster.
This process works fine for me locally with the same environment variables.
However, I get timeouts after my port-forward step.
The picture shows me *attempting* to use a `curl` as part of my debugging to actually try out the connection, but it's just timing out. If this works, then I'd go back to just running my original integration tests.
Questions:
1. has anybody successfully done this? port-forward from within a bitbucket pipeline step to a kube cluster to do stuff?
2. are there any security things on bitbucket (firewalls? closed ports? permissions? something? - not a security person) that may be preventing this from working?
Thanks!
Brain eventually caught up.
if all the pipelines are being run within a docker container - probably - that is being run in a secure mode - probably - stuff running inside won’t have access to exiting the container via random ports.
which basically means that what I’ve been going to do isn’t possible.
time to go look for another solution.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.