当前位置: 首页 > news >正文

论坛怎么做网站链接腾讯云域名

论坛怎么做网站链接,腾讯云域名,外贸软件的建立,凡科网做音乐网站GitLab 是一个全球知名的一体化 DevOps 平台,很多人都通过私有化部署 GitLab 来进行源代码托管。极狐GitLab 是 GitLab 在中国的发行版,专门为中国程序员服务。可以一键式部署极狐GitLab。 关于 kind kind 是一个用来运行本地 Kubernetes 机群的工具&a…

GitLab 是一个全球知名的一体化 DevOps 平台,很多人都通过私有化部署 GitLab 来进行源代码托管。极狐GitLab 是 GitLab 在中国的发行版,专门为中国程序员服务。可以一键式部署极狐GitLab。

关于 kind

kind 是一个用来运行本地 Kubernetes 机群的工具,主要使用 Docker 容器来做为 “nodes”。kind 的主要设计目的是为了测试 Kubernetes 本身,但是也可以在本地研发或者运行 CI 的时候使用 kind。

kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI.

kind 的安装

kind 的安装非常方便,根据不同的 OS 安装即可:

Linux 安装:

# For AMD64 / x86_64
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
# For ARM64
[ $(uname -m) = aarch64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-arm64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

macOS 安装:

# For Intel Macs
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-darwin-amd64
# For M1 / ARM Macs
[ $(uname -m) = arm64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-darwin-arm64
chmod +x ./kind
mv ./kind /some-dir-in-your-PATH/kind

Windows 安装:

$ curl.exe -Lo kind-windows-amd64.exe https://kind.sigs.k8s.io/dl/v0.22.0/kind-windows-amd64
Move-Item .\kind-windows-amd64.exe c:\some-dir-in-your-PATH\kind.exe

本文以 macOS 安装为例,直接使用 brew 安装:

$ brew install kind

安装完毕,可以使用 version 或者 help 命令进行查看:

$ kind --version
kind version 0.17.0$ kind --help
kind creates and manages local Kubernetes clusters using Docker container 'nodes'Usage:kind [command]Available Commands:build       Build one of [node-image]completion  Output shell completion code for the specified shell (bash, zsh or fish)create      Creates one of [cluster]delete      Deletes one of [cluster]export      Exports one of [kubeconfig, logs]get         Gets one of [clusters, nodes, kubeconfig]help        Help about any commandload        Loads images into nodesversion     Prints the kind CLI versionFlags:-h, --help              help for kind--loglevel string   DEPRECATED: see -v instead-q, --quiet             silence all stderr output-v, --verbosity int32   info log verbosity, higher value produces more output--version           version for kindUse "kind [command] --help" for more information about a command.

kind 的使用

可以使用 kind 创建一个本地 kubernetes 集群:

$ kind create cluster --name jh-gitlab
Creating cluster "jh-gitlab" ...✓ Ensuring node image (kindest/node:v1.25.3) 🖼✓ Preparing nodes 📦✓ Writing configuration 📜✓ Starting control-plane 🕹️✓ Installing CNI 🔌✓ Installing StorageClass 💾
Set kubectl context to "kind-jh-gitlab"
You can now use your cluster with:kubectl cluster-info --context kind-jh-gitlabThanks for using kind! 😊

查看创建好的集群:

$ kind get clusters
jh-gitlab
kind

切换到想要测试的集群:

$ kubectl cluster-info --context kind-jh-gitlab
Kubernetes control plane is running at https://127.0.0.1:61452
CoreDNS is running at https://127.0.0.1:61452/api/v1/namespaces/kube-system/services/kube-dns:dns/proxyTo further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

查看集群的 node、ns 等:

$ kubectl get ns
NAME                 STATUS   AGE
default              Active   42h
kube-node-lease      Active   42h
kube-public          Active   42h
kube-system          Active   42h
local-path-storage   Active   42h$ kubectl get nodes
NAME                      STATUS   ROLES           AGE   VERSION
jh-gitlab-control-plane   Ready    control-plane   42h   v1.25.3

现在 kubernetes 集群安装成功,接下来就可以使用此集群安装极狐GitLab Runner 了。可以参考下篇文章。

更多关于极狐GitLab 的最佳实践,可以搜索关注公众号【极狐GitLab】或者登录极狐GitLab 官网进行学习。

http://www.wangmingla.cn/news/98354.html

相关文章:

  • ui设计一般用什么软件专业seo培训
  • 辽阳专业网站开发公司谷歌搜索引擎免费入口2022
  • wordpress除了主页其他都是404seo优化工作怎么样
  • 济南腾飞网络科技有限公司南京seo排名扣费
  • 网站开发大数据库品牌推广方式都有哪些
  • 三亚建设工程信息网站百度seo排名培训 优化
  • app开发制作定制外包26合肥网站关键词优化公司
  • 如何做网站数据库黑帽seo培训
  • 企业公司网站制作建设网站搜索引擎优化技术
  • 美国主要手表网站品牌服务推广
  • 网站优化排名seo推广软件排行榜前十名
  • 北京南昌网站制作阿里巴巴推广
  • 湘潭哪里做网站企业网络营销案例分析
  • 文登网站建设seo关键词有哪些类型
  • 本机可以做网站的服务器关键词排名怎么做上去
  • 做清洁找什么网站我想在百度上发布广告怎么发
  • 电子政务与网站建设的经验抖音营销推广方案
  • 公司注册地址变更需要什么资料优化百度seo技术搜索引擎
  • 烟台城乡建设局官方信息网站产品推广策划方案怎么做
  • 制作一个自适应网站哈尔滨电话本黄页
  • 做网站图标按钮素材百度竞价推广流程
  • 做淘宝客网站能赚到钱吗小程序开发哪家好
  • 怎么用wordpress建电商网站吗百度关键词排名手机
  • 网站建设小工具外贸网站优化推广
  • ftp 网站同城推广平台有哪些
  • php网站建设流程推广链接点击器
  • 接入商网站备案做网站哪家公司比较好而且不贵
  • 做网站必需要在工商局备案吗网络运营seo是什么
  • 在深圳找工作哪个网站好sem是什么品牌
  • 网络安装公司seo外包公司费用