You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ja...@apache.org on 2026/07/07 22:00:21 UTC
(impala) branch master updated (bb9b5fe52 -> fa3352466)
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
from bb9b5fe52 IMPALA-14099: Tolerate large profile log timestamps
new 95a2f7e8b IMPALA-14979: Add ImpalaCluster CRD and RBAC
new fa3352466 IMPALA-14980: Add operator deploy and sample CR
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../manifests/crd-impalacluster.yaml | 94 ++++++++++++++++++++++
operator/impala-operator/manifests/deployment.yaml | 57 +++++++++++++
.../impala-operator/manifests/kustomization.yaml | 10 ++-
operator/impala-operator/manifests/rbac.yaml | 67 +++++++++++++++
.../manifests/sample-impalacluster.yaml | 28 ++++---
5 files changed, 239 insertions(+), 17 deletions(-)
create mode 100644 operator/impala-operator/manifests/crd-impalacluster.yaml
create mode 100644 operator/impala-operator/manifests/deployment.yaml
copy bin/impala-isort => operator/impala-operator/manifests/kustomization.yaml (85%)
mode change 100755 => 100644
create mode 100644 operator/impala-operator/manifests/rbac.yaml
copy be/src/exec/puffin/CMakeLists.txt => operator/impala-operator/manifests/sample-impalacluster.yaml (70%)
(impala) 01/02: IMPALA-14979: Add ImpalaCluster CRD and RBAC
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 95a2f7e8b86cb4ea37477b7f116378f93c5a8304
Author: Anubhav Jindal <an...@gmail.com>
AuthorDate: Tue May 26 14:19:45 2026 -0700
IMPALA-14979: Add ImpalaCluster CRD and RBAC
Add the ImpalaCluster custom resource definition and operator RBAC
manifests required to reconcile chart-backed Impala deployments.
Add ASF license headers to the new operator manifest files.
Testing:
- ruby YAML parsing for operator manifests
- kubectl config current-context (k3d-impala-live)
- kubectl apply -f operator/impala-operator/manifests/crd-impalacluster.yaml
- kubectl apply -f operator/impala-operator/manifests/rbac.yaml
- kubectl get crd impalaclusters.impala.apache.org
- kubectl get namespace impala-operator-system
- kubectl get serviceaccount impala-operator -n impala-operator-system
- kubectl get clusterrole impala-operator-crd
- kubectl get clusterrolebinding impala-operator-crd impala-operator-helm-admin
Change-Id: I0ae5fffe1059a42069fb4abe0d54e29775698cf5
Assisted-by: GPT-5.3 (Cursor)
Reviewed-on: http://gerrit.cloudera.org:8080/24361
Reviewed-by: Gokul Kolady <go...@cloudera.com>
Reviewed-by: Jason Fehr <jf...@cloudera.com>
Tested-by: Jason Fehr <jf...@cloudera.com>
---
.../manifests/crd-impalacluster.yaml | 94 ++++++++++++++++++++++
operator/impala-operator/manifests/rbac.yaml | 67 +++++++++++++++
2 files changed, 161 insertions(+)
diff --git a/operator/impala-operator/manifests/crd-impalacluster.yaml b/operator/impala-operator/manifests/crd-impalacluster.yaml
new file mode 100644
index 000000000..a66fbc0b0
--- /dev/null
+++ b/operator/impala-operator/manifests/crd-impalacluster.yaml
@@ -0,0 +1,94 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+ name: impalaclusters.impala.apache.org
+spec:
+ group: impala.apache.org
+ scope: Namespaced
+ names:
+ kind: ImpalaCluster
+ singular: impalacluster
+ plural: impalaclusters
+ shortNames:
+ - icluster
+ versions:
+ - name: v1alpha1
+ served: true
+ storage: true
+ subresources:
+ status: {}
+ schema:
+ openAPIV3Schema:
+ type: object
+ properties:
+ spec:
+ type: object
+ properties:
+ impalaReleaseName:
+ type: string
+ default: impala
+ ldapReleaseName:
+ type: string
+ default: impala-ldap
+ ldapEnabled:
+ type: boolean
+ ldapUri:
+ type: string
+ ldapBindPattern:
+ type: string
+ kuduEnabled:
+ type: boolean
+ rangerEnabled:
+ type: boolean
+ rangerAuthEnabled:
+ type: boolean
+ storageClassName:
+ type: string
+ impalaChartPath:
+ type: string
+ description: Path in operator container for Impala chart.
+ impalaValuesFile:
+ type: string
+ description: Path in operator container for Impala values file.
+ ldapValuesFile:
+ type: string
+ description: Path in operator container for LDAP values file.
+ helmTimeoutSeconds:
+ type: integer
+ minimum: 60
+ default: 900
+ set:
+ type: object
+ additionalProperties:
+ type: string
+ description: Extra Helm --set values merged into release.
+ status:
+ type: object
+ properties:
+ phase:
+ type: string
+ message:
+ type: string
+ observedGeneration:
+ type: integer
+ lastReconcileTime:
+ type: string
+ targetNamespace:
+ type: string
diff --git a/operator/impala-operator/manifests/rbac.yaml b/operator/impala-operator/manifests/rbac.yaml
new file mode 100644
index 000000000..83d701aa9
--- /dev/null
+++ b/operator/impala-operator/manifests/rbac.yaml
@@ -0,0 +1,67 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: impala-operator-system
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: impala-operator
+ namespace: impala-operator-system
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRole
+metadata:
+ name: impala-operator-crd
+rules:
+ - apiGroups: ["impala.apache.org"]
+ resources: ["impalaclusters", "impalaclusters/status", "impalaclusters/finalizers"]
+ verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
+ - apiGroups: [""]
+ resources: ["events", "namespaces"]
+ verbs: ["get", "list", "watch", "create", "update", "patch"]
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
+metadata:
+ name: impala-operator-crd
+subjects:
+ - kind: ServiceAccount
+ name: impala-operator
+ namespace: impala-operator-system
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: impala-operator-crd
+---
+# This binding gives Helm in the operator broad permissions to create/update
+# Impala resources across namespaces. Tighten this for production hardening.
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
+metadata:
+ name: impala-operator-helm-admin
+subjects:
+ - kind: ServiceAccount
+ name: impala-operator
+ namespace: impala-operator-system
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: cluster-admin
(impala) 02/02: IMPALA-14980: Add operator deploy and sample CR
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit fa335246656d5893cddd70f325dd8c15c503b71f
Author: Anubhav Jindal <an...@gmail.com>
AuthorDate: Tue May 26 14:35:03 2026 -0700
IMPALA-14980: Add operator deploy and sample CR
Add operator deployment and kustomization manifests together with a sample
ImpalaCluster custom resource for install and smoke testing flows.
Add ASF license headers to the new operator manifest files.
Testing:
- kubectl kustomize operator/impala-operator/manifests
- ruby YAML parsing for deployment, kustomization, and sample CR manifests
- kubectl config current-context (k3d-impala-live)
- kubectl apply -k operator/impala-operator/manifests
- kubectl create namespace impala
- kubectl apply -f operator/impala-operator/manifests/sample-impalacluster.yaml
- kubectl get deployment impala-operator -n impala-operator-system
- kubectl get impalacluster impala-demo -n impala
- kubectl get pods -n impala-operator-system (operator pod scheduled from deployment)
Change-Id: Ifb334135dfd333dd5b14756ec8f41551981677e6
Assisted-by: GPT-5.3 (Cursor)
Co-authored-by: Cursor <cu...@cursor.com>
Reviewed-on: http://gerrit.cloudera.org:8080/24362
Reviewed-by: Gokul Kolady <go...@cloudera.com>
Reviewed-by: Jason Fehr <jf...@cloudera.com>
Tested-by: Jason Fehr <jf...@cloudera.com>
---
operator/impala-operator/manifests/deployment.yaml | 57 ++++++++++++++++++++++
.../impala-operator/manifests/kustomization.yaml | 23 +++++++++
.../manifests/sample-impalacluster.yaml | 32 ++++++++++++
3 files changed, 112 insertions(+)
diff --git a/operator/impala-operator/manifests/deployment.yaml b/operator/impala-operator/manifests/deployment.yaml
new file mode 100644
index 000000000..1d8bf37cd
--- /dev/null
+++ b/operator/impala-operator/manifests/deployment.yaml
@@ -0,0 +1,57 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: impala-operator
+ namespace: impala-operator-system
+ labels:
+ app.kubernetes.io/name: impala-operator
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/name: impala-operator
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/name: impala-operator
+ spec:
+ serviceAccountName: impala-operator
+ containers:
+ - name: operator
+ # Placeholder image reference for bootstrap/demo flow.
+ # Override with a concrete published tag or digest for real installs.
+ image: ghcr.io/example/impala-operator:v0.0.0
+ imagePullPolicy: IfNotPresent
+ resources:
+ requests:
+ cpu: 100m
+ memory: 256Mi
+ limits:
+ cpu: 500m
+ memory: 512Mi
+ env:
+ - name: DEFAULT_IMPALA_CHART_PATH
+ value: /charts/impala
+ - name: DEFAULT_IMPALA_VALUES_FILE
+ value: /charts/impala/values-example.yaml
+ - name: DEFAULT_LDAP_VALUES_FILE
+ value: /charts/impala/values-impala-ldap-example.yaml
+ - name: DEFAULT_HELM_TIMEOUT_SECONDS
+ value: "900"
diff --git a/operator/impala-operator/manifests/kustomization.yaml b/operator/impala-operator/manifests/kustomization.yaml
new file mode 100644
index 000000000..fa5cf5f07
--- /dev/null
+++ b/operator/impala-operator/manifests/kustomization.yaml
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+resources:
+ - crd-impalacluster.yaml
+ - rbac.yaml
+ - deployment.yaml
diff --git a/operator/impala-operator/manifests/sample-impalacluster.yaml b/operator/impala-operator/manifests/sample-impalacluster.yaml
new file mode 100644
index 000000000..11c19fbd6
--- /dev/null
+++ b/operator/impala-operator/manifests/sample-impalacluster.yaml
@@ -0,0 +1,32 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+apiVersion: impala.apache.org/v1alpha1
+kind: ImpalaCluster
+metadata:
+ name: impala-demo
+ namespace: impala
+spec:
+ impalaReleaseName: impala
+ ldapReleaseName: impala-ldap
+ ldapEnabled: false
+ kuduEnabled: false
+ rangerEnabled: false
+ rangerAuthEnabled: false
+ storageClassName: ""
+ set:
+ service.impalad.type: ClusterIP