更新系统后, 一经调用PHP接口,PHPFPM一起来就疯狂占用内存. 经查是Monolog启用的info日志, info设置的日志如下: monolog: handlers: … … info: type: stream path: “%kernel.logs_dir%/%kernel.environment%-info.log” level: info channels: [‘!event’, ‘!doctrine’, ‘!console’ 删除该配置后系统恢复正常.
Month: May 2018
Kubernete command
kubectl exec -it nginx-65899c769f-gf2lb — /bin/bash
Kubernete install TICK-charts on mac
参考 https://github.com/influxdata/tick-charts Step 1: Install helm & check tilller installed brew install kubernetes-helm helm init kubectl get pods –namespace kube-system 显示 $ kubectl get pods –namespace kube-system NAME READY STATUS RESTARTS AGE etcd-minikube 1/1 Running 0 4d kube-addon-manager-minikube 1/1 Running 5 5d kube-apiserver-minikube 1/1 Running 0 4d kube-controller-manager-minikube 1/1 Running 0 4d kube-dns-86f4d74b45-4zzs2 3/3 Running…
Kubernete Resources
Platform kubermatic https://stackpoint.io/ Mindmap Kubernete Kubernete TICK Charts https://github.com/influxdata/tick-charts