|
| 1 | +--- |
| 2 | +apiVersion: operators.coreos.com/v1alpha1 |
| 3 | +kind: ClusterServiceVersion |
| 4 | +metadata: |
| 5 | + name: spark-k8s-operator.v23.4.0 |
| 6 | +spec: |
| 7 | + annotations: |
| 8 | + support: stackable.tech |
| 9 | + olm.properties: '[]' |
| 10 | + categories: Storage |
| 11 | + capabilities: Full Lifecycle |
| 12 | + description: Stackable Operator for Apache Spark |
| 13 | + repository: https://github.com/stackabletech/spark-k8s-operator |
| 14 | + containerImage: docker.stackable.tech/stackable/spark-k8s-operator:23.4.0 |
| 15 | + |
| 16 | + displayName: Stackable Operator for Apache Spark |
| 17 | + description: |- |
| 18 | + This is a Kubernetes operator to manage [Apache Spark](https://spark.apache.org/) ensembles. The Stackable Apache Spark Operator |
| 19 | + is part of the Stackable Data Platform, a curated selection of the best open source data apps like Kafka, Druid, Trino or Spark, all |
| 20 | + working together seamlessly. Based on Kubernetes, it runs everywhere – on prem or in the cloud. |
| 21 | +
|
| 22 | + You can install the operator using [stackablectl or helm](https://docs.stackable.tech/spark-k8s/stable/getting_started/installation.html). |
| 23 | + See it in action in one of our [demos](https://stackable.tech/en/demos/) or follow this |
| 24 | + [tutorial](https://docs.stackable.tech/spark-k8s/stable/getting_started/first_steps.html). |
| 25 | +
|
| 26 | + N.B. this operator requires the following Stackable internal operators to be installed as well: |
| 27 | +
|
| 28 | + - [Commons Operator](https://github.com/stackabletech/commons-operator) |
| 29 | + - [Secret Operator](https://github.com/stackabletech/secret-operator) |
| 30 | + keywords: |
| 31 | + - spark-k8s |
| 32 | + maintainers: |
| 33 | + |
| 34 | + name: Stackable GmbH |
| 35 | + maturity: stable |
| 36 | + provider: |
| 37 | + name: Stackable GmbH |
| 38 | + url: https://stackable.tech |
| 39 | + version: 23.4.0 |
| 40 | + minKubeVersion: 1.23.0 |
| 41 | + |
| 42 | + installModes: |
| 43 | + - supported: true |
| 44 | + type: OwnNamespace |
| 45 | + - supported: true |
| 46 | + type: SingleNamespace |
| 47 | + - supported: false |
| 48 | + type: MultiNamespace |
| 49 | + - supported: false |
| 50 | + type: AllNamespaces |
| 51 | + |
| 52 | + customresourcedefinitions: |
| 53 | + owned: |
| 54 | + # a list of CRDs that this operator owns |
| 55 | + # name is the metadata.name of the CRD (which is of the form <plural>.<group>) |
| 56 | + - name: sparkapplications.spark.stackable.tech |
| 57 | + # version is the spec.versions[].name value defined in the CRD |
| 58 | + version: v1alpha1 |
| 59 | + # kind is the CamelCased singular value defined in spec.names.kind of the CRD. |
| 60 | + kind: SparkApplication |
| 61 | + # human-friendly display name of the CRD for rendering in graphical consoles (optional) |
| 62 | + displayName: Apache Spark Application |
| 63 | + # a short description of the CRDs purpose for rendering in graphical consoles (optional) |
| 64 | + description: Represents a Spark Application |
| 65 | + - name: sparkhistoryservers.spark.stackable.tech |
| 66 | + version: v1alpha1 |
| 67 | + kind: SparkHistoryServer |
| 68 | + displayName: Apache Spark History Server |
| 69 | + description: Represents a Spark History Server |
| 70 | + |
| 71 | + relatedImages: |
| 72 | + - name: spark-k8s-operator |
| 73 | + image: docker.stackable.tech/stackable/spark-k8s-operator:23.4.0 |
| 74 | + install: |
| 75 | + # strategy indicates what type of deployment artifacts are used |
| 76 | + strategy: deployment |
| 77 | + # spec for the deployment strategy is a list of deployment specs and required permissions - similar to a pod template used in a deployment |
| 78 | + spec: |
| 79 | + permissions: |
| 80 | + - serviceAccountName: spark-k8s-operator |
| 81 | + rules: |
| 82 | + - apiGroups: |
| 83 | + - "" |
| 84 | + resources: |
| 85 | + - pods |
| 86 | + verbs: |
| 87 | + - '*' |
| 88 | + # permissions required at the cluster scope |
| 89 | + clusterPermissions: |
| 90 | + - serviceAccountName: spark-k8s-operator |
| 91 | + rules: |
| 92 | + - apiGroups: |
| 93 | + - "" |
| 94 | + resources: |
| 95 | + - nodes |
| 96 | + verbs: |
| 97 | + - list |
| 98 | + - watch |
| 99 | + - apiGroups: |
| 100 | + - "" |
| 101 | + resources: |
| 102 | + - persistentvolumeclaims |
| 103 | + verbs: |
| 104 | + - list |
| 105 | + - apiGroups: |
| 106 | + - "" |
| 107 | + resources: |
| 108 | + - pods |
| 109 | + - configmaps |
| 110 | + - secrets |
| 111 | + - services |
| 112 | + - endpoints |
| 113 | + - serviceaccounts |
| 114 | + verbs: |
| 115 | + - create |
| 116 | + - delete |
| 117 | + - get |
| 118 | + - list |
| 119 | + - patch |
| 120 | + - update |
| 121 | + - watch |
| 122 | + - apiGroups: |
| 123 | + - rbac.authorization.k8s.io |
| 124 | + resources: |
| 125 | + - rolebindings |
| 126 | + verbs: |
| 127 | + - create |
| 128 | + - delete |
| 129 | + - get |
| 130 | + - list |
| 131 | + - patch |
| 132 | + - update |
| 133 | + - watch |
| 134 | + - apiGroups: |
| 135 | + - apps |
| 136 | + resources: |
| 137 | + - statefulsets |
| 138 | + verbs: |
| 139 | + - get |
| 140 | + - create |
| 141 | + - delete |
| 142 | + - list |
| 143 | + - patch |
| 144 | + - update |
| 145 | + - watch |
| 146 | + - apiGroups: |
| 147 | + - batch |
| 148 | + resources: |
| 149 | + - jobs |
| 150 | + verbs: |
| 151 | + - create |
| 152 | + - get |
| 153 | + - list |
| 154 | + - patch |
| 155 | + - update |
| 156 | + - watch |
| 157 | + - apiGroups: |
| 158 | + - apiextensions.k8s.io |
| 159 | + resources: |
| 160 | + - customresourcedefinitions |
| 161 | + verbs: |
| 162 | + - get |
| 163 | + - apiGroups: |
| 164 | + - events.k8s.io |
| 165 | + resources: |
| 166 | + - events |
| 167 | + verbs: |
| 168 | + - create |
| 169 | + - apiGroups: |
| 170 | + - spark.stackable.tech |
| 171 | + resources: |
| 172 | + - sparkapplications |
| 173 | + - sparkhistoryservers |
| 174 | + verbs: |
| 175 | + - get |
| 176 | + - list |
| 177 | + - patch |
| 178 | + - watch |
| 179 | + - apiGroups: |
| 180 | + - spark.stackable.tech |
| 181 | + resources: |
| 182 | + - sparkapplications/status |
| 183 | + verbs: |
| 184 | + - patch |
| 185 | + - apiGroups: |
| 186 | + - s3.stackable.tech |
| 187 | + resources: |
| 188 | + - s3connections |
| 189 | + - s3buckets |
| 190 | + verbs: |
| 191 | + - get |
| 192 | + - list |
| 193 | + - watch |
| 194 | + - apiGroups: |
| 195 | + - authentication.stackable.tech |
| 196 | + resources: |
| 197 | + - authenticationclasses |
| 198 | + verbs: |
| 199 | + - get |
| 200 | + - list |
| 201 | + - watch |
| 202 | + - apiGroups: |
| 203 | + - rbac.authorization.k8s.io |
| 204 | + resources: |
| 205 | + - clusterroles |
| 206 | + verbs: |
| 207 | + - bind |
| 208 | + resourceNames: |
| 209 | + - spark-k8s-clusterrole |
| 210 | + - apiGroups: |
| 211 | + - security.openshift.io |
| 212 | + resources: |
| 213 | + - securitycontextconstraints |
| 214 | + resourceNames: |
| 215 | + - hostmount-anyuid |
| 216 | + verbs: |
| 217 | + - use |
| 218 | + |
| 219 | + deployments: |
| 220 | + - name: spark-k8s-operator |
| 221 | + spec: |
| 222 | + replicas: 1 |
| 223 | + strategy: |
| 224 | + type: Recreate |
| 225 | + selector: |
| 226 | + matchLabels: |
| 227 | + app.kubernetes.io/name: spark-k8s-operator |
| 228 | + app.kubernetes.io/instance: spark-k8s-operator |
| 229 | + template: |
| 230 | + metadata: |
| 231 | + labels: |
| 232 | + app.kubernetes.io/name: spark-k8s-operator |
| 233 | + app.kubernetes.io/instance: spark-k8s-operator |
| 234 | + spec: |
| 235 | + serviceAccountName: spark-k8s-operator |
| 236 | + securityContext: {} |
| 237 | + containers: |
| 238 | + - name: spark-k8s-operator |
| 239 | + securityContext: {} |
| 240 | + image: docker.stackable.tech/stackable/spark-k8s-operator:23.4.0 |
| 241 | + imagePullPolicy: IfNotPresent |
| 242 | + resources: {} |
| 243 | + volumeMounts: |
| 244 | + - mountPath: /etc/stackable/spark-k8s-operator/config-spec |
| 245 | + name: config-spec |
| 246 | + volumes: |
| 247 | + - name: config-spec |
| 248 | + configMap: |
| 249 | + name: spark-k8s-operator-configmap |
0 commit comments