/
githubmirror
/
charts
Обзор
Документация
Войти
/
githubmirror
/
charts
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
stable/consul/values.yaml
162 строки
4 KB
Victor-Emmanuel Fourneau
Adding path option to consul (#19084)
02 дек 2019, 01:59
02 дек 2019, 01:59
0f33dd1
Код
Авторство
О чём код?
# Default values for consul. # This is a YAML-formatted file. # Declare name/value pairs to be passed into your templates. # name: value ## Consul service ports HttpPort: 8500 RpcPort: 8400 SerflanPort: 8301 SerflanUdpPort: 8301 SerfwanPort: 8302 SerfwanUdpPort: 8302 ServerPort: 8300 ConsulDnsPort: 8600 ## Specify the domain with which consul should run with ## This will be passed as a -domain parameter Domain: consul ## Used as selector Component: "consul" Replicas: 3 Image: "consul" ImageTag: "1.5.3" ImagePullPolicy: "Always" Resources: {} # requests: # cpu: "100m" # memory: "256Mi" # limits: # cpu: "500m" # memory: "512Mi" ## Persistent volume size priorityClassName: "" Storage: "1Gi" ## Needed for 0.8.0 and later IF all consul containers are spun up ## on the same machine. Without this they all generate the same ## host id. DisableHostNodeId: false ## Datacenter name for consul. If not supplied, will use the consul ## default 'dc1' # DatacenterName: dc1 ## Explicitly set LAN hosts to join. # Added as -retry-join argument # If you set joinPeers then we will not auto-build the list of peers for you # These hostnames will be verified to be resolvable and ping-able before the consul service will start joinPeers: [] ## Set list of WAN hosts to join # Added as -retry-join-wan argument # These hostnames will be verified to be resolvable before the consul service will start joinWan: [] ## Encrypt Gossip Traffic Gossip: Encrypt: true Create: true ## predefined value for gossip key. ## Will use a generated random alpha numeric if not provided # GossipKey: key ## consul data Persistent Volume Storage Class ## If defined, StorageClassName: <storageClass> ## If set to "-", StorageClassName: "", which disables dynamic provisioning ## If undefined (the default) or set to null, no storageClassName spec is ## set, choosing the default provisioner. (gp2 on AWS, standard on ## GKE, AWS & OpenStack) ## # StorageClass: "-" ## Setting maxUnavailable will create a pod disruption budget that will prevent ## voluntarty cluster administration from taking down too many consul pods. If ## you set maxUnavailable, you should set it to ceil((n/2) - 1), where ## n = Replicas. For example, if you have 5 or 6 Replicas, you'll want to set ## maxUnavailable = 2. If you are using the default of 3 Replicas, you'll want ## to set maxUnavailable to 1. maxUnavailable: 1 ## nodeAffinity settings # nodeAffinity: # requiredDuringSchedulingIgnoredDuringExecution: # nodeSelectorTerms: # - matchExpressions: # - key: cloud.google.com/gke-preemptible # operator: NotIn # values: # - true ## Affinity settings affinity: | podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 1 podAffinityTerm: topologyKey: kubernetes.io/hostname labelSelector: matchExpressions: - key: component operator: In values: - "{{ .Release.Name }}-{{ .Values.Component }}" ## Enable Consul Web UI ## ui: enabled: true ## Create dedicated UI service ## uiService: enabled: true type: "NodePort" annotations: {} ConsulConfig: [] # - type: secret # name: consul-defaults # - type: configMap # name: consul-defaults ## Create an Ingress for the Web UI uiIngress: enabled: false annotations: {} labels: {} hosts: [] path: / tls: [] ## Useful when ACLs are enabled acl: enabled: false masterToken: "" agentToken: "" ## test container details test: image: lachlanevenson/k8s-kubectl imageTag: v1.4.8-bash rbac: create: false serviceAccountName: "" nodeSelector: {} tolerations: [] additionalLabels: {} podAnnotations: {} # Lifecycle for StatefulSet # lifecycle: # preStop: # exec: # command: # - sh # - -c # - "sleep 60" forceIpv6: false