-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create README.md Signed-off-by: Haytham Abuelfutuh <[email protected]> * Add default service account name Signed-off-by: Haytham Abuelfutuh <[email protected]> * Update README.md Signed-off-by: Haytham Abuelfutuh <[email protected]> * Update README.md Signed-off-by: Haytham Abuelfutuh <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# What's Portal | ||
|
||
Portal is a container containing a set of tools to help debug live services.. It can be deployed as a pod or a deployment to give you access to databases and | ||
other IAM- or VPC- protected services. | ||
|
||
## Apply portal deployment | ||
|
||
Create portal deployment in `flyte` namespace: | ||
|
||
```bash | ||
kubectl apply -f https://raw.githubusercontent.com/flyteorg/flytetools/master/portal/deployment.yaml | ||
``` | ||
|
||
### Use a different namespace | ||
|
||
```bash | ||
curl https://raw.githubusercontent.com/flyteorg/flytetools/master/portal/deployment.yaml | sed "s/namespace: flyte/namespace: union/" | kubectl apply -f - | ||
``` | ||
|
||
### Use a different service account | ||
|
||
```bash | ||
curl https://raw.githubusercontent.com/flyteorg/flytetools/master/portal/deployment.yaml | sed "s/serviceAccountName: default/serviceAccountName: foo/" | kubectl apply -f - | ||
``` | ||
|
||
## Open a shell into the deployed pod | ||
|
||
```bash | ||
kubectl exec -it -n flyte deploy/portal -- bash | ||
``` | ||
|
||
## Tools available inside: | ||
|
||
- [X] postgresql-client (run `psql`) | ||
- [X] redis-client (run `redis-cli`) | ||
- [X] flytekit | ||
- [X] python3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters