15 Oct 2021 |
| Yulong joined the room. | 02:42:51 |
Yulong | Hi, guys. I am using kfserving v0.6.0 on kubeflow v1.3.0. I was trying to use replace or patch function to apply a new version of TensorFlow model, but it it seems that after running the code, the InferenceService and pod didn’t changed.
predictor_2 = V1beta1PredictorSpec(tensorflow=V1beta1TFServingSpec(storage_uri=storage_uri,
image=image),
min_replicas=1,
max_replicas=3,
canary_traffic_percent=50,
)
isvc_2 = V1beta1InferenceService(api_version="serving.kubeflow.org/v1beta1",
kind=constants.KFSERVING_KIND,
metadata=client.V1ObjectMeta(name=predictor_name, namespace=namespace),
spec=V1beta1InferenceServiceSpec(predictor=predictor_2))
kfs.replace(name=predictor_name, inferenceservice=isvc_2, namespace=namespace)
(base) jovyan@tensorboard-normal-0:~$ k get InferenceService
NAME URL READY PREV LATEST PREVROLLEDOUTREVISION LATESTREADYREVISION AGE
demo http://demo.test-ns.example.com True 100 demo-predictor-default-5sn57 8m59s
What should I do to make it right? | 02:52:37 |
Yulong | (edited) Hi, guys. I am ... => Hi, guys.
I am ... | 02:52:50 |
Yulong | By the way, if I use different storage_uri , it will replace or patch successfully, but we are using TFX. Pusher, a component of TFX, saves trained-model under a folder, e.g., ./models/1, /models/2, … we need to specify the storage_uri to the ./models level for loading saved model of TF. In this case, kfserving won’t do replace or patch . Does any possible way to deal with it? | 06:40:20 |
Dan Sun | In reply to@_slack_kubeflow_U0253V66WCT:matrix.org By the way, if I use different storage_uri , it will replace or patch successfully, but we are using TFX. Pusher, a component of TFX, saves trained-model under a folder, e.g., ./models/1, /models/2, … we need to specify the storage_uri to the ./models level for loading saved model of TF. In this case, kfserving won’t do replace or patch . Does any possible way to deal with it? Yulong that's by design, if the storage uri is not changed then nothing is deployed as we want to make storage immutable. But I think in this case you can add an annotation to indicate the version change then InferenceService will redeploy and load the correct version | 13:02:29 |
Dan Sun | In reply to@_slack_kubeflow_UFVUV2UFP:matrix.org Yulong that's by design, if the storage uri is not changed then nothing is deployed as we want to make storage immutable. But I think in this case you can add an annotation to indicate the version change then InferenceService will redeploy and load the correct version Any change should be surfaced on inference service yaml which is the whole point of declarative deployment | 13:03:40 |
| Vedant Padwal joined the room. | 13:49:25 |
| Vedant Padwal changed their display name from jordan sumitomo to Vedant Padwal. | 18:55:44 |
| Vedant Padwal changed their profile picture. | 18:55:45 |
Vedant Padwal | Hi Everyone, The KServe v0.7 release blog is out!, please check it out at https://kserve.github.io/website/blog/articles/2021-10-11-KServe-0.7-release/ | 18:55:51 |
| Kevin Hu joined the room. | 21:04:14 |
| Kevin Hu changed their display name from _slack_kubeflow_U02JP9VPHH6 to Kevin Hu. | 21:15:48 |
| Kevin Hu set a profile picture. | 21:15:51 |
16 Oct 2021 |
| Nagaraj Janardhana joined the room. | 04:26:21 |
| Marek Opęchowski joined the room. | 07:37:37 |
| Andrey Velichkevich joined the room. | 08:38:23 |
18 Oct 2021 |
Yulong | In reply to@_slack_kubeflow_UFVUV2UFP:matrix.org Any change should be surfaced on inference service yaml which is the whole point of declarative deployment Dan Sun Thank you for your kind response. That is a possible solution to make it. | 03:09:54 |
| _slack_kubeflow_U025D42L7J9 joined the room. | 06:58:59 |
| _slack_kubeflow_U0140TXAN4T joined the room. | 08:05:42 |
| metafeather joined the room. | 12:09:05 |
| _slack_kubeflow_U02HQ5HFBLP joined the room. | 14:48:45 |
| Timothy Laurent joined the room. | 19:59:49 |
| Timothy Laurent changed their display name from _slack_kubeflow_US7RRCDL2 to Timothy Laurent. | 20:04:11 |
| Timothy Laurent set a profile picture. | 20:04:11 |
Timothy Laurent | We're currently upgrading our stg cluster to kserve 0.7 and I'm seeing
Error creating: Internal error occurred: failed calling webhook "inferenceservice.kserve-webhook-server.pod-mutator": Post "https://kserve-webhook-server-service.kserve.
svc:443/mutate-pods?timeout=10s": x509: certificate is not valid for any names, but wanted to match kserve-webhook-server-service.kserve.svc
At the replicaset . I tried to delete the TLS secret but that hasn't resolved the issue.
Just wanted to see if anyone could help point us to how to correctly configure the secret.
Thanks, | 20:04:12 |
Timothy Laurent | In reply to@_slack_kubeflow_US7RRCDL2:matrix.org We're currently upgrading our stg cluster to kserve 0.7 and I'm seeing
Error creating: Internal error occurred: failed calling webhook "inferenceservice.kserve-webhook-server.pod-mutator": Post "https://kserve-webhook-server-service.kserve.
svc:443/mutate-pods?timeout=10s": x509: certificate is not valid for any names, but wanted to match kserve-webhook-server-service.kserve.svc
At the replicaset . I tried to delete the TLS secret but that hasn't resolved the issue.
Just wanted to see if anyone could help point us to how to correctly configure the secret.
Thanks, Looks related to this issue:
https://github.com/kserve/kserve/issues/1749 | 20:41:00 |
Timothy Laurent | In reply to@_slack_kubeflow_US7RRCDL2:matrix.org Looks related to this issue:
https://github.com/kserve/kserve/issues/1749 hmmm
apiVersion: cert-manager.io/v1alpha3
kind: Certificate
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: ,
{"apiVersion":"cert-manager.io/v1alpha2","kind":"Certificate","metadata":{"annotations":{},"labels":{"argocd.argoproj.io/instance":"kfserving-ms-stg"},"name":"serving-cert","namespace":"kserve"},"spec":{"commonName":"kserve-webhook-ser
ver-service.kserve.svc","dnsNames":["kserve-webhook-server-service.kserve.svc"],"issuerRef":{"kind":"Issuer","name":"selfsigned-issuer"},"secretName":"kserve-webhook-server-cert"}}
creationTimestamp: "2021-10-18T20:55:47Z"
generation: 1
labels:
argocd.argoproj.io/instance: kfserving-ms-stg
name: serving-cert
namespace: kserve
resourceVersion: "274549132"
uid: 670ad7e7-2b79-4b26-986f-59f83faba216
spec:
commonName: kserve-webhook-server-service.kserve.svc
dnsNames:
- kserve-webhook-server-service.kserve.svc
issuerRef:
kind: Issuer
name: selfsigned-issuer
secretName: kserve-webhook-server-cert
status:
conditions:
- lastTransitionTime: "2021-10-18T20:55:47Z"
message: Certificate is up to date and has not expired
reason: Ready
status: "True"
type: Ready
notAfter: "2022-01-16T20:55:47Z"
| 20:59:02 |
| Luc Cary joined the room. | 22:27:24 |
| Luc Cary changed their display name from _slack_kubeflow_U017XEVD8AD to Luc Cary. | 22:27:43 |
| Luc Cary set a profile picture. | 22:27:44 |