-
Notifications
You must be signed in to change notification settings - Fork 618
K8s deployment #1825
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
K8s deployment #1825
Conversation
Sync with base
Syncing with 3.1.46
Sync with 3.1.49
Sync with 3.1.50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to fecffa3 in 58 seconds
More details
- Looked at
392lines of code in8files - Skipped
1files when reviewing. - Skipped posting
4drafted comments based on config settings.
1. py/k8s/dev/azure/pg.yaml:10
- Draft comment:
The base64 encoded values forPOSTGRES_USERandPOSTGRES_PASSWORDare identical. This is a security risk. Ensure that the password is unique and securely managed. - Reason this comment was not posted:
Comment did not seem useful.
2. py/k8s/dev/azure/secret.yaml:10
- Draft comment:
The base64 encoded values forR2R_POSTGRES_USERandR2R_POSTGRES_PASSWORDare identical. This is a security risk. Ensure that the password is unique and securely managed. - Reason this comment was not posted:
Marked as duplicate.
3. py/k8s/dev/azure/namespace.yaml:7
- Draft comment:
The labelname: r2r-devis redundant and can be removed to avoid confusion, as the namespace name is already specified. - Reason this comment was not posted:
Confidence changes required:50%
The labelnameis redundant in the namespace definition and can be removed.
4. py/k8s/dev/azure/r2r-dashboard.yaml:1
- Draft comment:
The comment# Deployment and Service for Unstructuredis incorrect. Update it to reflect the correct content, such as# Deployment and Service for R2R Dashboard. - Reason this comment was not posted:
Confidence changes required:50%
The comment at the top of the file is incorrect and should be updated to reflect the correct content of the file.
Workflow ID: wflow_kVeIgyi0ppkss6LI
Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
|
@ellipsis review this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to df79309 in 57 seconds
More details
- Looked at
392lines of code in8files - Skipped
0files when reviewing. - Skipped posting
4drafted comments based on config settings.
1. py/k8s/dev/azure/secret.yaml:10
- Draft comment:
Avoid hardcoding sensitive data like passwords in the YAML files, even if they are base64 encoded. Consider using a more secure method to manage secrets, such as using a secrets management tool or environment variables. - Reason this comment was not posted:
Marked as duplicate.
2. py/k8s/dev/azure/secret.yaml:12
- Draft comment:
Avoid hardcoding sensitive data like API keys in the YAML files, even if they are base64 encoded. Consider using a more secure method to manage secrets, such as using a secrets management tool or environment variables. - Reason this comment was not posted:
Marked as duplicate.
3. py/k8s/dev/azure/pg.yaml:37
- Draft comment:
Consider increasing the number of replicas for the PostgreSQL deployment if high availability or load balancing is required. - Reason this comment was not posted:
Confidence changes required:50%
The deployment configuration for the PostgreSQL service uses a single replica, which might not be sufficient for high availability or load balancing. Consider increasing the number of replicas if needed.
4. py/k8s/dev/azure/unstructured.yaml:9
- Draft comment:
Ensure that the number of replicas for the "unstructured" deployment is appropriate for the expected load and resource availability. - Reason this comment was not posted:
Confidence changes required:50%
The deployment configuration for the "unstructured" service uses 4 replicas, which might be more than necessary depending on the load. Ensure that this number is appropriate for the expected load and resource availability.
Workflow ID: wflow_MQrpD2quOoWFal5j
Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.
|
Hey @rajangoswamiTWS hoping to test this soon. If you have the chance, I'd love to see a short deployment guide around this. |
|
Any updates? |
|
Closing in favor of #2150 |
Important
Add Kubernetes deployment configurations for R2R development environment including ArgoCD, PostgreSQL, R2R, R2R Dashboard, and Unstructured components.
dev-autosync.yamlfor ArgoCD application setup targetingr2r-devnamespace with automated sync policy.namespace.yamlto definer2r-devnamespace.pg.yamlfor PostgreSQLSecret,ConfigMap,Deployment, andServiceinr2r-devnamespace.postgres-pvc.pv.yamlforpostgres-pvcandpvc-r2r-config-blobwith specific storage requests.r2r.yamlfor R2RConfigMap,Deployment, andServicewith 4 replicas and health probes.r2r-dashboard.yamlfor R2R DashboardDeploymentandServicewith 1 replica and load balancer.unstructured.yamlfor UnstructuredDeploymentandServicewith 4 replicas.secret.yamlfor R2R application secrets including PostgreSQL credentials and Azure API key.This description was created by
for df79309. It will automatically update as commits are pushed.