You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because it is an intranet, the network is not connected, I pull & tag & push the images of knative-operator, operator-webhook, activator, autoscaler, controller and webhook etc.
I try to install knative like doc do.
BTW, my k8s is vcluster witch version is 1.24.16
kubectl apply -f operator.yaml
kubectl apply -f serving-crds.yaml
kubectl apply -f serving-core.yaml
The knative version is 1.8 which I try to install.
But I get an error:
`{"severity":"ERROR","timestamp":"2024-11-14T08:06:02.753747884Z","logger":"webhook","caller":"webhook/webhook.go:148","message":"failed to fetch secret","commit":"8d996d9-dirty","knative.dev/pod":"webhook-7f678b758-9vvtg","error":"secret "operator-webhook-certs" not found","stacktrace":"knative.dev/pkg/webhook.New.func2\n\tknative.dev/pkg@v0.0.0-20221014164553-b812affa3893/webhook/webhook.go:148\ncrypto/tls.(*Config).getCertificate\n\tcrypto/tls/common.go:1064\ncrypto/tls.(*serverHandshakeStateTLS13).pickCertificate\n\tcrypto/tls/handshake_server_tls13.go:363\ncrypto/tls.(*serverHandshakeStateTLS13).handshake\n\tcrypto/tls/handshake_server_tls13.go:55\ncrypto/tls.(*Conn).serverHandshake\n\tcrypto/tls/handshake_server.go:54\ncrypto/tls.(*Conn).handshakeContext\n\tcrypto/tls/conn.go:1460\ncrypto/tls.(*Conn).HandshakeContext\n\tcrypto/tls/conn.go:1403\nnet/http.(*conn).serve\n\tnet/http/server.go:1848"}
I see you are installing with a mix of yamls. You can either install via the operator or via the Serving release yamls.
With the above the images I see that you need at minimum are:
gcr.io/knative-releases/knative.dev/serving/cmd/autoscaler-hpa <none> 223af62181c4 7 weeks ago 54MB
gcr.io/knative-releases/knative.dev/serving/cmd/activator <none> 75d76ff65412 7 weeks ago 54.5MB
gcr.io/knative-releases/knative.dev/net-kourier/cmd/kourier <none> 26e26abb1c10 7 weeks ago 64.5MB
gcr.io/knative-releases/knative.dev/serving/cmd/webhook <none> f2a42b55949f 7 weeks ago 54.1MB
gcr.io/knative-releases/knative.dev/serving/cmd/queue <none> 30f741ecde93 7 weeks ago 27.7MB
gcr.io/knative-releases/knative.dev/serving/cmd/autoscaler <none> 07d2818f44eb 7 weeks ago 54.9MB
gcr.io/knative-releases/knative.dev/serving/pkg/cleanup/cmd/cleanup <none> 0351a8003a4c 7 weeks ago 39.1MB
gcr.io/knative-releases/knative.dev/serving/cmd/controller <none> ea7dc6abf93e 7 weeks ago 61.8MB
gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate <none> 7a8a363a0d44 7 weeks ago 39.2MB
gcr.io/knative-releases/knative.dev/operator/cmd/webhook <none> fbde99453fba N/A 56.4MB
gcr.io/knative-releases/knative.dev/operator/cmd/operator <none> 0efcace96b1a N/A 79.7MB
Because it is an intranet, the network is not connected, I pull & tag & push the images of knative-operator, operator-webhook, activator, autoscaler, controller and webhook etc.
I try to install knative like doc do.
BTW, my k8s is vcluster witch version is 1.24.16
But I get an error:
`{"severity":"ERROR","timestamp":"2024-11-14T08:06:02.753747884Z","logger":"webhook","caller":"webhook/webhook.go:148","message":"failed to fetch secret","commit":"8d996d9-dirty","knative.dev/pod":"webhook-7f678b758-9vvtg","error":"secret "operator-webhook-certs" not found","stacktrace":"knative.dev/pkg/webhook.New.func2\n\tknative.dev/pkg@v0.0.0-20221014164553-b812affa3893/webhook/webhook.go:148\ncrypto/tls.(*Config).getCertificate\n\tcrypto/tls/common.go:1064\ncrypto/tls.(*serverHandshakeStateTLS13).pickCertificate\n\tcrypto/tls/handshake_server_tls13.go:363\ncrypto/tls.(*serverHandshakeStateTLS13).handshake\n\tcrypto/tls/handshake_server_tls13.go:55\ncrypto/tls.(*Conn).serverHandshake\n\tcrypto/tls/handshake_server.go:54\ncrypto/tls.(*Conn).handshakeContext\n\tcrypto/tls/conn.go:1460\ncrypto/tls.(*Conn).HandshakeContext\n\tcrypto/tls/conn.go:1403\nnet/http.(*conn).serve\n\tnet/http/server.go:1848"}
kubectl get secret -A|grep operator-webhook-certs
knative-operator operator-webhook-certs Opaque 3 18h
`
The text was updated successfully, but these errors were encountered: