代码编织梦想

初始密码
Account: admin
Password: P@88w0rd

ansible部署 选一台master 节点

---
- hosts: k8s_masters
  become: yes
  tasks:
    - name: Install Git
      package:
        name: git
        state: present

    - name: Download Helm
      get_url:
        url: https://get.helm.sh/helm-v3.16.2-linux-amd64.tar.gz
        dest: /tmp/helm-v3.16.2-linux-amd64.tar.gz

    - name: Extract Helm
      unarchive:
        src: /tmp/helm-v3.16.2-linux-amd64.tar.gz
        dest: /tmp/
        remote_src: yes

    - name: Move Helm to /usr/local/bin
      command: mv /tmp/linux-amd64/helm /usr/local/bin/helm

    - name: Add KubeSphere Helm repo
      command: /usr/local/bin/helm repo add kubesphere https://charts.kubesphere.io/main

    - name: Update Helm repos
      command: /usr/local/bin/helm repo update

    - name: Install KubeSphere
      command: /usr/local/bin/helm upgrade --install ks-core kubesphere/ks-core --namespace kubesphere-system --create-namespace

    # - name: Install KubeSphere
    #   command: /usr/local/bin/helm upgrade --install ks-core kubesphere/ks-core --namespace kubesphere-system --create-namespace --set persistence.enabled=false --set auth.adminPassword=123456
 

    - name: Verify installation
      command: kubectl get pods -n kubesphere-system

手动部署

[root@master220 ~]# curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

[root@master220 ~]# helm repo add kubesphere https://charts.kubesphere.io/main

[root@master220 ~]# helm repo update

[root@master220 ~]# helm upgrade --install ks-core kubesphere/ks-core --namespace kubesphere-system --create-namespace
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_43527128/article/details/143053799

kubesphere_KubeSphere-爱代码爱编程

“当微服务变得越来越多时,管理就会出问题。就像汽车的轮子,单个轮子肯定不行,需要整装、驱动,但是轮子越来越多时,如何管理这些轮子也很重要。这时候必须有一个管理系统,Kubernetes 已经成为容器平台的标准,所以青云QingCloud 会拥抱 Kubernetes。Kubernetes 不仅仅是容器的调度和编排,它还制订了一套标准和规范,生态非常强大

kubesphere安装_forever nore的博客-爱代码爱编程

文章目录 安装KubeSphere前置环境所有节点主节点从节点配置默认存储StorageClassMetrics-server 安装KubeSpherekubesphere-installer.yamlcl

kubesphere实战-爱代码爱编程

文章目录 一、KubeSphere平台安装1、Kubernetes上安装KubeSphere1.1 安装docker1.2 安装Kubernetes1.3 前置环境之nfs存储1.4 前置环境之metrics-ser

kubesphere_kubectl edit cm-爱代码爱编程

文章目录 KubeSphere简介安装多租户管理WordPressDevOps 作者声明 KubeSphere 默认的 dashboard 没啥用,我们用 kubesphere 可以打

ubuntu 22.04 搭建 kubesphere 3.4.1 集群_ubuntu安装kubesphere-爱代码爱编程

参考资料 Ubuntu20.04虚拟机使用Kubeadm从0到1搭建K8S集群(超详细)ubuntu22.04使用kk安装kubernates1.20.4和kubesphere3.1.1 注意 系统版本

ansible roles与优化-爱代码爱编程

Ansible Roles与优化 Ansible作为一款自动化运维工具,凭借其简洁的语法、强大的功能以及良好的扩展性,在IT运维领域得到了广泛应用。Ansible Roles作为Ansible的核心特性之一,为自动化部署和

ansible自动化工具_ansible <<-爱代码爱编程

一、Ansible概述 1.1 什么是Ansible Ansible 是一个开源的自动化工具,用于配置管理、应用程序部署和任务自动化。它让你可以通过编写简单的 YAML 文件(剧本,Playbooks),轻松管理和配置多个服务器。Ansible 的特点是无代理架构,它通过 SSH 连接到远程主机,不需要在目标服务器上安装任何软件。 除了 Ansibl

kubesphere 启用应用商店_kubesphere应用商店-爱代码爱编程

KubeSphere 应用商店 作为一个开源的、以应用为中心的容器平台,KubeSphere 在 OpenPitrix 的基础上,为用户提供了一个基于 Helm 的应用商店,用于应用生命周期管理。OpenPitrix 是一个开源的 Web 平台,用于打包、部署和管理不同类型的应用。KubeSphere 应用商店让 ISV、开发者和用户能够在一站式服务中只

部署kubesphere_kubesphere storageclass openebs-爱代码爱编程

前提叙述:(配置kubesphere需本机上有pv和pvc、上篇文档中有配置openebs、请先配置openebs后在配置storageclass、安装kubesphere时候会关联storageclass、storageclass会绑定openebs、自动创建pv、pvc、实现持久化存储) 部署kubesphere需配置storageclass实现动态

ansible 自动化运维工具-爱代码爱编程

自动化运维工具: pupetc/s架构,需要安装客户端和服务端saltstackc/s架构,需要安装客户端和服务端;python语言chefc/s架构,需要安装客户端和服务端Ansible不需要安装客户端,ssh连接客户端;python语言 一、什么是Ansible 自动化运维工具,通过ssh对目标主机进行配置、应用部署、任务执行、编排调度等操作。简

自动化工具:ansible_ansible自动化-爱代码爱编程

目录 一、运维自动化工具有哪些 二、Ansible 概述 1、Ansible 概念 2、Ansible 特点 3、Ansible 工作流程 三、安装部署Ansible 1、环境部署 2、管理节点安装 Ansible 3、查看Ansible相关文件 4、配置主机清单 5、免密管理 ssh-keygen 5.1、测试连通性 5.2、简