Skip to content

Commit

Permalink
Update config/samples for developer's guide (fluid-cloudnative#84)
Browse files Browse the repository at this point in the history
Remove AlluxioDataLoad
Update Dataset
Update AlluxioRuntime
Rename statefulset.yaml to workload.yaml
Update workload.yaml
  • Loading branch information
TrafalgarZZZ authored Aug 27, 2020
1 parent 2aeb034 commit 2ad3516
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 36 deletions.
9 changes: 0 additions & 9 deletions config/samples/data_v1alpha1_alluxiodataload.yaml

This file was deleted.

16 changes: 3 additions & 13 deletions config/samples/data_v1alpha1_alluxioruntime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
apiVersion: data.fluid.io/v1alpha1
kind: AlluxioRuntime
metadata:
name: cifar10
name: dataset
#namespace: fluid-system
spec:
# Add fields here
replicas: 2
alluxioVersion:
image: registry.cn-huhehaote.aliyuncs.com/alluxio/alluxio
imageTag: "2.3.0-SNAPSHOT-bbce37a"
imagePullPolicy: Always
tieredstore:
levels:
- mediumtype: MEM
Expand Down Expand Up @@ -43,10 +39,7 @@ spec:
ports: {}
resources: {}
fuse:
image: registry.cn-huhehaote.aliyuncs.com/alluxio/alluxio-fuse
imageTag: "2.3.0-SNAPSHOT-bbce37a"
imagePullPolicy: Always
jvmOptions:
jvmOptions:
- "-Xmx4G "
- "-Xms4G "
- "-XX:+UseG1GC "
Expand All @@ -57,7 +50,4 @@ spec:
shortCircuitPolicy: local
args:
- fuse
- --fuse-opts=ro,max_read=131072,attr_timeout=7200,entry_timeout=7200
env:
MAX_IDLE_THREADS: "64"
SPENT_TIME: "1000"
- --fuse-opts=direct_io,ro,max_read=131072,attr_timeout=7200,entry_timeout=7200
11 changes: 1 addition & 10 deletions config/samples/data_v1alpha1_dataset.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: data.fluid.io/v1alpha1
kind: Dataset
metadata:
name: cifar10
#namespace: fluid-system
name: dataset
spec:
mounts:
- mountPoint: https://mirrors.tuna.tsinghua.edu.cn/apache/hadoop/common/hadoop-3.2.1/
Expand All @@ -11,11 +10,3 @@ spec:
name: spark
- mountPoint: https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/2.2.5/
name: hbase
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: aliyun.accelerator/nvidia_name
operator: In
values:
- Tesla-V100-SXM2-16GB
2 changes: 1 addition & 1 deletion config/samples/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resources:
- data_v1alpha1_alluxioruntime.yaml
- data_v1alpha1_dataset.yaml
- statefulset.yaml
- workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ spec:
protocol: TCP
volumeMounts:
- mountPath: /data
name: cifar10
name: dataset-vol
volumes:
- name: cifar10
- name: dataset-vol
persistentVolumeClaim:
claimName: cifar10
claimName: dataset

0 comments on commit 2ad3516

Please sign in to comment.