-
Notifications
You must be signed in to change notification settings - Fork 880
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
Add v1alpha1 XGBoostJob manifests #1113
Add v1alpha1 XGBoostJob manifests #1113
Conversation
I see this error when I execute
Related issues: kubernetes-sigs/kustomize#1069, kubeflow/metadata#202 |
Skimming through the issues and it looks like we are migrating to kustomize v3 #1062. The problem here is that when I run Any suggestions here? @abhi-g @richardsliu @jlewi |
Signed-off-by: terrytangyuan <[email protected]>
200ea12
to
f31f35b
Compare
@@ -0,0 +1,14 @@ | |||
apiVersion: kustomize.config.k8s.io/v1beta1 |
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.
Application should not depend on base.
The application manifest is not overloading any resources defined in the base package.
So either
- create a single package which includes the application resource
or - Create 2 separate packages one with the base resources and one with the application resource
and then create a 3rd package to update them.
xgboost-job/xgboost-operator/overlays/application/kustomization.yaml
Outdated
Show resolved
Hide resolved
@terrytangyuan I don't understand what the problem is. Which version of kustomize are you using? I'm using
And I can run |
@jlewi The problem is with kustomize Regarding the application dependency on base, currently other operators all follow this same pattern. We can perhaps fix them altogether in a follow-up PR so this PR can focus on bringing XGBoostJob to kubeflow/manifests. Could you take another look? |
Signed-off-by: terrytangyuan <[email protected]>
@jlewi Thank you for the detailed review! I've addressed your comments. |
@terrytangyuan It looks like your application package is still depending on the base package. I would suggest organizing it as follows
The idea here is that installs contains fully deployable packages which are constructed by combining components. You can take that as a suggestion though so if you prefer the current layout you can stick with it. |
@jlewi Thanks for the clarification. I'd like to keep the current layout for now as currently there are other operators that follow this pattern. We can perhaps address that altogether in the future so this PR can focus on bringing XGBoost operator available here. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlewi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: terrytangyuan [email protected]
Which issue is resolved by this Pull Request:
Resolves #1112
Description of your changes:
This adds the manifests for v1alpha1 XGBoostJob.
Checklist:
cd manifests/tests
make generate-changed-only
make test