Created
August 25, 2017 13:34
-
-
Save amitkumarj441/8ea6d7233b31855687e1685314411769 to your computer and use it in GitHub Desktop.
Spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@viaq ~]# oc get pod logging-fluentd-cvfnp -o yaml | |
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| annotations: | |
| kubernetes.io/created-by: | | |
| {"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"DaemonSet","namespace":"logging","name":"logging-fluentd","uid":"6261e57b-574b-11e7-8b3f-000c293d9bc2","apiVersion":"extensions","resourceVersion":"32615"}} | |
| openshift.io/scc: privileged | |
| creationTimestamp: 2017-08-25T11:56:19Z | |
| generateName: logging-fluentd- | |
| labels: | |
| component: fluentd | |
| logging-infra: fluentd | |
| provider: openshift | |
| name: logging-fluentd-cvfnp | |
| namespace: logging | |
| resourceVersion: "32629" | |
| selfLink: /api/v1/namespaces/logging/pods/logging-fluentd-cvfnp | |
| uid: 68227bb9-898c-11e7-8e90-000c293d9bc2 | |
| spec: | |
| containers: | |
| - env: | |
| - name: K8S_HOST_URL | |
| value: https://kubernetes.default.svc.cluster.local | |
| - name: ES_HOST | |
| value: logging-es | |
| - name: ES_PORT | |
| value: "9200" | |
| - name: ES_CLIENT_CERT | |
| value: /etc/fluent/keys/cert | |
| - name: ES_CLIENT_KEY | |
| value: /etc/fluent/keys/key | |
| - name: ES_CA | |
| value: /etc/fluent/keys/ca | |
| - name: OPS_HOST | |
| value: logging-es | |
| - name: OPS_PORT | |
| value: "9200" | |
| - name: OPS_CLIENT_CERT | |
| value: /etc/fluent/keys/cert | |
| - name: OPS_CLIENT_KEY | |
| value: /etc/fluent/keys/key | |
| - name: OPS_CA | |
| value: /etc/fluent/keys/ca | |
| - name: ES_COPY | |
| value: "false" | |
| - name: ES_COPY_HOST | |
| - name: ES_COPY_PORT | |
| - name: ES_COPY_SCHEME | |
| value: https | |
| - name: ES_COPY_CLIENT_CERT | |
| - name: ES_COPY_CLIENT_KEY | |
| - name: ES_COPY_CA | |
| - name: ES_COPY_USERNAME | |
| - name: ES_COPY_PASSWORD | |
| - name: OPS_COPY_HOST | |
| - name: OPS_COPY_PORT | |
| - name: OPS_COPY_SCHEME | |
| value: https | |
| - name: OPS_COPY_CLIENT_CERT | |
| - name: OPS_COPY_CLIENT_KEY | |
| - name: OPS_COPY_CA | |
| - name: OPS_COPY_USERNAME | |
| - name: OPS_COPY_PASSWORD | |
| - name: USE_JOURNAL | |
| - name: JOURNAL_SOURCE | |
| - name: JOURNAL_READ_FROM_HEAD | |
| - name: VERBOSE | |
| value: "true" | |
| image: docker.io/openshift/origin-logging-fluentd:v1.5.1 | |
| imagePullPolicy: Always | |
| name: fluentd-elasticsearch | |
| resources: | |
| limits: | |
| cpu: 100m | |
| memory: 512Mi | |
| requests: | |
| cpu: 100m | |
| memory: 512Mi | |
| securityContext: | |
| privileged: true | |
| terminationMessagePath: /dev/termination-log | |
| volumeMounts: | |
| - mountPath: /run/log/journal | |
| name: runlogjournal | |
| - mountPath: /var/log | |
| name: varlog | |
| - mountPath: /var/lib/docker/containers | |
| name: varlibdockercontainers | |
| readOnly: true | |
| - mountPath: /etc/fluent/configs.d/user | |
| name: config | |
| readOnly: true | |
| - mountPath: /etc/fluent/keys | |
| name: certs | |
| readOnly: true | |
| - mountPath: /etc/docker-hostname | |
| name: dockerhostname | |
| readOnly: true | |
| - mountPath: /etc/localtime | |
| name: localtime | |
| readOnly: true | |
| - mountPath: /etc/sysconfig/docker | |
| name: dockercfg | |
| readOnly: true | |
| - mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
| name: aggregated-logging-fluentd-token-kzsfd | |
| readOnly: true | |
| dnsPolicy: ClusterFirst | |
| imagePullSecrets: | |
| - name: aggregated-logging-fluentd-dockercfg-0wzxc | |
| nodeName: viaq.logging.test | |
| nodeSelector: | |
| logging-infra-fluentd: "true" | |
| restartPolicy: Always | |
| securityContext: {} | |
| serviceAccount: aggregated-logging-fluentd | |
| serviceAccountName: aggregated-logging-fluentd | |
| terminationGracePeriodSeconds: 30 | |
| volumes: | |
| - hostPath: | |
| path: /run/log/journal | |
| name: runlogjournal | |
| - hostPath: | |
| path: /var/log | |
| name: varlog | |
| - hostPath: | |
| path: /var/lib/docker/containers | |
| name: varlibdockercontainers | |
| - configMap: | |
| defaultMode: 420 | |
| name: logging-fluentd | |
| name: config | |
| - name: certs | |
| secret: | |
| defaultMode: 420 | |
| secretName: logging-fluentd | |
| - hostPath: | |
| path: /etc/hostname | |
| name: dockerhostname | |
| - hostPath: | |
| path: /etc/localtime | |
| name: localtime | |
| - hostPath: | |
| path: /etc/sysconfig/docker | |
| name: dockercfg | |
| - name: aggregated-logging-fluentd-token-kzsfd | |
| secret: | |
| defaultMode: 420 | |
| secretName: aggregated-logging-fluentd-token-kzsfd | |
| status: | |
| conditions: | |
| - lastProbeTime: null | |
| lastTransitionTime: 2017-08-25T11:56:19Z | |
| status: "True" | |
| type: Initialized | |
| - lastProbeTime: null | |
| lastTransitionTime: 2017-08-25T11:56:29Z | |
| status: "True" | |
| type: Ready | |
| - lastProbeTime: null | |
| lastTransitionTime: 2017-08-25T11:56:29Z | |
| status: "True" | |
| type: PodScheduled | |
| containerStatuses: | |
| - containerID: docker://d04d2224602a00604120d279259fb47c20346c91d6795e69a2a7e8282691db50 | |
| image: docker.io/openshift/origin-logging-fluentd:v1.5.1 | |
| imageID: docker-pullable://docker.io/openshift/origin-logging-fluentd@sha256:8ec8dacbbb417d1b058f4964893dbbf6a88af1281bbd40d470ce91326fa27f93 | |
| lastState: {} | |
| name: fluentd-elasticsearch | |
| ready: true | |
| restartCount: 0 | |
| state: | |
| running: | |
| startedAt: 2017-08-25T11:56:28Z | |
| hostIP: 172.16.93.5 | |
| phase: Running | |
| podIP: 10.128.0.130 | |
| startTime: 2017-08-25T11:56:19Z | |
| [root@viaq ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment