-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated e2e tests to support S3 compatible storage bucket from whicyh…
… to download MNISt datasets for disconnected automation
- Loading branch information
1 parent
9c1e65d
commit 88577c7
Showing
11 changed files
with
331 additions
and
19 deletions.
There are no files selected for viewing
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,163 @@ | ||
--- | ||
kind: PersistentVolumeClaim | ||
apiVersion: v1 | ||
metadata: | ||
name: minio-pvc | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 20Gi | ||
volumeMode: Filesystem | ||
--- | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: minio-secret | ||
stringData: | ||
# change the username and password to your own values. | ||
# ensure that the user is at least 3 characters long and the password at least 8 | ||
minio_root_user: minio | ||
minio_root_password: minio123 | ||
--- | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: minio | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: minio | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: minio | ||
spec: | ||
volumes: | ||
- name: data | ||
persistentVolumeClaim: | ||
claimName: minio-pvc | ||
containers: | ||
- resources: | ||
limits: | ||
cpu: 250m | ||
memory: 1Gi | ||
requests: | ||
cpu: 20m | ||
memory: 100Mi | ||
readinessProbe: | ||
tcpSocket: | ||
port: 9000 | ||
initialDelaySeconds: 5 | ||
timeoutSeconds: 1 | ||
periodSeconds: 5 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
terminationMessagePath: /dev/termination-log | ||
name: minio | ||
livenessProbe: | ||
tcpSocket: | ||
port: 9000 | ||
initialDelaySeconds: 30 | ||
timeoutSeconds: 1 | ||
periodSeconds: 5 | ||
successThreshold: 1 | ||
failureThreshold: 3 | ||
env: | ||
- name: MINIO_ROOT_USER | ||
valueFrom: | ||
secretKeyRef: | ||
name: minio-secret | ||
key: minio_root_user | ||
- name: MINIO_ROOT_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: minio-secret | ||
key: minio_root_password | ||
ports: | ||
- containerPort: 9000 | ||
protocol: TCP | ||
- containerPort: 9090 | ||
protocol: TCP | ||
imagePullPolicy: IfNotPresent | ||
volumeMounts: | ||
- name: data | ||
mountPath: /data | ||
subPath: minio | ||
terminationMessagePolicy: File | ||
image: >- | ||
quay.io/minio/minio:RELEASE.2024-06-22T05-26-45Z | ||
# In case of disconnected environment, use image digest instead of tag | ||
# For example : <mirror_registry_endpoint>/minio/minio@sha256:6b3abf2f59286b985bfde2b23e37230b466081eda5dccbf971524d54c8e406b5 | ||
args: | ||
- server | ||
- /data | ||
- --console-address | ||
- :9090 | ||
restartPolicy: Always | ||
terminationGracePeriodSeconds: 30 | ||
dnsPolicy: ClusterFirst | ||
securityContext: {} | ||
schedulerName: default-scheduler | ||
strategy: | ||
type: Recreate | ||
revisionHistoryLimit: 10 | ||
progressDeadlineSeconds: 600 | ||
--- | ||
kind: Service | ||
apiVersion: v1 | ||
metadata: | ||
name: minio-service | ||
spec: | ||
ipFamilies: | ||
- IPv4 | ||
ports: | ||
- name: api | ||
protocol: TCP | ||
port: 9000 | ||
targetPort: 9000 | ||
- name: ui | ||
protocol: TCP | ||
port: 9090 | ||
targetPort: 9090 | ||
internalTrafficPolicy: Cluster | ||
type: ClusterIP | ||
ipFamilyPolicy: SingleStack | ||
sessionAffinity: None | ||
selector: | ||
app: minio | ||
--- | ||
kind: Route | ||
apiVersion: route.openshift.io/v1 | ||
metadata: | ||
name: minio-api | ||
spec: | ||
to: | ||
kind: Service | ||
name: minio-service | ||
weight: 100 | ||
port: | ||
targetPort: api | ||
wildcardPolicy: None | ||
tls: | ||
termination: edge | ||
insecureEdgeTerminationPolicy: Redirect | ||
--- | ||
kind: Route | ||
apiVersion: route.openshift.io/v1 | ||
metadata: | ||
name: minio-ui | ||
spec: | ||
to: | ||
kind: Service | ||
name: minio-service | ||
weight: 100 | ||
port: | ||
targetPort: ui | ||
wildcardPolicy: None | ||
tls: | ||
termination: edge | ||
insecureEdgeTerminationPolicy: Redirect |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pytorch_lightning==1.9.5 | ||
torchmetrics==0.9.1 | ||
torchvision==0.12.0 | ||
minio |
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
Oops, something went wrong.