gitlab-com-gitlab-runner-gitlab-runner-646d778f77 created 2022-11-24 22:37:02, version 1032310140

apiVersion: apps/v1
kind: ReplicaSet
metadata:
  annotations:
    deployment.kubernetes.io/desired-replicas: '1'
    deployment.kubernetes.io/max-replicas: '2'
    deployment.kubernetes.io/revision: '12'
  creationTimestamp: '2022-11-24T22:37:02Z'
  generation: 2
  labels:
    app: gitlab-com-gitlab-runner-gitlab-runner
    chart: gitlab-runner-0.47.0
    heritage: Helm
    pod-template-hash: 646d778f77
    release: gitlab-com-gitlab-runner
  managedFields:
  - apiVersion: apps/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:deployment.kubernetes.io/desired-replicas: {}
          f:deployment.kubernetes.io/max-replicas: {}
          f:deployment.kubernetes.io/revision: {}
        f:labels:
          .: {}
          f:app: {}
          f:chart: {}
          f:heritage: {}
          f:pod-template-hash: {}
          f:release: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"f9ecf068-4bf0-4689-9a20-8097e9e9130f"}:
            .: {}
            f:apiVersion: {}
            f:blockOwnerDeletion: {}
            f:controller: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:spec:
        f:replicas: {}
        f:selector: {}
        f:template:
          f:metadata:
            f:annotations:
              .: {}
              f:checksum/configmap: {}
              f:checksum/secrets: {}
            f:labels:
              .: {}
              f:app: {}
              f:chart: {}
              f:heritage: {}
              f:pod-template-hash: {}
              f:release: {}
          f:spec:
            f:containers:
              k:{"name":"gitlab-com-gitlab-runner-gitlab-runner"}:
                .: {}
                f:command: {}
                f:env:
                  .: {}
                  k:{"name":"CI_SERVER_URL"}:
                    .: {}
                    f:name: {}
                    f:value: {}
                  k:{"name":"CLONE_URL"}:
                    .: {}
                    f:name: {}
                  k:{"name":"KUBERNETES_NAMESPACE"}:
                    .: {}
                    f:name: {}
                    f:value: {}
                  k:{"name":"REGISTER_LOCKED"}:
                    .: {}
                    f:name: {}
                    f:value: {}
                  k:{"name":"RUNNER_EXECUTOR"}:
                    .: {}
                    f:name: {}
                    f:value: {}
                  k:{"name":"RUNNER_TAG_LIST"}:
                    .: {}
                    f:name: {}
                f:image: {}
                f:imagePullPolicy: {}
                f:lifecycle:
                  .: {}
                  f:preStop:
                    .: {}
                    f:exec:
                      .: {}
                      f:command: {}
                f:livenessProbe:
                  .: {}
                  f:exec:
                    .: {}
                    f:command: {}
                  f:failureThreshold: {}
                  f:initialDelaySeconds: {}
                  f:periodSeconds: {}
                  f:successThreshold: {}
                  f:timeoutSeconds: {}
                f:name: {}
                f:ports:
                  .: {}
                  k:{"containerPort":9252,"protocol":"TCP"}:
                    .: {}
                    f:containerPort: {}
                    f:name: {}
                    f:protocol: {}
                f:readinessProbe:
                  .: {}
                  f:exec:
                    .: {}
                    f:command: {}
                  f:failureThreshold: {}
                  f:initialDelaySeconds: {}
                  f:periodSeconds: {}
                  f:successThreshold: {}
                  f:timeoutSeconds: {}
                f:resources: {}
                f:securityContext:
                  .: {}
                  f:allowPrivilegeEscalation: {}
                  f:capabilities:
                    .: {}
                    f:drop: {}
                  f:privileged: {}
                  f:readOnlyRootFilesystem: {}
                  f:runAsNonRoot: {}
                f:terminationMessagePath: {}
                f:terminationMessagePolicy: {}
                f:volumeMounts:
                  .: {}
                  k:{"mountPath":"/configmaps"}:
                    .: {}
                    f:mountPath: {}
                    f:name: {}
                  k:{"mountPath":"/home/gitlab-runner/.gitlab-runner"}:
                    .: {}
                    f:mountPath: {}
                    f:name: {}
                  k:{"mountPath":"/secrets"}:
                    .: {}
                    f:mountPath: {}
                    f:name: {}
            f:dnsPolicy: {}
            f:restartPolicy: {}
            f:schedulerName: {}
            f:securityContext:
              .: {}
              f:fsGroup: {}
              f:runAsUser: {}
            f:serviceAccount: {}
            f:serviceAccountName: {}
            f:terminationGracePeriodSeconds: {}
            f:volumes:
              .: {}
              k:{"name":"configmaps"}:
                .: {}
                f:configMap:
                  .: {}
                  f:defaultMode: {}
                  f:name: {}
                f:name: {}
              k:{"name":"etc-gitlab-runner"}:
                .: {}
                f:emptyDir:
                  .: {}
                  f:medium: {}
                f:name: {}
              k:{"name":"projected-secrets"}:
                .: {}
                f:name: {}
                f:projected:
                  .: {}
                  f:defaultMode: {}
                  f:sources: {}
              k:{"name":"runner-secrets"}:
                .: {}
                f:emptyDir:
                  .: {}
                  f:medium: {}
                f:name: {}
      f:status:
        f:observedGeneration: {}
        f:replicas: {}
    manager: k3s
    operation: Update
    time: '2022-11-24T22:38:33Z'
  name: gitlab-com-gitlab-runner-gitlab-runner-646d778f77
  namespace: gitlab-runner-gitlab-com
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: Deployment
    name: gitlab-com-gitlab-runner-gitlab-runner
    uid: f9ecf068-4bf0-4689-9a20-8097e9e9130f
  resourceVersion: '1032310140'
  uid: 1f7e923b-da9f-4f4a-bbe0-ae10aa77d9a6
spec:
  replicas: 0
  selector:
    matchLabels:
      app: gitlab-com-gitlab-runner-gitlab-runner
      pod-template-hash: 646d778f77
  template:
    metadata:
      annotations:
        checksum/configmap: f28574752920f97a1a5824e61e6f662f4d823d9a6a0e3d5f0829e1acedff2562
        checksum/secrets: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
      creationTimestamp: null
      labels:
        app: gitlab-com-gitlab-runner-gitlab-runner
        chart: gitlab-runner-0.47.0
        heritage: Helm
        pod-template-hash: 646d778f77
        release: gitlab-com-gitlab-runner
    spec:
      containers:
      - command:
        - /usr/bin/dumb-init
        - --
        - /bin/bash
        - /configmaps/entrypoint
        env:
        - name: CI_SERVER_URL
          value: https://gitlab.com
        - name: CLONE_URL
        - name: RUNNER_EXECUTOR
          value: kubernetes
        - name: REGISTER_LOCKED
          value: 'true'
        - name: RUNNER_TAG_LIST
        - name: KUBERNETES_NAMESPACE
          value: gitlab-runner-gitlab-com
        image: registry.gitlab.com/gitlab-org/gitlab-runner:alpine-v15.6.0
        imagePullPolicy: IfNotPresent
        lifecycle:
          preStop:
            exec:
              command:
              - /entrypoint
              - unregister
              - --all-runners
        livenessProbe:
          exec:
            command:
            - /bin/bash
            - /configmaps/check-live
          failureThreshold: 3
          initialDelaySeconds: 60
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        name: gitlab-com-gitlab-runner-gitlab-runner
        ports:
        - containerPort: 9252
          name: metrics
          protocol: TCP
        readinessProbe:
          exec:
            command:
            - /usr/bin/pgrep
            - gitlab.*runner
          failureThreshold: 3
          initialDelaySeconds: 10
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          privileged: false
          readOnlyRootFilesystem: false
          runAsNonRoot: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /secrets
          name: projected-secrets
        - mountPath: /home/gitlab-runner/.gitlab-runner
          name: etc-gitlab-runner
        - mountPath: /configmaps
          name: configmaps
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext:
        fsGroup: 65533
        runAsUser: 100
      serviceAccount: gitlab-com-gitlab-runner-gitlab-runner
      serviceAccountName: gitlab-com-gitlab-runner-gitlab-runner
      terminationGracePeriodSeconds: 3600
      volumes:
      - emptyDir:
          medium: Memory
        name: runner-secrets
      - emptyDir:
          medium: Memory
        name: etc-gitlab-runner
      - name: projected-secrets
        projected:
          defaultMode: 420
          sources:
          - secret:
              items:
              - key: runner-registration-token
                path: runner-registration-token
              - key: runner-token
                path: runner-token
              name: gitlab-runner-registration-token
      - configMap:
          defaultMode: 420
          name: gitlab-com-gitlab-runner-gitlab-runner
        name: configmaps
status:
  observedGeneration: 2
  replicas: 0