Skip to content

Instantly share code, notes, and snippets.

View sithumonline's full-sized avatar
🏠
Working from home

Sithum Bopitiya sithumonline

🏠
Working from home
View GitHub Profile
kubectl delete service name-of-service
kubectl get service
kubectl describe pod name-of-pod
kubectl get pods
kubectl apply -f k8s-img.yml
minikube start
apiVersion: apps/v1
kind: Deployment
metadata:
name: your-app
namespace: default
spec:
replicas: 1
selector:
matchLabels:
run: web-demo
docker push image/name:tag
pack build image/name:tag \
--builder builder/which/you/decided \
--path path/to/app
pack suggest-builders