Skip to content

bakeruk/kubernetes-hello-world-api

Repository files navigation

Kubernetes Hello World API

A "Hello world" API designed to be deployed on Kubernetes. Built using Go Gin.


Table of contents

Prerequisites

Getting started

1. Install the projects dependencies

Before we begin, lets install the projects dependencies,

go install

2. Development

We can run and watch for any code changes using a package called Air,

make dev

3. Build and run

Now lets build an executable binary and run the project,

make build && \
./kubernetes-hello-world-api

4. Containerize the project (optional)

To build a Docker image of the project,

make docker-build

This next step is intended for use with the bakeruk/kubernetes-hello-world-kustomization project. This will tag and push the newly built Docker image to the the bakeruk/kubernetes-hello-world-kustomization local registry,

make docker-push-local

About

A "Hello world" API designed to be deployed on Kubernetes. Built using Go Gin.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published