Skip to content

Instantly share code, notes, and snippets.

@rafaribe
Last active March 6, 2023 23:42
Show Gist options
  • Save rafaribe/84436ca2f6f0e17f1d0f7b6b11143cb0 to your computer and use it in GitHub Desktop.
Save rafaribe/84436ca2f6f0e17f1d0f7b6b11143cb0 to your computer and use it in GitHub Desktop.
Kubernetes Hands-on

Intro to k8s

helm

kubectl

k9s

Install a local Kubernetes Cluster (one of these)

Kind

Minikube

Docker Desktop's Kubernetes

golang

Observability

1 - Create a simple golang (or other language) application that contains two or three REST API endpoints and implement the following types of signals:

  • Logs ( JSON or REGEX parsable format)
  • Metrics - Implement a gauge, a counter a histogram and a summary (optional)

2 - Dockerize it.

3 - Write a Deployment and a Service Spec to deploy this application to your local kubernetes cluster.

4 - If there's time, use our [Helm Chart] (https://gitlab.com/neoception/infra/helm-charts) to generate the above manifests in a concise manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment