< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Set the Email Server for KubeSphere Pipelines

The built-in Jenkins cannot share the same email configuration with the platform notification system. Thus, you need to configure email server settings for KubeSphere DevOps pipelines separately.


  • You need to enable the KubeSphere DevOps System.
  • You need a user granted a role including the Cluster Management permission. For example, you can log in to the console as admin directly or create a new role with the permission and assign it to a user.

Set the Email Server

  1. Click Platform in the upper-left corner and select Cluster Management.

  2. If you have enabled the multi-cluster feature with member clusters imported, you can select a specific cluster to view its nodes. If you have not enabled the feature, refer to the next step directly.

  3. Go to Workloads under Application Workloads, and select the project kubesphere-devops-system from the drop-down list. Click icon on the right of devops-jenkins and select Edit YAML to edit its YAML.

  4. Scroll down to the fields in the image below which you need to specify. Click OK when you finish to save changes.


    Once you modify the Email server in the devops-jenkins Deployment, it will restart itself. Consequently, the DevOps system will be unavailable for a few minutes. Please make such modification at an appropriate time.


    Environment Variable NameDescription
    EMAIL_SMTP_HOSTSMTP server address
    EMAIL_SMTP_PORTSMTP server port (for example, 25)
    EMAIL_FROM_ADDREmail sender address
    EMAIL_FROM_NAMEEmail sender name
    EMAIL_FROM_PASSEmail sender password
    EMAIL_USE_SSLSSL configuration enabled or not

Receive the latest news, articles and updates from KubeSphere

Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page