github.com/replicatedcom/ship@v0.50.0/integration/base/shipapp-helm-values/expected/installer/consul/values.yaml (about)

     1  # Default values for consul.
     2  # This is a YAML-formatted file.
     3  # Declare name/value pairs to be passed into your templates.
     4  # name: value
     5  
     6  ## Consul service ports
     7  HttpPort: 8500
     8  RpcPort: 8400
     9  SerflanPort: 8301
    10  SerflanUdpPort: 8301
    11  SerfwanPort: 8302
    12  SerfwanUdpPort: 8302
    13  ServerPort: 8300
    14  ConsulDnsPort: 8600
    15  
    16  ## Specify the domain with which consul should run with
    17  ## This will be passed as a -domain parameter
    18  Domain: consul
    19  
    20  ## Used as selector
    21  Component: "consul"
    22  Replicas: 3
    23  Image: "consul"
    24  ImageTag: "1.0.0"
    25  ImagePullPolicy: "Always"
    26  Resources: {}
    27   # requests:
    28   #   cpu: "100m"
    29   #   memory: "256Mi"
    30   # limits:
    31   #   cpu: "500m"
    32   #   memory: "512Mi"
    33  ## Persistent volume size
    34  
    35  priorityClassName: ""
    36  
    37  Storage: "1Gi"
    38  
    39  ## Needed for 0.8.0 and later IF all consul containers are spun up
    40  ## on the same machine. Without this they all generate the same
    41  ## host id.
    42  DisableHostNodeId: false
    43  
    44  ## Datacenter name for consul. If not supplied, will use the consul
    45  ## default 'dc1'
    46  # DatacenterName: dc1
    47  
    48  ## Encrypt Gossip Traffic
    49  Gossip:
    50    Encrypt: true
    51    Create: true
    52  
    53  ## predefined value for gossip key.
    54  ## Will use a generated random alpha numeric if not provided
    55  # GossipKey: key
    56  
    57  ## consul data Persistent Volume Storage Class
    58  ## If defined, StorageClassName: <storageClass>
    59  ## If set to "-", StorageClassName: "", which disables dynamic provisioning
    60  ## If undefined (the default) or set to null, no storageClassName spec is
    61  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
    62  ##   GKE, AWS & OpenStack)
    63  ##
    64  # StorageClass: "-"
    65  
    66  ## Setting maxUnavailable will create a pod disruption budget that will prevent
    67  ## voluntarty cluster administration from taking down too many consul pods. If
    68  ## you set maxUnavailable, you should set it to ceil((n/2) - 1), where
    69  ## n = Replicas. For example, if you have 5 or 6 Replicas, you'll want to set
    70  ## maxUnavailable = 2. If you are using the default of 3 Replicas, you'll want
    71  ## to set maxUnavailable to 1.
    72  maxUnavailable: 1
    73  
    74  ## nodeAffinity settings
    75  # nodeAffinity:
    76  #   requiredDuringSchedulingIgnoredDuringExecution:
    77  #     nodeSelectorTerms:
    78  #     - matchExpressions:
    79  #       - key: cloud.google.com/gke-preemptible
    80  #         operator: NotIn
    81  #         values:
    82  #         - true
    83  
    84  ## Affinity settings
    85  affinity: |
    86    podAntiAffinity:
    87      preferredDuringSchedulingIgnoredDuringExecution:
    88      - weight: 1
    89        podAffinityTerm:
    90          topologyKey: kubernetes.io/hostname
    91          labelSelector:
    92            matchExpressions:
    93            - key: component
    94              operator: In
    95              values:
    96              - "{{ .Release.Name }}-{{ .Values.Component }}"
    97  
    98  ## Enable Consul Web UI
    99  ##
   100  ui:
   101    enabled: true
   102  ## Create dedicated UI service
   103  ##
   104  uiService:
   105    enabled: true
   106    type: "NodePort"
   107    annotations: {}
   108  
   109  ConsulConfig: []
   110  #  - type: secret
   111  #    name: consul-defaults
   112  #  - type: configMap
   113  #    name: consul-defaults
   114  
   115  ## Create an Ingress for the Web UI
   116  uiIngress:
   117    enabled: false
   118    annotations: {}
   119    labels: {}
   120    hosts: []
   121    tls: {}
   122  
   123  ## Useful when ACLs are enabled
   124  acl:
   125    enabled: false
   126    masterToken: ""
   127    agentToken: ""
   128  
   129  ## test container details
   130  test:
   131    image: lachlanevenson/k8s-kubectl
   132    imageTag: v1.4.8-bash
   133    rbac:
   134      create: false
   135      serviceAccountName: ""
   136  
   137  nodeSelector: {}
   138  tolerations: []