This repository was archived by the owner on May 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Add installing Tanzu Community Edition prerequisites #231
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5f88e06
Add installing Tanzu Community Edition prerequisites
mattray fe2093c
Update docs/guides/installation-tce.md
mattray a0e096a
Update docs/guides/installation-tce.md
mattray b0b66c1
Added spaces after snippets and updated contour pod check
mattray 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# TriggerMesh Installation for Tanzu Community Edition | ||
|
||
[Tanzu Community Edition](https://tanzucommunityedition.io/) is a free and open source Kubernetes platform provided by VMware. | ||
|
||
!!! Info "Tanzu Community Edition package repository versions" | ||
The `knative-serving` version currently in the Tanzu Community Edition package repository is `0.22`, which does not meet TriggerMesh's minimum requirements. Additionally, at the time of writing, a `knative-eventing` package is not available in the repository. Follow the instructions below for installing a supported version of Knative. | ||
|
||
## Installation | ||
|
||
1. Follow the [Getting Started with Tanzu Community Edition](https://tanzucommunityedition.io/docs/latest/getting-started-standalone/) installation instructions and create your Tanzu cluster on your platform of choice. | ||
1. Ensure you are in the context of your Tanzu cluster | ||
``` | ||
kubectl config use-context <STANDALONE-CLUSTER-NAME>-admin@<STANDALONE-CLUSTER-NAME> | ||
``` | ||
|
||
1. Install Knative Serving following the [Installing Knative Serving using YAML files](https://knative.dev/docs/admin/install/serving/install-serving-with-yaml/) instructions. | ||
``` | ||
kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-crds.yam | ||
kubectl apply -f https://github.com/knative/serving/releases/download/v0.26.0/serving-core.yaml | ||
``` | ||
|
||
1. Wait until the pods have started before proceeding. | ||
``` | ||
kubectl get pods -n knative-serving | ||
mattray marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
|
||
1. The version of Contour provided with the Tanzu Community Edition package repository is older than the version of `knative-serving` we have installed, so install it from YAML as well. | ||
``` | ||
kubectl apply -f https://github.com/knative/net-contour/releases/download/v0.26.0/contour.yaml | ||
kubectl apply -f https://github.com/knative/net-contour/releases/download/v0.26.0/net-contour.yaml | ||
``` | ||
|
||
1. Verify the pods have started before proceeding. | ||
mattray marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
kubectl get pods -n contour-external | ||
kubectl get pods -n contour-internal | ||
``` | ||
|
||
1. Configure Knative Serving to use Contour by default by running the command: | ||
``` | ||
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 CNAME by running the command: | ||
mattray marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
kubectl --namespace contour-external get service envoy | ||
``` | ||
|
||
1. You will need to configure DNS following the [Knative Serving DNS instructions](https://knative.dev/docs/admin/install/serving/install-serving-with-yaml/#configure-dns) for your requirements. | ||
mattray marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1. Install Knative Eventing following the [Installing Knative Eventing using YAML files](https://knative.dev/docs/admin/install/eventing/install-eventing-with-yaml/) instructions. | ||
``` | ||
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.26.0/eventing-crds.yaml | ||
kubectl apply -f https://github.com/knative/eventing/releases/download/v0.26.0/eventing-core.yaml | ||
``` | ||
|
||
1. Verify your installation. | ||
``` | ||
kubectl get pods -n knative-eventing | ||
``` | ||
|
||
At this point you have the TriggerMesh prerequisites installed and can continue with the [standard installation instructions](/guides/installation/#install-the-crds). |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.