Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparkjob能否人工指定service-account? #612

Open
Alienfeel opened this issue Jul 15, 2021 · 0 comments
Open

sparkjob能否人工指定service-account? #612

Alienfeel opened this issue Jul 15, 2021 · 0 comments

Comments

@Alienfeel
Copy link

apiVersion: "sparkoperator.k8s.io/v1beta2"
kind: SparkApplication
metadata:
  name: {{ .Release.Name }}
  labels:
    version: 2.4.5
    release: {{ .Release.Name }}
    app: {{ template "sparkjob.name" . }}
    createdBy: "SparkJob"
spec:
  type: {{ .Values.Lang }}
  mode: cluster
  image: {{ .Values.Image }}
  imagePullPolicy: Always
  mainClass: {{ .Values.MainClass }}
  mainApplicationFile: {{ .Values.Jar }}
  sparkVersion: "2.4.5"
  restartPolicy:
    type: Never
  driver:
    cores: {{ .Values.Driver.CPURequest }}
    memory: {{ .Values.Driver.MemoryRequest }}
    labels:
      **version: 2.4.5**
      release: {{ .Release.Name }}
      app: {{ template "sparkjob.name" . }}
      createdBy: "SparkJob"
    **serviceAccount: spark**
  executor:
    cores: {{ .Values.Executor.CPURequest }}
    instances: {{ .Values.Executor.Replicas }}
    memory: {{ .Values.Executor.MemoryRequest }}
    labels:
      version: 2.4.5
      release: {{ .Release.Name }}
      app: {{ template "sparkjob.name" . }}
      createdBy: "SparkJob"
  1. serviceAccount能否人工指定?
  2. sparkVersion 能否放到values.yaml中配置?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant