From e9bcbb465fc4209da5f57f68f2db0689f4732406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Tue, 19 Jan 2021 17:55:51 +0100 Subject: [PATCH] [bitnami/memcached] Drop values-production.yaml support (#5117) --- bitnami/memcached/Chart.yaml | 2 +- bitnami/memcached/README.md | 18 -- bitnami/memcached/values-production.yaml | 275 ----------------------- 3 files changed, 1 insertion(+), 294 deletions(-) delete mode 100644 bitnami/memcached/values-production.yaml diff --git a/bitnami/memcached/Chart.yaml b/bitnami/memcached/Chart.yaml index 4b458059d..4a331341b 100644 --- a/bitnami/memcached/Chart.yaml +++ b/bitnami/memcached/Chart.yaml @@ -22,4 +22,4 @@ name: memcached sources: - https://github.com/bitnami/bitnami-docker-memcached - http://memcached.org/ -version: 5.4.1 +version: 5.4.2 diff --git a/bitnami/memcached/README.md b/bitnami/memcached/README.md index 7f2117c96..70749a94c 100644 --- a/bitnami/memcached/README.md +++ b/bitnami/memcached/README.md @@ -129,24 +129,6 @@ It is strongly recommended to use immutable tags in a production environment. Th Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist. -### Production configuration - -This chart includes a `values-production.yaml` file where you can find some parameters oriented to production configuration in comparison to the regular `values.yaml`. You can use this file instead of the default one. - -- Start a side-car prometheus exporter: - -```diff -- metrics.enabled: false -+ metrics.enabled: true -``` - -- Enable read-only filesystem: - -```diff -- securityContext.readOnlyRootFilesystem=false -+ securityContext.readOnlyRootFilesystem=true -``` - ## Persistence When using `architecture: "high-availability"` the [Bitnami Memcached](https://github.com/bitnami/bitnami-docker-memcached) image stores the cache-state at the `/cache-state` path of the container if enabled. diff --git a/bitnami/memcached/values-production.yaml b/bitnami/memcached/values-production.yaml deleted file mode 100644 index d42d6d515..000000000 --- a/bitnami/memcached/values-production.yaml +++ /dev/null @@ -1,275 +0,0 @@ -## Global Docker image parameters -## Please, note that this will override the image parameters, including dependencies, configured to use the global value -## Current available global Docker image parameters: imageRegistry and imagePullSecrets -## -# global: -# imageRegistry: myRegistryName -# imagePullSecrets: -# - myRegistryKeySecretName -# storageClass: myStorageClass - -## Bitnami Memcached image version -## ref: https://hub.docker.com/r/bitnami/memcached/tags/ -## -image: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.9-debian-10-r27 - ## Specify a imagePullPolicy - ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' - ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images - ## - pullPolicy: IfNotPresent - ## Optionally specify an array of imagePullSecrets. - ## Secrets must be manually created in the namespace. - ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ - ## - # pullSecrets: - # - myRegistryKeySecretName - - ## Set to true if you would like to see extra information on logs - ## - debug: false - -## Extra environment vars to pass. -## ref: https://github.com/bitnami/bitnami-docker-memcached#configuration -extraEnv: [] - -## String to partially override common.names.fullname template (will maintain the release name) -## -# nameOverride: - -## Number of containers to run -replicaCount: 2 - -## String to fully override common.names.fullname template -## -# fullnameOverride: - -# Cluster domain -clusterDomain: cluster.local - -## Memcached architecture. Allowed values: standalone or high-availability -## -architecture: standalone - -## Memcached admin user -## ref: https://github.com/bitnami/bitnami-docker-memcached#creating-the-memcached-admin-user -## -# memcachedUsername: - -## Memcached admin password -## ref: https://github.com/bitnami/bitnami-docker-memcached#creating-the-memcached-admin-user -## -# memcachedPassword: - -## Service parameters -## -## -service: - ## Service type - ## - type: ClusterIP - ## Memcached port - ## - port: 11211 - ## Specify the nodePort value for the LoadBalancer and NodePort service types. - ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport - ## - nodePort: "" - ## Set the LoadBalancer service type to internal only. - ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer - ## - # loadBalancerIP: - ## Annotations for the Memcached service - ## - annotations: {} - -## Memcached containers' resource requests and limits -## ref: http://kubernetes.io/docs/user-guide/compute-resources/ -## -resources: - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - limits: {} - # cpu: 100m - # memory: 128Mi - requests: - memory: 256Mi - cpu: 250m - -## Pod Security Context -## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ -## -securityContext: - enabled: true - fsGroup: 1001 - runAsUser: 1001 - readOnlyRootFilesystem: true - -## Pod annotations -## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ -## -podAnnotations: {} - -## Pod affinity preset -## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity -## Allowed values: soft, hard -## -podAffinityPreset: "" - -## Pod anti-affinity preset -## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity -## Allowed values: soft, hard -## -podAntiAffinityPreset: soft - -## Node affinity preset -## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity -## Allowed values: soft, hard -## -nodeAffinityPreset: - ## Node affinity type - ## Allowed values: soft, hard - type: "" - ## Node label key to match - ## E.g. - ## key: "kubernetes.io/e2e-az-name" - ## - key: "" - ## Node label values to match - ## E.g. - ## values: - ## - e2e-az1 - ## - e2e-az2 - ## - values: [] - -## Affinity for pod assignment. Evaluated as a template. -## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity -## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set -## -affinity: {} - -## Node labels for pod assignment. Evaluated as a template. -## ref: https://kubernetes.io/docs/user-guide/node-selection/ -## -nodeSelector: {} - -## Tolerations for pod assignment. Evaluated as a template. -## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ -## -tolerations: [] - -## Pod priority -## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ -## -# priorityClassName: "" - -## Persistence - used for dumping and restoring states between recreations -## Ref: https://github.com/memcached/memcached/wiki/WarmRestart -persistence: - enabled: false - ## Persistent Volume Storage Class - ## If defined, storageClassName: - ## 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: "-" - ## Persistent Volume Claim annotations - ## - annotations: {} - ## Persistent Volume Access Mode - ## - accessModes: - - ReadWriteOnce - ## Persistent Volume size - ## - size: 8Gi - - -## Args for running memcached -## Ref: https://github.com/memcached/memcached/wiki/ConfiguringServer -arguments: - - /run.sh - # - -m - # - -I - # - -vv - -## Prometheus Exporter / Metrics -## -metrics: - enabled: true - ## Bitnami Memcached Prometheus Exporter image - ## ref: https://hub.docker.com/r/bitnami/memcached-exporter/tags/ - ## - image: - registry: docker.io - repository: bitnami/memcached-exporter - tag: 0.8.0-debian-10-r15 - pullPolicy: IfNotPresent - ## Optionally specify an array of imagePullSecrets. - ## Secrets must be manually created in the namespace. - ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ - ## - # pullSecrets: - # - myRegistryKeySecretName - ## Metrics exporter pod Annotation and Labels - ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ - ## - podAnnotations: - prometheus.io/scrape: "true" - prometheus.io/port: "9150" - ## Memcached Prometheus exporter resource requests and limits - ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ - ## - resources: - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - limits: {} - # cpu: 100m - # memory: 128Mi - requests: {} - # cpu: 100m - # memory: 128Mi - service: - ## Service type - ## - type: ClusterIP - ## Memcached Prometheus exporter port - ## - port: 9150 - ## Annotations for the Prometheus metrics service - ## - annotations: - prometheus.io/scrape: "true" - prometheus.io/port: "{{ .Values.metrics.service.port }}" - ## Prometheus Operator ServiceMonitor configuration - ## - serviceMonitor: - enabled: false - ## Namespace in which Prometheus is running - ## - # namespace: monitoring - - ## Interval at which metrics should be scraped. - ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint - ## - # interval: 10s - - ## Timeout after which the scrape is ended - ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint - ## - # scrapeTimeout: 10s - - ## ServiceMonitor selector labels - ## ref: https://github.com/bitnami/charts/tree/master/bitnami/prometheus-operator#prometheus-configuration - ## - # selector: - # prometheus: my-prometheus