Telepresence access issue in self-hosted gitpod

Hi,

I have installed Telepresence in gitpod using .gitpod.Dockerfile:

RUN curl -fsSL https://packagecloud.io/datawireio/telepresence/gpgkey | apt-key add -
&& add-apt-repository -yu “deb https://packagecloud.io/datawireio/telepresence/ubuntu/ bionic main”
&& apt-get install -yq
iproute2
iptables
net-tools
telepresence=0.94
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*

but while accessing services getting below error:

gitpod /workspace/frontend $ telepresence --run curl http://myservice:8000/
T: Invoking sudo. Please enter your sudo password.
T: Unable to escalate privileges with sudo

Please let me know the proper command for installation and using it with gitpod user.

Issue is appearing when I am trying to use vpn-tcp method in telepresence

Hi @sumitrathi95,

escalating privileges in Gitpod is not released yet but will be available in the near future.

Hi @wulfthimm,

Thank you for your response.

I found this blog GitHub Codespaces, Welcome to the Party! (gitpod.io) and video on it explaining about the continuous DEV Environment. Here the telepresence is installed and used from gitpod workspace can you please tell me the installation process like fields in .gitpod.Dockerfile and .gitpod.yml file for telepresence and GKE configuration.

Also I want to know that do we have any prebuild workspace image for dev environment with Workspace, Kubernetes, Telepresence?

@wulfthimm Would be possible to run https://github.com/kubernetes-sigs/kind/ when this will be out ?
I belive that Telepresnce will not solve problems when You need to create parallelly two features ( feature branches ) for same microservice that needs for example some SQL database.
That means that You will have to spin also two seprate SQL instances. Any ideas then ?

@lukasmrtvy,
I am not that familiar with kind but as it is designed to run on docker it should be possible. There might be some configuration changes necessary to export the ports.