Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "apiVersion": "v1",
- "kind": "Pod",
- "metadata": {
- "annotations": {
- "kubernetes.io/created-by": "{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"StatefulSet\",\"namespace\":\"prod\",\"name\":\"kafka\",\"uid\":\"0c0ccb88-9ee8-11e8-9257-001a4a160102\",\"apiVersion\":\"apps/v1beta1\",\"resourceVersion\":\"168225689\"}}\n",
- "openshift.io/scc": "anyuid"
- },
- "creationTimestamp": "2020-03-17T08:17:58Z",
- "generateName": "kafka-",
- "labels": {
- "app": "kafka",
- "controller-revision-hash": "kafka-1978119493"
- },
- "name": "kafka-0",
- "namespace": "prod",
- "ownerReferences": [
- {
- "apiVersion": "apps/v1beta1",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "StatefulSet",
- "name": "kafka",
- "uid": "0c0ccb88-9ee8-11e8-9257-001a4a160102"
- }
- ],
- "resourceVersion": "168230648",
- "selfLink": "/api/v1/namespaces/prod/pods/kafka-0",
- "uid": "cfd3dd64-6827-11ea-a447-001a4a160102"
- },
- "spec": {
- "containers": [
- {
- "command": [
- "/opt/kafka/start-kafka-from-ss.sh"
- ],
- "env": [
- {
- "name": "TZ",
- "valueFrom": {
- "configMapKeyRef": {
- "key": "container.timezone",
- "name": "paa"
- }
- }
- },
- {
- "name": "MEMORY_LIMIT",
- "valueFrom": {
- "resourceFieldRef": {
- "divisor": "0",
- "resource": "limits.memory"
- }
- }
- },
- {
- "name": "ZK_REPLICAS",
- "valueFrom": {
- "configMapKeyRef": {
- "key": "zk.replicas",
- "name": "zookeeper-cm"
- }
- }
- },
- {
- "name": "KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR",
- "value": "3"
- },
- {
- "name": "KAFKA_LOG_RETENTION_HOURS",
- "value": "168"
- },
- {
- "name": "KAFKA_ZOOKEEPER_CONNECTION_TIMEOUT_MS",
- "value": "36000"
- },
- {
- "name": "KAFKA_LOG_RETENTION_BYTES",
- "value": "-1"
- }
- ],
- "image": "128.30.7.72:5000/prod/paa-platform-bigdata-kafka:0.11.0.2",
- "imagePullPolicy": "Always",
- "name": "kafka",
- "ports": [
- {
- "containerPort": 9092,
- "protocol": "TCP"
- },
- {
- "containerPort": 5556,
- "protocol": "TCP"
- }
- ],
- "resources": {
- "limits": {
- "cpu": "16",
- "memory": "16Gi"
- },
- "requests": {
- "cpu": "8",
- "memory": "8Gi"
- }
- },
- "securityContext": {
- "capabilities": {
- "drop": [
- "MKNOD"
- ]
- },
- "privileged": false,
- "seLinuxOptions": {
- "level": "s0:c10,c5"
- }
- },
- "terminationMessagePath": "/dev/termination-log",
- "terminationMessagePolicy": "File",
- "volumeMounts": [
- {
- "mountPath": "/opt/kafka/logs",
- "name": "filebeatlogs"
- },
- {
- "mountPath": "/opt/mycomosi/data/kafka",
- "name": "data-node-volume"
- },
- {
- "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
- "name": "nonrootsa-token-9kzjk",
- "readOnly": true
- }
- ]
- },
- {
- "image": "128.30.7.72:5000/prod/paa-platform-filebeat:1.5-paa-12",
- "imagePullPolicy": "IfNotPresent",
- "name": "filebeat",
- "resources": {
- "limits": {
- "cpu": "2",
- "memory": "256Mi"
- },
- "requests": {
- "cpu": "100m",
- "memory": "16Mi"
- }
- },
- "securityContext": {
- "capabilities": {
- "drop": [
- "MKNOD"
- ]
- },
- "privileged": false,
- "seLinuxOptions": {
- "level": "s0:c10,c5"
- }
- },
- "terminationMessagePath": "/dev/termination-log",
- "terminationMessagePolicy": "File",
- "volumeMounts": [
- {
- "mountPath": "/filebeatroot",
- "name": "filebeatlogs"
- },
- {
- "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
- "name": "nonrootsa-token-9kzjk",
- "readOnly": true
- }
- ]
- }
- ],
- "dnsPolicy": "ClusterFirst",
- "hostname": "kafka-0",
- "imagePullSecrets": [
- {
- "name": "nonrootsa-dockercfg-plbqv"
- }
- ],
- "nodeName": "prod10.alpha.com.sa",
- "nodeSelector": {
- "node": "true"
- },
- "restartPolicy": "Always",
- "schedulerName": "default-scheduler",
- "securityContext": {
- "fsGroup": 1000,
- "seLinuxOptions": {
- "level": "s0:c10,c5"
- }
- },
- "serviceAccount": "nonrootsa",
- "serviceAccountName": "nonrootsa",
- "subdomain": "kafka",
- "terminationGracePeriodSeconds": 30,
- "volumes": [
- {
- "name": "data-node-volume",
- "persistentVolumeClaim": {
- "claimName": "data-node-volume-kafka-0"
- }
- },
- {
- "emptyDir": {},
- "name": "filebeatlogs"
- },
- {
- "name": "nonrootsa-token-9kzjk",
- "secret": {
- "defaultMode": 420,
- "secretName": "nonrootsa-token-9kzjk"
- }
- }
- ]
- },
- "status": {
- "conditions": [
- {
- "lastProbeTime": null,
- "lastTransitionTime": "2020-03-17T08:17:58Z",
- "status": "True",
- "type": "Initialized"
- },
- {
- "lastProbeTime": null,
- "lastTransitionTime": "2020-03-17T08:18:06Z",
- "status": "True",
- "type": "Ready"
- },
- {
- "lastProbeTime": null,
- "lastTransitionTime": "2020-03-17T08:17:58Z",
- "status": "True",
- "type": "PodScheduled"
- }
- ],
- "containerStatuses": [
- {
- "containerID": "docker://411c1701b7132c0bcb89abc162ea8f02f182ef9f06160f25e152c4c238fe7d4f",
- "image": "128.30.7.72:5000/prod/paa-platform-filebeat:1.5-eaa-12",
- "imageID": "docker-pullable://128.30.7.72:5000/prod/paa-platform-filebeat@sha256:9246d8abf65ec33d43388edac5b8fac51bc3a9c3b6926829f8267a0568e68af8",
- "lastState": {},
- "name": "filebeat",
- "ready": true,
- "restartCount": 0,
- "state": {
- "running": {
- "startedAt": "2020-03-17T08:18:06Z"
- }
- }
- },
- {
- "containerID": "docker://87d22f48d76fca4017b317326de3482c9b91324c527af341bfb31294281a287d",
- "image": "128.30.7.72:5000/prod/paa-platform-bigdata-kafka:0.11.0.2",
- "imageID": "docker-pullable://128.30.7.72:5000/prod/eaa-platform-bigdata-kafka@sha256:802b01fcc87b5289f9721c9d5733ec41422db7b1d0ed1c321ce37d8a65c3cf26",
- "lastState": {},
- "name": "kafka",
- "ready": true,
- "restartCount": 0,
- "state": {
- "running": {
- "startedAt": "2020-03-17T08:18:05Z"
- }
- }
- }
- ],
- "hostIP": "10.21.231.13",
- "phase": "Running",
- "podIP": "128.16.21.144",
- "qosClass": "Burstable",
- "startTime": "2020-03-17T08:17:58Z"
- }
- }
Add Comment
Please, Sign In to add comment