apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 697e6cfc2956a32471343c14345aeb52bd8d2d1b1846a7c3d7b7e9b0337dcc4f
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-07T01:23:08Z"
  generateName: memcached-memcached-6479589586-
  labels:
    application: memcached
    component: server
    pod-template-hash: "6479589586"
    release_group: memcached
  name: memcached-memcached-6479589586-m86l4
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: memcached-memcached-6479589586
    uid: e3e07f8e-ef61-4f63-8e28-194778289efd
  resourceVersion: "2699"
  uid: b57226d7-b6f9-4943-8ea5-8752db16c6ef
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: release_group
              operator: In
              values:
              - memcached
            - key: application
              operator: In
              values:
              - memcached
            - key: component
              operator: In
              values:
              - server
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/memcached.sh
    env:
    - name: MEMCACHED_PORT
      value: "11211"
    - name: MEMCACHED_MAX_CONNECTIONS
      value: "8192"
    - name: MEMCACHED_MEMORY
      value: "1024"
    image: harbor.atmosphere.dev/docker.io/library/memcached:1.6.26
    imagePullPolicy: IfNotPresent
    name: memcached
    ports:
    - containerPort: 11211
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      periodSeconds: 10
      successThreshold: 1
      tcpSocket:
        port: 11211
      timeoutSeconds: 1
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/memcached.sh
      name: memcached-bin
      readOnly: true
      subPath: memcached.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-bpcjm
      readOnly: true
  - command:
    - /tmp/memcached-exporter.sh
    - start
    image: harbor.atmosphere.dev/quay.io/prometheus/memcached-exporter:v0.14.3
    imagePullPolicy: IfNotPresent
    name: memcached-exporter
    ports:
    - containerPort: 9150
      name: metrics
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      periodSeconds: 10
      successThreshold: 1
      tcpSocket:
        port: 9150
      timeoutSeconds: 1
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/memcached-exporter.sh
      name: memcached-bin
      readOnly: true
      subPath: memcached-exporter.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-bpcjm
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - command:
    - kubernetes-entrypoint
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: INTERFACE_NAME
      value: eth0
    - name: PATH
      value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
    - name: DEPENDENCY_SERVICE
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 65534
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-bpcjm
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 65534
  serviceAccount: memcached-memcached
  serviceAccountName: memcached-memcached
  shareProcessNamespace: true
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: pod-tmp
  - configMap:
      defaultMode: 365
      name: memcached-memcached-bin
    name: memcached-bin
  - name: kube-api-access-bpcjm
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-04-07T01:23:12Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-07T01:23:16Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-07T01:23:16Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-07T01:23:08Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://188d19b7fbc972f221d71a2b1a9d183764dedc486435a1ae2a3fbbe4fcc4f107
    image: harbor.atmosphere.dev/docker.io/library/memcached:1.6.26
    imageID: harbor.atmosphere.dev/docker.io/library/memcached@sha256:09eaba8e0b136af2f1d8a4985b4fda74ce2793f95ea66d82fbe5769c05b42ea3
    lastState: {}
    name: memcached
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-07T01:23:15Z"
  - containerID: containerd://0e77e910fcb6a43a60f0ee9a8a0a3bf4cccb6fc5c987678d1a3ea2da2b87f03e
    image: harbor.atmosphere.dev/quay.io/prometheus/memcached-exporter:v0.14.3
    imageID: harbor.atmosphere.dev/quay.io/prometheus/memcached-exporter@sha256:42fc7a1b5e24dd8965d74b8ac5102f568138b3c64ac17b5879bc07665c0700b0
    lastState: {}
    name: memcached-exporter
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-07T01:23:15Z"
  hostIP: 162.253.55.204
  initContainerStatuses:
  - containerID: containerd://7529c1eabe87eea431a5dc227510617b988f7e4b3816cdb8e9324c6cea7fe8c3
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://7529c1eabe87eea431a5dc227510617b988f7e4b3816cdb8e9324c6cea7fe8c3
        exitCode: 0
        finishedAt: "2026-04-07T01:23:10Z"
        reason: Completed
        startedAt: "2026-04-07T01:23:10Z"
  phase: Running
  podIP: 10.0.0.27
  podIPs:
  - ip: 10.0.0.27
  qosClass: BestEffort
  startTime: "2026-04-07T01:23:09Z"
