K8s Common Instructions
ps aux | grep kubectl
Namespace Create
1 | kubectl create namespace mogo |
Port Exposure
1 | kc port-forward deployment/prometheus 9090:9090 |
Ingress Rewrite
1 | nginx.ingress.kubernetes.io/server-snippet: rewrite / https://mdp-hw.shimodev.com/clickvisual$uri permanent; |
Port Agent
1 | kc port-forward deployment/prometheus 9090:9090 |
Error Code
- 255 physical machine restart
- 134 service inner error
Front-End Compilation
1 | FROM xxx AS js-builder |