Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Kubernetes configuration and deployment files #14

Merged
merged 5 commits into from
Aug 21, 2024
Merged

Conversation

jorgecuesta
Copy link
Collaborator

Summary

This commit introduces Kubernetes configuration files for the Pocketdex application, including services, deployments, and PostgreSQL setup. Documentation is provided to guide users through the deployment process.

Type of change

Select one or more:

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Documentation
  • Other (specify)

Testing

Documentation changes (only if making doc changes)

  • make docusaurus_start; only needed if you make doc changes

Local Testing (only if making code changes)

  • Unit Tests: make go_develop_and_test
  • LocalNet E2E Tests: make test_e2e
  • See quickstart guide for instructions

PR Testing (only if making code changes)

  • DevNet E2E Tests: Add the devnet-test-e2e label to the PR.
    • THIS IS VERY EXPENSIVE, so only do it after all the reviews are complete.
    • Optionally run make trigger_ci if you want to re-trigger tests without any code changes
    • If tests fail, try re-running failed tests only using the GitHub UI as shown here

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have commented my code
  • I have performed a self-review of my own code; both comments & source code
  • I create and reference any new tickets, if applicable
  • I have left TODOs throughout the codebase, if applicable

@jorgecuesta jorgecuesta added documentation Improvements or additions to documentation tooling labels Aug 20, 2024
@jorgecuesta jorgecuesta self-assigned this Aug 20, 2024
This commit introduces Kubernetes configuration files for the Pocketdex application, including services, deployments, and PostgreSQL setup. Documentation is provided to guide users through the deployment process.
Added a new note on ensuring Kubernetes deployment access to the PocketDex image with build and push instructions. Clarified and formatted steps for PostgreSQL setup, database secrets, application configuration, and service creation for Indexer and Query components.
A TODO comment was added to the Kubernetes indexer deployment file. This reminds developers to replace the placeholder Docker image of PocketDex with the actual one upon its release.
Removed `service.yaml` and integrated service definitions directly into `indexer-deployment.yaml` and `query-deployment.yaml`. Also updated Docker image reference for indexer component. Updated documentation accordingly to reflect these changes.
Copy link
Member

@Olshansk Olshansk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the docs but haven't given it a shot YET.

APproving so we can merge it in.

I also created [1] so @okdas can add it to poktroll in the future.

[1] pokt-network/poktroll#752

@Olshansk Olshansk merged commit 1178ca4 into main Aug 21, 2024
4 checks passed
@Olshansk Olshansk deleted the kubernetes-docs branch August 21, 2024 21:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation tooling
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants