摘要:
kubectl exec -ti data-ananlysis-java-8-2kg2l-h3hn1-rg61n -c maven -n jenkins /bin/bash 阅读全文
摘要:
[root@k8s-master ~]# ansible-playbook /etc/ansible/copy.yml PLAY [webservers] ************************************************************************ 阅读全文
摘要:
用 df -h 查看磁盘情况,无奈卡住无法显示 解决方法: 1、首先就是使用strace去追踪到底在哪里卡住了 strace df -h 2、如果没有strace命令则进行安装即可 yum install strace 3、显示出卡住的地方 stat("/proc/sys/fs/binfmt_mis 阅读全文
摘要:
[root@k8s-master ~]# kubectl get po NAME READY STATUS RESTARTS AGE data-java-9bbf8c957-jp5dl 0/1 CrashLoopBackOff 9745 (4m28s ago) 34d data-java-bc8f6 阅读全文
摘要:
failed: [localhost] (item={'ns': 'kubesphere-system', 'kind': 'users.iam.kubesphere.io', 'resource': 'admin', 'release': 'ks-core'}) => {"ansible_loop 阅读全文
摘要:
在RocketMQ中,有三个关键组件:Namesrv(Name Server)、Broker和Console-ng(管理控制台)。 Namesrv(Name Server):Namesrv是RocketMQ的命名服务,负责管理整个RocketMQ集群的路由信息。每个RocketMQ集群中都至少需要一 阅读全文
摘要:
[root@master01 /usr/local/bin]# kubectl get crd -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | grep "devops.kubesphere.io" s2ibuilders.d 阅读全文
摘要:
插件管理 》高级 阅读全文
摘要:
Jenkins ==> 系统管理 ==> 脚本命令行 输入如下命令 com.cloudbees.plugins.credentials.SystemCredentialsProvider.getInstance().getCredentials().forEach{ it.properties.ea 阅读全文
摘要:
最开始解决方案是maven 的pod 里通过 在线下载kubectl 命令 发现每次构建后端服务,都去官网下载kubectl 命令相当慢。 既然用到maven 模板,遂将master 节点的kubectl 命令通过hostpath挂载到maven的 pod模板里面。问题解决。 agent模板cm配置 阅读全文