apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
    meta.helm.sh/release-name: socials
    meta.helm.sh/release-namespace: base
  creationTimestamp: "2022-01-20T16:00:23Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
    service: user-timeline-redis
  name: user-timeline-redis
  namespace: base
  resourceVersion: "179951"
  uid: d1012c5e-7088-4484-ac3c-da59712e5c91
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: user-timeline-redis
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: user-timeline-redis
        service: user-timeline-redis
    spec:
      containers:
      - args:
        - /social-network-microservices/config/redis.conf
        image: docker.io/library/redis:6.2.4
        imagePullPolicy: IfNotPresent
        name: user-timeline-redis
        ports:
        - containerPort: 6379
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /social-network-microservices/config/redis.conf
          name: user-timeline-redis-config
          subPath: redis.conf
      dnsPolicy: ClusterFirst
      hostname: user-timeline-redis
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - configMap:
          defaultMode: 420
          name: user-timeline-redis
        name: user-timeline-redis-config
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2022-01-20T16:00:43Z"
    lastUpdateTime: "2022-01-20T16:00:43Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2022-01-20T16:00:25Z"
    lastUpdateTime: "2022-01-20T16:00:43Z"
    message: ReplicaSet "user-timeline-redis-64677c6756" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1
apiVersion: v1
kind: Service
metadata:
  annotations:
    meta.helm.sh/release-name: socials
    meta.helm.sh/release-namespace: base
  creationTimestamp: "2022-01-20T16:00:23Z"
  labels:
    app.kubernetes.io/managed-by: Helm
  name: user-timeline-redis
  namespace: base
  resourceVersion: "179333"
  uid: b066b8d5-8c3c-4e5a-a12b-2e5fc9300257
spec:
  clusterIP: 10.96.152.0
  clusterIPs:
  - 10.96.152.0
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: "6379"
    port: 6379
    protocol: TCP
    targetPort: 6379
  selector:
    service: user-timeline-redis
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
