katib conformance test setup (#7100)
This commit is contained in:
Родитель
c5df200438
Коммит
d0df9b1124
|
@ -21,9 +21,9 @@ setup:
|
|||
|
||||
kubectl apply -f ./setup.yaml
|
||||
|
||||
run: setup run-kfp run-training-operator
|
||||
run: setup run-kfp run-katib run-training-operator
|
||||
|
||||
report: report-kfp report-training-operator
|
||||
report: report-kfp report-katib report-training-operator
|
||||
|
||||
clean:
|
||||
kubectl delete -f ./setup.yaml
|
||||
|
@ -48,3 +48,12 @@ report-training-operator:
|
|||
$(shell kubectl get pod -n kf-conformance --selector=app=training-operator-conformance -o jsonpath='{.items[*].metadata.name}') \
|
||||
/tmp/training-operator-conformance.done \
|
||||
/tmp/training-operator-conformance.log
|
||||
|
||||
run-katib:
|
||||
kubectl apply -f ./katib-conformance.yaml
|
||||
|
||||
report-katib:
|
||||
./report-pod.sh \
|
||||
$(shell kubectl get pod -n kf-conformance --selector=app=katib-conformance -o jsonpath='{.items[*].metadata.name}') \
|
||||
/tmp/katib-conformance.done \
|
||||
/tmp/katib-conformance.log
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: katib-conformance
|
||||
namespace: kf-conformance
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: katib-conformance
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: katib-conformance
|
||||
annotations:
|
||||
sidecar.istio.io/inject: "false"
|
||||
spec:
|
||||
serviceAccountName: kf-conformance
|
||||
containers:
|
||||
- name: katib-container
|
||||
image: kubeflowkatib/katib-conformance:v1beta1-195ce77
|
||||
resources:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "1"
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "0.5"
|
Загрузка…
Ссылка в новой задаче