SHARE
TWEET

Untitled

a guest Sep 17th, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ kubectl get po quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-ttrhb -o yaml
  2. apiVersion: v1
  3. kind: Pod
  4. metadata:
  5.   annotations:
  6.     client.knative.dev/user-image: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp:latest
  7.     k8s.v1.cni.cncf.io/networks: istio-cni
  8.     k8s.v1.cni.cncf.io/networks-status: |-
  9.       [{
  10.           "name": "openshift-sdn",
  11.           "interface": "eth0",
  12.           "ips": [
  13.               "10.254.3.93"
  14.           ],
  15.           "default": true,
  16.           "dns": {}
  17.       },{
  18.           "name": "istio-cni",
  19.           "dns": {}
  20.       }]
  21.     openshift.io/scc: restricted
  22.     sidecar.istio.io/inject: "true"
  23.     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}'
  24.     traffic.sidecar.istio.io/includeOutboundIPRanges: 172.30.0.0/16
  25.   creationTimestamp: "2019-09-17T11:46:14Z"
  26.   generateName: quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-
  27.   labels:
  28.     app: quarkhttp-serverless-kbldv-1
  29.     pod-template-hash: 64b798c8cd
  30.     serving.knative.dev/configuration: quarkhttp-serverless
  31.     serving.knative.dev/configurationGeneration: "1"
  32.     serving.knative.dev/revision: quarkhttp-serverless-kbldv-1
  33.     serving.knative.dev/revisionUID: 0f8cc56f-d8f6-11e9-8a32-525400485095
  34.     serving.knative.dev/service: quarkhttp-serverless
  35.   name: quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-ttrhb
  36.   namespace: quarkhttp
  37.   ownerReferences:
  38.   - apiVersion: apps/v1
  39.     blockOwnerDeletion: true
  40.     controller: true
  41.     kind: ReplicaSet
  42.     name: quarkhttp-serverless-kbldv-1-deployment-64b798c8cd
  43.     uid: 0fa66a10-d8f6-11e9-8a32-525400485095
  44.   resourceVersion: "51185644"
  45.   selfLink: /api/v1/namespaces/quarkhttp/pods/quarkhttp-serverless-kbldv-1-deployment-64b798c8cd-ttrhb
  46.   uid: c0e3b649-d940-11e9-8a32-525400485095
  47. spec:
  48.   containers:
  49.   - env:
  50.     - name: PORT
  51.       value: "8080"
  52.     - name: K_REVISION
  53.       value: quarkhttp-serverless-kbldv-1
  54.     - name: K_CONFIGURATION
  55.       value: quarkhttp-serverless
  56.     - name: K_SERVICE
  57.       value: quarkhttp-serverless
  58.     image: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp@sha256:c2fc3ad8c75e1776c09a78f50a1603cbd920eb7d0a85c69918adc68780712d89
  59.     imagePullPolicy: IfNotPresent
  60.     lifecycle:
  61.       preStop:
  62.         httpGet:
  63.           path: /wait-for-drain
  64.           port: 8022
  65.           scheme: HTTP
  66.     name: user-container
  67.     ports:
  68.     - containerPort: 8080
  69.       name: user-port
  70.       protocol: TCP
  71.     resources:
  72.       limits:
  73.         cpu: "1"
  74.         memory: 200M
  75.       requests:
  76.         cpu: 400m
  77.         memory: 100M
  78.     securityContext:
  79.       capabilities:
  80.         drop:
  81.         - KILL
  82.         - MKNOD
  83.         - SETGID
  84.         - SETUID
  85.       runAsUser: 1000720000
  86.     terminationMessagePath: /dev/termination-log
  87.     terminationMessagePolicy: FallbackToLogsOnError
  88.     volumeMounts:
  89.     - mountPath: /var/log
  90.       name: knative-var-log
  91.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  92.       name: default-token-pmnp5
  93.       readOnly: true
  94.   - env:
  95.     - name: SERVING_NAMESPACE
  96.       value: quarkhttp
  97.     - name: SERVING_SERVICE
  98.       value: quarkhttp-serverless
  99.     - name: SERVING_CONFIGURATION
  100.       value: quarkhttp-serverless
  101.     - name: SERVING_REVISION
  102.       value: quarkhttp-serverless-kbldv-1
  103.     - name: QUEUE_SERVING_PORT
  104.       value: "8012"
  105.     - name: CONTAINER_CONCURRENCY
  106.       value: "0"
  107.     - name: REVISION_TIMEOUT_SECONDS
  108.       value: "300"
  109.     - name: SERVING_POD
  110.       valueFrom:
  111.         fieldRef:
  112.           apiVersion: v1
  113.           fieldPath: metadata.name
  114.     - name: SERVING_POD_IP
  115.       valueFrom:
  116.         fieldRef:
  117.           apiVersion: v1
  118.           fieldPath: status.podIP
  119.     - name: SERVING_LOGGING_CONFIG
  120.       value: |-
  121.         {
  122.           "level": "info",
  123.           "development": false,
  124.           "outputPaths": ["stdout"],
  125.           "errorOutputPaths": ["stderr"],
  126.           "encoding": "json",
  127.           "encoderConfig": {
  128.             "timeKey": "ts",
  129.             "levelKey": "level",
  130.             "nameKey": "logger",
  131.             "callerKey": "caller",
  132.             "messageKey": "msg",
  133.             "stacktraceKey": "stacktrace",
  134.             "lineEnding": "",
  135.             "levelEncoder": "",
  136.             "timeEncoder": "iso8601",
  137.             "durationEncoder": "",
  138.             "callerEncoder": ""
  139.           }
  140.         }
  141.     - name: SERVING_LOGGING_LEVEL
  142.       value: info
  143.     - name: SERVING_REQUEST_LOG_TEMPLATE
  144.     - name: SERVING_REQUEST_METRICS_BACKEND
  145.     - name: USER_PORT
  146.       value: "8080"
  147.     - name: SYSTEM_NAMESPACE
  148.       value: knative-serving
  149.     - name: METRICS_DOMAIN
  150.       value: knative.dev/serving
  151.     - name: USER_CONTAINER_NAME
  152.       value: user-container
  153.     - name: ENABLE_VAR_LOG_COLLECTION
  154.       value: "false"
  155.     - name: VAR_LOG_VOLUME_NAME
  156.       value: knative-var-log
  157.     - name: INTERNAL_VOLUME_PATH
  158.       value: /var/knative-internal
  159.     image: registry.redhat.io/openshift-serverless-1-tech-preview/serving-queue-rhel8:0.7.1-5
  160.     imagePullPolicy: IfNotPresent
  161.     name: queue-proxy
  162.     ports:
  163.     - containerPort: 8022
  164.       name: queueadm-port
  165.       protocol: TCP
  166.     - containerPort: 9090
  167.       name: queue-metrics
  168.       protocol: TCP
  169.     - containerPort: 9091
  170.       name: user-metrics
  171.       protocol: TCP
  172.     - containerPort: 8012
  173.       name: queue-port
  174.       protocol: TCP
  175.     readinessProbe:
  176.       failureThreshold: 3
  177.       httpGet:
  178.         path: /health
  179.         port: 8022
  180.         scheme: HTTP
  181.       periodSeconds: 1
  182.       successThreshold: 1
  183.       timeoutSeconds: 10
  184.     resources:
  185.       requests:
  186.         cpu: 25m
  187.     securityContext:
  188.       allowPrivilegeEscalation: false
  189.       capabilities:
  190.         drop:
  191.         - KILL
  192.         - MKNOD
  193.         - SETGID
  194.         - SETUID
  195.       runAsUser: 1000720000
  196.     terminationMessagePath: /dev/termination-log
  197.     terminationMessagePolicy: File
  198.     volumeMounts:
  199.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  200.       name: default-token-pmnp5
  201.       readOnly: true
  202.   - args:
  203.     - proxy
  204.     - sidecar
  205.     - --domain
  206.     - $(POD_NAMESPACE).svc.cluster.local
  207.     - --configPath
  208.     - /etc/istio/proxy
  209.     - --binaryPath
  210.     - /usr/local/bin/envoy
  211.     - --serviceCluster
  212.     - quarkhttp-serverless-kbldv-1.$(POD_NAMESPACE)
  213.     - --drainDuration
  214.     - 45s
  215.     - --parentShutdownDuration
  216.     - 1m0s
  217.     - --discoveryAddress
  218.     - istio-pilot.istio-system:15010
  219.     - --zipkinAddress
  220.     - zipkin.istio-system:9411
  221.     - --connectTimeout
  222.     - 10s
  223.     - --proxyAdminPort
  224.     - "15000"
  225.     - --concurrency
  226.     - "2"
  227.     - --controlPlaneAuthPolicy
  228.     - NONE
  229.     - --statusPort
  230.     - "15020"
  231.     - --applicationPorts
  232.     - 8080,8022,9090,9091,8012
  233.     env:
  234.     - name: POD_NAME
  235.       valueFrom:
  236.         fieldRef:
  237.           apiVersion: v1
  238.           fieldPath: metadata.name
  239.     - name: POD_NAMESPACE
  240.       valueFrom:
  241.         fieldRef:
  242.           apiVersion: v1
  243.           fieldPath: metadata.namespace
  244.     - name: INSTANCE_IP
  245.       valueFrom:
  246.         fieldRef:
  247.           apiVersion: v1
  248.           fieldPath: status.podIP
  249.     - name: ISTIO_META_POD_NAME
  250.       valueFrom:
  251.         fieldRef:
  252.           apiVersion: v1
  253.           fieldPath: metadata.name
  254.     - name: ISTIO_META_CONFIG_NAMESPACE
  255.       valueFrom:
  256.         fieldRef:
  257.           apiVersion: v1
  258.           fieldPath: metadata.namespace
  259.     - name: ISTIO_META_INTERCEPTION_MODE
  260.       value: REDIRECT
  261.     - name: ISTIO_METAJSON_ANNOTATIONS
  262.       value: |
  263.         {"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"}
  264.     - name: ISTIO_METAJSON_LABELS
  265.       value: |
  266.         {"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"}
  267.     image: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:1.0.0
  268.     imagePullPolicy: IfNotPresent
  269.     name: istio-proxy
  270.     ports:
  271.     - containerPort: 15090
  272.       name: http-envoy-prom
  273.       protocol: TCP
  274.     readinessProbe:
  275.       failureThreshold: 30
  276.       httpGet:
  277.         path: /healthz/ready
  278.         port: 15020
  279.         scheme: HTTP
  280.       initialDelaySeconds: 1
  281.       periodSeconds: 2
  282.       successThreshold: 1
  283.       timeoutSeconds: 1
  284.     resources:
  285.       limits:
  286.         cpu: 500m
  287.         memory: 128Mi
  288.       requests:
  289.         cpu: 100m
  290.         memory: 128Mi
  291.     securityContext:
  292.       capabilities:
  293.         drop:
  294.         - KILL
  295.         - SETUID
  296.         - SETGID
  297.         - MKNOD
  298.       readOnlyRootFilesystem: true
  299.       runAsUser: 1000720001
  300.     terminationMessagePath: /dev/termination-log
  301.     terminationMessagePolicy: File
  302.     volumeMounts:
  303.     - mountPath: /etc/istio/proxy
  304.       name: istio-envoy
  305.     - mountPath: /etc/certs/
  306.       name: istio-certs
  307.       readOnly: true
  308.     - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
  309.       name: default-token-pmnp5
  310.       readOnly: true
  311.   dnsPolicy: ClusterFirst
  312.   enableServiceLinks: true
  313.   imagePullSecrets:
  314.   - name: default-dockercfg-rdtnw
  315.   nodeName: worker0.ocp4.home.ocpcloud.com
  316.   priority: 0
  317.   restartPolicy: Always
  318.   schedulerName: default-scheduler
  319.   securityContext:
  320.     fsGroup: 1000720000
  321.     seLinuxOptions:
  322.       level: s0:c27,c9
  323.   serviceAccount: default
  324.   serviceAccountName: default
  325.   terminationGracePeriodSeconds: 300
  326.   tolerations:
  327.   - effect: NoSchedule
  328.     key: node.kubernetes.io/memory-pressure
  329.     operator: Exists
  330.   - effect: NoExecute
  331.     key: node.kubernetes.io/not-ready
  332.     operator: Exists
  333.     tolerationSeconds: 300
  334.   - effect: NoExecute
  335.     key: node.kubernetes.io/unreachable
  336.     operator: Exists
  337.     tolerationSeconds: 300
  338.   volumes:
  339.   - emptyDir: {}
  340.     name: knative-var-log
  341.   - name: default-token-pmnp5
  342.     secret:
  343.       defaultMode: 420
  344.       secretName: default-token-pmnp5
  345.   - emptyDir:
  346.       medium: Memory
  347.     name: istio-envoy
  348.   - name: istio-certs
  349.     secret:
  350.       defaultMode: 420
  351.       optional: true
  352.       secretName: istio.default
  353. status:
  354.   conditions:
  355.   - lastProbeTime: null
  356.     lastTransitionTime: "2019-09-17T11:46:15Z"
  357.     status: "True"
  358.     type: Initialized
  359.   - lastProbeTime: null
  360.     lastTransitionTime: "2019-09-17T11:46:25Z"
  361.     status: "True"
  362.     type: Ready
  363.   - lastProbeTime: null
  364.     lastTransitionTime: "2019-09-17T11:46:25Z"
  365.     status: "True"
  366.     type: ContainersReady
  367.   - lastProbeTime: null
  368.     lastTransitionTime: "2019-09-17T11:46:14Z"
  369.     status: "True"
  370.     type: PodScheduled
  371.   containerStatuses:
  372.   - containerID: cri-o://a72f84dde61d7dffee5f1466f81c6d1677ca47c359b5398638a09aa09e7bff49
  373.     image: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:1.0.0
  374.     imageID: registry.redhat.io/openshift-service-mesh/proxyv2-rhel8@sha256:dedb6fbb5f8cfc64dc7de1ce02782b962b7d7208eb900eb1099fd09b0f5e2ca8
  375.     lastState: {}
  376.     name: istio-proxy
  377.     ready: true
  378.     restartCount: 0
  379.     state:
  380.       running:
  381.         startedAt: "2019-09-17T11:46:23Z"
  382.   - containerID: cri-o://beeff6a6f0d5b553355c9b3cf5e58101f79712a4f8a6d857da34844241e02c6d
  383.     image: registry.redhat.io/openshift-serverless-1-tech-preview/serving-queue-rhel8:0.7.1-5
  384.     imageID: registry.redhat.io/openshift-serverless-1-tech-preview/serving-queue-rhel8@sha256:e57a0ba38231df0334f8bc5eec99d3eff2495c0d3f6333d81ab52a0e5158c2ab
  385.     lastState: {}
  386.     name: queue-proxy
  387.     ready: true
  388.     restartCount: 0
  389.     state:
  390.       running:
  391.         startedAt: "2019-09-17T11:46:23Z"
  392.   - containerID: cri-o://6292d3f7c4071c4c41241961ef48ae9e27b6ebb7f57694aeec7829bd5c594cb0
  393.     image: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp@sha256:c2fc3ad8c75e1776c09a78f50a1603cbd920eb7d0a85c69918adc68780712d89
  394.     imageID: image-registry.openshift-image-registry.svc:5000/quarkhttp/quarkhttp@sha256:c2fc3ad8c75e1776c09a78f50a1603cbd920eb7d0a85c69918adc68780712d89
  395.     lastState: {}
  396.     name: user-container
  397.     ready: true
  398.     restartCount: 0
  399.     state:
  400.       running:
  401.         startedAt: "2019-09-17T11:46:23Z"
  402.   hostIP: 192.168.1.44
  403.   phase: Running
  404.   podIP: 10.254.3.93
  405.   qosClass: Burstable
  406.   startTime: "2019-09-17T11:46:15Z"
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