!LuUSGaeArTeoOgUpwk:matrix.org

kubeflow-kfserving

433 Members
2 Servers

Load older messages


SenderMessageTime
3 Jun 2022
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Something like that 08:23:34
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Relevant docs here: https://cloud.google.com/iam/docs/creating-managing-service-accounts#iam-service-accounts-create-gcloud 08:23:46
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre Very good input, thank you Benjamin Tan! I will let you know if it works πŸ™‚ 08:24:12
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan πŸ‘ 08:25:35
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian LehreRedacted or Malformed Event09:04:21
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre Benjamin Tan Seems like the role roles/storage.objectViewer (thats the least privileged role to have list access to GCS) is not supported for the service account...
ERROR: (gcloud.iam.service-accounts.add-iam-policy-binding) INVALID_ARGUMENT: Role roles/storage.objectViewer is not supported for this resource.
09:52:38
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Do u have workload identity set up? 09:53:29
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre I granted the service account the iam.workloadIdentityUser role. Apart from the kubeflow deployment I have not setup workload identity myself (not sure if its set up by the kubeflow deployment) 09:55:00
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Ooo try and see if workload identity works for u 09:55:36
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre Worload identity is enabled in the GKE cluster. Anything else I need to setup for it to work? 09:56:20
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan I'm heading out so responses would be slow 09:56:25
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Not really. That should be sufficient 09:56:36
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Double check that u have a default service account in the namespace too 09:56:56
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan kubectl get sa default -n namespaceupicked 09:57:34
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre Yes, i already checked that. Should i use the workload identity namespace somehow? 09:57:42
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Workload identity is based on the google service account which has access to GCS 09:58:37
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan U then bind it with the kubernetes service account In ur nameapace of your choosing 09:58:57
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre Benjamin Tan no success.. Im binding to a principal with list access to cloud storage (kubeflow-user@ project .iam.gserviceaccount.com), but it says that the storage.objectViewer role is not supported for this resource 11:02:47
@_slack_kubeflow_UFVUV2UFP:matrix.orgDan Sun https://github.com/kserve/kserve/blob/master/docs/samples/v1beta1/advanced/timeout.yaml#L7 11:15:49
@_slack_kubeflow_U03CN7QAHN3:matrix.orgzorba(μ†μ£Όν˜•) yeah but this is not about terminationGracePeriodSecond. it’s timeout of calling predictor service (In seconds). As in the document.
apiVersion: "serving.kserve.io/v1beta1"
kind: "InferenceService"
metadata:
  name: "pytorch-cifar10"
spec:
  predictor:
    timeout: 60
    minReplicas: 1
    batcher:
      maxBatchSize: 32
      maxLatency: 5000
    pytorch:
      storageUri: " gs://kfserving-examples/models/torchserve/image-classifier "
β€’ maxBatchSize: the max batch size for triggering a prediction. β€’ maxLatency: the max latency for triggering a prediction (In milliseconds). β€’ timeout: timeout of calling predictor service (In seconds).
11:39:20
@_slack_kubeflow_U03HW39JNLV:matrix.orgChristian Lehre Nevermind, I figured it out. Had to annotate the service account in the namespace with the gcp service principal. Thank you so much for your help, you really guided me into the right track πŸ˜„ 11:54:12
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Yayyyyy 11:57:14
@_slack_kubeflow_UM56LA7N3:matrix.orgBenjamin Tan Awesome πŸ‘Œ πŸ‘ πŸ‘ 11:57:19
@californiatl:matrix.org@californiatl:matrix.orgI'll help 10 individuals how to earn $20,000 in just 72 hours from the crypto market. But you will pay me 10% commission when you receive your profit. if interested send me a direct message via WhatsApp by asking me HOW for more details on how to get started +1 (229778188111:58:06
@_slack_kubeflow_U01N2J7JDAL:matrix.orgSebastian Lehrig any admin here to get rid of this spam? 12:01:49
@_slack_kubeflow_UFVUV2UFP:matrix.orgDan Sun The termination grace period is controlled by timeout because you need to wait for the request to drain and finish processing before shutting down the pod. 12:36:22
@_slack_kubeflow_UFVUV2UFP:matrix.orgDan Sun That’s why it is not allowed setting termination grace period directly 12:36:50
@_slack_kubeflow_U03CN7QAHN3:matrix.orgzorba(μ†μ£Όν˜•) very nice. thanks 13:24:57
@_slack_kubeflow_UR0H6TE3A:matrix.orgDemetrios joined the room.14:41:41
@_slack_kubeflow_U022U7KG24W:matrix.orgRachit Chauhan Shri Javadekar: I followed this https://kserve.github.io/website/0.8/developer/developer/#install-knative-on-a-kubernetes-cluster to test it out. You can checkout the branch for PR https://github.com/kserve/kserve/pull/1910 and follow this https://kserve.github.io/website/0.8/developer/developer/#deploy-kserve-with-your-own-version 15:58:41

Show newer messages


Back to Room ListRoom Version: 6