1

I'm currently part of a team that trains multiple pods of new hires. Each pod creates a client simulated project that involves the following steps:

  1. Creating kubernetes namespaces for each pod for deployment
  2. Using spring initializer to create a Java project for each microservice (each pod's project has the same dependencies/configs but the only difference is each pod has a different name)
  3. Initializing each project in GitLab with repositories for each microservice
  4. Setting up webhooks for Jenkins integration (adding a Jenkinsfile, Dockerfile, gradle.properties and build.gradle with the appropriate project K8 namespace)

Since we go through the entire microservice spin-up process manually each time a new pod comes through, we're looking to automate as much of this as possible.

Right now our approach is to create scripts that will automate kubernetes namespace creation and customization for the Dockerfile and build.gradle. However, does anyone have experience working with the GitLab API to automate webhook configuration and Jenkins pipeline config? Any advice is welcome!

1
  • I don’t know GitLab, so I can’t help you. But your question is confusing because you use the term “Pods”, which is a Kubernetes term. If you don’t mean the Kubernetes type of pod then I would suggest you use a different term. (Like “group”)
    – Vaccano
    Aug 13 at 0:10
1

Since we go through the entire microservice spin-up process manually each time a new pod comes through, we're looking to automate as much of this as possible.

This is typically what a Platform Team does. Its good to provide a "Self Serve Portal" - e.g. so that developers can just intiate these things themself - whenever they have a need for it.

A project that tries to be an open source "developer portal" is Backstage, created by Spotify. Even if you don't choose to use Backstage, it can serve as inspiration. See e.g. Backstage: Spotify's platform developer experience

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.