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

Producing knative-compatible yamls in a sustainable way #2254

Closed
mattmoor opened this issue Feb 20, 2020 · 7 comments
Closed

Producing knative-compatible yamls in a sustainable way #2254

mattmoor opened this issue Feb 20, 2020 · 7 comments
Labels
area/deployment Issues or PRs related to deployment tooling or infrastructure. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@mattmoor
Copy link
Contributor

Please describe the problem you have

knative.dev/net-contour requires a slightly odd configuration of Contour, where we effectively use two installs:

  1. The first is our ExternalIP visibility, where the Envoys have a type: LoadBalancer service, and a Contour, which programs them with a specified class (e.g. contour-external)
  2. The second is our ClusterLocal visibility, where the Envoys have a type: ClusterIP service, and a Contour, which programs them with a specified class (e.g. contour-internal)

The "class" and service name are configured for each visibility through our config-contour configmap here.

To bootstrap things, I produced artisan hand-crafted yamls to achieve this, and I'll probably do this a few more times before we sort out how to do this sustainably, but I wanted to open this issue to seek guidance on how we might do this most sustainably moving forward.

@jpeach jpeach added the area/deployment Issues or PRs related to deployment tooling or infrastructure. label Feb 20, 2020
@jpeach
Copy link
Contributor

jpeach commented Feb 20, 2020

Exposing a parts of the Contour YAML as a kustomize base can help with this.

xref #2088

@stevesloka
Copy link
Member

Hey @mattmoor, in a perfect world, what would you want here? Some Kustomize yaml? A helm chart?

@mattmoor
Copy link
Contributor Author

mattmoor commented Mar 4, 2020

I don't have a strong preference, but what I ultimately did was to produce two yamls with s/projectcontour/contour-{internal,external/, and then scripted fixing up everything else I found.

This was much simpler than the crazy stuff I was doing previously, but still harder than it should be to find everything (e.g. --namespace on the Job, class flag on contour)

@johanbrandhorst
Copy link

Sorry if this isn't the best place for this, but what is the reason that Contour can't support knative natively? Why the need for the separate project?

@mattmoor
Copy link
Contributor Author

what is the reason that Contour can't support knative natively

This sort of ties into: #2809

We use a separate installation of Contour for each "class"-equivalent in the Knative model.

If a single install of Contour could satisfy Knative's needs, then we could maybe discuss it, but I'm still not sure it makes sense given costs/benefits (e.g. vendoring knative?) and the longer term prospects (e.g. ingress v2).

Copy link

github-actions bot commented Mar 7, 2024

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the Issue is closed

You can:

  • Mark this Issue as fresh by commenting
  • Close this Issue
  • Offer to help out with triage

Please send feedback to the #contour channel in the Kubernetes Slack

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 7, 2024
Copy link

github-actions bot commented Apr 6, 2024

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the Issue is closed

You can:

  • Mark this Issue as fresh by commenting
  • Close this Issue
  • Offer to help out with triage

Please send feedback to the #contour channel in the Kubernetes Slack

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deployment Issues or PRs related to deployment tooling or infrastructure. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants