Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubeapps dashboard fails on windows #90

Closed
ngtuna opened this issue Dec 8, 2017 · 3 comments
Closed

kubeapps dashboard fails on windows #90

ngtuna opened this issue Dec 8, 2017 · 3 comments

Comments

@ngtuna
Copy link
Contributor

ngtuna commented Dec 8, 2017

kubeapps.exe up/down works fine on windows but dashboard. Reported by @sameersbn

C:\Users\sameersbn\Desktop>kubeapps.exe dashboard
�[31mERRO�[0m[0000] not supported by windows
@sameersbn
Copy link
Contributor

sameersbn commented Dec 13, 2017

Update:

I compiled kubeapps using the following steps (refer #84) and everything (including kubeapps dashboard) functions properly.

# -- UBUNTU --
# docker run -it --rm -v /home/sameersbn/workdir/bitnami/go:/go ubuntu:trusty bash

# -- DEBIAN --
# docker run -it --rm -v /home/sameersbn/workdir/bitnami/go:/go debian:stretch bash

apt update && apt install curl make build-essential mingw-w64 git-core

cd /opt
curl https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz | tar zxf -
export GOROOT=/opt/go
export PATH=${GOROOT}/bin:${PATH}

# -- COMPILATION --

export GOPATH=/go
export TARGET=x86_64-w64-mingw32

cd $GOPATH/src/github.com/kubeapps/kubeapps
make test

export CC="$TARGET-gcc"
export CXX="$TARGET-g++"
export GOOS="windows"
export GOARCH="amd64"
go env

# edit Makefile to add `-static` linker flag

make VERSION="$VERSION" binary-travis
mv kubeapps kubeapps.exe

@ngtuna
Copy link
Contributor Author

ngtuna commented Dec 13, 2017

Thanks @sameersbn. So I suggest to leave this issue open until we solve #94 and test the binary directly compiled on windows.

@ngtuna
Copy link
Contributor Author

ngtuna commented Jan 2, 2018

The windows binary fixed this issue so I will close it now

@ngtuna ngtuna closed this as completed Jan 2, 2018
prydonius pushed a commit to prydonius/kubeapps that referenced this issue Mar 5, 2018
* Update card design and structure. Update old cards to the new components

* Update broker and service instances list cards

* Prettier missing file

* Fix the card props

* Fix the spacing to solve the issue with the last element

* Move function to classes. Remove unnecesary code. Update props
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants