SHARE
TWEET

Untitled

a guest Sep 12th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4.   annotations:
  5.     checksum/config: e4e0e2b6f4e0d14f0fb0b2a7262cc10f104741bd10afb3101127241cb72af4ce
  6.     checksum/dashboards-json-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
  7.     checksum/sc-dashboard-provider-config: 87bf406399ba571c17a6f42a44da31c1e31abd023144c635e73182c15c6f1c8e
  8.     checksum/secret: 12e912703e6fbf3435e588afac2140acf3ce6b7b370aca956be6480b889e3772
  9.   creationTimestamp: "2019-09-12T09:23:33Z"
  10.   generateName: prometheus-operator-grafana-6597d8b856-
  11.   labels:
  12.     app: grafana
  13.     pod-template-hash: 6597d8b856
  14.     release: prometheus-operator
  15.   name: prometheus-operator-grafana-6597d8b856-k67vr
  16.   namespace: prometheus-monitoring
  17.   ownerReferences:
  18.   - apiVersion: apps/v1
  19.     blockOwnerDeletion: true
  20.     controller: true
  21.     kind: ReplicaSet
  22.     name: prometheus-operator-grafana-6597d8b856
  23.     uid: fe18fd4d-d53e-11e9-8dae-fa163e737168
  24.   resourceVersion: "1980"
  25.   selfLink: /api/v1/namespaces/prometheus-monitoring/pods/prometheus-operator-grafana-6597d8b856-k67vr
  26.   uid: fe1f8eb4-d53e-11e9-8dae-fa163e737168
  27. spec:
  28.   containers:
  29.   - env:
  30.     - name: LABEL
  31.       value: grafana_dashboard
  32.     - name: FOLDER
  33.       value: /var/lib/grafana/dashboards
  34.     - name: NAMESPACE
  35.       value: prometheus-monitoring
  36.     image: kiwigrid/k8s-sidecar:0.0.16
  37.     imagePullPolicy: IfNotPresent
  38.     name: grafana-sc-dashboard
  39.     resources: {}
  40.     terminationMessagePath: /dev/termination-log
  41.     terminationMessagePolicy: File
  42.     volumeMounts:
  43.     - mountPath: /var/lib/grafana/dashboards
  44.       name: sc-dashboard-volume
  45.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  46.       name: prometheus-operator-grafana-token-f5stm
  47.       readOnly: true
  48.   - env:
  49.     - name: GF_SECURITY_ADMIN_USER
  50.       valueFrom:
  51.         secretKeyRef:
  52.           key: admin-user
  53.           name: prometheus-operator-grafana
  54.     - name: GF_SECURITY_ADMIN_PASSWORD
  55.       valueFrom:
  56.         secretKeyRef:
  57.           key: admin-password
  58.           name: prometheus-operator-grafana
  59.     - name: GF_SERVER_ROOT_URL
  60.       value: /api/v1/namespaces/prometheus-monitoring/services/prometheus-operator-grafana:80/proxy
  61.     image: grafana/grafana:6.2.0
  62.     imagePullPolicy: IfNotPresent
  63.     livenessProbe:
  64.       failureThreshold: 10
  65.       httpGet:
  66.         path: /api/health
  67.         port: 3000
  68.         scheme: HTTP
  69.       initialDelaySeconds: 60
  70.       periodSeconds: 10
  71.       successThreshold: 1
  72.       timeoutSeconds: 30
  73.     name: grafana
  74.     ports:
  75.     - containerPort: 80
  76.       name: service
  77.       protocol: TCP
  78.     - containerPort: 3000
  79.       name: grafana
  80.       protocol: TCP
  81.     readinessProbe:
  82.       failureThreshold: 3
  83.       httpGet:
  84.         path: /api/health
  85.         port: 3000
  86.         scheme: HTTP
  87.       periodSeconds: 10
  88.       successThreshold: 1
  89.       timeoutSeconds: 1
  90.     resources: {}
  91.     terminationMessagePath: /dev/termination-log
  92.     terminationMessagePolicy: File
  93.     volumeMounts:
  94.     - mountPath: /etc/grafana/grafana.ini
  95.       name: config
  96.       subPath: grafana.ini
  97.     - mountPath: /etc/grafana/ldap.toml
  98.       name: ldap
  99.       subPath: ldap.toml
  100.     - mountPath: /var/lib/grafana
  101.       name: storage
  102.     - mountPath: /var/lib/grafana/dashboards
  103.       name: sc-dashboard-volume
  104.     - mountPath: /etc/grafana/provisioning/dashboards/sc-dashboardproviders.yaml
  105.       name: sc-dashboard-provider
  106.       subPath: provider.yaml
  107.     - mountPath: /etc/grafana/provisioning/datasources
  108.       name: sc-datasources-volume
  109.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  110.       name: prometheus-operator-grafana-token-f5stm
  111.       readOnly: true
  112.   dnsPolicy: ClusterFirst
  113.   enableServiceLinks: true
  114.   initContainers:
  115.   - command:
  116.     - chown
  117.     - -R
  118.     - 472:472
  119.     - /var/lib/grafana
  120.     image: busybox:1.30
  121.     imagePullPolicy: IfNotPresent
  122.     name: init-chown-data
  123.     resources: {}
  124.     securityContext:
  125.       runAsUser: 0
  126.     terminationMessagePath: /dev/termination-log
  127.     terminationMessagePolicy: File
  128.     volumeMounts:
  129.     - mountPath: /var/lib/grafana
  130.       name: storage
  131.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  132.       name: prometheus-operator-grafana-token-f5stm
  133.       readOnly: true
  134.   - env:
  135.     - name: METHOD
  136.       value: LIST
  137.     - name: LABEL
  138.       value: grafana_datasource
  139.     - name: FOLDER
  140.       value: /etc/grafana/provisioning/datasources
  141.     image: kiwigrid/k8s-sidecar:0.0.16
  142.     imagePullPolicy: IfNotPresent
  143.     name: grafana-sc-datasources
  144.     resources: {}
  145.     terminationMessagePath: /dev/termination-log
  146.     terminationMessagePolicy: File
  147.     volumeMounts:
  148.     - mountPath: /etc/grafana/provisioning/datasources
  149.       name: sc-datasources-volume
  150.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  151.       name: prometheus-operator-grafana-token-f5stm
  152.       readOnly: true
  153.   nodeName: kubernetes-cluster-6132-master-0
  154.   nodeSelector:
  155.     node-role.kubernetes.io/master: ""
  156.   restartPolicy: Always
  157.   schedulerName: default-scheduler
  158.   securityContext:
  159.     fsGroup: 472
  160.     runAsUser: 472
  161.   serviceAccount: prometheus-operator-grafana
  162.   serviceAccountName: prometheus-operator-grafana
  163.   terminationGracePeriodSeconds: 30
  164.   tolerations:
  165.   - key: dedicated
  166.     operator: Equal
  167.     value: master
  168.   - key: CriticalAddonsOnly
  169.     operator: Exists
  170.   volumes:
  171.   - configMap:
  172.       defaultMode: 420
  173.       name: prometheus-operator-grafana
  174.     name: config
  175.   - name: ldap
  176.     secret:
  177.       defaultMode: 420
  178.       items:
  179.       - key: ldap-toml
  180.         path: ldap.toml
  181.       secretName: prometheus-operator-grafana
  182.   - name: storage
  183.     persistentVolumeClaim:
  184.       claimName: prometheus-operator-grafana
  185.   - emptyDir: {}
  186.     name: sc-dashboard-volume
  187.   - configMap:
  188.       defaultMode: 420
  189.       name: prometheus-operator-grafana-config-dashboards
  190.     name: sc-dashboard-provider
  191.   - emptyDir: {}
  192.     name: sc-datasources-volume
  193.   - name: prometheus-operator-grafana-token-f5stm
  194.     secret:
  195.       defaultMode: 420
  196.       secretName: prometheus-operator-grafana-token-f5stm
  197. status:
  198.   conditions:
  199.   - lastProbeTime: null
  200.     lastTransitionTime: "2019-09-12T09:24:27Z"
  201.     status: "True"
  202.     type: Initialized
  203.   - lastProbeTime: null
  204.     lastTransitionTime: "2019-09-12T09:24:51Z"
  205.     status: "True"
  206.     type: Ready
  207.   - lastProbeTime: null
  208.     lastTransitionTime: "2019-09-12T09:24:51Z"
  209.     status: "True"
  210.     type: ContainersReady
  211.   - lastProbeTime: null
  212.     lastTransitionTime: "2019-09-12T09:23:53Z"
  213.     status: "True"
  214.     type: PodScheduled
  215.   containerStatuses:
  216.   - containerID: docker://6df80b29a7e902d65a77d0ed7df06d52808b53f66c0456a67f8d804e3677ee83
  217.     image: grafana/grafana:6.2.0
  218.     imageID: docker-pullable://grafana/grafana@sha256:9e7fe9c7903a77107b28f63842f1fd1f358668933c0c51c0220c9889f1a2d878
  219.     lastState: {}
  220.     name: grafana
  221.     ready: true
  222.     restartCount: 0
  223.     state:
  224.       running:
  225.         startedAt: "2019-09-12T09:24:41Z"
  226.   - containerID: docker://ac01f92b72200dcec64a68443bef6339de67869f34eca179cfa2816ebc41d104
  227.     image: kiwigrid/k8s-sidecar:0.0.16
  228.     imageID: docker-pullable://kiwigrid/k8s-sidecar@sha256:899ccd0b1f543217ca37ba8b0aae558dcf6feb5698db5a3b0f311e034049698f
  229.     lastState: {}
  230.     name: grafana-sc-dashboard
  231.     ready: true
  232.     restartCount: 0
  233.     state:
  234.       running:
  235.         startedAt: "2019-09-12T09:24:28Z"
  236.   hostIP: 10.0.0.12
  237.   initContainerStatuses:
  238.   - containerID: docker://51497b0d2687ddc6ba9a97cd4ed915526acf86dbd782d15aba9915f332a39dac
  239.     image: busybox:1.30
  240.     imageID: docker-pullable://busybox@sha256:4b6ad3a68d34da29bf7c8ccb5d355ba8b4babcad1f99798204e7abb43e54ee3d
  241.     lastState: {}
  242.     name: init-chown-data
  243.     ready: true
  244.     restartCount: 0
  245.     state:
  246.       terminated:
  247.         containerID: docker://51497b0d2687ddc6ba9a97cd4ed915526acf86dbd782d15aba9915f332a39dac
  248.         exitCode: 0
  249.         finishedAt: "2019-09-12T09:24:16Z"
  250.         reason: Completed
  251.         startedAt: "2019-09-12T09:24:16Z"
  252.   - containerID: docker://1bd85aa92163640debe02352b0f24d9ebfed67cc1bcd16b6c6899eb31196e227
  253.     image: kiwigrid/k8s-sidecar:0.0.16
  254.     imageID: docker-pullable://kiwigrid/k8s-sidecar@sha256:899ccd0b1f543217ca37ba8b0aae558dcf6feb5698db5a3b0f311e034049698f
  255.     lastState: {}
  256.     name: grafana-sc-datasources
  257.     ready: true
  258.     restartCount: 0
  259.     state:
  260.       terminated:
  261.         containerID: docker://1bd85aa92163640debe02352b0f24d9ebfed67cc1bcd16b6c6899eb31196e227
  262.         exitCode: 0
  263.         finishedAt: "2019-09-12T09:24:27Z"
  264.         reason: Completed
  265.         startedAt: "2019-09-12T09:24:26Z"
  266.   phase: Running
  267.   podIP: 10.100.185.75
  268.   qosClass: BestEffort
  269.   startTime: "2019-09-12T09:23:53Z"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top