/k8sb

The main goal of this project is to show you an operating procedure to deploy an app on Kubernetes using code templates.

OtherNOASSERTION

k8sb image

Welcome

Creative Commons License

Welcome to The k8s Boilerplate project (k8sb).

Goal

The main goal of this project is to show you an operating procedure to deploy an app on Kubernetes using code templates.

What this guide covers

  1. Project structure.
  2. The k8sb's images contexts.
  3. The Social microservice.
  4. Why k8sb is important?

1. Project structure.

2. The k8sb's images contexts.

  • Each image was build taken into account four main contexts:
    • Configuration and packages:
      • Used to initialize the necessary repositories, and the system packages.
    • External libraries.
      • Add some utilities that can help you to configure your containers (e.g. Zemni).
    • Security.
    • Clean up.
      • Delete documentation, cache, and logs generated in the Configuration and packages context.
  • In the following figure, you can appreciate an example of these contexts: cronov contexts

3. The Social microservice.

  • In order to run the Seltris, and the Xhidon image, you need a Spring Boot application. The Social microservice is a good fit because its configuration was externalize.
  • You can find more information about how to set up this microservice by following this link.

4. Why k8sb is important?

  • Help you to keep your artifacts well organized.
  • Eliminate chains of Bash commands from Docker files instructions. Instead, an instruction becomes an interface to the Bash functions.
  • Promotes both, functions and contexts reusability. You don't need to write it again.
  • Let you patch quickly security vulnerabilities.
  • Testing becomes easy using functions instead of inline commands chains.

Authors

  • Initial work

v8tix logo

       Contact us

License

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.