codegold79 / aurix

Example web page running on Kubernetes that uses persistent volume. Works with MVPStudio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes Tutorial

This tutorial will demonostrate how to run a simple Go server that reads and writes to a Postgres database. The application will run on the MVP Studio Kubernetes cluster and take advantage of the Kubernetes secrets service.

Prerequisites


Kubectl commands

  • create secret with
    kubectl create secret generic pgsecrets --from-literal=username=postgres --from-literal=password=password -n hello-world
    
  • more info on secrets is in the Kubernetes docs
  • deploy with
    kubectl apply -f kube/
    
  • shut down app with
    kubectl delete -f kube/
    

About

Example web page running on Kubernetes that uses persistent volume. Works with MVPStudio.

License:MIT License


Languages

Language:Go 57.9%Language:Dockerfile 23.4%Language:HTML 18.7%