-
Notifications
You must be signed in to change notification settings - Fork 882
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
how to customize a manifest by params #27
Comments
@hougangliu @jlewi @swiftdiaries these won't be covered by overlays, rather by vars that are inserted into a ConfigMap. I'll do this component and update the manifests README.md to show how this was done as an example. I'll open the PR this morning or early afternoon. |
@hougangliu @jlewi @swiftdiaries @ashahba the enableGangScheduling boolean which, if true, updates the ClusterRole rules sections and adds a flag to the command in the deployment podtemplate will likely be done using a device overlay.
Currently if a platform is specified to kfctl (kftcl init --platform gcp) then this overlay is automatically called. For additional overlays I was thinking of the approach above. The deploymentNamespace is an early attempt to do multi-user namespaces and would likely be done via a profiles overlay which would involve a number of components and some changes to the tf-job-operator. Feedback is encouraged. |
@kkasravi good idea! |
Might this (gang scheduling) be a case where users have to define a new overlay combining the different options? Can you describe the example in more detail? E.g what are the parameters and what are they controlling? If IUUC there are different roles and bindings and different command line arguments. What if we provided different overlays/manifests for the roles and bindings and added users to combine them with the correct command line flags (e.g edit the manifest or overlay to set the command line argument)? |
i'll have a PR this morning for tf-job-operator, with an overview |
This is the approach being taken in #34.
The cluster overlay adds cluster-role and cluster-role-binding resources, the namespaced overlay
However, I'm not sure I entirely understand how deploymentNamespace parameter should work with Profiles.
User submits a TFJob with no namespace specified. If we have an overlay for namespaced then
User submits a TFJob with the kubeflow namespace specified. |
In both cases above, the 'deploymentNamespace' would only be used to specify a different namespace other that 'kubeflow' which - would we ever use this?. And (unless I'm missing something), the tf-operator is missing information on where to launch the TFJob for Profiles. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions. |
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! |
update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com>
update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
* Add IKS files - Add orignal distributions folder as dist and remove non-IKS files, except OpenShift - Add `iks-single` for single user deployment - Add `iks-multi` for multiple user deployment Signed-off-by: Yihong Wang <yh.wang@ibm.com> * remove openshift related files Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Add Application CRD Add Application CRD and an application object to specify kubeflow version and show on centraldashboard. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update doc links on centraldashboard (kubeflow#27) update doc links on centraldashboard's landing page to point to IKS and pipeline docs. Signed-off-by: Yihong Wang <yh.wang@ibm.com> * Update README for v1.4 Update the README to indicate that this repo is used for Kubeflow on IKS. And point out two specific directories for single and multi-tenant deployments Signed-off-by: Yihong Wang <yh.wang@ibm.com> * use the overlay for knative because of this issue: kubeflow#1966 an overlay is created. need to use it instead of the knative/base Signed-off-by: Yihong Wang <yh.wang@ibm.com>
Take the example as here, whether
--namespace
and--enable-gang-scheduling
are appended into args is based on two params.For kustomize manifest counterpart, 4 overlays is need to cover all the cases of its ksonnet version.
As for more params, kustomize overlays may exponential increase if we try to match ksonnet version kubeflow.
I think we should discuss about how to handle it.
@jlewi @kkasravi @swiftdiaries
The text was updated successfully, but these errors were encountered: