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

Error when trying deploying app to Google Cloud Kubernetes #7

Open
andytan2624 opened this issue May 15, 2019 · 4 comments
Open

Error when trying deploying app to Google Cloud Kubernetes #7

andytan2624 opened this issue May 15, 2019 · 4 comments

Comments

@andytan2624
Copy link

Thanks for this in depth course, it's been really informative. Just had a stumble towards the end of the course, where after trying to deploy to Google Cloud via travisCI, when going to the IP address, it errors out and I get this message

TypeError: this.state.seenIndexes.map is not a function at t.value (Fib.js:39) at t.value (Fib.js:66)

Where the code in Fib.js in the client folder is like this

async fetchIndexes() { const seenIndexes = await axios.get('/api/values/all'); this.setState({ seenIndexes: seenIndexes.data });

It seems like the server isn't working, because it keeps returning "Hi"

The weird thing this was working locally when using kubectl, but now it's not

Has anyone encountered this issue before and know what the problem is?

This is the repo to what I've done so far https://github.com/andytan2624/multi-k8s

Thanks

@Sangkwun
Copy link

It happens to me too..

@AmanL04
Copy link

AmanL04 commented Jan 17, 2020

Same here. haven't been able to figure it out

@yuseinishiyama
Copy link

There's a recent update that probably is the solution to this https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide/learn/lecture/14520632

@af4oz
Copy link

af4oz commented Apr 28, 2020

Can somebody post what's happening in https://www.udemy.com/course/docker-and-kubernetes-the-complete-guide/learn/lecture/14520632.🙂
I am using business version of udemy, i donot have access for questions forum.😑

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

5 participants