Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions docs/guides/installation-tce.md
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
```

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.
```
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:
```
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.
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).
2 changes: 2 additions & 0 deletions docs/guides/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ The Knative project is a dependency of TriggerMesh, install it using the instruc
* A Kubernetes cluster version `v1.20+`
* Knative `v0.26+`

If you are using VMware's [Tanzu Community Edition](https://tanzucommunityedition.io/), please refer to the [Installation for Tanzu Community Edition](installation-tce.md).

## Install the CRDs

All TriggerMersh APIs are implemented as Kubernetes CRDs, which we need to create before deploying the controller. The following `kubectl apply` command will create all of the CRDs.
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ nav:
- '': guides/installation.md
- Using an AWS AMI: guides/installation-ami.md
- Using Helm: guides/installation-helm.md
- Tanzu Community Edition: guides/installation-tce.md
- Integration Language:
- '': til/Introduction.md
- CLI: til/Commands.md
Expand Down