
devops
文章平均质量分 66
水木天狼
你好
展开
-
升级后错误gitlab profile 500错误
升级后错误gitlab profile500错误困扰我好久的bug,升级后gitlab打开个人资料界面一直报500错误,之前没理会,也不需要管他,现在需要给别人开账号,不得不抽出时间来处理了,经过各种探索,终于找到了正宗的解决办法,希望对您有所帮助跟踪日志gitlab-ctl tailgitlab14.2.3 错误详情ActionView::Template::Error (undefined method `pronunciation' for #<UserDetail:0x00007f原创 2022-04-15 11:31:53 · 924 阅读 · 0 评论 -
spring cloud+cicd[gitlabci-runner]+docker-compose 微服务框架
文章目录spring boot 小微服务框架-docker-composeeurekaapollodocker/docker-composeDocker 资源限制之内gitlabgitlab仓库直接使用docker-registry搭建Harbor镜像私仓cicdgitlabci-runner注册Runnersrunner-shellrunner-dockerdocker开启认证的远程端口2376ci docker 模式中使用docker远程执行shell部署ssh证书登录(密钥创建与用户设置).gitla原创 2021-09-07 15:46:25 · 952 阅读 · 0 评论 -
gitlabs 手动安装、升级、迁移实录,sourcetree设置accesstoken登录
gitlabs 安装实录sudo yum install postfix 安装邮件服务1.添加gitlab镜像2.修改配置文件3.ssl/https配置4.mac sourcetree链接注意:sudo yum install postfix 安装邮件服务1.添加gitlab镜像# 下载社区版的gitlabwget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm原创 2020-09-11 10:19:21 · 2070 阅读 · 2 评论 -
记一次ecs云盘满的处理docker 磁盘日志爆满的处理
案发现场:测试服务器,CPU&内存2 核8 GiB,系统盘100G,跑着gitlab,docker,没有其他什么玩意,正式的代码基本还没有扔上去。docker里跑着kafka,apollo,redis,eureka,zentao,postgre,mysql等常用的组件。gitlab里跑着开发的仓库。案情:服务器磁盘使用88%,快满了,读写小于10M,iops500,cpu 25%,内存87%,分析由于使用着docker,本身就吃内存,内存87%可以理解,但是磁盘明显不对劲,筛查df明细原创 2020-12-29 17:07:19 · 427 阅读 · 0 评论 -
docker Registry 对比
docker Registry 对比类型容量私有远端部署login安全命名空间费用/年docker_hub公开无限/私有1个公开/私有公网注册dockerhub账号需要安全一个(注册账号)免费docker_hub公开无限/私有公开/私有公网注册dockerhub账号需要安全多个(注册账号)付费版https://www.docker.com/pricingdocker_registry受限于部署的服务器空间私有公网/内网d原创 2020-10-23 11:38:39 · 220 阅读 · 0 评论 -
aspnet windows gitlabci 中遇到的问题
问题1、ObjectNotFound: (git:String) [], CommandNotFoundException乱码设置Unicode UTF-8 提供全球语言支持。也可以直接把系统语言改成英语问题2、The term ‘git’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a pat原创 2020-10-18 08:51:22 · 1925 阅读 · 0 评论 -
docker-compose 启动容器反复重启或者直接退出问题解决 docker exit(137)
docker-compose 启动容器反复重启或者直接退出问题解决 docker exit(137)内存不足,内存不足,内存不足重要的事说三遍对每个service限制内存,如果不限制8g的内存最多跑5个左右的容器就完蛋了java一般服务限制300m最低,apollo的400m,具体的看情况吧,服务器内存如果够大请随意version: '3' # 表示该docker-compose.yml文件使用的是Version 2 file formatservices:原创 2020-10-13 17:26:20 · 3629 阅读 · 1 评论 -
networks.demo_dev.ipam.config value Additional properties are not allowed (‘gateway‘ was unexpected)
cicd 时docker-compose up 报错networks.demo_dev.ipam.config value Additional properties are not allowed (‘gateway’ was unexpected)这个多半是docker版本问题docker-Compose升级到最新版一般就可以解决同安装Docker-Compose,只是修改其中的版本,版本可在https://github.com/docker/compose/releases中查看curl原创 2020-10-09 13:13:53 · 5825 阅读 · 0 评论 -
docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.‘, Perm
docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, Permdocker_runner 没有docker的运行权限cat /etc/group | grep dockerdocker❌999:编辑 /etc/group把docker_runner 加入到docker组就可以vi /etc/group...docker:x:989:gitlab-runne原创 2020-10-09 12:07:52 · 18212 阅读 · 6 评论 -
docker push received unexpected HTTP status: 503 Service Unavailable
docker push received unexpected HTTP status: 503 Service Unavailable解决方案:1 关闭selinux 对于服务器开启了 selinux的有效# getenforce# setenforce 0vim /etc/selinux/config # This file controls the state of SELinux on the system.# SELINUX= can take one of these thr原创 2020-09-30 13:57:31 · 4482 阅读 · 0 评论