<#441 Misc cleanups to aesthetics> Pull request op...
# flyte-github
a
#441 Misc cleanups to aesthetics Pull request opened by jeevb TL;DR 1. Fixes some aesthetics: • Missing emojis • Ugly progress bar when pulling image • Unnecessary clear screen when printing pod startup progress 2. Sets
flyte
as the namespace for the
flyte-sandbox
context since
default
is empty. 3. Update
flytectl config init
to use endpoint with port
30080
instead of the legacy
30081
4. Fix
Testing Getting started
GitHub job to use
flytectl demo start
instead of the legacy
flytectl sandbox start
5. Wait for pod to be in a ready condition instead of simply polling for a
Running
phase. Pulling image:
Copy code
> go run main.go demo start --dev
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [console] updated. No update handler registered.","ts":"2023-11-01T02:04:31-07:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [files] updated. No update handler registered.","ts":"2023-11-01T02:04:31-07:00"}
{"json":{"src":"viper.go:400"},"level":"debug","msg":"Config section [admin] updated. Firing updated event.","ts":"2023-11-01T02:04:31-07:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [storage] updated. No update handler registered.","ts":"2023-11-01T02:04:31-07:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [root] updated. No update handler registered.","ts":"2023-11-01T02:04:31-07:00"}
šŸ§‘ā€šŸ­ Bootstrapping a brand new Flyte cluster... šŸ”Ø šŸ”§
{"json":{"src":"githubutil.go:135"},"level":"info","msg":"starting with release v1.10.0","ts":"2023-11-01T02:04:33-07:00"}
šŸ‹ Going to use Flyte v1.10.0 release with image cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734
šŸ‹ Pulling image cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734
sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734: Pulling from flyteorg/flyte-sandbox-bundled
a979e9cd3052: Downloading [======================================>            ]  51.86MB/66.56MB
f6a97a38429d: Download complete
cc8797e90a60: Downloading [================>                                  ]  152.4MB/464.3MB
e49dce66b1ec: Downloading [========>                                          ]  13.51MB/79.36MB
f1233bc3b2e7: Waiting
a68cc7c2ab6d: Waiting
c8c3f1f88dac: Waiting
Done:
Copy code
> go run main.go demo start --dev
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [console] updated. No update handler registered.","ts":"2023-11-01T02:16:52-07:00"}
{"json":{"src":"viper.go:398"},"level":"debug","msg":"Config section [files] updated. No update handler registered.","ts":"2023-11-01T02:16:52-07:00"}
{"json":{"src":"viper.go:400"},"level":"debug","msg":"Config section [admin] updated. Firing updated event.","ts":"2023-11-01T02:16:52-07:00"}
šŸ§‘ā€šŸ­ Bootstrapping a brand new Flyte cluster... šŸ”Ø šŸ”§
{"json":{"src":"githubutil.go:135"},"level":"info","msg":"starting with release v1.10.0","ts":"2023-11-01T02:16:53-07:00"}
šŸ‹ Going to use Flyte v1.10.0 release with image cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734
šŸ‹ Pulling image cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734
sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734: Pulling from flyteorg/flyte-sandbox-bundled
a979e9cd3052: Pull complete
f6a97a38429d: Pull complete
cc8797e90a60: Pull complete
e49dce66b1ec: Pull complete
f1233bc3b2e7: Pull complete
a68cc7c2ab6d: Pull complete
c8c3f1f88dac: Pull complete
Digest: sha256:71665d019657e9f93585ff21743559006909833a4dac2ff1b616491c2599b815
Status: Downloaded newer image for cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-fa49d3bfcdc081328e2f1514fd513ec46fdbf734
šŸ§‘ā€šŸ­ Starting container... šŸ”Ø šŸ”§
ā³ Waiting for cluster to come up... ā³
šŸ§‘ā€šŸ­ Activated context "flyte-sandbox"!
+-----------------------------------------------------+---------------+-----------+
|                       SERVICE                       |    STATUS     | NAMESPACE |
+-----------------------------------------------------+---------------+-----------+
| flyte-sandbox-kubernetes-dashboard-6757db879c-d2bqk | Running       | flyte     |
+-----------------------------------------------------+---------------+-----------+
| flyte-sandbox-proxy-d95874857-jw8rp                 | Running       | flyte     |
+-----------------------------------------------------+---------------+-----------+
| flyte-sandbox-docker-registry-57cb4c44bb-tv9mj      | Running       | flyte     |
+-----------------------------------------------------+---------------+-----------+
| flyte-sandbox-buildkit-7d7d55dbb-gn7ph              | Running       | flyte     |
+-----------------------------------------------------+---------------+-----------+
| flyte-sandbox-postgresql-0                          | Running       | flyte     |
+-----------------------------------------------------+---------------+-----------+
| flyte-sandbox-minio-645c8ddf7c-dnnpn                | Running       | flyte     |
+-----------------------------------------------------+---------------+-----------+
šŸ‘Øā€šŸ’» Flyte is ready! Flyte UI is available at http://localhost:30080/console šŸš€ šŸš€ šŸŽ‰
ā‡ļø Run the following command to export demo environment variables for accessing flytectl
	export FLYTECTL_CONFIG=/Users/jeev/.flyte/config-sandbox.yaml
šŸ‹ Flyte sandbox ships with a Docker registry. Tag and push custom workflow images to localhost:30000
šŸ“‚ The Minio API is hosted on localhost:30002. Use http://localhost:30080/minio/login for Minio console
Type ☐ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ā˜‘ļøŽ Code completed ā˜‘ļøŽ Smoke tested ā˜‘ļøŽ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description How did you fix the bug, make the feature etc. Link to any design docs etc Tracking Issue https://github.com/flyteorg/flyte/issues/ Follow-up issue NA OR https://github.com/flyteorg/flyte/issues/ flyteorg/flytectl GitHub Actions: Generate documentation GitHub Actions: Goreleaser GitHub Actions: Bump Version āœ… 9 other checks have passed 9/12 successful checks