Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 768 Bytes

CONTRIBUTING.md

File metadata and controls

16 lines (8 loc) · 768 Bytes

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

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

#4) All new flags introduced for flytectl commands and subcommands should be camelcased. eg: bin/flytectl update project -p flytesnacks --activateProject