{"id":19361955,"url":"https://github.com/numaproj/numaproj-demo","last_synced_at":"2025-04-23T12:32:41.682Z","repository":{"id":77688818,"uuid":"527832207","full_name":"numaproj/numaproj-demo","owner":"numaproj","description":"Demo App for Numaproj","archived":false,"fork":false,"pushed_at":"2024-11-06T04:24:31.000Z","size":34475,"stargazers_count":6,"open_issues_count":3,"forks_count":7,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-15T08:31:39.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numaproj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-23T04:29:12.000Z","updated_at":"2024-11-12T20:17:24.000Z","dependencies_parsed_at":"2023-10-14T16:45:25.006Z","dependency_job_id":"73a1695a-b074-41b1-bb88-e6447f1b916d","html_url":"https://github.com/numaproj/numaproj-demo","commit_stats":null,"previous_names":["numaproj/numaproj-demo","numaproj/numalogic-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numaproj%2Fnumaproj-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numaproj%2Fnumaproj-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numaproj%2Fnumaproj-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numaproj%2Fnumaproj-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numaproj","download_url":"https://codeload.github.com/numaproj/numaproj-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250435155,"owners_count":21430227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T07:26:00.651Z","updated_at":"2025-04-23T12:32:36.666Z","avatar_url":"https://github.com/numaproj.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Numaproj Assist Demo\n\n`Numaproj Assist` is a tool to help you quickly detect if there's any issue with your application. It leverages large language models to analyze the application logs, Kubernetes events and pod running status to identify the root cause of the problem if there's any. The tool is running as an extension in the Argo CD UX.\n\n## Installation\n\nThe following steps install `Numaproj Assist` in your Kubernetes cluster, and run a demo application to show how it works.\n\n### Prerequisites\n\n- A Kubernetes cluster\n- `kubectl` CLI\n\n### Installation Steps\n\n1. Install Numaflow CRD\n\n```bash\nkubectl apply -k https://github.com/numaproj/numaflow/config/advanced-install/minimal-crds?ref=stable\n```\n\n2. Install Prometheus if you don't have one, and configure\n```bash\nkubectl apply -f  https://raw.githubusercontent.com/numaproj/numalogic-prometheus/main/manifests/prerequisites/prometheus/install.yaml\n```\n\n2.1. [skip if you did step 2] Configure the Prometheus Rule for AIOps (Please update the your Prometheus namespace)\n```bash\nkubectl apply -n monitoring -f https://github.com/numaproj/numalogic-prometheus/blob/main/manifests/prerequisites/prometheus/prometheus-rules.yaml\n```\n   \n\n3. Install Argo CD and Argo rollouts\n```bash\nkubectl create namespace argocd\nkubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml\n\nkubectl create namespace argo-rollouts\nkubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml\n\n\n```\n4. Install ArgoCD Metrics Server\n```base\nkubectl -n argocd apply -k https://github.com/argoproj-labs/argocd-extension-metrics/manifests?ref=main\n```\n5. Install AIOps Anomaly pipeline\n```base\nkubectl  apply -f https://raw.githubusercontent.com/numaproj/numalogic-prometheus/main/manifests/pipeline/install-numalogic-rollouts.yaml -n numalogic-rollouts\n```\n\n\n6. Install ArgoCD Extension\n```bash\nkubectl apply -n argocd -f ./manifests/numaproj-assist/argocd-extn/argocd-extn-configmap.yaml\nkubectl apply -n argocd -f ./manifests/numaproj-assist/argocd-extn/argocd-extn-server-cm.yaml\nkubectl apply -n argocd -f ./manifests/numaproj-assist/argocd-extn/argocd-rbac-cm.yaml\nkubectl patch deployment argocd-server -n argocd --patch-file ./manifests/numaproj-assist/argocd-extn/argocd-deployment-patch-numaproj-assist.yaml\n```\n\n7. Install demo app\n\n  a. Create argocd application \n   ```bash\n    kubectl apply -n argocd -f  ./manifests/numaproj-assist/argocd-app/argocd-demo-app-application.yaml\n    ```\n  b. Port forward argocd UI\n  ```bash\n  kubectl -n argocd port-forward svc/argocd-server 8080:80\n  ```\n  c. open the browser \"https://localhost:8080/\"\n  username is `admin`\n  To get password execute below command\n  ```\n  kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\" | base64 -d\n  ```\n\n8. Install `Numaproj Assist` related components\n\n```bash\nkubectl create ns numaproj-assist\n\n# Create a Kubernetes secret for the openai api key (replace \u003copenai-api-key\u003e before running the following command).\n```bash\nkubectl -n numaproj-assist create secret generic log-summarization-tokens --from-literal=openai-api-key='\u003copenai-api-key\u003e'\n\nkubectl apply -k ./manifests/numaproj-assist\n```\n\n9. Install ArgoCD numaproj Assist Backend server\n```base\nkubectl apply -n numaproj-assist -f https://raw.githubusercontent.com/numaproj-labs/argocd-extn-numaproj-assist/main/manifests/install.yaml\n```\n10. Open demo App and Argo CD server\n```bash\n   kubectl port-forward svc/numalogic-demo-service 8081:8080 -n rollout-numalogic-demo\n```\nOpen the browser \"https://localhost:8081/\", then go to Argo CD, click `numalogic-rollout-demo` app, and check the summarized information in `Numaproj Assist` tab.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumaproj%2Fnumaproj-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumaproj%2Fnumaproj-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumaproj%2Fnumaproj-demo/lists"}