[
https://issues.apache.org/jira/browse/IMPALA-14981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098028#comment-18098028
]
ASF subversion and git services commented on IMPALA-14981:
----------------------------------------------------------
Commit d4b0c117e6b18b88d071ae5164bc5d39c92925d8 in impala's branch
refs/heads/master from Anubhav Jindal
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d4b0c117e ]
IMPALA-14981: Add operator reconciler packaging
Add the operator reconciliation implementation and packaging assets needed
to run chart-backed Impala and optional LDAP reconciliation.
Handle LDAP disable transitions declaratively by uninstalling an existing
LDAP release when ldapEnabled is set to false.
Add ASF license headers to the new operator source and packaging files.
Testing:
- python3 -m py_compile operator/impala-operator/main.py
- 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 create namespace impala-14981-live
- /tmp/impala-op-venv/bin/python reconcile driver invoking _ensure_namespace,
_ensure_ldap, and _ensure_impala in operator/impala-operator/main.py with
spec.set persistence.accessModes[0]=ReadWriteOnce
- kubectl rollout status
deployment/impala-14981-live-impala-{statestored,catalogd,impalad,hms} -n
impala-14981-live
- helm -n impala-14981-live status impala-14981-live (STATUS: deployed)
- kubectl get pods -n impala-14981-live (all core pods Running/Ready)
- helm create /tmp/ldap-dummy-14981 && helm upgrade --install
impala-ldap-14981-live /tmp/ldap-dummy-14981 -n impala-14981-live
- /tmp/impala-op-venv/bin/python reconcile driver invoking _ensure_ldap with
ldapEnabled=false and ldapReleaseName=impala-ldap-14981-live
- helm -n impala-14981-live status impala-ldap-14981-live (fails after operator
path; release removed)
Change-Id: I9b66e32b00724221ead2f4975802a26b2be7e248
Assisted-by: GPT-5.3 (Cursor)
Co-authored-by: Cursor <[email protected]>
Reviewed-on: http://gerrit.cloudera.org:8080/24363
Reviewed-by: Jason Fehr <[email protected]>
Tested-by: Jason Fehr <[email protected]>
> Add operator reconciler implementation and image packaging
> ----------------------------------------------------------
>
> Key: IMPALA-14981
> URL: https://issues.apache.org/jira/browse/IMPALA-14981
> Project: IMPALA
> Issue Type: Task
> Reporter: Anubhav Jindal
> Assignee: Anubhav Jindal
> Priority: Major
>
> * *Problem:* No controller implementation exists to reconcile CR state into
> Helm releases.
> * *Proposed Change:* Add Python reconciler ({{{}kopf{}}}), Dockerfile,
> requirements; implement release management with first install using {{helm
> install}} and updates using {{{}helm upgrade{}}}.
> * *Testing:* Reconcile create/update/delete flows; verify resulting Helm
> release state and pod rollout.
> * *Compatibility/Risk:* Operator-specific behavior; Helm-only path unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]