03 2022 档案
摘要:version: '3.1' services: mongodb1: image: mongo restart: always container_name: mongo1 volumes: - ./db:/data/db - ./mongodb.key:/data/mongodb.key port
阅读全文
摘要:prometheus kubectl logs 报错kubectl create clusterrolebinding cluster-system:kubernetes --clusterrole=cluster-admin --user=system:kubernetes提示错误caller=k
阅读全文
摘要:node01 label disktype=ssd node02 label disktype=ssd hawk label disktype=ssd 污点 key=value:NoSchedule 实现结果 污点和标签pod都会调度 apiVersion: apps/v1 kind: Deploy
阅读全文
摘要:获取deployment images/pull/ 打tag/push新仓库 #!/bin/bash for x in ` kubectl -n cbf-quhui get deploy -o wide|awk '{print $7}'` do A=`echo $x|awk -F':|/' '{pr
阅读全文
摘要:skywalking docker部署方法 https://www.jb51.net/article/239387.htm # cp docker-compose-Linux-x86_64 /usr/bin/ # docker-compose version docker-compose versi
阅读全文
摘要:k8s 批量服务挂载时区 #!/bin/bash list=("zebra-assess-serviceworker" "zebra-assess-service") for i in ${list[@]}; do #i="zebra-assess-serviceworker" cat > time
阅读全文
摘要:groupadd docker gpasswd -a cbf docker /etc/systemd/system docker.service [Unit] Description=Docker Application Container Engine Documentation=https://
阅读全文