apiVersion: apps/v1
kind: StatefulSet
metadata:
  labels:
    app.kubernetes.io/component: memcached
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: tempo-distributed
    app.kubernetes.io/version: 1.3.0
    helm.sh/chart: tempo-distributed-0.15.1
  name: RELEASE-NAME-tempo-distributed-memcached
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/component: memcached
      app.kubernetes.io/instance: RELEASE-NAME
      app.kubernetes.io/name: tempo-distributed
  serviceName: memcached
  template:
    metadata:
      labels:
        app.kubernetes.io/component: memcached
        app.kubernetes.io/instance: RELEASE-NAME
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/name: tempo-distributed
        app.kubernetes.io/version: 1.3.0
        helm.sh/chart: tempo-distributed-0.15.1
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchLabels:
                  app.kubernetes.io/component: memcached
                  app.kubernetes.io/instance: RELEASE-NAME
                  app.kubernetes.io/name: tempo-distributed
              topologyKey: failure-domain.beta.kubernetes.io/zone
            weight: 100
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchLabels:
                app.kubernetes.io/component: memcached
                app.kubernetes.io/instance: RELEASE-NAME
                app.kubernetes.io/name: tempo-distributed
            topologyKey: kubernetes.io/hostname
      containers:
      - image: memcached:1.5.17-alpine
        imagePullPolicy: IfNotPresent
        name: memcached
        ports:
        - containerPort: 11211
          name: client
        resources: {}
      serviceAccountName: RELEASE-NAME-tempo-distributed
  updateStrategy:
    type: RollingUpdate
