原创 Linux下Tomcat8啓動很慢問題解決

Linux下Tomcat 8啓動很慢,且日誌上無任何錯誤,在日誌中查看到如下信息: Log4j:[2017-08-2715:47:11]  INFO ReadProperty:172 - Loading properties file f

原创 Could not resolve host: mirrorlist.centos.org; Unknown error

yum 報錯   解決方案: vim /etc/resolv.conf   ; Created by cloud-init on instance boot automatically, do not edit. ; nameserve

原创 解決kubectl get pods時 No resources found.問題

環境:CentOS Linux release 7.2.1511 (Core) 使用yum 直接安裝 yum install -y etcd kubernetes 啓動 systemctl start etcd systemctl sta

原创 解決 Kubernetes 創建pod一直處於ContainerCreating 狀態

用k8s創建完pod後,查了一下pods狀態,發現都在containercreationg狀態中  ==> kubectl get pods 用kubectl describe查看 pods的詳情,發現 registry.access.