Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ kubectl get po quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-ttrhb -o yaml
- apiVersion: v1
- kind: Pod
- metadata:
- annotations:
- client.knative.dev/user-image: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp:latest
- k8s.v1.cni.cncf.io/networks: istio-cni
- k8s.v1.cni.cncf.io/networks-status: |-
- [{
- "name": "openshift-sdn",
- "interface": "eth0",
- "ips": [
- "10.254.3.93"
- ],
- "default": true,
- "dns": {}
- },{
- "name": "istio-cni",
- "dns": {}
- }]
- openshift.io/scc: restricted
- sidecar.istio.io/inject: "true"
- sidecar.istio.io/status: '{"version":"1482941f6bcd31c05ffef23cc131fe8686c0f23452a318bdd16c547d8993ea19","annotations":{"k8s.v1.cni.cncf.io/networks":"istio-cni"},"initContainers":null,"containers":["istio-proxy"],"volumes":["istio-envoy","istio-certs"],"imagePullSecrets":null}'
- traffic.sidecar.istio.io/includeOutboundIPRanges: 172.30.0.0/16
- creationTimestamp: "2019-09-17T11:46:14Z"
- generateName: quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-
- labels:
- app: quarkhttp-serverless-kbldv-1
- pod-template-hash: 64b798c8cd
- serving.knative.dev/configuration: quarkhttp-serverless
- serving.knative.dev/configurationGeneration: "1"
- serving.knative.dev/revision: quarkhttp-serverless-kbldv-1
- serving.knative.dev/revisionUID: 0f8cc56f-d8f6-11e9-8a32-525400485095
- serving.knative.dev/service: quarkhttp-serverless
- name: quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-ttrhb
- namespace: quarkhttp
- ownerReferences:
- - apiVersion: apps/v1
- blockOwnerDeletion: true
- controller: true
- kind: ReplicaSet
- name: quarkhttp-serverless-kbldv-1-deployment-64b798c8cd
- uid: 0fa66a10-d8f6-11e9-8a32-525400485095
- resourceVersion: "51185644"
- selfLink: /api/v1/namespaces/quarkhttp/pods/quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-ttrhb
- uid: c0e3b649-d940-11e9-8a32-525400485095
- spec:
- containers:
- - env:
- - name: PORT
- value: "8080"
- - name: K_REVISION
- value: quarkhttp-serverless-kbldv-1
- - name: K_CONFIGURATION
- value: quarkhttp-serverless
- - name: K_SERVICE
- value: quarkhttp-serverless
- image: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp@sha256:c2fc3ad8c75e1776c09a78f50a1603cbd920eb7d0a85c69918adc68780712d89
- imagePullPolicy: IfNotPresent
- lifecycle:
- preStop:
- httpGet:
- path: /wait-for-drain
- port: 8022
- scheme: HTTP
- name: user-container
- ports:
- - containerPort: 8080
- name: user-port
- protocol: TCP
- resources:
- limits:
- cpu: "1"
- memory: 200M
- requests:
- cpu: 400m
- memory: 100M
- securityContext:
- capabilities:
- drop:
- - KILL
- - MKNOD
- - SETGID
- - SETUID
- runAsUser: 1000720000
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: FallbackToLogsOnError
- volumeMounts:
- - mountPath: /var/log
- name: knative-var-log
- - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- name: default-token-pmnp5
- readOnly: true
- - env:
- - name: SERVING_NAMESPACE
- value: quarkhttp
- - name: SERVING_SERVICE
- value: quarkhttp-serverless
- - name: SERVING_CONFIGURATION
- value: quarkhttp-serverless
- - name: SERVING_REVISION
- value: quarkhttp-serverless-kbldv-1
- - name: QUEUE_SERVING_PORT
- value: "8012"
- - name: CONTAINER_CONCURRENCY
- value: "0"
- - name: REVISION_TIMEOUT_SECONDS
- value: "300"
- - name: SERVING_POD
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.name
- - name: SERVING_POD_IP
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: status.podIP
- - name: SERVING_LOGGING_CONFIG
- value: |-
- {
- "level": "info",
- "development": false,
- "outputPaths": ["stdout"],
- "errorOutputPaths": ["stderr"],
- "encoding": "json",
- "encoderConfig": {
- "timeKey": "ts",
- "levelKey": "level",
- "nameKey": "logger",
- "callerKey": "caller",
- "messageKey": "msg",
- "stacktraceKey": "stacktrace",
- "lineEnding": "",
- "levelEncoder": "",
- "timeEncoder": "iso8601",
- "durationEncoder": "",
- "callerEncoder": ""
- }
- }
- - name: SERVING_LOGGING_LEVEL
- value: info
- - name: SERVING_REQUEST_LOG_TEMPLATE
- - name: SERVING_REQUEST_METRICS_BACKEND
- - name: USER_PORT
- value: "8080"
- - name: SYSTEM_NAMESPACE
- value: knative-serving
- - name: METRICS_DOMAIN
- value: knative.dev/serving
- - name: USER_CONTAINER_NAME
- value: user-container
- - name: ENABLE_VAR_LOG_COLLECTION
- value: "false"
- - name: VAR_LOG_VOLUME_NAME
- value: knative-var-log
- - name: INTERNAL_VOLUME_PATH
- value: /var/knative-internal
- image: registry.redhat.io/openshift-serverless-1-tech-preview/serving-queue-rhel8:0.7.1-5
- imagePullPolicy: IfNotPresent
- name: queue-proxy
- ports:
- - containerPort: 8022
- name: queueadm-port
- protocol: TCP
- - containerPort: 9090
- name: queue-metrics
- protocol: TCP
- - containerPort: 9091
- name: user-metrics
- protocol: TCP
- - containerPort: 8012
- name: queue-port
- protocol: TCP
- readinessProbe:
- failureThreshold: 3
- httpGet:
- path: /health
- port: 8022
- scheme: HTTP
- periodSeconds: 1
- successThreshold: 1
- timeoutSeconds: 10
- resources:
- requests:
- cpu: 25m
- securityContext:
- allowPrivilegeEscalation: false
- capabilities:
- drop:
- - KILL
- - MKNOD
- - SETGID
- - SETUID
- runAsUser: 1000720000
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- name: default-token-pmnp5
- readOnly: true
- - args:
- - proxy
- - sidecar
- - --domain
- - $(POD_NAMESPACE).svc.cluster.local
- - --configPath
- - /etc/istio/proxy
- - --binaryPath
- - /usr/local/bin/envoy
- - --serviceCluster
- - quarkhttp-serverless-kbldv-1.$(POD_NAMESPACE)
- - --drainDuration
- - 45s
- - --parentShutdownDuration
- - 1m0s
- - --discoveryAddress
- - istio-pilot.istio-system:15010
- - --zipkinAddress
- - zipkin.istio-system:9411
- - --connectTimeout
- - 10s
- - --proxyAdminPort
- - "15000"
- - --concurrency
- - "2"
- - --controlPlaneAuthPolicy
- - NONE
- - --statusPort
- - "15020"
- - --applicationPorts
- - 8080,8022,9090,9091,8012
- env:
- - name: POD_NAME
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.name
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- - name: INSTANCE_IP
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: status.podIP
- - name: ISTIO_META_POD_NAME
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.name
- - name: ISTIO_META_CONFIG_NAMESPACE
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- - name: ISTIO_META_INTERCEPTION_MODE
- value: REDIRECT
- - name: ISTIO_METAJSON_ANNOTATIONS
- value: |
- {"client.knative.dev/user-image":"image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp:latest","openshift.io/scc":"restricted","sidecar.istio.io/inject":"true","traffic.sidecar.istio.io/includeOutboundIPRanges":"172.30.0.0/16"}
- - name: ISTIO_METAJSON_LABELS
- value: |
- {"app":"quarkhttp-serverless-kbldv-1","pod-template-hash":"64b798c8cd","serving.knative.dev/configuration":"quarkhttp-serverless","serving.knative.dev/configurationGeneration":"1","serving.knative.dev/revision":"quarkhttp-serverless-kbldv-1","serving.knative.dev/revisionUID":"0f8cc56f-d8f6-11e9-8a32-525400485095","serving.knative.dev/service":"quarkhttp-serverless"}
- image: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:1.0.0
- imagePullPolicy: IfNotPresent
- name: istio-proxy
- ports:
- - containerPort: 15090
- name: http-envoy-prom
- protocol: TCP
- readinessProbe:
- failureThreshold: 30
- httpGet:
- path: /healthz/ready
- port: 15020
- scheme: HTTP
- initialDelaySeconds: 1
- periodSeconds: 2
- successThreshold: 1
- timeoutSeconds: 1
- resources:
- limits:
- cpu: 500m
- memory: 128Mi
- requests:
- cpu: 100m
- memory: 128Mi
- securityContext:
- capabilities:
- drop:
- - KILL
- - SETUID
- - SETGID
- - MKNOD
- readOnlyRootFilesystem: true
- runAsUser: 1000720001
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /etc/istio/proxy
- name: istio-envoy
- - mountPath: /etc/certs/
- name: istio-certs
- readOnly: true
- - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
- name: default-token-pmnp5
- readOnly: true
- dnsPolicy: ClusterFirst
- enableServiceLinks: true
- imagePullSecrets:
- - name: default-dockercfg-rdtnw
- nodeName: worker0.ocp4.home.ocpcloud.com
- priority: 0
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext:
- fsGroup: 1000720000
- seLinuxOptions:
- level: s0:c27,c9
- serviceAccount: default
- serviceAccountName: default
- terminationGracePeriodSeconds: 300
- tolerations:
- - effect: NoSchedule
- key: node.kubernetes.io/memory-pressure
- operator: Exists
- - effect: NoExecute
- key: node.kubernetes.io/not-ready
- operator: Exists
- tolerationSeconds: 300
- - effect: NoExecute
- key: node.kubernetes.io/unreachable
- operator: Exists
- tolerationSeconds: 300
- volumes:
- - emptyDir: {}
- name: knative-var-log
- - name: default-token-pmnp5
- secret:
- defaultMode: 420
- secretName: default-token-pmnp5
- - emptyDir:
- medium: Memory
- name: istio-envoy
- - name: istio-certs
- secret:
- defaultMode: 420
- optional: true
- secretName: istio.default
- status:
- conditions:
- - lastProbeTime: null
- lastTransitionTime: "2019-09-17T11:46:15Z"
- status: "True"
- type: Initialized
- - lastProbeTime: null
- lastTransitionTime: "2019-09-17T11:46:25Z"
- status: "True"
- type: Ready
- - lastProbeTime: null
- lastTransitionTime: "2019-09-17T11:46:25Z"
- status: "True"
- type: ContainersReady
- - lastProbeTime: null
- lastTransitionTime: "2019-09-17T11:46:14Z"
- status: "True"
- type: PodScheduled
- containerStatuses:
- - containerID: cri-o://a72f84dde61d7dffee5f1466f81c6d1677ca47c359b5398638a09aa09e7bff49
- image: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:1.0.0
- imageID: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8@sha256:dedb6fbb5f8cfc64dc7de1ce02782b962b7d7208eb900eb1099fd09b0f5e2ca8
- lastState: {}
- name: istio-proxy
- ready: true
- restartCount: 0
- state:
- running:
- startedAt: "2019-09-17T11:46:23Z"
- - containerID: cri-o://beeff6a6f0d5b553355c9b3cf5e58101f79712a4f8a6d857da34844241e02c6d
- image: registry.redhat.io/openshift-serverless-1-tech-preview/serving-queue-rhel8:0.7.1-5
- imageID: registry.redhat.io/openshift-serverless-1-tech-preview/serving-queue-rhel8@sha256:e57a0ba38231df0334f8bc5eec99d3eff2495c0d3f6333d81ab52a0e5158c2ab
- lastState: {}
- name: queue-proxy
- ready: true
- restartCount: 0
- state:
- running:
- startedAt: "2019-09-17T11:46:23Z"
- - containerID: cri-o://6292d3f7c4071c4c41241961ef48ae9e27b6ebb7f57694aeec7829bd5c594cb0
- image: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp@sha256:c2fc3ad8c75e1776c09a78f50a1603cbd920eb7d0a85c69918adc68780712d89
- imageID: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp@sha256:c2fc3ad8c75e1776c09a78f50a1603cbd920eb7d0a85c69918adc68780712d89
- lastState: {}
- name: user-container
- ready: true
- restartCount: 0
- state:
- running:
- startedAt: "2019-09-17T11:46:23Z"
- hostIP: 192.168.1.44
- phase: Running
- podIP: 10.254.3.93
- qosClass: Burstable
- startTime: "2019-09-17T11:46:15Z"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement