We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx 部分,主要是查看流量和查看超时 API 的。
阿里云-日志服务
阿里云-容器服务 Kubernetes
阿里云-云监控
K8S Command
~/.kube/config
kubectl get (-f FILENAME | TYPE [NAME | /NAME | -l label]) [–watch] [–sort-by=FIELD] [[-o | –output]=OUTPUT_FORMAT] [flags]
k get pod
kubectl attach POD -c CONTAINER [-i] [-t] [flags]
k attach pod web-zelda-7f75f69587-ll9rt
kubectl delete (-f FILENAME | TYPE [NAME | /NAME | -l label | –all]) [flags]
k delete pod web-magic-58f9f5545c-d98gp
kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | /NAME | -l label]) [flags]
k describe pod web-zelda-7f75f69587-ll9rt
kubectl edit (-f FILENAME | TYPE NAME | TYPE/NAME) [flags]
k edit deploy web-magic
kubectl exec POD [-c CONTAINER] [-i] [-t] [flags] [-- COMMAND [args...]]
k exec pod -it web-zelda-7f75f69587-ll9rt bash
kubectl logs POD [-c CONTAINER] [--follow] [flags]
k logs -l project=web-magic
kubectl scale (-f FILENAME | TYPE NAME | TYPE/NAME) –replicas=COUNT [–resource-version=version] [–current-replicas=count] [flags]
k scale --replicas=11 deploy/web-magic
kubectl top (TYPE NAME)
k get node
阿里云-云数据库 RDS 版
The text was updated successfully, but these errors were encountered:
No branches or pull requests
第 272 期 《系统运维的一些干货分享》 by 临川
Nginx
nginx 部分,主要是查看流量和查看超时 API 的。
阿里云-日志服务
K8S
阿里云-容器服务 Kubernetes
阿里云-云监控
K8S Command
~/.kube/config
kubectl get (-f FILENAME | TYPE [NAME | /NAME | -l label]) [–watch] [–sort-by=FIELD] [[-o | –output]=OUTPUT_FORMAT] [flags]
k get pod
kubectl attach POD -c CONTAINER [-i] [-t] [flags]
k attach pod web-zelda-7f75f69587-ll9rt
kubectl delete (-f FILENAME | TYPE [NAME | /NAME | -l label | –all]) [flags]
k delete pod web-magic-58f9f5545c-d98gp
kubectl describe (-f FILENAME | TYPE [NAME_PREFIX | /NAME | -l label]) [flags]
k describe pod web-zelda-7f75f69587-ll9rt
kubectl edit (-f FILENAME | TYPE NAME | TYPE/NAME) [flags]
k edit deploy web-magic
kubectl exec POD [-c CONTAINER] [-i] [-t] [flags] [-- COMMAND [args...]]
k exec pod -it web-zelda-7f75f69587-ll9rt bash
kubectl logs POD [-c CONTAINER] [--follow] [flags]
k logs -l project=web-magic
kubectl scale (-f FILENAME | TYPE NAME | TYPE/NAME) –replicas=COUNT [–resource-version=version] [–current-replicas=count] [flags]
k scale --replicas=11 deploy/web-magic
kubectl top (TYPE NAME)
k get node
PG
阿里云-云数据库 RDS 版
The text was updated successfully, but these errors were encountered: