!LuUSGaeArTeoOgUpwk:matrix.org

kubeflow-kfserving

433 Members
2 Servers

Load older messages


SenderMessageTime
15 Oct 2021
@_slack_kubeflow_U0253V66WCT:matrix.orgYulong joined the room.02:42:51
@_slack_kubeflow_U0253V66WCT:matrix.orgYulong 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
@_slack_kubeflow_U0253V66WCT:matrix.orgYulong (edited) Hi, guys. I am ... => Hi, guys. I am ... 02:52:50
@_slack_kubeflow_U0253V66WCT:matrix.orgYulong 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
@_slack_kubeflow_UFVUV2UFP:matrix.orgDan 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
@_slack_kubeflow_UFVUV2UFP:matrix.orgDan 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
@_slack_kubeflow_U027LHY3610:matrix.orgVedant Padwal joined the room.13:49:25
@_slack_kubeflow_U027LHY3610:matrix.orgVedant Padwal changed their display name from jordan sumitomo to Vedant Padwal.18:55:44
@_slack_kubeflow_U027LHY3610:matrix.orgVedant Padwal changed their profile picture.18:55:45
@_slack_kubeflow_U027LHY3610:matrix.orgVedant 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
@_slack_kubeflow_U02JP9VPHH6:matrix.orgKevin Hu joined the room.21:04:14
@_slack_kubeflow_U02JP9VPHH6:matrix.orgKevin Hu changed their display name from _slack_kubeflow_U02JP9VPHH6 to Kevin Hu.21:15:48
@_slack_kubeflow_U02JP9VPHH6:matrix.orgKevin Hu set a profile picture.21:15:51
16 Oct 2021
@_slack_kubeflow_U01JXCGKCLS:matrix.orgNagaraj Janardhana joined the room.04:26:21
@_slack_kubeflow_U02CK0DRH38:matrix.orgMarek Opęchowski joined the room.07:37:37
@_slack_kubeflow_UD4QSK9EW:matrix.orgAndrey Velichkevich joined the room.08:38:23
18 Oct 2021
@_slack_kubeflow_U0253V66WCT:matrix.orgYulong
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:matrix.org_slack_kubeflow_U025D42L7J9 joined the room.06:58:59
@_slack_kubeflow_U0140TXAN4T:matrix.org_slack_kubeflow_U0140TXAN4T joined the room.08:05:42
@_slack_kubeflow_U0241BFPK6J:matrix.orgmetafeather joined the room.12:09:05
@_slack_kubeflow_U02HQ5HFBLP:matrix.org_slack_kubeflow_U02HQ5HFBLP joined the room.14:48:45
@_slack_kubeflow_US7RRCDL2:matrix.orgTimothy Laurent joined the room.19:59:49
@_slack_kubeflow_US7RRCDL2:matrix.orgTimothy Laurent changed their display name from _slack_kubeflow_US7RRCDL2 to Timothy Laurent.20:04:11
@_slack_kubeflow_US7RRCDL2:matrix.orgTimothy Laurent set a profile picture.20:04:11
@_slack_kubeflow_US7RRCDL2:matrix.orgTimothy 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
@_slack_kubeflow_US7RRCDL2:matrix.orgTimothy 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
@_slack_kubeflow_US7RRCDL2:matrix.orgTimothy 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
@_slack_kubeflow_U017XEVD8AD:matrix.orgLuc Cary joined the room.22:27:24
@_slack_kubeflow_U017XEVD8AD:matrix.orgLuc Cary changed their display name from _slack_kubeflow_U017XEVD8AD to Luc Cary.22:27:43
@_slack_kubeflow_U017XEVD8AD:matrix.orgLuc Cary set a profile picture.22:27:44

Show newer messages


Back to Room ListRoom Version: 6