/gke-cicd-sandbox

Primary LanguagePythonApache License 2.0Apache-2.0

exampleapp

Requirements

  • make
  • docker for mac
    • Please turn on Enable Kubernetes configulation if you want to deploy on local k8s
  • flake8, pytest, mypy

quick start

  1. build docker image
make build-image
  1. deploy on your local k8s cluster
make deploy
  1. port-forward to k8s service resource
make port-forward
  1. invoke health check endpoint
curl localhost:4600/health
{"msg":"I'm healthy"}

test/lint/typecheck

make ci