会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
智者必怀仁
博客园
首页
新随笔
管理
2023年8月5日
golang 接口的概念
摘要: 先上代码 定义一个接口 Retriever 两个接口的实现 infra.go ```go package main import ( "fmt" "robot.com/Robot/learngo/testing" //"robot.com/Robot/learngo/infra" ) // ?: S
阅读全文
posted @ 2023-08-05 18:14 robot-Z
阅读(30)
评论(0)
推荐(0)
2023年2月4日
kubernetes-Deployment
摘要: # Deployment 它是专门用来部署应用程序的,能够让应用永不宕机,多用来发布无状态的应用,是 Kubernetes 里最常用也是最有用的一个对象。 ## YAML样板 ``` apiVersion: apps/v1 kind: Deployment metadata: labels: app
阅读全文
posted @ 2023-02-04 22:25 robot-Z
阅读(63)
评论(0)
推荐(0)
k8s-谷歌镜像加速-k8s.gcr.io镜像-拉取方法
摘要: # github代码 ``` https://github.com/zsjlu/gcr.io_mirror#google-container-registry-mirrorgoogle-container-registry%E9%95%9C%E5%83%8F%E5%8A%A0%E9%80%9F ``
阅读全文
posted @ 2023-02-04 22:08 robot-Z
阅读(261)
评论(0)
推荐(0)
2022年12月27日
linux-常用系统工作命令
摘要: echo echo 命令用于唉终端输出字符串或变量提取后的值 echo robot echo $SHELL date date 命令用于显示及设置系统的时间或日期 date # 按照某种格式输出 date "+%Y-%m-%d %H:%M:%S" # 设置系统时间 date -s "20170901
阅读全文
posted @ 2022-12-27 19:30 robot-Z
阅读(113)
评论(0)
推荐(0)
linux-centos7如何重置root管理员密码
摘要: 先决条件 先查看是否是RHEL7系统 cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) 操作步骤 # 重启系统 reboot # 引导界面,按“e”进入内核编辑界面 # 在linux16开头的这一行
阅读全文
posted @ 2022-12-27 18:53 robot-Z
阅读(254)
评论(0)
推荐(0)
下一页
公告