Search code examples
jenkins-x

why do you need to have staging and production on the same K8 instance when using Jenkins x


So im not seeing why you would want jenkins x to install a staging and production on the same K8 server as itself. Does this not mean every team has its own production?

I could understand having jenkins x and staging on one server, and then have another server for production.


Solution

  • So with Jenkins X, each team has their own Environments like Staging and Production.

    When installing Jenkins X via the jx create cluster command we default to creating the teams environments in different namespaces in the kubernetes cluster.

    Obviously you could use different clusters for different teams; so each team could use a separate cluster.

    There is also a requirement that lots of folks want to use separate clusters (and cloud Service Accounts) for different environments of a team. e.g. the Dev environment could be on one cluster, the Staging on another cluster and Production another one.

    We are working on making multi-cluster configuration easy to setup - for now its a manual process.