上一页 1 2 3 4 5 6 ··· 227 下一页
摘要: #!/bin/bash # Copyright (c) 2024 xx.Co.Ltd. All rights reserved. # @Author: Muzhi # @Date: 2024-07-28 11:06:31 # @Last Modified by: Muzhi # @Last Modi 阅读全文
posted @ 2024-07-30 00:58 牧之丨 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1.创建用户alice kubectl apply -f argocd-cm.yaml apiVersion: v1 kind: ConfigMap metadata: name: argocd-cm namespace: argocd labels: app.kubernetes.io/name: 阅读全文
posted @ 2024-07-30 00:49 牧之丨 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1、安装 # 从github下载包 修改install.yaml中的镜像地址为自己的镜像地址 kubectl apply -f install.yaml # 若要部署在别的ns请确保基于rbac的授权是正确的 # 下载cli包 https://github.com/argoproj/argo-cd/ 阅读全文
posted @ 2024-07-30 00:45 牧之丨 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 查看默认密码 kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d 下载 CLI 命令行工具 curl -sSL -o /usr/local/bin/ar 阅读全文
posted @ 2024-07-29 00:29 牧之丨 阅读(38) 评论(0) 推荐(0) 编辑
摘要: gitlab-runner install -d /home/gitlab-runner/ --syslog --user gitlab-runner 阅读全文
posted @ 2024-07-26 12:38 牧之丨 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 配置服务器 我们来看看如何配置服务器端的 SSH 访问。 本例中,我们将使用 authorized_keys 方法来对用户进行认证。 同时我们假设你使用的操作系统是标准的 Linux 发行版,比如 Ubuntu。 首先,创建一个操作系统用户 git,并为其建立一个 .ssh 目录。 Note 以下操 阅读全文
posted @ 2024-07-23 02:17 牧之丨 阅读(8) 评论(0) 推荐(0) 编辑
摘要: mirrors: "192.168.50.3": endpoint: - "https://192.168.50.3"configs: "192.168.50.3": auth: username: "hello" password: "hello@123$" tls: cert_file: /ro 阅读全文
posted @ 2024-07-23 00:57 牧之丨 阅读(6) 评论(0) 推荐(0) 编辑
摘要: containerd 导入镜像 containerd而非docker,需要离线导入镜像 解决原理https://segmentfault.com/a/1190000019534913ctr --namespace=k8s.io images ls 获取到你需要的镜像名称和版本之后 (参见后面的排查技 阅读全文
posted @ 2024-07-22 21:29 牧之丨 阅读(108) 评论(0) 推荐(0) 编辑
摘要: k8s早1.24后放弃docker,并把containerd作为运行时组件,containerd 调用链更短,组件更少,更稳定,占用节点资源更少 ctr是containerd的一个客户端工具 crictl 是 CRI 兼容的容器运行时命令行接口,可以使用它来检查和调试 Kubernetes 节点上的 阅读全文
posted @ 2024-07-22 15:24 牧之丨 阅读(196) 评论(0) 推荐(0) 编辑
摘要: sudo hostnamectl set-hostname nvx60-95sudo hostnamectl set-hostname nvx60-96 cat hosts >> /etc/hosts ssh-keygen -t rsa -b 4096 -C "nvx60-95@xxx.com" s 阅读全文
posted @ 2024-07-22 15:07 牧之丨 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 227 下一页