Skip to content

Instantly share code, notes, and snippets.

View xiangweilee's full-sized avatar

Lee Xiang Wei xiangweilee

View GitHub Profile
@xiangweilee
xiangweilee / PR-template.md
Last active March 11, 2021 08:33
[Draft] PR template
@xiangweilee
xiangweilee / k8s.md
Last active February 2, 2020 03:44
Kubernetes Fundamentals

Run a service

Run the image on the cluster

kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080

Take the deployment and expose it as a new K8s Service

kubectl expose deployment hello-minikube --type=NodePort