cloudfoundry / cf-for-k8s

The open source deployment manifest for Cloud Foundry on Kubernetes
Apache License 2.0
300 stars 115 forks source link

Creating resource builder/cf-default-builder (kpack.io/v1alpha1) fails to connect to https://kpack-webhook.kpack.svc:443/convert?timeout=30s #698

Open shantdashjian opened 2 years ago

shantdashjian commented 2 years ago

Creating resource builder/cf-default-builder (kpack.io/v1alpha1) fails to connect to https://kpack-webhook.kpack.svc:443/convert?timeout=30s

To Reproduce:

  1. Follow the instruction in docs up to the step to deploy to your local k8s cluster.
  2. Try to deploy cf-for-k8s to the local cluster by running kapp deploy -a cf -f <(ytt -f config -f ${TMP_DIR}/cf-values.yml)
  3. See error
    3:11:20PM:  ^ Retryable error: Creating resource builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging: API server says: conversion webhook for kpack.io/v1alpha1, Kind=Builder failed: Post "https://kpack-webhook.kpack.svc:443/convert?timeout=30s": dial tcp 10.110.216.122:443: connect: connection refused (reason: )

Expected behavior

Deploying should be successful.

Additional context

Cluster information

minikube

CLI versions

  1. ytt --version: ytt version 0.40.1
  2. kapp --version: kapp version 0.46.0
  3. kubectl version:
    Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:51:05Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"darwin/arm64"}
    Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:19:12Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/arm64"}
  4. cf version: cf version 7.4.0+e55633fed.2021-11-15
cf-gitbot commented 2 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/181689614

The labels on this github issue will be updated when the story is started.