-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revising matchable resource documentation #257
Conversation
@@ -16,6 +16,7 @@ configMapGenerator: | |||
files: | |||
# Files are read in alphabetical order. To ensure that we create the namespace first, prefix the file name with "aa". | |||
- clusterresource-templates/aa_namespace.yaml | |||
- clusterresource-templates/ab_project-resource-quota.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: doesn't need the ab_
we just do that so that namespaces get created first (golang reads the files in alphabetically)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... when these are done as config maps then, what order are they run in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the config maps are mounted as files here, no?
|
||
In the absence of custom override values, templateData from the `flyteadmin config <https://github.com/lyft/flyteadmin/blob/6a64f00315f8ffeb0472ae96cbc2031b338c5840/flyteadmin_config.yaml#L154,L159>`_ is used as a default. | ||
Note that these settings can only take on domain, or a project and domain specificity. Project & domain together in Flyte form Kubernetes namespaces. Since Flyte has not tied in the notion of a workflow or a launch plan to any Kubernetes constructs, specifying a workflow or launch plan name doesn't make any sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Project & domain together in Flyte form Kubernetes namespaces.
this is not always true - this is now configurable (e.g. for the L5 use case namespaces are now domain only)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a good point, let me remove that.
|
||
All other inbound CreateExecution requests would use the default values specified in the flyteadmin config (if any). | ||
|
||
********* | ||
Debugging | ||
********* | ||
|
||
Use the `get <https://github.com/lyft/flyteidl/blob/ba13965bcfbf7e7bfce40664800aaf1f2a1088a1/protos/flyteidl/service/admin.proto#L395>`_ endpoint | ||
Use the `get <https://github.com/lyft/flyteidl/blob/ba13965bcfbf7e7bfce40664800aaf1f2a1088a1/protos/flyteidl/service/admin.proto#L395>`__ endpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yikes, thanks for correcting all of these 🤦♀️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for adding all these docs!
|
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
* overriding OutputWriter Signed-off-by: Daniel Rammer <[email protected]> * updated comments Signed-off-by: Daniel Rammer <[email protected]> * added unit test Signed-off-by: Daniel Rammer <[email protected]> * fixed lint issues Signed-off-by: Daniel Rammer <[email protected]>
* Migrate register from docker to flytectl Signed-off-by: yuvraj <[email protected]> * Small fix Signed-off-by: Yuvraj <[email protected]> * added docs for flytectl in readme Signed-off-by: Yuvraj <[email protected]> * remove register command from conatiner Signed-off-by: Yuvraj <[email protected]> * use register command outside the container Signed-off-by: Yuvraj <[email protected]> * remove register from container makefile for all example Signed-off-by: Yuvraj <[email protected]> * fix typo Signed-off-by: Yuvraj <[email protected]> * revert conatiner change Signed-off-by: Yuvraj <[email protected]>
* Revert "Migrate register from docker to flytectl (flyteorg#257)" This reverts commit 1d2f279.
* Adding flytectl.rst to index Signed-off-by: Prafulla Mahindrakar <[email protected]> * Update index.rst Co-authored-by: Niels Bantilan <[email protected]>
Signed-off-by: Pianist038801 <[email protected]> Co-authored-by: Pianist038801 <[email protected]>
# [0.39.0](http://github.com/lyft/flyteconsole/compare/v0.38.0...v0.39.0) (2022-01-11) ### Features * load 100 executions on each filter ([flyteorg#257](http://github.com/lyft/flyteconsole/issues/257)) ([1a0c3ce](http://github.com/lyft/flyteconsole/commit/1a0c3cecbcde382bb0386e46249708d284f2c188))
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Haytham Abuelfutuh <[email protected]>
* overriding OutputWriter Signed-off-by: Daniel Rammer <[email protected]> * updated comments Signed-off-by: Daniel Rammer <[email protected]> * added unit test Signed-off-by: Daniel Rammer <[email protected]> * fixed lint issues Signed-off-by: Daniel Rammer <[email protected]>
* Adding flytectl.rst to index Signed-off-by: Prafulla Mahindrakar <[email protected]> * Update index.rst Co-authored-by: Niels Bantilan <[email protected]>
* Adding flytectl.rst to index Signed-off-by: Prafulla Mahindrakar <[email protected]> * Update index.rst Co-authored-by: Niels Bantilan <[email protected]>
* Adding flytectl.rst to index Signed-off-by: Prafulla Mahindrakar <[email protected]> * Update index.rst Co-authored-by: Niels Bantilan <[email protected]>
When first working with the matchable resource and configuration endpoints I was a little confused. This is my attempt to alleviate the confusion another newcomer may have with this topic.
As an example to point to in the documentation, this also adds the K8s namespace
resourcequota
construct to the sandbox deployment. The default settings given are:These are intentionally pretty low but should be sufficient to run the examples we have.