Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark-k8s-examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
db
spark-service
spark-k8s-examples
Commits
debef290
Commit
debef290
authored
6 years ago
by
Riccardo Castellotti
Browse files
Options
Downloads
Patches
Plain Diff
cephfs and cvmfs configuration example
parent
a4717363
No related branches found
No related tags found
1 merge request
!3
Cvmfs cephfs + secure registry
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/basics/spark-pi-cvmfs-cephfs.yaml
+54
-0
54 additions, 0 deletions
examples/basics/spark-pi-cvmfs-cephfs.yaml
with
54 additions
and
0 deletions
examples/basics/spark-pi-cvmfs-cephfs.yaml
0 → 100644
+
54
−
0
View file @
debef290
# sparkoperator chart needs to be installed with CVMFS/CephFS enabled:
# helm install https://gitlab.cern.ch/db/spark-service/spark-service-charts/raw/master/cern-sparkoperator-0.1.0.tgz
apiVersion
:
"
sparkoperator.k8s.io/v1alpha1"
kind
:
SparkApplication
metadata
:
name
:
spark-pi
namespace
:
default
spec
:
type
:
Scala
mode
:
cluster
image
:
gitlab-registry.cern.ch/db/spark-service/docker-registry/spark:v2.4.0-hadoop3.1-examples
imagePullPolicy
:
Always
mainClass
:
ch.cern.sparkrootapplications.examples.SparkPi
mainApplicationFile
:
local:///opt/spark/examples/jars/spark-service-examples_2.11-0.3.0.jar
mode
:
cluster
volumes
:
-
name
:
cephfs
persistentVolumeClaim
:
claimName
:
manila-cephfs-pvc
-
name
:
cvmfs-cms
persistentVolumeClaim
:
claimName
:
cvmfs-cms-cern-ch
-
name
:
cvmfs-sft
persistentVolumeClaim
:
claimName
:
cvmfs-sft-cern-ch
-
name
:
spark-work
emptyDir
:
{}
driver
:
cores
:
1
coreLimit
:
"
1000m"
memory
:
"
1024m"
labels
:
version
:
2.4.0
serviceAccount
:
spark
volumeMounts
:
-
name
:
spark-work
mountPath
:
/mnt/spark/work
executor
:
instances
:
1
cores
:
1
memory
:
"
1024m"
labels
:
version
:
2.4.0
volumeMounts
:
-
name
:
cvmfs-cms
mountPath
:
/cvmfs/cms.cern.ch
-
name
:
cvmfs-sft
mountPath
:
/cvmfs/sft.cern.ch
-
name
:
cephfs
mountPath
:
/cephfs
-
name
:
spark-work
mountPath
:
/mnt/spark/work
restartPolicy
:
Never
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment