Skip to content

Commit

Permalink
initial contributing (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
brucearctor authored Aug 3, 2020
1 parent c17ee3b commit 8774f00
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flytectl/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# flytectl
Flyte CLI


[Contribution guidelines for this project](docs/CONTRIBUTING.md)
15 changes: 15 additions & 0 deletions flytectl/docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Developing FlyteCtl

A local cluster can be setup via --> https://lyft.github.io/flyte/administrator/install/getting_started.html#getting-started

Then, if having trouble connecting to local cluster see the following:

#1) Find/Set/Verify gRPC port for your local Flyte service:

FLYTECTL_GRPC_PORT=`kubectl get service -n flyte flyteadmin -o json | jq '.spec.ports[] | select(.name=="grpc").port'`
#2) Setup Port forwarding: kubectl port-forward -n flyte service/flyteadmin 8081:$FLYTECTL_GRPC_PORT

and #3) Update config line in https://github.com/lyft/flytectl/blob/master/config.yaml to dns:///localhost:8081



0 comments on commit 8774f00

Please sign in to comment.