Skip to content

wrasdf/kube-app

Repository files navigation

What's the app for testing kubernetes CircleCI

  • APIS in this app
    • GET /metrics --> will return prometheus nodejs metrics
    • GET /health --> will retrun healthy status
    • GET /api/v1/timeout/<$timeout> --> will timeout return response
    • GET /api/v1/500 --> will return 500 error
    • GET /api/v1/504 --> will return 504 error
    • GET /api/v1/499 --> will return 499 error
    • GET /api/v1/largeresp --> will return largeresp
    • GET /s3/v1/list --> list all the s3 bucket
    • POST /s3/v1/<$bucket> --> create s3 bucket in AWS
    • PUT /s3/v1/<$bucket>/<$key> --> create key in s3 bucket
    • DELETE /s3/v1/<$bucket>/<$key> --> delete key in s3 bucket
    • DELETE /s3/v1/<$bucket> --> delete s3 bucket in AWS

Shortcuts

  • $ make sh
  • $ make run
  • $ make push-v0.1.11

Reference