apiVersion: v1 items: - apiVersion: extensions/v1beta1 kind: DaemonSet metadata: creationTimestamp: "2019-02-27T01:27:14Z" generation: 1 name: composer-fluentd-daemon namespace: default resourceVersion: "985" selfLink: /apis/extensions/v1beta1/namespaces/default/daemonsets/composer-fluentd-daemon uid: d03578bb-3a2e-11e9-8976-42010a9200db spec: revisionHistoryLimit: 10 selector: matchLabels: name: composer-fluentd template: metadata: creationTimestamp: null labels: name: composer-fluentd spec: containers: - env: - name: FLUENTD_ARGS value: --no-supervisor -q - name: COMPOSER_ENVIRONMENT value: settings-test image: gcr.io/cloud-airflow-releaser/composer-fluentd:cloud_composer_service_2019-02-05-RC4 imagePullPolicy: IfNotPresent livenessProbe: exec: command: - /bin/sh - -c - | LIVENESS_THRESHOLD_SECONDS=${LIVENESS_THRESHOLD_SECONDS:-300}; STUCK_THRESHOLD_SECONDS=${STUCK_THRESHOLD_SECONDS:-900}; if [ ! -e /var/log/fluentd-buffers ]; then exit 1; fi; LAST_MODIFIED_DATE=`stat /var/log/fluentd-buffers | grep Modify | sed -r "s/Modify: (.*)/\1/"`; LAST_MODIFIED_TIMESTAMP=`date -d "$LAST_MODIFIED_DATE" +%s`; if [ `date +%s` -gt `expr $LAST_MODIFIED_TIMESTAMP + $STUCK_THRESHOLD_SECONDS` ]; then rm -rf /var/log/fluentd-buffers; exit 1; fi; if [ `date +%s` -gt `expr $LAST_MODIFIED_TIMESTAMP + $LIVENESS_THRESHOLD_SECONDS` ]; then exit 1; fi; failureThreshold: 3 initialDelaySeconds: 300 periodSeconds: 60 successThreshold: 1 timeoutSeconds: 1 name: composer-fluentd resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/log name: varlog - mountPath: /var/lib/docker/containers name: varlibdockercontainers dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 volumes: - hostPath: path: /var/log type: "" name: varlog - hostPath: path: /var/lib/docker/containers type: "" name: varlibdockercontainers templateGeneration: 1 updateStrategy: rollingUpdate: maxUnavailable: 1 type: RollingUpdate status: currentNumberScheduled: 3 desiredNumberScheduled: 3 numberAvailable: 3 numberMisscheduled: 0 numberReady: 3 observedGeneration: 1 updatedNumberScheduled: 3 kind: List metadata: resourceVersion: "" selfLink: ""