logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

简单的 k8s 部署分布式Go微服务集群实例

查看所有Pod状态(均为Running) kubectl get pods # 查看服务列表 kubectl get svc # 测试外部访问(替换为集群节点IP) curl http://节点IP:30080/api/user/health # 预期返回:{"status":"healthy"}服务发现与通信K8s通过CoreDNS组件为Service分配域名(如),服务间通过域名+端口通信,无

#kubernetes#分布式#golang
phpstrom-docker 远程debug配置

选择容器的php解析配置xdeug配置服务开启监听phpstorm会监听9001端口,接受数据php.ini配置[XDebug]xdebug.remote_enable = 1xdebug.remote_host = host.docker.internalxdebug.remote_port = 9001xdebug.remote_connect_back=0xdebug.remote_auto

#docker#php
phpstrom-docker 远程debug配置

选择容器的php解析配置xdeug配置服务开启监听phpstorm会监听9001端口,接受数据php.ini配置[XDebug]xdebug.remote_enable = 1xdebug.remote_host = host.docker.internalxdebug.remote_port = 9001xdebug.remote_connect_back=0xdebug.remote_auto

#docker#php
开机自动同步centos 虚拟机时间

首先要先安装ntp# yum install ntp配置开机时自动运行时间服务# chkconfig ntpd on开启ntp服务# cd /etc/# /bin/systemctl start ntpd.service查看一下是否启动#ps -aux| grep ntpd同步时间# ntpdate -u ntp1.aliyun.com# ntp...

到底了