kind: ControllerRevision
apiVersion: apps/v1
metadata:
    name: calico-node-76b9974d99
    namespace: kube-system
    selfLink: >-
        /apis/apps/v1/namespaces/kube-system/controllerrevisions/calico-node-76b9974d99
    uid: a4b306f0-4317-11ea-96d3-42010a80017a
    resourceVersion: '7558610'
    creationTimestamp: '2020-01-30T04:19:01Z'
    labels:
        controller-revision-hash: 76b9974d99
        k8s-app: calico-node
    annotations:
        deprecated.daemonset.template.generation: '3'
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"apps/v1","kind":"DaemonSet","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile","k8s-app":"calico-node","kubernetes.io/cluster-service":"true"},"name":"calico-node","namespace":"kube-system"},"spec":{"selector":{"matchLabels":{"k8s-app":"calico-node"}},"template":{"metadata":{"annotations":{"scheduler.alpha.kubernetes.io/critical-pod":""},"labels":{"k8s-app":"calico-node"}},"spec":{"containers":[{"env":[{"name":"CALICO_DISABLE_FILE_LOGGING","value":"true"},{"name":"CALICO_NETWORKING_BACKEND","value":"none"},{"name":"DATASTORE_TYPE","value":"kubernetes"},{"name":"FELIX_DEFAULTENDPOINTTOHOSTACTION","value":"ACCEPT"},{"name":"FELIX_HEALTHENABLED","value":"true"},{"name":"FELIX_IGNORELOOSERPF","value":"true"},{"name":"FELIX_IPTABLESMANGLEALLOWACTION","value":"RETURN"},{"name":"FELIX_IPV6SUPPORT","value":"false"},{"name":"FELIX_LOGSEVERITYSYS","value":"none"},{"name":"FELIX_LOGSEVERITYSCREEN","value":"warning"},{"name":"FELIX_PROMETHEUSMETRICSENABLED","value":"true"},{"name":"FELIX_REPORTINGINTERVALSECS","value":"0"},{"name":"FELIX_TYPHAK8SSERVICENAME","value":"calico-typha"},{"name":"IP","value":""},{"name":"NO_DEFAULT_POOLS","value":"true"},{"name":"NODENAME","valueFrom":{"fieldRef":{"fieldPath":"spec.nodeName"}}},{"name":"WAIT_FOR_DATASTORE","value":"true"}],"image":"gcr.io/projectcalico-org/node:v3.2.7","livenessProbe":{"failureThreshold":6,"httpGet":{"host":"localhost","path":"/liveness","port":9099},"initialDelaySeconds":10,"periodSeconds":10},"name":"calico-node","readinessProbe":{"httpGet":{"host":"localhost","path":"/readiness","port":9099},"periodSeconds":10},"securityContext":{"privileged":true},"volumeMounts":[{"mountPath":"/lib/modules","name":"lib-modules","readOnly":true},{"mountPath":"/etc/calico","name":"etc-calico","readOnly":true},{"mountPath":"/var/run/calico","name":"var-run-calico","readOnly":false},{"mountPath":"/var/lib/calico","name":"var-lib-calico","readOnly":false}]},{"command":["/install-cni.sh"],"env":[{"name":"CNI_CONF_NAME","value":"10-calico.conflist"},{"name":"CNI_NETWORK_CONFIG","value":"{\n 
            \"name\": \"k8s-pod-network\",\n  \"cniVersion\": \"0.3.0\",\n 
            \"plugins\": [\n    {\n      \"type\": \"calico\",\n      \"mtu\":
            1460,\n      \"log_level\": \"warning\",\n      \"datastore_type\":
            \"kubernetes\",\n      \"nodename\":
            \"__KUBERNETES_NODE_NAME__\",\n      \"ipam\": {\n        \"type\":
            \"host-local\",\n        \"subnet\": \"usePodCidr\"\n      },\n     
            \"policy\": {\n        \"type\": \"k8s\",\n       
            \"k8s_auth_token\": \"__SERVICEACCOUNT_TOKEN__\"\n      },\n     
            \"kubernetes\": {\n        \"k8s_api_root\":
            \"https://__KUBERNETES_SERVICE_HOST__:__KUBERNETES_SERVICE_PORT__\",\n       
            \"kubeconfig\": \"__KUBECONFIG_FILEPATH__\"\n      }\n    },\n   
            {\n      \"type\": \"portmap\",\n      \"capabilities\":
            {\"portMappings\": true},\n      \"snat\": true\n    }\n 
            ]\n}"},{"name":"KUBERNETES_NODE_NAME","valueFrom":{"fieldRef":{"fieldPath":"spec.nodeName"}}}],"image":"gcr.io/projectcalico-org/cni:v3.2.7","name":"install-cni","volumeMounts":[{"mountPath":"/host/opt/cni/bin","name":"cni-bin-dir"},{"mountPath":"/host/etc/cni/net.d","name":"cni-net-dir"}]}],"hostNetwork":true,"nodeSelector":{"beta.kubernetes.io/os":"linux","projectcalico.org/ds-ready":"true"},"priorityClassName":"system-node-critical","serviceAccountName":"calico-sa","terminationGracePeriodSeconds":0,"tolerations":[{"effect":"NoSchedule","operator":"Exists"},{"effect":"NoExecute","operator":"Exists"},{"key":"CriticalAddonsOnly","operator":"Exists"}],"volumes":[{"hostPath":{"path":"/lib/modules"},"name":"lib-modules"},{"hostPath":{"path":"/etc/calico"},"name":"etc-calico"},{"hostPath":{"path":"/home/kubernetes/bin"},"name":"cni-bin-dir"},{"hostPath":{"path":"/etc/cni/net.d"},"name":"cni-net-dir"},{"hostPath":{"path":"/var/run/calico"},"name":"var-run-calico"},{"hostPath":{"path":"/var/lib/calico"},"name":"var-lib-calico"}]}},"updateStrategy":{"type":"RollingUpdate"}}}
    ownerReferences:
        -
            apiVersion: apps/v1
            kind: DaemonSet
            name: calico-node
            uid: c72c3f7d-3d3e-11ea-96d3-42010a80017a
            controller: true
            blockOwnerDeletion: true
data:
    spec:
        template:
            $patch: replace
            metadata:
                annotations:
                    scheduler.alpha.kubernetes.io/critical-pod: ''
                creationTimestamp: null
                labels:
                    k8s-app: calico-node
            spec:
                containers:
                    -
                        env:
                            -
                                name: CALICO_DISABLE_FILE_LOGGING
                                value: 'true'
                            -
                                name: CALICO_NETWORKING_BACKEND
                                value: none
                            -
                                name: DATASTORE_TYPE
                                value: kubernetes
                            -
                                name: FELIX_DEFAULTENDPOINTTOHOSTACTION
                                value: ACCEPT
                            -
                                name: FELIX_HEALTHENABLED
                                value: 'true'
                            -
                                name: FELIX_IGNORELOOSERPF
                                value: 'true'
                            -
                                name: FELIX_IPTABLESMANGLEALLOWACTION
                                value: RETURN
                            -
                                name: FELIX_IPV6SUPPORT
                                value: 'false'
                            -
                                name: FELIX_LOGSEVERITYSYS
                                value: none
                            -
                                name: FELIX_LOGSEVERITYSCREEN
                                value: warning
                            -
                                name: FELIX_PROMETHEUSMETRICSENABLED
                                value: 'true'
                            -
                                name: FELIX_REPORTINGINTERVALSECS
                                value: '0'
                            -
                                name: FELIX_TYPHAK8SSERVICENAME
                                value: calico-typha
                            -
                                name: IP
                            -
                                name: NO_DEFAULT_POOLS
                                value: 'true'
                            -
                                name: NODENAME
                                valueFrom:
                                    fieldRef:
                                        apiVersion: v1
                                        fieldPath: spec.nodeName
                            -
                                name: WAIT_FOR_DATASTORE
                                value: 'true'
                        image: 'gcr.io/projectcalico-org/node:v3.2.7'
                        imagePullPolicy: IfNotPresent
                        livenessProbe:
                            failureThreshold: 6
                            httpGet:
                                host: localhost
                                path: /liveness
                                port: 9099
                                scheme: HTTP
                            initialDelaySeconds: 10
                            periodSeconds: 10
                            successThreshold: 1
                            timeoutSeconds: 1
                        name: calico-node
                        readinessProbe:
                            failureThreshold: 3
                            httpGet:
                                host: localhost
                                path: /readiness
                                port: 9099
                                scheme: HTTP
                            periodSeconds: 10
                            successThreshold: 1
                            timeoutSeconds: 1
                        resources:
                            requests:
                                cpu: 10m
                        securityContext:
                            privileged: true
                        terminationMessagePath: /dev/termination-log
                        terminationMessagePolicy: File
                        volumeMounts:
                            -
                                mountPath: /lib/modules
                                name: lib-modules
                                readOnly: true
                            -
                                mountPath: /etc/calico
                                name: etc-calico
                                readOnly: true
                            -
                                mountPath: /var/run/calico
                                name: var-run-calico
                            -
                                mountPath: /var/lib/calico
                                name: var-lib-calico
                    -
                        command:
                            - /install-cni.sh
                        env:
                            -
                                name: CNI_CONF_NAME
                                value: 10-calico.conflist
                            -
                                name: CNI_NETWORK_CONFIG
                                value: |-
                                    {
                                      "name": "k8s-pod-network",
                                      "cniVersion": "0.3.0",
                                      "plugins": [
                                        {
                                          "type": "calico",
                                          "mtu": 1460,
                                          "log_level": "warning",
                                          "datastore_type": "kubernetes",
                                          "nodename": "__KUBERNETES_NODE_NAME__",
                                          "ipam": {
                                            "type": "host-local",
                                            "subnet": "usePodCidr"
                                          },
                                          "policy": {
                                            "type": "k8s",
                                            "k8s_auth_token": "__SERVICEACCOUNT_TOKEN__"
                                          },
                                          "kubernetes": {
                                            "k8s_api_root": "https://__KUBERNETES_SERVICE_HOST__:__KUBERNETES_SERVICE_PORT__",
                                            "kubeconfig": "__KUBECONFIG_FILEPATH__"
                                          }
                                        },
                                        {
                                          "type": "portmap",
                                          "capabilities": {"portMappings": true},
                                          "snat": true
                                        }
                                      ]
                                    }
                            -
                                name: KUBERNETES_NODE_NAME
                                valueFrom:
                                    fieldRef:
                                        apiVersion: v1
                                        fieldPath: spec.nodeName
                        image: 'gcr.io/projectcalico-org/cni:v3.2.7'
                        imagePullPolicy: IfNotPresent
                        name: install-cni
                        resources: {}
                        terminationMessagePath: /dev/termination-log
                        terminationMessagePolicy: File
                        volumeMounts:
                            -
                                mountPath: /host/opt/cni/bin
                                name: cni-bin-dir
                            -
                                mountPath: /host/etc/cni/net.d
                                name: cni-net-dir
                dnsPolicy: ClusterFirst
                hostNetwork: true
                nodeSelector:
                    beta.kubernetes.io/os: linux
                    projectcalico.org/ds-ready: 'true'
                priorityClassName: system-node-critical
                restartPolicy: Always
                schedulerName: default-scheduler
                securityContext: {}
                serviceAccount: calico-sa
                serviceAccountName: calico-sa
                terminationGracePeriodSeconds: 0
                tolerations:
                    -
                        effect: NoSchedule
                        operator: Exists
                    -
                        effect: NoExecute
                        operator: Exists
                    -
                        key: CriticalAddonsOnly
                        operator: Exists
                volumes:
                    -
                        hostPath:
                            path: /lib/modules
                            type: ''
                        name: lib-modules
                    -
                        hostPath:
                            path: /etc/calico
                            type: ''
                        name: etc-calico
                    -
                        hostPath:
                            path: /home/kubernetes/bin
                            type: ''
                        name: cni-bin-dir
                    -
                        hostPath:
                            path: /etc/cni/net.d
                            type: ''
                        name: cni-net-dir
                    -
                        hostPath:
                            path: /var/run/calico
                            type: ''
                        name: var-run-calico
                    -
                        hostPath:
                            path: /var/lib/calico
                            type: ''
                        name: var-lib-calico
revision: 3

