mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
Merge pull request #1220 from juan131/etcd-max-procs
[bitnami/etcd] Provide a way to set 'GOMAXPROCS'
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: etcd
|
name: etcd
|
||||||
version: 2.2.6
|
version: 2.3.0
|
||||||
appVersion: 3.3.13
|
appVersion: 3.3.13
|
||||||
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
|
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ The following tables lists the configurable parameters of the etcd chart and the
|
|||||||
| `configFileConfigMap` | ConfigMap that contains a etcd.conf.yaml to be mounted | `nil` |
|
| `configFileConfigMap` | ConfigMap that contains a etcd.conf.yaml to be mounted | `nil` |
|
||||||
| `envVarsConfigMap` | ConfigMap that contains environment variables to be set in the container | `nil` |
|
| `envVarsConfigMap` | ConfigMap that contains environment variables to be set in the container | `nil` |
|
||||||
| `allowNoneAuthentication` | Allow to use etcd without configuring RBAC authentication | `true` |
|
| `allowNoneAuthentication` | Allow to use etcd without configuring RBAC authentication | `true` |
|
||||||
|
| `maxProcs` | Set GOMAXPROCS environment variable to limit the number of CPUs | `nil` |
|
||||||
| `auth.rbac.enabled` | Switch to enable the etcd authentication. | `true` |
|
| `auth.rbac.enabled` | Switch to enable the etcd authentication. | `true` |
|
||||||
| `auth.rbac.rootPassword` | Password for the root user | `nil` |
|
| `auth.rbac.rootPassword` | Password for the root user | `nil` |
|
||||||
| `auth.rbac.existingSecret` | Name of the existing secret containing the root password | `nil` |
|
| `auth.rbac.existingSecret` | Name of the existing secret containing the root password | `nil` |
|
||||||
|
|||||||
@@ -156,6 +156,8 @@ spec:
|
|||||||
- name: NAMI_LOG_LEVEL
|
- name: NAMI_LOG_LEVEL
|
||||||
value: "trace8"
|
value: "trace8"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
## Basic configuration
|
||||||
- name: MY_POD_IP
|
- name: MY_POD_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
@@ -164,8 +166,6 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
|
|
||||||
## Basic configuration
|
|
||||||
- name: ETCD_NAME
|
- name: ETCD_NAME
|
||||||
value: "$(MY_POD_NAME)"
|
value: "$(MY_POD_NAME)"
|
||||||
- name: ETCD_DATA_DIR
|
- name: ETCD_DATA_DIR
|
||||||
@@ -178,6 +178,10 @@ spec:
|
|||||||
value: "{{ $etcdPeerProtocol }}://$(MY_POD_NAME).{{ $etcdHeadlessServiceName }}.{{ .Release.Namespace }}.{{ $dnsBase }}:{{ .Values.service.peerPort }}"
|
value: "{{ $etcdPeerProtocol }}://$(MY_POD_NAME).{{ $etcdHeadlessServiceName }}.{{ .Release.Namespace }}.{{ $dnsBase }}:{{ .Values.service.peerPort }}"
|
||||||
- name: ETCD_LISTEN_PEER_URLS
|
- name: ETCD_LISTEN_PEER_URLS
|
||||||
value: "{{ $etcdPeerProtocol }}://0.0.0.0:{{ .Values.service.peerPort }}"
|
value: "{{ $etcdPeerProtocol }}://0.0.0.0:{{ .Values.service.peerPort }}"
|
||||||
|
{{- if .Values.maxProcs }}
|
||||||
|
- name: GOMAXPROCS
|
||||||
|
value: {{ .Values.maxProcs }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
## Clustering configuration
|
## Clustering configuration
|
||||||
{{- if gt $replicaCount 1 }}
|
{{- if gt $replicaCount 1 }}
|
||||||
|
|||||||
@@ -62,6 +62,11 @@ statefulset:
|
|||||||
## Allow to use etcd without configuring RBAC authentication
|
## Allow to use etcd without configuring RBAC authentication
|
||||||
allowNoneAuthentication: true
|
allowNoneAuthentication: true
|
||||||
|
|
||||||
|
## Limits the number of operating system threads that can execute user-level
|
||||||
|
## Go code simultaneously by setting GOMAXPROCS environment variable
|
||||||
|
## ref: https://golang.org/pkg/runtime
|
||||||
|
##
|
||||||
|
# maxProcs
|
||||||
|
|
||||||
## Authentication parameteres
|
## Authentication parameteres
|
||||||
## https://github.com/bitnami/bitnami-docker-etcd#security
|
## https://github.com/bitnami/bitnami-docker-etcd#security
|
||||||
|
|||||||
@@ -62,6 +62,11 @@ statefulset:
|
|||||||
## Allow to use etcd without configuring RBAC authentication
|
## Allow to use etcd without configuring RBAC authentication
|
||||||
allowNoneAuthentication: true
|
allowNoneAuthentication: true
|
||||||
|
|
||||||
|
## Limits the number of operating system threads that can execute user-level
|
||||||
|
## Go code simultaneously by setting GOMAXPROCS environment variable
|
||||||
|
## ref: https://golang.org/pkg/runtime
|
||||||
|
##
|
||||||
|
# maxProcs
|
||||||
|
|
||||||
## Authentication parameteres
|
## Authentication parameteres
|
||||||
## https://github.com/bitnami/bitnami-docker-etcd#security
|
## https://github.com/bitnami/bitnami-docker-etcd#security
|
||||||
|
|||||||
Reference in New Issue
Block a user