Skip to content

Instantly share code, notes, and snippets.

View janetkuo's full-sized avatar
👩‍💻
janetkuo on Kubernetes and CNCF Slack channels

Janet Kuo janetkuo

👩‍💻
janetkuo on Kubernetes and CNCF Slack channels
View GitHub Profile
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kubebot
labels:
component: kubebot
spec:
replicas: 1
template:
metadata:
package main
import (
"fmt"
"net/http"
)
// hello world, the web server
func HelloServer(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, world!")