Giter Site home page Giter Site logo

Comments (6)

hoatle avatar hoatle commented on July 1, 2024

@hieptranquoc:

  • it did not work on Windows (Cygwin), we need to find the root cause to fix this.
  • need to check if it works on Windows (Git-Bash).

from teracy-dev-k8s.

hieptranquoc avatar hieptranquoc commented on July 1, 2024
  • in windows(Cygwin), please use:
cd workspace/inventory/artifacts
# and export
export KUBECONFIG=$KUBECONFIG:$(pwd)/admin.conf
# or export
export KUBECONFIG=$HOME/.kube/config:$(pwd)/admin.conf

this export not run in Cygwin:

export KUBECONFIG=$(pwd)/admin.conf

because it will add a direct path to env <<< the wrong path.

  • Should check window firewall to accept the connection ( Cygwin on win 7 )

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 1, 2024

need @hoavt to check, confirm and then update docs.

from teracy-dev-k8s.

hoavt avatar hoavt commented on July 1, 2024

@hieptranquoc hie
Please check:

Administrator@CBS85CFXNI4FWJ5 /cygdrive/f/teracy/k8s-dev/workspace/inventory/artifacts
$ export KUBECONFIG=$KUBECONFIG:$(pwd)/admin.conf

Administrator@CBS85CFXNI4FWJ5 /cygdrive/f/teracy/k8s-dev/workspace/inventory/artifacts
$ helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Error: could not get Kubernetes config for context "": Error loading config file ":/cygdrive/f/teracy/k8s-dev/workspace/inventory/artifacts/admin.conf": open :/cygdrive/f/teracy/k8s-dev/workspace/inventory/artifacts/admin.conf: The filename, directory name, or volume label syntax is incorrect. ````

from teracy-dev-k8s.

hoavt avatar hoavt commented on July 1, 2024

@hieptranquoc This is on gitbash

Administrator@CBS85CFXNI4FWJ5 MINGW64 /f/teracy/k8s-dev/workspace/inventory/arti facts ((v0.6.0-a5))                                                              $ helm version                                                                   Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a 339489417b146b", GitTreeState:"clean"}                                                                                                                                                                                                                                                                                              Error: Get https://172.17.8.101:6443/api/v1/namespaces/kube-system/pods?labelSel ector=app%3Dhelm%2Cname%3Dtiller: dial tcp 172.17.8.101:6443: connectex: A conne ction attempt failed because the connected party did not properly respond after  a period of time, or established connection failed because connected host has fa iled to respond.
--

from teracy-dev-k8s.

hoatle avatar hoatle commented on July 1, 2024

waiting for teracyhq/dev#532

from teracy-dev-k8s.

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.