Error:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
# kubectl get all NAME DESIRED CURRENT READY AGE rc/mysql 1 1 1 4h rc/myweb 1 1 1 2h
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE svc/kubernetes 10.254.0.1 <none> 443/TCP 5d svc/mysql 10.254.67.31 <none> 3306/TCP 4h svc/myweb 10.254.62.177 <nodes> 8080:30001/TCP 2h
NAME READY STATUS RESTARTS AGE po/mysql-vc9x6 1/1 Running 0 4h po/myweb-6k7s3 1/1 Running 0 2h # kubectl get ep NAME ENDPOINTS AGE kubernetes 192.168.1.171:6443 5d mysql 172.17.0.4:3306 4h myweb 172.17.0.2:8080 2h
# kubectl create -f mysql-rc.yaml replicationcontroller "mysql" created # kubectl get rc NAME DESIRED CURRENT READY AGE mysql 2 0 0 11s myweb 2 0 0 5s # kubectl get pods No resources found. # docker images REPOSITORY TAG IMAGE ID CREATED SIZE
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project io: Failed to deploy artifacts: Could not transfer artifact cn.infisa:io:jar:1.0.2-RELEASE from/to releases (http://192.168.1.62:8081/nexus/content/repositories/releases/): Failed to transfer file: http://192.168.1.62:8081/nexus/content/repositories/releases/cn/infisa/io/1.0.2-RELEASE/io-1.0.2-RELEASE.jar. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
| Modifier and Type | Method | Description | |———————— |———————- |————————————————————————————————————————– | | abstract void | destroy () | Kills the subprocess. | | abstract int | exitValue () | Returns the exit value for the subprocess. | | abstract InputStream | getErrorStream () | Returns the input stream connected to the error output of the subprocess. | | abstract InputStream | getInputStream () | Returns the input stream connected to the normal output of the subprocess. | | abstract OutputStream | getOutputStream () | Returns the output stream connected to the normal input of the subprocess. | | abstract int | waitFor () | Causes the current thread to wait, if necessary, until the process represented by this Process object has terminated. |
PING www.a.shifen.com (111.13.100.91) 56(84) bytes of data. 64 bytes from localhost(111.13.100.91): icmp_seq=1 ttl=52 time=7.66 ms 64 bytes from localhost(111.13.100.91): icmp_seq=2 ttl=52 time=7.90 ms 64 bytes from localhost(111.13.100.91): icmp_seq=3 ttl=52 time=14.0 ms
--- www.a.shifen.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 7.668/9.861/14.013/2.937 ms
Spring Boot Actuator includes a number of additional features to help you monitor and manage your application when it’s pushed to production. You can choose to manage and monitor your application using HTTP or JMX endpoints. Auditing, health and metrics gathering can be automatically applied to your application. The user guide covers the features in more detail. Spring Boot Actuator包含了一些额外的特性用于生产环境中监控和管理spring boot应用。actuator可以通过__HTTP__或者__JMX__对应用进行管控。可以自动收集审计、健康和度量信息。用户手册包含了更多的细节。