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

Guide for running on K8s #448

Closed
alexdebrie opened this issue Jun 5, 2018 · 4 comments
Closed

Guide for running on K8s #448

alexdebrie opened this issue Jun 5, 2018 · 4 comments

Comments

@alexdebrie
Copy link
Contributor

Event Gateway is attractive to Kubernetes users (example: Kelsey Hightower's KubeCon demo).

This ticket is to add documentation and supporting scripts to make it easy to get started with Event Gateway on K8s.

@fargozhu
Copy link

fargozhu commented Jun 27, 2018

The cpu issue was solved by removing resources definition but now I am facing with pod crashes with the following error message:

2018-06-27 09:37:07.726410 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:2379: getsockopt: connection refused"; Reconnecting to {127.0.0.1:2379 }
2018-06-27 09:37:08.726630 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:2379: getsockopt: connection refused"; Reconnecting to {127.0.0.1:2379 }
2018-06-27 09:37:10.055508 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:2379: getsockopt: connection refused"; Reconnecting to {127.0.0.1:2379 }
2018-06-27 09:37:12.524521 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:2379: getsockopt: connection refused"; Reconnecting to {127.0.0.1:2379 }
2018-06-27 09:37:17.216986 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:2379: getsockopt: connection refused"; Reconnecting to {127.0.0.1:2379 }
2018-06-27 09:37:17.726471 I | etcdserver/api/v3rpc: Failed to dial 127.0.0.1:2379: context canceled; please retry.
{"level":"fatal","ts":1530092237.7264407,"msg":"Cannot create KV client.","error":"dial tcp 127.0.0.1:2379: getsockopt: connection refused"}

@alexdebrie
Copy link
Contributor Author

Hey @fargozhu, do you have an etcd cluster running?

@fargozhu
Copy link

Hi @alexdebrie , I do not...

@baniol
Copy link
Contributor

baniol commented Jun 28, 2018

Hi,
all the examples from the Kelsey Hightower's KubeCon demo repo work all right for me.
For an easy start, (apart from the k8s yaml files) a Helm chart, with etcd-operator as a dependency, would be a good thing (I could handle this).
However, stepping through the examples, I've come across a security issue. The service script included in the demo spins up a load balancer with a public endpoint. Now, if you run serverless deploy command with this endpoint in the config, it registers functions with your local AWS credentials, which then are publicly exposed via /v1/spaces/default/functions.

baniol pushed a commit to baniol/event-gateway that referenced this issue Jul 23, 2018
baniol pushed a commit to baniol/event-gateway that referenced this issue Jul 31, 2018
baniol pushed a commit to baniol/event-gateway that referenced this issue Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants