kind: ControllerRevision
apiVersion: apps/v1
metadata:
    name: metadata-proxy-v0.1-84b647f545
    namespace: kube-system
    selfLink: >-
        /apis/apps/v1/namespaces/kube-system/controllerrevisions/metadata-proxy-v0.1-84b647f545
    uid: bf8cb4bd-3437-11ea-9cdc-42010a8001cf
    resourceVersion: '395'
    creationTimestamp: '2020-01-11T06:01:02Z'
    labels:
        controller-revision-hash: 84b647f545
        k8s-app: metadata-proxy
        kubernetes.io/cluster-service: 'true'
        version: v0.1
    annotations:
        deprecated.daemonset.template.generation: '1'
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"extensions/v1beta1","kind":"DaemonSet","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile","k8s-app":"metadata-proxy","kubernetes.io/cluster-service":"true","version":"v0.1"},"name":"metadata-proxy-v0.1","namespace":"kube-system"},"spec":{"template":{"metadata":{"annotations":{"scheduler.alpha.kubernetes.io/critical-pod":""},"labels":{"k8s-app":"metadata-proxy","kubernetes.io/cluster-service":"true","version":"v0.1"}},"spec":{"containers":[{"image":"k8s.gcr.io/metadata-proxy:v0.1.10","name":"metadata-proxy","resources":{"limits":{"cpu":"30m","memory":"25Mi"},"requests":{"cpu":"30m","memory":"25Mi"}},"securityContext":{"privileged":true}},{"command":["/monitor","--stackdriver-prefix=container.googleapis.com/internal/addons","--api-override=https://monitoring.googleapis.com/","--source=metadata_proxy:http://127.0.0.1:989?whitelisted=request_count","--pod-id=$(POD_NAME)","--namespace-id=$(POD_NAMESPACE)"],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"fieldPath":"metadata.name"}}},{"name":"POD_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}}],"image":"k8s.gcr.io/prometheus-to-sd:v0.5.0","name":"prometheus-to-sd-exporter","resources":{"limits":{"cpu":"2m","memory":"20Mi"},"requests":{"cpu":"2m","memory":"20Mi"}}}],"dnsPolicy":"Default","hostNetwork":true,"nodeSelector":{"beta.kubernetes.io/metadata-proxy-ready":"true"},"priorityClassName":"system-node-critical","serviceAccountName":"metadata-proxy","terminationGracePeriodSeconds":30,"tolerations":[{"effect":"NoExecute","operator":"Exists"},{"effect":"NoSchedule","operator":"Exists"}]}},"updateStrategy":{"type":"RollingUpdate"}}}
    ownerReferences:
        -
            apiVersion: apps/v1
            kind: DaemonSet
            name: metadata-proxy-v0.1
            uid: bf8bd124-3437-11ea-9cdc-42010a8001cf
            controller: true
            blockOwnerDeletion: true
data:
    spec:
        template:
            $patch: replace
            metadata:
                annotations:
                    scheduler.alpha.kubernetes.io/critical-pod: ''
                creationTimestamp: null
                labels:
                    k8s-app: metadata-proxy
                    kubernetes.io/cluster-service: 'true'
                    version: v0.1
            spec:
                containers:
                    -
                        image: 'k8s.gcr.io/metadata-proxy:v0.1.10'
                        imagePullPolicy: IfNotPresent
                        name: metadata-proxy
                        resources:
                            limits:
                                cpu: 30m
                                memory: 25Mi
                            requests:
                                cpu: 30m
                                memory: 25Mi
                        securityContext:
                            privileged: true
                        terminationMessagePath: /dev/termination-log
                        terminationMessagePolicy: File
                    -
                        command:
                            - /monitor
                            - >-
                                --stackdriver-prefix=container.googleapis.com/internal/addons
                            - >-
                                --api-override=https://monitoring.googleapis.com/
                            - >-
                                --source=metadata_proxy:http://127.0.0.1:989?whitelisted=request_count
                            - '--pod-id=$(POD_NAME)'
                            - '--namespace-id=$(POD_NAMESPACE)'
                        env:
                            -
                                name: POD_NAME
                                valueFrom:
                                    fieldRef:
                                        apiVersion: v1
                                        fieldPath: metadata.name
                            -
                                name: POD_NAMESPACE
                                valueFrom:
                                    fieldRef:
                                        apiVersion: v1
                                        fieldPath: metadata.namespace
                        image: 'k8s.gcr.io/prometheus-to-sd:v0.5.0'
                        imagePullPolicy: IfNotPresent
                        name: prometheus-to-sd-exporter
                        resources:
                            limits:
                                cpu: 2m
                                memory: 20Mi
                            requests:
                                cpu: 2m
                                memory: 20Mi
                        terminationMessagePath: /dev/termination-log
                        terminationMessagePolicy: File
                dnsPolicy: Default
                hostNetwork: true
                nodeSelector:
                    beta.kubernetes.io/metadata-proxy-ready: 'true'
                priorityClassName: system-node-critical
                restartPolicy: Always
                schedulerName: default-scheduler
                securityContext: {}
                serviceAccount: metadata-proxy
                serviceAccountName: metadata-proxy
                terminationGracePeriodSeconds: 30
                tolerations:
                    -
                        effect: NoExecute
                        operator: Exists
                    -
                        effect: NoSchedule
                        operator: Exists
revision: 1

