随笔分类 -  PaaS系统/容器

摘要:本文转载:https://xz.aliyun.com/t/10216 SAST(Static Application Security Testing):静态应用程序安全测试技术,通常在编码阶段分析应用程序的源代码或二进制文件的语法、结构、过程、接口等来发现程序代码存在的安全漏洞。 目前有多款静态代 阅读全文
posted @ 2022-07-07 23:26 博客萨斯州 阅读(813) 评论(0) 推荐(0)
摘要:pipeline { agent { label 'master' } parameters { extendedChoice( defaultValue: '', description: '选择发布模块', multiSelectDelimiter: ',', name: 'module', q 阅读全文
posted @ 2022-06-28 14:33 博客萨斯州 阅读(189) 评论(0) 推荐(0)
摘要:1.sonar安装配置 https://blog.csdn.net/u012448904/article/details/81706283 2.jenkins的安装配置 https://blog.csdn.net/u012448904/article/details/81477194 3.sonar 阅读全文
posted @ 2022-06-28 14:31 博客萨斯州 阅读(71) 评论(0) 推荐(0)
摘要:GlusterFS部署 Heketi要求在每个glusterfs节点上配备裸磁盘,因为Heketi要用来创建PV和VG,如果有了Heketi,则可以通过StorageClass来创建PV,步骤仅有:创建StorageClass-->创建PVC-->Pod挂载PVC。 本文的操作步骤依据heketi的 阅读全文
posted @ 2021-01-19 13:14 博客萨斯州 阅读(595) 评论(0) 推荐(0)
摘要:Warning FailedMount 26s kubelet, 10.145.132.62 MountVolume.SetUp failed for volume "pvc-1343ae7d-cd81-11ea-a7ae-6c92bf8f6ffc" : mount failed: mount fa 阅读全文
posted @ 2020-12-12 16:38 博客萨斯州 阅读(1619) 评论(0) 推荐(0)
摘要:traefik.yaml: |- ping: "" ## 启用 Ping serversTransport: insecureSkipVerify: true ## Traefik 忽略验证代理服务的 TLS 证书 api: insecure: true ## 允许 HTTP 方式访问 API da 阅读全文
posted @ 2020-10-02 19:48 博客萨斯州 阅读(562) 评论(0) 推荐(0)
摘要:参考 apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: name: nginxtest #应用名 namespace: default #集群空间 spec: scaleTargetRef: apiVersion: 阅读全文
posted @ 2020-08-07 11:00 博客萨斯州 阅读(277) 评论(0) 推荐(1)
摘要:FROM centos:7.7.1908 ADD jdk-9.0.4_linux-x64_bin.tar.gz /usr/local/ ENV JAVA_HOME /usr/local/jdk-9.0.4 ENV JRE_HOME /usr/local/jdk-9.0.4/jre ENV CLASS 阅读全文
posted @ 2020-06-02 10:05 博客萨斯州 阅读(434) 评论(0) 推荐(0)
摘要:[root@localhost ~]# docker run -it -d centos:7 [root@650da1307bb1 /]# echo $LANG [root@650da1307bb1 /]# locale # 查看当前系统所使用的字符集 LANG= LC_CTYPE="POSIX" 阅读全文
posted @ 2020-05-29 20:18 博客萨斯州 阅读(4957) 评论(0) 推荐(0)
摘要:FROM 47.96.166.136/library/java:v4 MAINTAINER fantasy RUN localedef -c -f UTF-8 -i zh_CN zh_CN.utf8 && mkdir /home/admin/server-name/logs -p && sed -i 阅读全文
posted @ 2020-05-26 23:40 博客萨斯州 阅读(173) 评论(0) 推荐(0)
摘要:```yaml apiVersion:v1 kind:ConfigMap metadata: name:mysql labels: app:mysql data: master.cnf:| Apply this config only on the master. [mysqld] log bin 阅读全文
posted @ 2020-05-12 09:31 博客萨斯州 阅读(3151) 评论(0) 推荐(0)
摘要:```yaml kind: Deployment apiVersion: apps/v1 metadata: name: jenkins namespace: paas-jenkins spec: replicas: 1 selector: matchLabels: app: jenkins template: metadata: labels: app: jenkins spec: servic 阅读全文
posted @ 2020-04-30 23:14 博客萨斯州 阅读(217) 评论(0) 推荐(0)
摘要:"参考大神博客:Too many open files的四种解决办法" 阅读全文
posted @ 2020-04-29 21:11 博客萨斯州 阅读(2443) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-01-20 15:08 博客萨斯州 阅读(1) 评论(0) 推荐(0)
摘要:helm harbor的GitHub地址:https://github.com/goharbor/harbor helm 修改values.yaml文件 创建pvc 验证 阅读全文
posted @ 2020-01-03 13:41 博客萨斯州 阅读(5253) 评论(4) 推荐(2)
摘要:[toc] 1、安装ansible 2、安装k8s 3、检查环境 3.1、检查etcd etcd参考:https://www.cnblogs.com/winstom/p/11811373.html 3.2、检查flanneld 3.3、检查nginx和keepalived 3.4、检查kube ap 阅读全文
posted @ 2020-01-02 16:45 博客萨斯州 阅读(3319) 评论(0) 推荐(2)
摘要:/etc/docker/daemon.json 配置参数: 参考: http://www.mamicode.com/info detail 2876703.html https://blog.csdn.net/java_xinshou1/article/details/102620028 https 阅读全文
posted @ 2019-12-31 21:40 博客萨斯州 阅读(3837) 评论(0) 推荐(0)
摘要:参考: https://www.cnblogs.com/breezey/p/8849466.html https://www.cnblogs.com/zhaojiedi1992/p/zhaojiedi_liunx_54_kubernates_glusterfs heketi.html https:/ 阅读全文
posted @ 2019-12-26 14:00 博客萨斯州 阅读(548) 评论(0) 推荐(0)
摘要:```python ![1](C:\Users\Administrator\Desktop\1.png)# 1.遇到镜像拉不下来,被墙了 docker pull k8s.gcr.io/coredns:1.3.1 # 2.使用GItHub+DockerHub构建镜像拉不来下的镜像 ### 编写dockerfile,上次到GitHub 上,内容如下: FROM k8s.gcr.io/coredns:1 阅读全文
posted @ 2019-12-08 16:29 博客萨斯州 阅读(394) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-12-07 17:56 博客萨斯州