HttpServletRequest 获取cookie
摘要:request.getHeader("cookie") 得到的是a=b,c=d
阅读全文
k8s 代码生成
摘要:https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/ # 代码生成的工作目录,也就是我们的项目路径$ ROOT_PACKAGE="k8s-dev/k8s-controller-custom-r
阅读全文
k8s 各种示例
摘要:https://github.com/trstringer
阅读全文
mysql-operator
摘要:https://github.com/oracle/mysql-operator
阅读全文
k8s Docker私有仓库认证
摘要:使用过K8s的小伙伴肯定会遇到一个问题,我们在使用自有的Docker仓库的时候都需要先登录用户名和密码,但是如果使用K8S怎么配置密码呢?在secret中有一个类型是docker-registry我们可以通过命令行的方式创建在获取Docker镜像时使用的用户名和密码 kubectl create s
阅读全文