安装文档

    全新安装的 Linux
    需要连接 互联网
    使用 root 用户执行

    可以使用由 华为云 提供的容器镜像服务

    外置环境要求

    • 推荐使用外置 数据库 和 Redis,方便日后扩展升级
    DBVersionCacheVersion
    MySQL>= 5.7Redis>= 5.0
    MariaDB>= 10.2
    1. cd /opt/jumpserver-installer-v2.16.1
    2. # 启动
    3. ./jmsctl.sh start
    4. # 停止
    5. ./jmsctl.sh down
    6. # 卸载
    7. ./jmsctl.sh uninstall
    8. # 帮助
    9. ./jmsctl.sh -h

    手动部署

    1. cd /opt
    2. wget https://github.com/jumpserver/installer/releases/download/v2.16.1/jumpserver-installer-v2.16.1.tar.gz
    3. tar -xf jumpserver-installer-v2.16.1.tar.gz
    4. cd jumpserver-installer-v2.16.1
    1. # 根据需要修改配置文件模板, 如果不清楚用途可以跳过修改
    2. cat config-example.txt
    1. # 以下设置如果为空系统会自动生成随机字符串填入
    2. ## 迁移请修改 SECRET_KEY 和 BOOTSTRAP_TOKEN 为原来的设置
    3. ## 完整参数文档 https://docs.jumpserver.org/zh/master/admin-guide/env/
    4. ## 安装配置, amd64 默认使用华为云加速下载, arm64 请注释掉 DOCKER_IMAGE_PREFIX=swr.cn-south-1.myhuaweicloud.com
    5. # DOCKER_IMAGE_PREFIX=swr.cn-south-1.myhuaweicloud.com
    6. VOLUME_DIR=/opt/jumpserver
    7. DOCKER_DIR=/var/lib/docker
    8. SECRET_KEY=
    9. BOOTSTRAP_TOKEN=
    10. LOG_LEVEL=ERROR
    11. ## MySQL 配置, USE_EXTERNAL_MYSQL=1 表示使用外置数据库, 请输入正确的 MySQL 信息
    12. USE_EXTERNAL_MYSQL=0
    13. DB_HOST=mysql
    14. DB_PORT=3306
    15. DB_USER=root
    16. DB_PASSWORD=
    17. DB_NAME=jumpserver
    18. ## Redis 配置, USE_EXTERNAL_REDIS=1 表示使用外置数据库, 请输入正确的 Redis 信息
    19. USE_EXTERNAL_REDIS=0
    20. REDIS_HOST=redis
    21. REDIS_PORT=6379
    22. REDIS_PASSWORD=
    23. ## Compose 项目设置, 如果 192.168.250.0/24 网段与你现有网段冲突, 请修改然后重启 JumpServer
    24. COMPOSE_PROJECT_NAME=jms
    25. COMPOSE_HTTP_TIMEOUT=3600
    26. DOCKER_CLIENT_TIMEOUT=3600
    27. DOCKER_SUBNET=192.168.250.0/24
    28. ## IPV6 设置, 容器是否开启 ipv6 nat, USE_IPV6=1 表示开启, 为 0 的情况下 DOCKER_SUBNET_IPV6 定义不生效
    29. USE_IPV6=0
    30. DOCKER_SUBNET_IPV6=2001:db8:10::/64
    31. ## Nginx 配置, USE_LB=1 表示开启, 为 0 的情况下, HTTPS_PORT 定义不生效
    32. HTTP_PORT=80
    33. SSH_PORT=2222
    34. RDP_PORT=3389
    35. USE_LB=0
    36. HTTPS_PORT=443
    37. ## Task 配置, 是否启动 jms_celery 容器, 单节点必须开启
    38. USE_TASK=1
    39. ## XPack, USE_XPACK=1 表示开启, 开源版本设置无效
    40. USE_XPACK=0
    41. # Core 配置, Session 定义, SESSION_COOKIE_AGE 表示闲置多少秒后 session 过期, SESSION_EXPIRE_AT_BROWSER_CLOSE=true 表示关闭浏览器即 session 过期
    42. # SESSION_COOKIE_AGE=86400
    43. SESSION_EXPIRE_AT_BROWSER_CLOSE=true
    44. # Koko Lion XRDP 组件配置
    45. CORE_HOST=http://core:8080
    46. # 额外的配置
    47. CURRENT_VERSION=
    1. # 安装
    2. ./jmsctl.sh install
    3. # 启动
    4. ./jmsctl.sh start
    1. # 安装完成后配置文件 /opt/jumpserver/config/config.txt

    离线部署(amd64)

    从飞致云社区 下载最新的 linux/amd64 离线包, 并上传到部署服务器的 /opt 目录

    1. cd /opt
    2. tar -xf jumpserver-offline-installer-v2.16.1-amd64-52.tar.gz
    3. cd jumpserver-offline-installer-v2.16.1-amd64-52
    1. # 根据需要修改配置文件模板, 如果不清楚用途可以跳过修改
    2. cat config-example.txt
    1. # 以下设置如果为空系统会自动生成随机字符串填入
    2. ## 迁移请修改 SECRET_KEY 和 BOOTSTRAP_TOKEN 为原来的设置
    3. ## 完整参数文档 https://docs.jumpserver.org/zh/master/admin-guide/env/
    4. ## 安装配置, amd64 默认使用华为云加速下载, arm64 请注释掉 DOCKER_IMAGE_PREFIX=swr.cn-south-1.myhuaweicloud.com
    5. # DOCKER_IMAGE_PREFIX=swr.cn-south-1.myhuaweicloud.com
    6. VOLUME_DIR=/opt/jumpserver
    7. DOCKER_DIR=/var/lib/docker
    8. SECRET_KEY=
    9. BOOTSTRAP_TOKEN=
    10. LOG_LEVEL=ERROR
    11. ## MySQL 配置, USE_EXTERNAL_MYSQL=1 表示使用外置数据库, 请输入正确的 MySQL 信息
    12. USE_EXTERNAL_MYSQL=0
    13. DB_HOST=mysql
    14. DB_PORT=3306
    15. DB_USER=root
    16. DB_PASSWORD=
    17. DB_NAME=jumpserver
    18. ## Redis 配置, USE_EXTERNAL_REDIS=1 表示使用外置数据库, 请输入正确的 Redis 信息
    19. USE_EXTERNAL_REDIS=0
    20. REDIS_HOST=redis
    21. REDIS_PORT=6379
    22. REDIS_PASSWORD=
    23. ## Compose 项目设置, 如果 192.168.250.0/24 网段与你现有网段冲突, 请修改然后重启 JumpServer
    24. COMPOSE_PROJECT_NAME=jms
    25. COMPOSE_HTTP_TIMEOUT=3600
    26. DOCKER_CLIENT_TIMEOUT=3600
    27. DOCKER_SUBNET=192.168.250.0/24
    28. ## IPV6 设置, 容器是否开启 ipv6 nat, USE_IPV6=1 表示开启, 为 0 的情况下 DOCKER_SUBNET_IPV6 定义不生效
    29. USE_IPV6=0
    30. DOCKER_SUBNET_IPV6=2001:db8:10::/64
    31. ## Nginx 配置, USE_LB=1 表示开启, 为 0 的情况下, HTTPS_PORT 定义不生效
    32. HTTP_PORT=80
    33. SSH_PORT=2222
    34. RDP_PORT=3389
    35. USE_LB=0
    36. HTTPS_PORT=443
    37. ## Task 配置, 是否启动 jms_celery 容器, 单节点必须开启
    38. USE_TASK=1
    39. ## XPack, USE_XPACK=1 表示开启, 开源版本设置无效
    40. USE_XPACK=0
    41. # Core 配置, Session 定义, SESSION_COOKIE_AGE 表示闲置多少秒后 session 过期, SESSION_EXPIRE_AT_BROWSER_CLOSE=true 表示关闭浏览器即 session 过期
    42. # SESSION_COOKIE_AGE=86400
    43. SESSION_EXPIRE_AT_BROWSER_CLOSE=true
    44. # Koko Lion XRDP 组件配置
    45. CORE_HOST=http://core:8080
    46. # 额外的配置
    47. CURRENT_VERSION=
    1. # 安装
    2. ./jmsctl.sh install
    3. # 启动
    4. ./jmsctl.sh start
    1. # 安装完成后配置文件 /opt/jumpserver/config/config.txt
    1. cd /opt/jumpserver-installer-v2.16.1
    2. # 启动
    3. ./jmsctl.sh start
    4. # 停止
    5. ./jmsctl.sh down
    6. # 卸载
    7. ./jmsctl.sh uninstall
    8. # 帮助
    9. ./jmsctl.sh -h

    从飞致云社区 , 并上传到部署服务器的 /opt 目录

    1. cd /opt
    2. tar -xf jumpserver-offline-installer-v2.16.1-arm64-52.tar.gz
    3. cd jumpserver-offline-installer-v2.16.1-arm64-52
    1. # 以下设置如果为空系统会自动生成随机字符串填入
    2. ## 迁移请修改 SECRET_KEY 和 BOOTSTRAP_TOKEN 为原来的设置
    3. ## 完整参数文档 https://docs.jumpserver.org/zh/master/admin-guide/env/
    4. ## 安装配置, amd64 默认使用华为云加速下载, arm64 请注释掉 DOCKER_IMAGE_PREFIX=swr.cn-south-1.myhuaweicloud.com
    5. # DOCKER_IMAGE_PREFIX=swr.cn-south-1.myhuaweicloud.com
    6. VOLUME_DIR=/opt/jumpserver
    7. DOCKER_DIR=/var/lib/docker
    8. SECRET_KEY=
    9. BOOTSTRAP_TOKEN=
    10. LOG_LEVEL=ERROR
    11. ## MySQL 配置, USE_EXTERNAL_MYSQL=1 表示使用外置数据库, 请输入正确的 MySQL 信息
    12. USE_EXTERNAL_MYSQL=0
    13. DB_HOST=mysql
    14. DB_PORT=3306
    15. DB_USER=root
    16. DB_PASSWORD=
    17. DB_NAME=jumpserver
    18. ## Redis 配置, USE_EXTERNAL_REDIS=1 表示使用外置数据库, 请输入正确的 Redis 信息
    19. USE_EXTERNAL_REDIS=0
    20. REDIS_HOST=redis
    21. REDIS_PORT=6379
    22. REDIS_PASSWORD=
    23. ## Compose 项目设置, 如果 192.168.250.0/24 网段与你现有网段冲突, 请修改然后重启 JumpServer
    24. COMPOSE_PROJECT_NAME=jms
    25. COMPOSE_HTTP_TIMEOUT=3600
    26. DOCKER_CLIENT_TIMEOUT=3600
    27. DOCKER_SUBNET=192.168.250.0/24
    28. ## IPV6 设置, 容器是否开启 ipv6 nat, USE_IPV6=1 表示开启, 为 0 的情况下 DOCKER_SUBNET_IPV6 定义不生效
    29. USE_IPV6=0
    30. DOCKER_SUBNET_IPV6=2001:db8:10::/64
    31. ## Nginx 配置, USE_LB=1 表示开启, 为 0 的情况下, HTTPS_PORT 定义不生效
    32. HTTP_PORT=80
    33. SSH_PORT=2222
    34. RDP_PORT=3389
    35. USE_LB=0
    36. HTTPS_PORT=443
    37. ## Task 配置, 是否启动 jms_celery 容器, 单节点必须开启
    38. USE_TASK=1
    39. ## XPack, USE_XPACK=1 表示开启, 开源版本设置无效
    40. USE_XPACK=0
    41. # Core 配置, Session 定义, SESSION_COOKIE_AGE 表示闲置多少秒后 session 过期, SESSION_EXPIRE_AT_BROWSER_CLOSE=true 表示关闭浏览器即 session 过期
    42. # SESSION_COOKIE_AGE=86400
    43. SESSION_EXPIRE_AT_BROWSER_CLOSE=true
    44. # Koko Lion XRDP 组件配置
    45. CORE_HOST=http://core:8080
    46. # 额外的配置
    47. CURRENT_VERSION=
    1. # 安装
    2. ./jmsctl.sh install
    3. # 启动
    4. ./jmsctl.sh start
    1. # 安装完成后配置文件 /opt/jumpserver/config/config.txt
    1. cd /opt/jumpserver-installer-v2.16.1
    2. # 启动
    3. ./jmsctl.sh start
    4. # 停止
    5. ./jmsctl.sh down
    6. # 卸载
    7. ./jmsctl.sh uninstall
    8. # 帮助
    9. ./jmsctl.sh -h

    Kubernetes

    1. cd /opt
    2. git clone https://github.com/jumpserver/helm
    3. cd /opt/helm
    4. cat values.yaml
    1. # Default values for jumpserver.
    2. # This is a YAML-formatted file.
    3. # Declare variables to be passed into your templates.
    4. nameOverride: ""
    5. fullnameOverride: ""
    6. ## @param global.imageRegistry Global Docker image registry
    7. ## @param global.imagePullSecrets Global Docker registry secret names as an array
    8. ## @param global.storageClass Global StorageClass for Persistent Volume(s)
    9. ## @param global.redis.password Global Redis™ password (overrides `auth.password`)
    10. ##
    11. global:
    12. imageRegistry: "docker.io" # 国内可以使用华为云加速
    13. ## E.g.
    14. # imagePullSecrets:
    15. ##
    16. imagePullSecrets: []
    17. ## If the Redis database included in the chart is disabled, JumpServer will
    18. ## use below parameters to connect to an external Redis server.
    19. ##
    20. externalDatabase: # 数据库相关设置
    21. engine: mysql
    22. host: localhost
    23. port: 3306
    24. user: root
    25. password: ""
    26. database: jumpserver
    27. ## If the MySQL database included in the chart is disabled, JumpServer will
    28. ## use below parameters to connect to an external MySQL server.
    29. ##
    30. externalRedis: # Redis 设置
    31. host: localhost
    32. port: 6379
    33. password: ""
    34. serviceAccount:
    35. # Specifies whether a service account should be created
    36. create: false
    37. # The name of the service account to use.
    38. # If not set and create is true, a name is generated using the fullname template
    39. name:
    40. ingress:
    41. enabled: true
    42. annotations:
    43. # kubernetes.io/tls-acme: "true"
    44. compute-full-forwarded-for: "true"
    45. use-forwarded-headers: "true"
    46. kubernetes.io/ingress.class: nginx
    47. nginx.ingress.kubernetes.io/configuration-snippet: |
    48. proxy_set_header Upgrade "websocket";
    49. proxy_set_header Connection "Upgrade";
    50. hosts:
    51. - "test.jumpserver.org" # 对外域名
    52. tls: []
    53. # - secretName: chart-example-tls
    54. # hosts:
    55. # - chart-example.local
    56. core:
    57. enabled: true
    58. labels:
    59. app.jumpserver.org/name: jms-core
    60. config:
    61. # Generate a new random secret key by execute `cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 50`
    62. secretKey: ""
    63. # Generate a new random bootstrap token by execute `cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 16`
    64. bootstrapToken: ""
    65. # Enabled it for debug
    66. debug: false
    67. log:
    68. level: ERROR
    69. replicaCount: 1
    70. image:
    71. registry: docker.io
    72. repository: jumpserver/core
    73. tag: v2.13.2
    74. pullPolicy: IfNotPresent
    75. command: []
    76. env: []
    77. livenessProbe:
    78. failureThreshold: 30
    79. httpGet:
    80. path: /api/health/
    81. port: web
    82. readinessProbe:
    83. failureThreshold: 30
    84. httpGet:
    85. path: /api/health/
    86. port: web
    87. podSecurityContext: {}
    88. # fsGroup: 2000
    89. securityContext: {}
    90. # capabilities:
    91. # drop:
    92. # - ALL
    93. # readOnlyRootFilesystem: true
    94. # runAsNonRoot: true
    95. # runAsUser: 1000
    96. service:
    97. type: ClusterIP
    98. web:
    99. port: 8080
    100. ws:
    101. port: 8070
    102. resources: {}
    103. # We usually recommend not to specify default resources and to leave this as a conscious
    104. # choice for the user. This also increases chances charts run on environments with little
    105. # resources, such as Minikube. If you do want to specify resources, uncomment the following
    106. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    107. # limits:
    108. # cpu: 1000m
    109. # memory: 2048Mi
    110. # requests:
    111. # cpu: 500m
    112. # memory: 1024Mi
    113. persistence:
    114. storageClassName: jumpserver-data
    115. accessModes:
    116. - ReadWriteMany
    117. size: 10Gi
    118. # annotations: {}
    119. finalizers:
    120. - kubernetes.io/pvc-protection
    121. # subPath: ""
    122. # existingClaim:
    123. volumeMounts: []
    124. volumes: []
    125. nodeSelector: {}
    126. tolerations: []
    127. affinity: {}
    128. koko:
    129. enabled: true
    130. labels:
    131. app.jumpserver.org/name: jms-koko
    132. config:
    133. log:
    134. level: ERROR
    135. replicaCount: 1
    136. image:
    137. registry: docker.io
    138. repository: jumpserver/koko
    139. tag: v2.13.2
    140. pullPolicy: IfNotPresent
    141. command: []
    142. env: []
    143. livenessProbe:
    144. failureThreshold: 30
    145. httpGet:
    146. path: /koko/health/
    147. port: web
    148. readinessProbe:
    149. failureThreshold: 30
    150. httpGet:
    151. path: /koko/health/
    152. port: web
    153. podSecurityContext: {}
    154. # fsGroup: 2000
    155. securityContext:
    156. privileged: true
    157. # capabilities:
    158. # drop:
    159. # - ALL
    160. # readOnlyRootFilesystem: true
    161. # runAsNonRoot: true
    162. # runAsUser: 1000
    163. service:
    164. type: ClusterIP
    165. web:
    166. port: 5000
    167. ssh:
    168. port: 2222
    169. resources: {}
    170. # We usually recommend not to specify default resources and to leave this as a conscious
    171. # choice for the user. This also increases chances charts run on environments with little
    172. # resources, such as Minikube. If you do want to specify resources, uncomment the following
    173. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    174. # limits:
    175. # cpu: 100m
    176. # memory: 128Mi
    177. # requests:
    178. # cpu: 100m
    179. # memory: 128Mi
    180. persistence:
    181. storageClassName: jumpserver-data
    182. accessModes:
    183. - ReadWriteMany
    184. size: 10Gi
    185. # annotations: {}
    186. finalizers:
    187. - kubernetes.io/pvc-protection
    188. volumeMounts: []
    189. volumes: []
    190. nodeSelector: {}
    191. tolerations: []
    192. affinity: {}
    193. lion:
    194. enabled: true
    195. labels:
    196. app.jumpserver.org/name: jms-lion
    197. config:
    198. log:
    199. level: ERROR
    200. replicaCount: 1
    201. image:
    202. registry: docker.io
    203. repository: jumpserver/lion
    204. tag: v2.13.2
    205. pullPolicy: IfNotPresent
    206. command: []
    207. env: []
    208. livenessProbe:
    209. failureThreshold: 30
    210. httpGet:
    211. path: /lion/health/
    212. port: web
    213. readinessProbe:
    214. failureThreshold: 30
    215. httpGet:
    216. path: /lion/health/
    217. port: web
    218. podSecurityContext: {}
    219. # fsGroup: 2000
    220. securityContext: {}
    221. # capabilities:
    222. # drop:
    223. # - ALL
    224. # readOnlyRootFilesystem: true
    225. # runAsNonRoot: true
    226. # runAsUser: 1000
    227. service:
    228. type: ClusterIP
    229. web:
    230. port: 8081
    231. # We usually recommend not to specify default resources and to leave this as a conscious
    232. # resources, such as Minikube. If you do want to specify resources, uncomment the following
    233. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    234. # limits:
    235. # cpu: 100m
    236. # memory: 512Mi
    237. # requests:
    238. # cpu: 100m
    239. # memory: 512Mi
    240. persistence:
    241. storageClassName: jumpserver-data
    242. accessModes:
    243. - ReadWriteMany
    244. size: 10Gi
    245. # annotations: {}
    246. finalizers:
    247. - kubernetes.io/pvc-protection
    248. volumeMounts: []
    249. volumes: []
    250. nodeSelector: {}
    251. tolerations: []
    252. affinity: {}
    253. xpack:
    254. enabled: false # 企业版本打开此选项
    255. omnidb:
    256. labels:
    257. app.jumpserver.org/name: jms-omnidb
    258. config:
    259. log:
    260. level: ERROR
    261. replicaCount: 1
    262. image:
    263. registry: registry.fit2cloud.com
    264. repository: jumpserver/omnidb
    265. tag: v2.13.2
    266. pullPolicy: IfNotPresent
    267. command: []
    268. env: []
    269. livenessProbe:
    270. failureThreshold: 30
    271. tcpSocket:
    272. port: web
    273. readinessProbe:
    274. failureThreshold: 30
    275. tcpSocket:
    276. port: web
    277. podSecurityContext: {}
    278. # fsGroup: 2000
    279. securityContext: {}
    280. # capabilities:
    281. # drop:
    282. # - ALL
    283. # readOnlyRootFilesystem: true
    284. # runAsNonRoot: true
    285. # runAsUser: 1000
    286. service:
    287. type: ClusterIP
    288. web:
    289. port: 8082
    290. ws:
    291. port: 8071
    292. resources: {}
    293. # We usually recommend not to specify default resources and to leave this as a conscious
    294. # choice for the user. This also increases chances charts run on environments with little
    295. # resources, such as Minikube. If you do want to specify resources, uncomment the following
    296. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    297. # limits:
    298. # cpu: 100m
    299. # memory: 128Mi
    300. # requests:
    301. # cpu: 100m
    302. # memory: 128Mi
    303. persistence:
    304. storageClassName: jumpserver-data
    305. accessModes:
    306. - ReadWriteMany
    307. size: 10Gi
    308. # annotations: {}
    309. finalizers:
    310. - kubernetes.io/pvc-protection
    311. volumeMounts: []
    312. volumes: []
    313. nodeSelector: {}
    314. tolerations: []
    315. affinity: {}
    316. xrdp:
    317. labels:
    318. app.jumpserver.org/name: jms-xrdp
    319. config:
    320. log:
    321. level: ERROR
    322. replicaCount: 1
    323. image:
    324. registry: registry.fit2cloud.com
    325. repository: jumpserver/xrdp
    326. tag: v2.13.2
    327. pullPolicy: IfNotPresent
    328. command: []
    329. env: []
    330. livenessProbe:
    331. failureThreshold: 30
    332. tcpSocket:
    333. port: rdp
    334. readinessProbe:
    335. failureThreshold: 30
    336. tcpSocket:
    337. port: rdp
    338. podSecurityContext: {}
    339. # fsGroup: 2000
    340. securityContext: {}
    341. # capabilities:
    342. # drop:
    343. # - ALL
    344. # readOnlyRootFilesystem: true
    345. # runAsNonRoot: true
    346. # runAsUser: 1000
    347. service:
    348. type: ClusterIP
    349. rdp:
    350. port: 3389
    351. resources: {}
    352. # We usually recommend not to specify default resources and to leave this as a conscious
    353. # choice for the user. This also increases chances charts run on environments with little
    354. # resources, such as Minikube. If you do want to specify resources, uncomment the following
    355. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    356. # limits:
    357. # cpu: 100m
    358. # memory: 128Mi
    359. # requests:
    360. # cpu: 100m
    361. # memory: 128Mi
    362. persistence:
    363. storageClassName: jumpserver-data
    364. accessModes:
    365. - ReadWriteMany
    366. size: 10Gi
    367. # annotations: {}
    368. finalizers:
    369. - kubernetes.io/pvc-protection
    370. volumeMounts: []
    371. volumes: []
    372. nodeSelector: {}
    373. tolerations: []
    374. affinity: {}
    375. web:
    376. enabled: true
    377. labels:
    378. app.jumpserver.org/name: jms-web
    379. replicaCount: 1
    380. image:
    381. registry: docker.io
    382. repository: jumpserver/web
    383. tag: v2.13.2
    384. pullPolicy: IfNotPresent
    385. command: []
    386. env: []
    387. livenessProbe:
    388. failureThreshold: 30
    389. httpGet:
    390. path: /api/health/
    391. port: web
    392. readinessProbe:
    393. failureThreshold: 30
    394. httpGet:
    395. path: /api/health/
    396. port: web
    397. podSecurityContext: {}
    398. # fsGroup: 2000
    399. securityContext: {}
    400. # capabilities:
    401. # drop:
    402. # - ALL
    403. # readOnlyRootFilesystem: true
    404. # runAsNonRoot: true
    405. # runAsUser: 1000
    406. service:
    407. type: ClusterIP
    408. web:
    409. port: 80
    410. resources: {}
    411. # We usually recommend not to specify default resources and to leave this as a conscious
    412. # choice for the user. This also increases chances charts run on environments with little
    413. # resources, such as Minikube. If you do want to specify resources, uncomment the following
    414. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
    415. # limits:
    416. # cpu: 100m
    417. # memory: 128Mi
    418. # requests:
    419. # cpu: 100m
    420. # memory: 128Mi
    421. persistence:
    422. storageClassName: jumpserver-data
    423. accessModes:
    424. - ReadWriteMany
    425. size: 1Gi
    426. # annotations: {}
    427. finalizers:
    428. - kubernetes.io/pvc-protection
    429. volumeMounts: []
    430. volumes: []
    431. nodeSelector: {}
    432. tolerations: []
    433. affinity: {}
    1. # 安装
    2. helm install jumpserver ./ -n default
    3. # 卸载
    4. helm uninstall jumpserver -n default
    5. # 查看

    源码部署

    后续的使用请参考 快速入门