Skip to content
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

adds ambassador and argo components to manifests #1

Merged
merged 3 commits into from
Feb 28, 2019

Conversation

swiftdiaries
Copy link
Member

@swiftdiaries swiftdiaries commented Feb 27, 2019

/cc @kkasravi @jlewi

I'm starting with ambassador and argo because I already have the converted components. I'll add the remaining components pretty soon.


This change is Reviewable

@swiftdiaries
Copy link
Member Author

/assign @kkasravi

@swiftdiaries
Copy link
Member Author

Issue for reference/paper trail: kubeflow/kubeflow#2566

@@ -0,0 +1,2 @@
bases:
- ../../base
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to define an overlay if the overlay isn't doing any customization?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I'd get an initial commit in and add the overlays specific to each platform later

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't expect most packages to require platform specific customization.
So I would only expect us to define overlays for those packages and platforms requiring customization.

But this PR seems to be implying that we will define overlays for every platform for every package because you are creating stubs to be filled out later.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, that makes sense. I'll remove stubs for components that don't require customization.

@@ -0,0 +1,5 @@
bases:
- ambassador/base
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't there be a kustomization file for each package so that each application can be installed independently?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there is one for each component.
This is to combine everything and deploy the set of components.
I've explained the reasoning here: #4

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For each platform we will have different packages that we want to install; e.g. there are GCP specific packages.
We also have different configurations for each platform;
e.g.
GCP + IAP
GCP + Basic Auth
Minikube

For each of the above there is a different set of applications to install and possibly different overlays to be used for each application.

Is the intent for the root kustomization.yaml to support all of that? Or is the root kustomization.yaml only going to provide a vanilla K8s cconfig.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the root customization can choose what components to install from the different components.
So for minikube/gke, we'd have an overlay based on the root customization.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool.

@jlewi
Copy link
Contributor

jlewi commented Feb 28, 2019

How did you generate these manifests? Did you just do ks show?

@swiftdiaries
Copy link
Member Author

Yes, ks show

@jlewi
Copy link
Contributor

jlewi commented Feb 28, 2019

I think this is good to go once you remove the empty overlays.

@swiftdiaries
Copy link
Member Author

swiftdiaries commented Feb 28, 2019

Sorry I didn't see your comment, will update the PR. Thanks for the review !

@swiftdiaries
Copy link
Member Author

/cc @jlewi @kkasravi

@jlewi
Copy link
Contributor

jlewi commented Feb 28, 2019

/lgtm
/approve

This is great thanks for the quick work.

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 26cfb30 into kubeflow:master Feb 28, 2019
Tomcli referenced this pull request in Tomcli/manifests Sep 23, 2020
[ImgBot] Optimize images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants