redis
This commit is contained in:
12
redis/src/kustomization.yaml
Normal file
12
redis/src/kustomization.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
helmCharts:
|
||||
- name: redis
|
||||
repo: https://charts.bitnami.com/bitnami
|
||||
version: 21.1.3
|
||||
releaseName: redis
|
||||
includeCRDs: true
|
||||
namespace: redis
|
||||
valuesFile: values.yaml
|
||||
674
redis/src/values.yaml
Normal file
674
redis/src/values.yaml
Normal file
@@ -0,0 +1,674 @@
|
||||
pdb: {}
|
||||
|
||||
tls:
|
||||
enabled: false
|
||||
authClients: true
|
||||
certFilename: ""
|
||||
autoGenerated: false
|
||||
certCAFilename: ""
|
||||
existingSecret: ""
|
||||
certKeyFilename: ""
|
||||
dhParamsFilename: ""
|
||||
certificatesSecret: ""
|
||||
|
||||
auth:
|
||||
acl:
|
||||
users: []
|
||||
enabled: false
|
||||
enabled: true
|
||||
password: ""
|
||||
sentinel: true
|
||||
existingSecret: ""
|
||||
usePasswordFiles: false
|
||||
existingSecretPasswordKey: ""
|
||||
usePasswordFileFromSecret: true
|
||||
|
||||
rbac:
|
||||
rules: []
|
||||
create: false
|
||||
|
||||
image:
|
||||
debug: false
|
||||
digest: ""
|
||||
#registry: registry-1.docker.io
|
||||
pullPolicy: IfNotPresent
|
||||
repository: bitnami/redis
|
||||
pullSecrets: []
|
||||
|
||||
global:
|
||||
redis:
|
||||
password: ""
|
||||
storageClass: ""
|
||||
compatibility:
|
||||
openshift:
|
||||
adaptSecurityContext: auto
|
||||
imageRegistry: ""
|
||||
imagePullSecrets: []
|
||||
defaultStorageClass: ""
|
||||
|
||||
master:
|
||||
pdb:
|
||||
create: true
|
||||
args: []
|
||||
kind: StatefulSet
|
||||
count: 1
|
||||
command: []
|
||||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
redis: 6379
|
||||
clusterIP: ""
|
||||
nodePorts:
|
||||
redis: ""
|
||||
portNames:
|
||||
redis: "tcp-redis"
|
||||
extraPorts: []
|
||||
annotations: {}
|
||||
externalIPs: []
|
||||
loadBalancerIP: ""
|
||||
sessionAffinity: None
|
||||
loadBalancerClass: ""
|
||||
externalTrafficPolicy: Cluster
|
||||
internalTrafficPolicy: Cluster
|
||||
sessionAffinityConfig: {}
|
||||
loadBalancerSourceRanges: []
|
||||
affinity: {}
|
||||
sidecars: []
|
||||
dnsConfig: {}
|
||||
dnsPolicy: ""
|
||||
podLabels: {}
|
||||
resources: {}
|
||||
extraFlags: []
|
||||
hostAliases: []
|
||||
persistence:
|
||||
path: /data
|
||||
size: 8Gi
|
||||
labels: {}
|
||||
medium: ""
|
||||
enabled: true
|
||||
subPath: ""
|
||||
selector: {}
|
||||
sizeLimit: ""
|
||||
dataSource: {}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
annotations: {}
|
||||
subPathExpr: ""
|
||||
storageClass: ""
|
||||
existingClaim: ""
|
||||
preExecCmds: []
|
||||
tolerations: []
|
||||
extraEnvVars: []
|
||||
extraVolumes: []
|
||||
nodeSelector: {}
|
||||
startupProbe:
|
||||
enabled: false
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
configuration: ""
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
schedulerName: ""
|
||||
containerPorts:
|
||||
redis: 6379
|
||||
extraEnvVarsCM: ""
|
||||
initContainers: []
|
||||
lifecycleHooks: {}
|
||||
podAnnotations: {}
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
serviceAccount:
|
||||
name: ""
|
||||
create: true
|
||||
annotations: {}
|
||||
automountServiceAccountToken: false
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
disableCommands:
|
||||
- FLUSHDB,
|
||||
- FLUSHALL
|
||||
resourcesPreset: nano
|
||||
extraVolumeMounts: []
|
||||
podAffinityPreset: ""
|
||||
priorityClassName: ""
|
||||
customStartupProbe: {}
|
||||
enableServiceLinks: true
|
||||
extraEnvVarsSecret: ""
|
||||
nodeAffinityPreset:
|
||||
key: ""
|
||||
type: ""
|
||||
values: []
|
||||
podSecurityContext:
|
||||
enabled: true
|
||||
fsGroup: 1001
|
||||
sysctls: []
|
||||
supplementalGroups: []
|
||||
fsGroupChangePolicy: Always
|
||||
customLivenessProbe: {}
|
||||
customReadinessProbe: {}
|
||||
revisionHistoryLimit: 10
|
||||
podAntiAffinityPreset: soft
|
||||
shareProcessNamespace: false
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
topologySpreadConstraints: []
|
||||
automountServiceAccountToken: false
|
||||
terminationGracePeriodSeconds: 30
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: false
|
||||
whenScaled: Retain
|
||||
whenDeleted: Retain
|
||||
|
||||
sysctl:
|
||||
image:
|
||||
digest: ""
|
||||
#registry: registry-1.docker.io
|
||||
pullPolicy: IfNotPresent
|
||||
repository: "bitnami/os-shell"
|
||||
pullSecrets: []
|
||||
command: []
|
||||
enabled: false
|
||||
resources: {}
|
||||
mountHostSys: false
|
||||
resourcesPreset: nano
|
||||
|
||||
kubectl:
|
||||
image:
|
||||
digest: ""
|
||||
#registry: registry-1.docker.io
|
||||
pullPolicy: IfNotPresent
|
||||
repository: bitnami/kubectl
|
||||
pullSecrets: []
|
||||
command:
|
||||
- /opt/bitnami/scripts/kubectl-scripts/update-master-label.sh
|
||||
resources:
|
||||
limits: {}
|
||||
requests: {}
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
metrics:
|
||||
image:
|
||||
digest: ""
|
||||
#registry: registry-1.docker.io
|
||||
pullPolicy: IfNotPresent
|
||||
repository: "bitnami/redis-exporter"
|
||||
pullSecrets: []
|
||||
command: []
|
||||
enabled: false
|
||||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
http: 9121
|
||||
enabled: true
|
||||
clusterIP: ""
|
||||
extraPorts: []
|
||||
annotations: {}
|
||||
loadBalancerIP: ""
|
||||
loadBalancerClass: ""
|
||||
externalTrafficPolicy: Cluster
|
||||
loadBalancerSourceRanges: []
|
||||
extraArgs: {}
|
||||
podLabels: {}
|
||||
resources: {}
|
||||
podMonitor:
|
||||
port: metrics
|
||||
enabled: false
|
||||
interval: 30s
|
||||
namespace: ""
|
||||
honorLabels: false
|
||||
relabelings: []
|
||||
sampleLimit: false
|
||||
targetLimit: false
|
||||
scrapeTimeout: ""
|
||||
podTargetLabels: []
|
||||
additionalLabels: {}
|
||||
metricRelabelings: []
|
||||
additionalEndpoints: []
|
||||
extraEnvVars: []
|
||||
extraVolumes: []
|
||||
startupProbe:
|
||||
enabled: false
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 10
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 10
|
||||
containerPorts:
|
||||
http: 9121
|
||||
prometheusRule:
|
||||
rules: []
|
||||
enabled: false
|
||||
namespace: ""
|
||||
additionalLabels: {}
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 5
|
||||
serviceMonitor:
|
||||
port: "http-metrics"
|
||||
enabled: false
|
||||
interval: 30s
|
||||
namespace: ""
|
||||
honorLabels: false
|
||||
relabelings: []
|
||||
sampleLimit: false
|
||||
targetLimit: false
|
||||
scrapeTimeout: ""
|
||||
podTargetLabels: []
|
||||
additionalLabels: {}
|
||||
metricRelabelings: []
|
||||
additionalEndpoints: []
|
||||
redisTargetHost: localhost
|
||||
resourcesPreset: nano
|
||||
extraVolumeMounts: []
|
||||
customStartupProbe: {}
|
||||
customLivenessProbe: {}
|
||||
customReadinessProbe: {}
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
replica:
|
||||
pdb:
|
||||
create: true
|
||||
args: []
|
||||
kind: StatefulSet
|
||||
command: []
|
||||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
redis: 6379
|
||||
clusterIP: ""
|
||||
nodePorts:
|
||||
redis: ""
|
||||
extraPorts: []
|
||||
annotations: {}
|
||||
loadBalancerIP: ""
|
||||
sessionAffinity: None
|
||||
loadBalancerClass: ""
|
||||
externalTrafficPolicy: Cluster
|
||||
internalTrafficPolicy: Cluster
|
||||
sessionAffinityConfig: {}
|
||||
loadBalancerSourceRanges: []
|
||||
affinity: {}
|
||||
sidecars: []
|
||||
dnsConfig: {}
|
||||
dnsPolicy: ""
|
||||
podLabels: {}
|
||||
resources: {}
|
||||
extraFlags: []
|
||||
autoscaling:
|
||||
enabled: false
|
||||
targetCPU: ""
|
||||
maxReplicas: 11
|
||||
minReplicas: 1
|
||||
targetMemory: ""
|
||||
hostAliases: []
|
||||
persistence:
|
||||
path: /data
|
||||
size: 8Gi
|
||||
labels: {}
|
||||
medium: ""
|
||||
enabled: true
|
||||
subPath: ""
|
||||
selector: {}
|
||||
sizeLimit: ""
|
||||
dataSource: {}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
annotations: {}
|
||||
subPathExpr: ""
|
||||
storageClass: ""
|
||||
existingClaim: ""
|
||||
preExecCmds: []
|
||||
tolerations: []
|
||||
extraEnvVars: []
|
||||
extraVolumes: []
|
||||
nodeSelector: {}
|
||||
replicaCount: 3
|
||||
startupProbe:
|
||||
enabled: true
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 22
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 10
|
||||
configuration: ""
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
schedulerName: ""
|
||||
containerPorts:
|
||||
redis: 6379
|
||||
externalMaster:
|
||||
host: ""
|
||||
port: 6379
|
||||
enabled: false
|
||||
extraEnvVarsCM: ""
|
||||
initContainers: []
|
||||
lifecycleHooks: {}
|
||||
podAnnotations: {}
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 5
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
serviceAccount:
|
||||
name: ""
|
||||
create: true
|
||||
annotations: {}
|
||||
automountServiceAccountToken: false
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
disableCommands:
|
||||
- FLUSHDB,
|
||||
- FLUSHALL
|
||||
resourcesPreset: nano
|
||||
extraVolumeMounts: []
|
||||
podAffinityPreset: ""
|
||||
priorityClassName: ""
|
||||
customStartupProbe: {}
|
||||
enableServiceLinks: true
|
||||
extraEnvVarsSecret: ""
|
||||
nodeAffinityPreset:
|
||||
key: ""
|
||||
type: ""
|
||||
values: []
|
||||
podSecurityContext:
|
||||
enabled: true
|
||||
fsGroup: 1001
|
||||
sysctls: []
|
||||
supplementalGroups: []
|
||||
fsGroupChangePolicy: Always
|
||||
customLivenessProbe: {}
|
||||
podManagementPolicy: ""
|
||||
customReadinessProbe: {}
|
||||
revisionHistoryLimit: 10
|
||||
podAntiAffinityPreset: soft
|
||||
shareProcessNamespace: false
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
topologySpreadConstraints: []
|
||||
automountServiceAccountToken: false
|
||||
terminationGracePeriodSeconds: 30
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: false
|
||||
whenScaled: Retain
|
||||
whenDeleted: Retain
|
||||
|
||||
sentinel:
|
||||
args: []
|
||||
image:
|
||||
debug: false
|
||||
digest: ""
|
||||
#registry: registry-1.docker.io
|
||||
pullPolicy: IfNotPresent
|
||||
repository: "bitnami/redis-sentinel"
|
||||
pullSecrets: []
|
||||
quorum: 2
|
||||
command: []
|
||||
enabled: false
|
||||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
redis: 6379
|
||||
sentinel: 26379
|
||||
headless:
|
||||
extraPorts: []
|
||||
annotations: {}
|
||||
clusterIP: ""
|
||||
nodePorts:
|
||||
redis: ""
|
||||
sentinel: ""
|
||||
extraPorts: []
|
||||
annotations: {}
|
||||
createMaster: false
|
||||
loadBalancerIP: ""
|
||||
sessionAffinity: None
|
||||
loadBalancerClass: ""
|
||||
externalTrafficPolicy: Cluster
|
||||
sessionAffinityConfig: {}
|
||||
loadBalancerSourceRanges: []
|
||||
masterSet: mymaster
|
||||
resources: {}
|
||||
annotations: {}
|
||||
persistence:
|
||||
size: 100Mi
|
||||
labels: {}
|
||||
medium: ""
|
||||
enabled: false
|
||||
selector: {}
|
||||
sizeLimit: ""
|
||||
dataSource: {}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
annotations: {}
|
||||
storageClass: ""
|
||||
preExecCmds: []
|
||||
extraEnvVars: []
|
||||
extraVolumes: []
|
||||
startupProbe:
|
||||
enabled: true
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 22
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 10
|
||||
configuration: ""
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
masterService:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
redis: 6379
|
||||
enabled: false
|
||||
clusterIP: ""
|
||||
nodePorts:
|
||||
redis: ""
|
||||
extraPorts: []
|
||||
annotations: {}
|
||||
loadBalancerIP: ""
|
||||
sessionAffinity: None
|
||||
loadBalancerClass: ""
|
||||
externalTrafficPolicy: ""
|
||||
sessionAffinityConfig: {}
|
||||
loadBalancerSourceRanges: []
|
||||
parallelSyncs: 1
|
||||
containerPorts:
|
||||
sentinel: 26379
|
||||
externalMaster:
|
||||
host: ""
|
||||
port: 6379
|
||||
enabled: false
|
||||
extraEnvVarsCM: ""
|
||||
lifecycleHooks: {}
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 20
|
||||
failoverTimeout: 180000
|
||||
resourcesPreset: nano
|
||||
getMasterTimeout: 90
|
||||
extraVolumeMounts: []
|
||||
customStartupProbe: {}
|
||||
enableServiceLinks: true
|
||||
extraEnvVarsSecret: ""
|
||||
customLivenessProbe: {}
|
||||
customReadinessProbe: {}
|
||||
downAfterMilliseconds: 60000
|
||||
automateClusterRecovery: false
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
redisShutdownWaitFailover: true
|
||||
terminationGracePeriodSeconds: 30
|
||||
persistentVolumeClaimRetentionPolicy:
|
||||
enabled: false
|
||||
whenScaled: Retain
|
||||
whenDeleted: Retain
|
||||
|
||||
extraDeploy: []
|
||||
|
||||
kubeVersion: ""
|
||||
|
||||
architecture: standalone
|
||||
|
||||
commonLabels: {}
|
||||
|
||||
nameOverride: ""
|
||||
|
||||
useHostnames: true
|
||||
|
||||
clusterDomain: cluster.local
|
||||
|
||||
networkPolicy:
|
||||
enabled: true
|
||||
metrics:
|
||||
allowExternal: true
|
||||
ingressNSMatchLabels: {}
|
||||
ingressNSPodMatchLabels: {}
|
||||
extraEgress: []
|
||||
extraIngress: []
|
||||
allowExternal: true
|
||||
allowExternalEgress: true
|
||||
ingressNSMatchLabels: {}
|
||||
ingressNSPodMatchLabels: {}
|
||||
|
||||
diagnosticMode:
|
||||
args:
|
||||
- infinity
|
||||
command:
|
||||
- sleep
|
||||
enabled: false
|
||||
|
||||
serviceAccount:
|
||||
name: ""
|
||||
create: true
|
||||
annotations: {}
|
||||
automountServiceAccountToken: false
|
||||
|
||||
useExternalDNS:
|
||||
suffix: ""
|
||||
enabled: false
|
||||
annotationKey: "external-dns.alpha.kubernetes.io/"
|
||||
additionalAnnotations: {}
|
||||
|
||||
serviceBindings:
|
||||
enabled: false
|
||||
|
||||
fullnameOverride: ""
|
||||
|
||||
commonAnnotations: {}
|
||||
|
||||
existingConfigmap: ""
|
||||
|
||||
namespaceOverride: ""
|
||||
|
||||
podSecurityPolicy:
|
||||
create: false
|
||||
enabled: false
|
||||
|
||||
secretAnnotations: {}
|
||||
|
||||
volumePermissions:
|
||||
image:
|
||||
digest: ""
|
||||
#registry: registry-1.docker.io
|
||||
pullPolicy: IfNotPresent
|
||||
repository: "bitnami/os-shell"
|
||||
pullSecrets: []
|
||||
enabled: false
|
||||
resources: {}
|
||||
resourcesPreset: nano
|
||||
|
||||
commonConfiguration: ""
|
||||
|
||||
nameResolutionTimeout: 5
|
||||
|
||||
nameResolutionThreshold: 5
|
||||
Reference in New Issue
Block a user