Giter VIP home page Giter VIP logo

ck8s-starter-nodejs's Introduction

Compliant Kubernetes Starter Kit for NodeJS

How to I deploy my application?

  1. Click on Use this template.
  2. Change DOMAIN to what you got from your platform admin.
  3. Create an environment development, and set DOCKER_PASSWORD and KUBECONFIG_CONTENTS environment secrets to what you got from your platform admin.
  4. Done!

How do I access my application?

Check the logs of GitHub Actions.

Where do I find my application logs?

Check the logs of GitHub Actions.

How do I set up alerts for my application?

Once you found you logs, check out log-based alerts.

I need help

Send the full output of your CI/CD pipeline to your TAM.

ck8s-starter-nodejs's People

Contributors

cristiklein avatar llarsson avatar

Watchers

 avatar  avatar  avatar

Forkers

cristiklein

ck8s-starter-nodejs's Issues

Various issues

  • The README should mention that the APP_DOMAIN must also be updated.
  • Creating a new repo from this template, for some reason known only to GitHub itself, prevents me from getting the Environments part of the Project Settings. So I can't actually use an Environment with my GitHub Actions.
  • If I follow the official instructions and RBAC rules that are suggested for CI/CD ServiceAccounts, my workflow fails, because it's not allowed to list Nodes. Workaround: just list the Pods instead, I guess?
  • ...it also can't list certificates.
  • To make this super friendly to new users, we should list all the steps:
    • Make a new repo from this template.
    • Make a new project in Harbor to host the images.
    • Export the Image Pull Secret into the default ServiceAccount as per instructions so deployment can succeed.
    • Change the values here in the workflow definition file as per instructions, including APP_DOMAIN (or just put them as encrypted secrets, because WHO CARES if they are encrypted or not -- they are not supposed to change, anyway).
    • Put the Docker password here as a Secret in the GitHub Project Settings.
    • Put the KUBECONFIG here as a Secret in the GitHub Project Settings.

I may add comments to this issue with more as it comes up.

Tagging strategy for automated releases

This is entering almost the philosophical realm now: if I don't change anything about my application (it's still v1.11.3 as far as my features are concerned), but I do rebuild the image to pull in new dependencies and avoid vulnerabilities in the base image, something needs to still trigger a redeployment.

If we would always have ${GITHUB_REF}-${GITHUB_SHA}, simply restarting the workflow will do what I want in that case.

That's how I've kept it in the first pull request for this repo, which I am about to make.

Originally posted by @llarsson in #1 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.