telepresence | Local development against a remote Kubernetes | Continuous Deployment library

 by   telepresenceio Go Version: v2.13.3 License: Non-SPDX

kandi X-RAY | telepresence Summary

kandi X-RAY | telepresence Summary

telepresence is a Go library typically used in Institutions, Learning, Administration, Public Services, Devops, Continuous Deployment, Nodejs, Docker applications. telepresence has no bugs, it has no vulnerabilities and it has medium support. However telepresence has a Non-SPDX License. You can download it from GitHub.

Telepresence gives developers infinite scale development environments for Kubernetes. Website: Slack: Discuss.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              telepresence has a medium active ecosystem.
              It has 5867 star(s) with 469 fork(s). There are 60 watchers for this library.
              There were 4 major release(s) in the last 12 months.
              There are 334 open issues and 1360 have been closed. On average issues are closed in 470 days. There are 19 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of telepresence is v2.13.3

            kandi-Quality Quality

              telepresence has no bugs reported.

            kandi-Security Security

              telepresence has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              telepresence has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              telepresence releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of telepresence
            Get all kandi verified functions for this library.

            telepresence Key Features

            No Key Features are available at this moment for telepresence.

            telepresence Examples and Code Snippets

            No Code Snippets are available at this moment for telepresence.

            Community Discussions

            QUESTION

            what does Telepresence's DIAL_REJECT code error means?
            Asked 2022-Feb-03 at 10:15

            So I'm using telepresence to intercepte HTTP connections, but I keep getting this error :

            ...

            ANSWER

            Answered 2022-Feb-03 at 10:15

            Ok solved, That means the port I target is not listening.

            Source https://stackoverflow.com/questions/70948476

            QUESTION

            telepresence like alternative in AWS ECS Farget Cluster?
            Asked 2021-Sep-06 at 17:51

            I have been working with Kubernetes for container orchestration and I have been using telepresence for swapping deployments from local to dev cluster and works like a charm. This also helps me in testing and fast iterations as I do not have to build and wait for my code to be deployed to the dev cluster.

            Recently I switched to ECS and I have been wondering if there is a way to swap services from ECS Farget dev cluster to service running locally on my laptop.

            ...

            ANSWER

            Answered 2021-Sep-06 at 17:51

            No, there is no such possibility. Here's a blog post regarding testing ECS containers locally:

            A Guide to Locally Testing Containers with Amazon ECS Local Endpoints and Docker Compose

            Source https://stackoverflow.com/questions/69039944

            QUESTION

            bash (macos) function works in tracing mode but not in normal shell
            Asked 2021-Jun-13 at 16:54

            I have this bash function in my .bash_profile:

            ...

            ANSWER

            Answered 2021-Jun-13 at 16:54

            As mentioned in the comments of the question, the answer is that I needed to be using a bash session, but was in fact using a zsh session.

            Figured this out thanks to @Barmar by running echo $SHELL

            As @Shawn mentioned:

            == isn't understood by a basic POSIX-only test/[ (Or by zsh's implementation)

            Running chsh -s /bin/bash to change from zsh to bash fixed it, and then I had to reopen the terminal for it to actually take effect (this may not be necessary for everyone, but at least for me using Hyper as my terminal emulator, the change didn't take effect until closing and reopening the app).

            Source https://stackoverflow.com/questions/67943059

            QUESTION

            Ambassador Edge Stack w/ GKE Health Check and LB Provisioning Errors
            Asked 2021-Apr-04 at 22:34

            I'm currently installing the Ambassador Edge Stack (AES) to help manage several applications running applications in our GKE cluster but I'm experiencing a couple of issues.

            The steps in the manual install guide seem to be working fine aside from edgectl being deprecated in favour of telepresence (I haven't tried this out really).

            The next steps, setting up the ingress with GKE is where the issues begin.

            As per the guide, this can be done with the legacy Ambassador API Gateway or the new AES. Doing a compare of both installs, you don't need to do anything in the API Gateway install other than sorting out patching the original aes ambassador service and the ambassador-admin service from LoadBalancer to NodePort types. I've done this with kustomize

            ...

            ANSWER

            Answered 2021-Apr-04 at 22:34

            According to the google documentation, if you want the load balancer to terminate SSL traffic then you need to configure it to do so. You can use the following instructions: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls

            These are linked to in the original documentation by google about how to create a L7 loadbalancer as linked in the ambassador docs: https://cloud.google.com/kubernetes-engine/docs/tutorials/http-balancer (link comes from Step 1 of this site you linked: https://www.getambassador.io/docs/edge-stack/latest/topics/running/ambassador-with-gke/)

            Unfortunately this means that you wouldn't be getting full advantage of Ambassador's letsencrypt automatic certificate generation when you specify both an ambassador Mapping and a Host. On my GKE cluster which I installed AES from scratch, has a Service of type LoadBalancer which automatically creates a google load balancer (if you're in GKE that is). This service has ports configured for 443 and 80 automatically and no additional ingress is needed.

            Source https://stackoverflow.com/questions/66923069

            QUESTION

            Limit first time deployment of pods in kubernetes using Kind: deployment
            Asked 2021-Mar-15 at 18:24

            I have several pods where the rollout (initial and later updates) needs to performed one by one. (Actually only the first needs to be ready before the remaining can start or be upgraded) I used stateful set for that, as it makes sure only one at a time is updated or created, but we are usung telepresence for development and it doesn’t support replacing stateful sets. So I thought I could use deployment instead of stateful set with rolling update strategy and limit the number of maxunavailable or maxsurge or whatever to “throttle” the deployment. But for the initial deploymemt that doesn’t work, as K8s creates the desired 2 at once instead one one by one. Is there a way to achieve that with a deploment or do I need to use a stateful set? (alternatively: is there a trick to use telepresence with stateful sets)

            Clarification based on questions in comments:

            • The problematic software here is flyway in combination with mariadb in cluster mode. Then the table locking doesn't work and simultaniously starting pods can try to perform schema and data updates at the same time
            • init containers don't help, as they start at the same time for multiple instances of the pod and just make sure that the main container of each instance is started after the init container
            • The problem is only on first initalization, because afterwards I can configure the rolling update strategy to only update one container at a time. In case of a scaling out I'd have to do it in increments of 1, but that would be a manual process anyway.
            • I could make sure that the deployment descriptor for new deployments uses scale 1 and updates to scale 2 afterwards, but that leads to a very complicated automatic deployment process with variable scales dependig on the state and the build chain would need to check if a deployment is present to decide if it's an update or a first deployment. Which would be error prone and overly complex
            ...

            ANSWER

            Answered 2021-Mar-15 at 18:24

            In my opinion, there are two possible solutions, but both require extra effort.
            I will describe both solutions and you can choose which one suits you best.

            Solution one: Deploying application with a script

            You can deploy your application with the script below:

            Source https://stackoverflow.com/questions/66365892

            QUESTION

            Make k8s cluster services available to local docker containers
            Asked 2020-May-12 at 09:32

            I'm used to connect to my cluster using telepresence and access cluster services locally.

            Now, I need to make services in the cluster available to a group of applications that are running in docker containers locally. We can say that it's the inverse use case.

            I've an app that is running in a docker container. It access services that are deploy using docker-compose. It has been done by using a network:

            ...

            ANSWER

            Answered 2020-May-12 at 09:32

            I've find a way to solve the problem.

            Instead of trying to use telepresence as for the inverse use case, solution comes by using a port-forward with k9s. When creating it, it's important to do not leave the default interface, that is set to localhost, and put 0.0.0.0 instead to ensure that it listens traffic from all interfaces.

            Then I've changed my containers from inside, making the services to point to my host's IP when trying to resolve the service names. Use the method that better fits your case for this: since it's not a production environment I just tried hardcoding my host IP manually to check if the connectivity was achieved.

            To point to an specific service of your cluster you need to use different ports since they will be all mapped to your host with different port-forwards. Name resolving is no longer needed.

            With this configuration, your container request will reach your host, where the port-forward routes it to the cluster. Connectivity is OK with this setup and the problem is solved.

            Source https://stackoverflow.com/questions/61732276

            QUESTION

            RuntimeError: SSH to the cluster failed to start when using telepresence
            Asked 2020-Mar-14 at 15:32

            When I am using telepresence to debug remote kubernetes,throw this error:

            ...

            ANSWER

            Answered 2020-Mar-14 at 15:32

            Install socat in your remote kuberentes cluster host,I am using CentOS,so install like this:

            Source https://stackoverflow.com/questions/60335754

            QUESTION

            error: error upgrading connection: Upgrade request required when using telepresence debug pod
            Asked 2020-Mar-14 at 15:27

            when I start telepresence(v0.104) to debug remote kubernetes(v1.15.2) pod:

            ...

            ANSWER

            Answered 2020-Mar-14 at 15:27

            If you using domain to access your cluster,try to change using IP:PORT to access the remote cluster,I change to this way fix error upgrading connection: Upgrade request required.The ~/.kube/config like this:

            Source https://stackoverflow.com/questions/60313014

            QUESTION

            Formating text when text is different
            Asked 2020-Jan-07 at 15:35

            I'm makeing a table in Powershell like so :

            ...

            ANSWER

            Answered 2020-Jan-07 at 15:35

            Assuming your example table output is the result of an array of PSObjects like this:

            Source https://stackoverflow.com/questions/59612202

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install telepresence

            A few quick ways to start using Telepresence.
            Telepresence Quick Start: Quick Start
            Install Telepresence: Install
            Contributor's Guide: Guide
            Meetings: Check out our community meeting schedule for opportunities to interact with Telepresence developers
            Start with an empty cluster:.

            Support

            Telepresence documentation is available on the Ambassador Labs webside: Documentation.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/telepresenceio/telepresence.git

          • CLI

            gh repo clone telepresenceio/telepresence

          • sshUrl

            git@github.com:telepresenceio/telepresence.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link