apiVersion: apps/v1 kind: StatefulSet metadata: annotations: kubenix/k8s-version: '1.30' kubenix/project-name: kubenix labels: app.kubernetes.io/component: master app.kubernetes.io/instance: nitter-redis app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis app.kubernetes.io/version: 7.2.3 helm.sh/chart: redis-18.6.1 kubenix/hash: e672eb08bf0db5ef675b3b6036ca047f43b4614f name: nitter-redis-master namespace: nitter spec: replicas: 1 selector: matchLabels: app.kubernetes.io/component: master app.kubernetes.io/instance: nitter-redis app.kubernetes.io/name: redis serviceName: nitter-redis-headless template: metadata: annotations: checksum/configmap: 86bcc953bb473748a3d3dc60b7c11f34e60c93519234d4c37f42e22ada559d47 checksum/health: aff24913d801436ea469d8d374b2ddb3ec4c43ee7ab24663d5f8ff1a1b6991a9 checksum/scripts: 43cdf68c28f3abe25ce017a82f74dbf2437d1900fd69df51a55a3edf6193d141 checksum/secret: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a labels: app.kubernetes.io/component: master app.kubernetes.io/instance: nitter-redis app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: redis app.kubernetes.io/version: 7.2.3 helm.sh/chart: redis-18.6.1 spec: affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - podAffinityTerm: labelSelector: matchLabels: app.kubernetes.io/component: master app.kubernetes.io/instance: nitter-redis app.kubernetes.io/name: redis topologyKey: kubernetes.io/hostname weight: 1 automountServiceAccountToken: true containers: - args: - -c - /opt/bitnami/scripts/start-scripts/start-master.sh command: - /bin/bash env: - name: BITNAMI_DEBUG value: 'false' - name: REDIS_REPLICATION_MODE value: master - name: ALLOW_EMPTY_PASSWORD value: 'yes' - name: REDIS_TLS_ENABLED value: 'no' - name: REDIS_PORT value: '6379' image: registry.redict.io/redict:7.3-compat imagePullPolicy: IfNotPresent livenessProbe: exec: command: - sh - -c - /health/ping_liveness_local.sh 5 failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 6 name: redis ports: - containerPort: 6379 name: redis readinessProbe: exec: command: - sh - -c - /health/ping_readiness_local.sh 1 failureThreshold: 5 initialDelaySeconds: 20 periodSeconds: 5 successThreshold: 1 timeoutSeconds: 2 resources: limits: {} requests: {} securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL runAsGroup: 0 runAsNonRoot: true runAsUser: 1001 seccompProfile: type: RuntimeDefault volumeMounts: - mountPath: /opt/bitnami/scripts/start-scripts name: start-scripts - mountPath: /health name: health - mountPath: /data name: redis-data - mountPath: /opt/bitnami/redis/mounted-etc name: config - mountPath: /opt/bitnami/redis/etc/ name: redis-tmp-conf - mountPath: /tmp name: tmp enableServiceLinks: true securityContext: fsGroup: 1001 serviceAccountName: nitter-redis terminationGracePeriodSeconds: 30 volumes: - configMap: defaultMode: 493 name: nitter-redis-scripts name: start-scripts - configMap: defaultMode: 493 name: nitter-redis-health name: health - configMap: name: nitter-redis-configuration name: config - emptyDir: {} name: redis-tmp-conf - emptyDir: {} name: tmp updateStrategy: type: RollingUpdate volumeClaimTemplates: - apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: app.kubernetes.io/component: master app.kubernetes.io/instance: nitter-redis app.kubernetes.io/name: redis name: redis-data spec: accessModes: - ReadWriteOnce resources: requests: storage: 8Gi