Tanzu-Solutions-Engineering / tanzu-to-go-workshop

Workshop content for creating a standalone Kubernetes development environment built entirely on open source
31 stars 22 forks source link

install-knative.sh fails - using latest TCE v0.11 #10

Open kcalmond opened 2 years ago

kcalmond commented 2 years ago

I got this error running install-knative.sh:

Error: resource reconciliation failed: kapp: Error: Expected to find kind 'admissionregistration.k8s.io/v1beta1/ValidatingWebhookConfiguration', but did not:
- Kubernetes API server did not have matching apiVersion + kind
- No matching CRD was found in given configuration. Reconcile failed: Error (see .status.usefulErrorMessage for details)

I changed the versions for contour and knative-serving to match output below from TCE v0.11 cluster and the install script ran without error: (contour = v1.20.1 & knative-serving = v1.0.0)

tanzu@i-064b7494e92251c45:~/tanzu-to-go-workshop$ tanzu package available list
\ Retrieving available packages...
  NAME                                                 DISPLAY-NAME                 SHORT-DESCRIPTION                                                                                                                                          LATEST-VERSION
...
  contour.community.tanzu.vmware.com                   contour                      An ingress controller                                                                                                                                      1.20.1
...
  knative-serving.community.tanzu.vmware.com           knative-serving              Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers                               1.0.0