forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ModelMesh version to v0.11.0-rc0 (kubeflow#2969)
* Update ModelMesh version to v0.11.0-rc0 Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> * Update torchserve Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> * update setup Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> * Update ModelMesh scripts Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Add Webhook and Certificate for HPA Signed-off-by: Christian Kadner <ckadner@us.ibm.com> * Remove duplicated "selfsigned-issuer" Signed-off-by: Christian Kadner <ckadner@us.ibm.com> --------- Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> Signed-off-by: Christian Kadner <ckadner@us.ibm.com> Co-authored-by: Christian Kadner <ckadner@us.ibm.com>
- Loading branch information
Showing
12 changed files
with
130 additions
and
17 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
charts/kserve-resources/templates/modelmesh/certificate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{- if .Values.kserve.modelmesh.enabled }} | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: modelmesh-webhook-server-cert | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
commonName: modelmesh-webhook-server-service.{{ .Release.Namespace }}.svc | ||
dnsNames: | ||
- modelmesh-webhook-server-service.{{ .Release.Namespace }}.svc | ||
- modelmesh-webhook-server-service.{{ .Release.Namespace }}.svc.cluster.local | ||
issuerRef: | ||
kind: Issuer | ||
name: selfsigned-issuer | ||
secretName: modelmesh-webhook-server-cert | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{{- if .Values.kserve.modelmesh.enabled }} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: modelmesh-webhook-server-service | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
ports: | ||
- port: 9443 | ||
protocol: TCP | ||
targetPort: webhook | ||
selector: | ||
control-plane: modelmesh-controller | ||
{{- end }} |
32 changes: 32 additions & 0 deletions
32
charts/kserve-resources/templates/modelmesh/webhookconfiguration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{- if .Values.kserve.modelmesh.enabled }} | ||
--- | ||
apiVersion: admissionregistration.k8s.io/v1 | ||
kind: ValidatingWebhookConfiguration | ||
metadata: | ||
name: servingruntime.serving.kserve.io | ||
annotations: | ||
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/modelmesh-webhook-server-cert | ||
webhooks: | ||
- admissionReviewVersions: | ||
- v1 | ||
clientConfig: | ||
caBundle: Cg== | ||
service: | ||
name: modelmesh-webhook-server-service | ||
namespace: {{ .Release.Namespace }} | ||
path: /validate-serving-modelmesh-io-v1alpha1-servingruntime | ||
port: 9443 | ||
failurePolicy: Fail | ||
name: servingruntime.modelmesh-webhook-server.default | ||
rules: | ||
- apiGroups: | ||
- serving.kserve.io | ||
apiVersions: | ||
- v1alpha1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
resources: | ||
- clusterservingruntimes | ||
sideEffects: None | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters