.. flytectl doc ########################################## ``Flytectl`` Reference ########################################## Install ======= Flytectl is a Golang binary and can be installed on any platform supported by golang .. tabs:: .. tab:: OSX .. prompt:: bash $ brew install flyteorg/homebrew-tap/flytectl *Upgrade* existing installation using the following command: .. prompt:: bash $ brew upgrade flytectl .. tab:: Other Operating systems .. prompt:: bash $ curl -s https://raw.githubusercontent.com/lyft/flytectl/master/install.sh | bash **Test** if Flytectl is installed correctly (your Flytectl version should be > 0.2.0) using the following command: .. prompt:: bash $ flytectl version Configure ========= Flytectl allows configuring using a YAML file or pass every configuration value on command-line. The following configuration is useful to setup. Basic Configuration -------------------- .. tabs:: Flytectl configuration .. tab:: Local Flyte Sandbox Automatically configured for you by ``flytectl sandbox`` command. .. code-block:: yaml admin: # For GRPC endpoints you might want to use dns:///flyte.myexample.com endpoint: dns:///localhost:30081 insecure: true authType: Pkce # if using authentication or just drop this. If insecure set insecure: True storage: connection: access-key: minio auth-type: accesskey disable-ssl: true endpoint: http://localhost:30084 region: my-region-here secret-key: miniostorage container: my-s3-bucket type: minio .. tab:: AWS Configuration .. code-block:: yaml admin: # For GRPC endpoints you might want to use dns:///flyte.myexample.com endpoint: dns:/// authType: Pkce # if using authentication or just drop this. If insecure set insecure: True storage: kind: s3 config: auth_type: iam region: # Example: us-east-2 container: # Example my-bucket. Flyte k8s cluster / service account for execution should have read access to this bucket .. tab:: GCS Configuration .. code-block:: yaml admin: # For GRPC endpoints you might want to use dns:///flyte.myexample.com endpoint: dns:/// authType: Pkce # if using authentication or just drop this. If insecure set insecure: True storage: kind: google config: json: "" project_id: # TODO: replace with the GCP project ID scopes: https://www.googleapis.com/auth/devstorage.read_write container: # Example my-bucket. Flyte k8s cluster / service account for execution should have access to this bucket .. tab:: Others For other supported storage backends like Oracle, Azure, etc., refer to the configuration structure `here `__. Place this in $HOME/.flyte directory with name config.yaml. This file is searched in * $HOME/.flyte * currDir from where you run flytectl * /etc/flyte/config You can pass it commandline using --config aswell .. toctree:: :maxdepth: 1 :hidden: |plane| Getting Started |book-reader| User Guide |chalkboard| Tutorials |project-diagram| Concepts |book| API Reference |hands-helping| Community .. toctree:: :maxdepth: -1 :caption: Flytectl :hidden: Install and Configure verbs nouns Contribute