Coder Social home page Coder Social logo

Comments (3)

Adiqq avatar Adiqq commented on August 16, 2024 1

I think that OP mean https://kubernetes.io/docs/concepts/services-networking/service/ .
This would be useful to support not only port-forwarding to pods/deployments, but also to services.

from kube-forwarder.

lnikell avatar lnikell commented on August 16, 2024

Thank you for the message @syedalisait. First of all, check out our latest version v1.1.0 that contains auto detection of kube config and also several improvements related with parsing multi-contexts configuration. I hope it will make the process of using the app better.

Below a few examples of kube config which are pretty standard, I think
Digital Ocean:

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSU
    server: https://a7451be2-44ab-42bd-9d4c-213dadf0e675.k8s.ondigitalocean.com
  name: do-fra1-k8s-1-14-1-do-4-fra1-1561886718185
contexts:
- context:
    cluster: do-fra1-k8s-1-14-1-do-4-fra1-1561886718185
    user: do-fra1-k8s-1-14-1-do-4-fra1-1561886718185-admin
  name: do-fra1-k8s-1-14-1-do-4-fra1-1561886718185
current-context: do-fra1-k8s-1-14-1-do-4-fra1-1561886718185
kind: Config
preferences: {}
users:
- name: do-fra1-k8s-1-14-1-do-4-fra1-1561886718185-admin
  user:
    client-certificate-data: LS0tLS1CRUdJTiBDRVJUSU
    client-key-data: LS0tLS1CRUdJTiBSU0Eg

Rancher

apiVersion: v1
kind: Config
clusters:
- name: "pixel-point"
  cluster:
    server: "https://rancher.example.com/k8s/clusters/c-rz2xs"

users:
- name: "user-jzlgj"
  user:
    token: "kzgw6sz66qjkfzn7js6sz7p27t8k"

contexts:
- name: "pixel-point"
  context:
    user: "user-jwegj"
    cluster: "pixel-point"

current-context: "pixel-point"

If your existing config still does not work, please post it here and remove some confidential information from it, and we will try to understand the reason of the problem.

from kube-forwarder.

syedalisait avatar syedalisait commented on August 16, 2024

@Adiqq Thanks for that.
Yes I'm looking to port-forward a Service

from kube-forwarder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.