KubeSphere使用常见问题记录

管理员
管理员 2023-2-23

1、重启 ks-console (30880)服务

查看当前运行服务

kubectl get svc -n kubesphere-system ks-console #  查看ks-console及其端口号对应
kubectl get svc -n kubesphere-system #  查看所有运行中系统服务


删除该服务器后会平台会自动重启该服务

kubectl delete pod ks-console-5c9fcbc67b-qqpt5 -n kubesphere-system


2、服务管理


kubectl get pod --all-namespaces 查看所有服务的运行状态




3、gitlab安装设置

certmanager-issuer:
    email:yourmail@mail.com

global:
   ......
  hosts:
    domain: demo-project.svc.cluster.local

gitlab-runner:

  install: false

gitlab:

  webservice:

    helmTests:

      enabled: false
      
  ## https://docs.gitlab.com/charts/installation/deployment#outgoing-email
  ## Outgoing email server settings
  smtp:
    enabled: false
    address: smtp.mailgun.org
    port: 2525
    user_name: ""
    ## https://docs.gitlab.com/charts/installation/secrets#smtp-password
    password:
      secret: ""
      key: password
    # domain:
    authentication: "plain"
    starttls_auto: false
    openssl_verify_mode: "peer"
    pool: false
    
  ## Timezone for containers.
  time_zone: 'Asia/Shanghai'
  
  
    ## Installation & configuration of jetstack/cert-manager
    ## See requirements.yaml for current version
    certmanager:
      installCRDs: false
      nameOverride: certmanager
      # Install cert-manager chart. Set to false if you already have cert-manager
      # installed or if you are not using cert-manager.
      install: false
      # Other cert-manager configurations from upstream
      # See https://github.com/jetstack/cert-manager/blob/master/deploy/charts/cert-manager/README#configuration
      rbac:
        create: false


回帖
  • 消灭零回复

微信二维码

微信二维码

微信扫码添加微信好友