Skip to content

Build Kubernetes manifest to deploy server in a cluster #36

Open

Description

@nimishamehta5

We should have a simple Kubernetes manifest to pull the latest Docker image and deploy the server as a standalone deployment in its own namespace.

Activity

  1. nimishamehta5 commented on Jun 4, 2025

    @nimishamehta5
    ContributorAuthor

    @JAORMX @ChrisJBurns, I was looking into this, but realized that if we set up RBAC for the Kubernetes manifest, the role won't have access to interact with custom resources unless rules for that are explicitly added in the RBAC config.
    This works locally because the local Kubeconfig has a wider set of permissions.
    Any thoughts on how to handle this?

    As far as I can tell, thv uses the user's local kubeconfig by mounting it into the tool hive container

  2. ChrisJBurns commented on Jun 4, 2025

    @ChrisJBurns
    Contributor

    Hey @nimishamehta5

    I'm looking at RBAC currently for ToolHive Operator, mainly to allow for multi-namespace. What will happen is that you will be able to deploy mkp into the cluster using the Operator and it will setup the permissions in order to run certain commands. There will be further work in order to specify additional RBAC permissions that you want your MCP ServiceAccount to be able to perform.

  3. nimishamehta5 commented on Jun 5, 2025

    @nimishamehta5
    ContributorAuthor

    @ChrisJBurns Sounds good, is the operator going to be in a separate project (not the mkp repo)?

  4. ChrisJBurns commented on Jun 5, 2025

    @ChrisJBurns
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions