Brc's blog
首页
前端
后端
运维
  • 工作笔记
  • 分类
  • 标签
  • 归档
关于

Brc

努力中
首页
前端
后端
运维
  • 工作笔记
  • 分类
  • 标签
  • 归档
关于
  • 工具安装

    • 安装AWS CLI
    • 安装kubectl
    • 安装eksctl
    • 安装helm
    • 安装EFS客户端
  • AWS

  • EKS

  • 其他

  • AWS创建EKS集群
  • 谷歌云创建GKE集群
    • 创建GKE
      • 版本
      • 节点池
      • 特性
    • 在 GKE上安装 KubeSphere
    • 访问 KubeSphere 控制台
      • 配置NEG
  • 工作笔记
Brc
2023-07-26
目录

谷歌云创建GKE集群

# 创建GKE

# 版本

选择静态版本

# 节点池

启用集群自动扩缩器

添加Kubernetes 标签

# 特性

关闭Cloud Monitoring

# 在 GKE上安装 KubeSphere

  • 使用 kubectl 安装 KubeSphere,以下命令仅用于默认的最小安装。

    kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
    
    kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
    
    
    1
    2
    3
    4
  • 检查安装日志:

    kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f
    
    1
  • 安装完成后,会看到以下消息:

    #####################################################
    ###              Welcome to KubeSphere!           ###
    #####################################################
    Console: http://10.128.0.44:30880
    Account: admin
    Password: P@88w0rd
    NOTES:
      1. After logging into the console, please check the
        monitoring status of service components in
        the "Cluster Management". If any service is not
        ready, please wait patiently until all components
        are ready.
      2. Please modify the default password after login.
    #####################################################
    https://kubesphere.io             2020-xx-xx xx:xx:xx
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

# 访问 KubeSphere 控制台

现在已经安装了 KubeSphere,您可以按照以下步骤访问 KubeSphere 的 Web 控制台。

# 配置NEG

修改ks-console的type为ClusterIP

cloud.google.com/neg: '{"exposed_ports": {"80":{"name": "birenchong-devops-kubesphere-neg"}}}'
1

配置负载均衡和域名DNS解析

#GKE
Last Updated: 2023/11/08, 14:45:54
AWS创建EKS集群

← AWS创建EKS集群

最近更新
01
ElastiCacheForRedis启用密码
07-26
02
upload-to-gcs
06-29
03
yapi
06-11
更多文章>
Theme by Vdoing | Copyright © 2021-2024 Brc | MIT License | 浙ICP备19031881号-4
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式