-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Plugin: Contour #6458
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
Draft
iRaindrop
wants to merge
10
commits into
knative:main
Choose a base branch
from
iRaindrop:install-contour
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Plugin: Contour #6458
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a37539b
Create installing-contour.md
iRaindrop 9ff186c
Update .nav.yml
iRaindrop 6bd0407
Update installing-contour.md
iRaindrop 76b4107
Update installing-contour.md
iRaindrop 22ae198
Update installing-contour.md
iRaindrop b2e417f
Update installing-contour.md
iRaindrop aa9d44e
Updates
iRaindrop c9f93a6
Misc fixes
iRaindrop 8645bd1
Update installing-contour.md
iRaindrop b1747fc
Update installing-contour.md
iRaindrop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -254,7 +254,6 @@ nav: | |
| - Configuring Knative Eventing CRDs: install/operator/configuring-eventing-cr.md | ||
| - Installing plugins: | ||
| - Install Istio for Knative: install/installing-istio.md | ||
| # TODO: docs for kourier, contour, gateway-api | ||
| - Install Kafka for Knative: install/eventing/kafka-install.md | ||
| - Install RabbitMQ for Knative: install/eventing/rabbitmq-install.md | ||
| # N.B. this duplicates an "eventing" topic above, cross-referenced here. | ||
|
|
@@ -273,6 +272,7 @@ nav: | |
| - Configure domain names: serving/using-a-custom-domain.md | ||
| - Istio Authorization: serving/istio-authorization.md | ||
| - Extending Queue Proxy image with QPOptions: serving/queue-extensions.md | ||
| - Configure Contour adapter: ./install/installing-contour.md | ||
| - Serving configuration: | ||
| - Configure Deployment resources: serving/configuration/deployment.md | ||
| - Configure gradual rollout of traffic to Revisions: serving/configuration/rolling-out-latest-revision-configmap.md | ||
|
|
@@ -291,7 +291,7 @@ nav: | |
| - Configure Kafka Broker features: eventing/brokers/broker-types/kafka-broker/configuring-kafka-features.md | ||
| - Configure event source defaults: eventing/configuration/sources-configuration.md | ||
| - Configure Sugar Controller: eventing/configuration/sugar-configuration.md | ||
| - Configure KEDA Autoscaling of Knative Kafka Resources: eventing/configuration/keda-configuration.md | ||
| - Configure KEDA Autoscaling of Knative Kafka Resources: eventing/configuration/ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this change seems unrelated
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems like the change is gone now |
||
| - Flagged features: | ||
| - Serving Features: serving/configuration/feature-flags.md | ||
| - Eventing Features: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| audience: administrator | ||
| components: | ||
| - serving | ||
| function: how-to | ||
| --- | ||
|
|
||
| # Configure Contour adapter | ||
|
|
||
| This page describes how to install and configure the Contour adapter for Knative: `net-contour`. | ||
|
|
||
| ## Before you begin | ||
|
|
||
| This installation requires a Kubernetes cluster with [Contour](https://projectcontour.io/docs/) installed. | ||
iRaindrop marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| For information about Contour versions, see the Contour [Compatibility Matrix](https://projectcontour.io/resources/compatibility-matrix/). | ||
|
|
||
| ## Install and configure the adapter | ||
|
|
||
| 1. Install the Knative Contour controller: | ||
|
|
||
| ```bash | ||
| kubectl apply -f {{ artifact(repo="net-contour",org="knative-extensions",file="net-contour.yaml")}} | ||
| ``` | ||
|
|
||
| 1. Configure Knative Serving to use Contour by default: | ||
|
|
||
| ```bash | ||
| kubectl patch configmap/config-network \ | ||
| --namespace knative-serving \ | ||
| --type merge \ | ||
| --patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}' | ||
| ``` | ||
|
|
||
| 1. Get the External IP address or full qualified domain name (CNAME): | ||
|
|
||
| ```bash | ||
| kubectl --namespace contour-external get service envoy | ||
| ``` | ||
|
|
||
| Use this value to configure your external DNS records. | ||
|
|
||
| The adapter's configurations are performed natively through Contour. For more information and resources see [Contour](https://projectcontour.io/) home page. | ||
| ## Visibility | ||
| The following table shows the classes and services that expose Contour networking. | ||
| | ExternalIP | ClusterLocal | | ||
| | --- | --- | | ||
| | class: contour-external | class: contour-internal | | ||
| | service: contour-external/envoy | service: contour-internal/envoy | | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'd move this under
Installing plugins > Install Istio for KnativeThere 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.
We also have existing content here: https://knative.dev/docs/install/yaml-install/serving/install-serving-with-yaml/#__tabbed_1_3