摘要:
Service 简介 K8s 中提供微服务的实体是 Pod,Pod 在创建时 docker engine 会为 pod 分配 ip,“外部”流量通过访问该 ip 获取微服务。但是,Pod 的状态是不稳定的,它容易被销毁,重建,一旦重建, Pod 的 ip 将改变,那么继续访问原来 ip 是不现实的。 阅读全文
摘要:
编写脚本实现在指定文件路径下查找文件夹或文件名。 脚本如下: #!/bin/sh # lazy find # GNU All-Permissive License # Copying and distribution of this file, with or without modificatio 阅读全文