Skip to content

Instantly share code, notes, and snippets.

Trần Văn Luận luandevpro

View GitHub Profile
View Terminal
kubectl scale --replicas=5 deployment first-deployment
View Terminal
kubectl apply -f deployment.yaml
View a
kubectl delete pod app
View Terminal
minikube addons enable ingress
View ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: app
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
View Terminal
kubectl get pods app -o yaml
View Terminal
minikube service --url app
You can’t perform that action at this time.