kameshsampath commented on issue #1206: Knative services are slow to become 
ready
URL: https://github.com/apache/camel-k/issues/1206#issuecomment-574760828
 
 
   This is another service that just created which is  waiting for revision to 
be come ready 
   
   ```yaml
   # Please edit the object below. Lines beginning with a '#' will be ignored,
   # and an empty file will abort the edit. If an error occurs while saving 
this file will be
   # reopened with the relevant failures.
   #
   apiVersion: serving.knative.dev/v1
   kind: Service
   metadata:
     annotations:
       serving.knative.dev/creator: 
system:serviceaccount:chapter-7:camel-k-operator
       serving.knative.dev/lastModifier: 
system:serviceaccount:chapter-7:camel-k-operator
     creationTimestamp: "2020-01-15T17:06:18Z"
     generation: 1
     labels:
       camel.apache.org/generation: "1"
       camel.apache.org/integration: fruits-producer
     name: fruits-producer
     namespace: chapter-7
     ownerReferences:
     - apiVersion: camel.apache.org/v1
       blockOwnerDeletion: true
       controller: true
       kind: Integration
       name: fruits-producer
       uid: 64c2aa1d-37b7-11ea-88ab-08002762facf
     resourceVersion: "44500"
     selfLink: 
/apis/serving.knative.dev/v1/namespaces/chapter-7/services/fruits-producer
     uid: 58b90755-37b9-11ea-88ab-08002762facf
   spec:
     template:
       metadata:
         annotations:
           alpha.image.policy.openshift.io/resolve-names: '*'
         creationTimestamp: null
         labels:
           camel.apache.org/generation: "1"
           camel.apache.org/integration: fruits-producer
       spec:
         containerConcurrency: 0
         containers:
         - env:
           - name: CAMEL_K_DIGEST
             value: vjMN8Zj3sW6W0fGvp-EEIaPP220wEGxA4theJo0CjDZQ
           - name: CAMEL_K_ROUTES
             value: 
file:/etc/camel/sources/i-source-000/fruits-producer.yaml?language=yaml
           - name: CAMEL_K_CONF
             value: /etc/camel/conf/application.properties
           - name: CAMEL_K_CONF_D
             value: /etc/camel/conf.d
           - name: CAMEL_KNATIVE_CONFIGURATION
             value: 
'{"services":[{"type":"endpoint","name":"fruits-producer","host":"0.0.0.0","port":8080,"metadata":{"camel.endpoint.kind":"source","knative.apiVersion":"serving.knative.dev/v1","knative.kind":"Service","service.path":"/"}}]}'
           - name: CAMEL_K_VERSION
             value: 1.0.0-RC1
           - name: CAMEL_K_RUNTIME_VERSION
             value: 1.0.9
           - name: CAMEL_VERSION
             value: 3.0.0
           - name: NAMESPACE
             value: chapter-7
           - name: JAVA_MAIN_CLASS
             value: org.apache.camel.k.main.Application
           - name: AB_JOLOKIA_OFF
             value: "true"
           - name: AB_PROMETHEUS_OFF
             value: "true"
           - name: JAVA_CLASSPATH
             value: 
./resources:/etc/camel/conf:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/com.fasterxml.jackson.core.jackson-annotations-2.10.1.jar:dependencies/com.fasterxml.jackson.core.jackson-core-2.10.1.jar:dependencies/com.fasterxml.jackson.core.jackson-databind-2.10.1.jar:dependencies/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml-2.10.1.jar:dependencies/com.fasterxml.jackson.datatype.jackson-datatype-jdk8-2.10.1.jar:dependencies/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.10.1.jar:dependencies/com.github.ben-manes.caffeine.caffeine-2.8.0.jar:dependencies/com.github.luben.zstd-jni-1.4.0-1.jar:dependencies/com.jayway.jsonpath.json-path-2.4.0.jar:dependencies/com.sun.activation.javax.activation-1.2.0.jar:dependencies/com.sun.xml.bind.jaxb-core-2.3.0.1.jar:dependencies/com.sun.xml.bind.jaxb-impl-2.3.0.jar:dependencies/commons-codec.commons-codec-1.11.jar:dependencies/commons-io.commons-io-2.6.jar:dependencies/commons-logging.commons-logging-1.2.jar:dependencies/io.netty.netty-buffer-4.1.42.Final.jar:dependencies/io.netty.netty-codec-4.1.42.Final.jar:dependencies/io.netty.netty-codec-dns-4.1.42.Final.jar:dependencies/io.netty.netty-codec-http-4.1.42.Final.jar:dependencies/io.netty.netty-codec-http2-4.1.42.Final.jar:dependencies/io.netty.netty-codec-socks-4.1.42.Final.jar:dependencies/io.netty.netty-common-4.1.42.Final.jar:dependencies/io.netty.netty-handler-4.1.42.Final.jar:dependencies/io.netty.netty-handler-proxy-4.1.42.Final.jar:dependencies/io.netty.netty-resolver-4.1.42.Final.jar:dependencies/io.netty.netty-resolver-dns-4.1.42.Final.jar:dependencies/io.netty.netty-transport-4.1.42.Final.jar:dependencies/io.vertx.vertx-auth-common-3.8.3.jar:dependencies/io.vertx.vertx-bridge-common-3.8.3.jar:dependencies/io.vertx.vertx-core-3.8.3.jar:dependencies/io.vertx.vertx-web-3.8.3.jar:dependencies/io.vertx.vertx-web-client-3.8.3.jar:dependencies/io.vertx.vertx-web-common-3.8.3.jar:dependencies/jakarta.activation.jakarta.activation-api-1.2.1.jar:dependencies/jakarta.xml.bind.jakarta.xml.bind-api-2.3.2.jar:dependencies/javax.servlet.javax.servlet-api-3.1.0.jar:dependencies/javax.xml.bind.jaxb-api-2.3.0.jar:dependencies/net.minidev.accessors-smart-1.2.jar:dependencies/net.minidev.json-smart-2.3.jar:dependencies/net.minidev.json-smart-action-2.3.jar:dependencies/org.apache.camel.camel-api-3.0.0.jar:dependencies/org.apache.camel.camel-attachments-3.0.0.jar:dependencies/org.apache.camel.camel-base-3.0.0.jar:dependencies/org.apache.camel.camel-caffeine-lrucache-3.0.0.jar:dependencies/org.apache.camel.camel-cloud-3.0.0.jar:dependencies/org.apache.camel.camel-core-engine-3.0.0.jar:dependencies/org.apache.camel.camel-file-3.0.0.jar:dependencies/org.apache.camel.camel-http-3.0.0.jar:dependencies/org.apache.camel.camel-http-common-3.0.0.jar:dependencies/org.apache.camel.camel-jackson-3.0.0.jar:dependencies/org.apache.camel.camel-jaxp-3.0.0.jar:dependencies/org.apache.camel.camel-jsonpath-3.0.0.jar:dependencies/org.apache.camel.camel-kafka-3.0.0.jar:dependencies/org.apache.camel.camel-log-3.0.0.jar:dependencies/org.apache.camel.camel-main-3.0.0.jar:dependencies/org.apache.camel.camel-management-api-3.0.0.jar:dependencies/org.apache.camel.camel-support-3.0.0.jar:dependencies/org.apache.camel.camel-util-3.0.0.jar:dependencies/org.apache.camel.camel-util-json-3.0.0.jar:dependencies/org.apache.camel.k.camel-k-loader-yaml-1.0.9.jar:dependencies/org.apache.camel.k.camel-k-loader-yaml-common-1.0.9.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.0.9.jar:dependencies/org.apache.camel.k.camel-k-runtime-main-1.0.9.jar:dependencies/org.apache.camel.k.camel-knative-1.0.9.jar:dependencies/org.apache.camel.k.camel-knative-api-1.0.9.jar:dependencies/org.apache.camel.k.camel-knative-http-1.0.9.jar:dependencies/org.apache.camel.spi-annotations-3.0.0.jar:dependencies/org.apache.commons.commons-collections4-4.4.jar:dependencies/org.apache.commons.commons-lang3-3.9.jar:dependencies/org.apache.httpcomponents.httpclient-4.5.10.jar:dependencies/org.apache.httpcomponents.httpcore-4.4.12.jar:dependencies/org.apache.kafka.kafka-clients-2.3.1.jar:dependencies/org.apache.logging.log4j.log4j-api-2.13.0.jar:dependencies/org.apache.logging.log4j.log4j-core-2.13.0.jar:dependencies/org.apache.logging.log4j.log4j-slf4j-impl-2.13.0.jar:dependencies/org.lz4.lz4-java-1.6.0.jar:dependencies/org.ow2.asm.asm-5.0.4.jar:dependencies/org.slf4j.slf4j-api-1.7.30.jar:dependencies/org.xerial.snappy.snappy-java-1.1.7.3.jar:dependencies/org.yaml.snakeyaml-1.24.jar
           image: 
10.111.197.108/chapter-7/camel-k-kit-bofk6gui1aal47gim840:43338
           name: integration
           readinessProbe:
             successThreshold: 1
             tcpSocket:
               port: 0
           resources: {}
           volumeMounts:
           - mountPath: /etc/camel/sources/i-source-000
             name: i-source-000
             readOnly: true
           - mountPath: /etc/camel/conf
             name: integration-properties
             readOnly: true
         timeoutSeconds: 300
         volumes:
         - configMap:
             items:
             - key: content
               path: fruits-producer.yaml
             name: fruits-producer-source-000
           name: i-source-000
         - configMap:
             items:
             - key: application.properties
               path: application.properties
             name: fruits-producer-properties
           name: integration-properties
     traffic:
     - latestRevision: true
       percent: 100
   status:
     conditions:
     - lastTransitionTime: "2020-01-15T17:06:18Z"
       status: Unknown
       type: ConfigurationsReady
     - lastTransitionTime: "2020-01-15T17:06:18Z"
       message: Configuration "fruits-producer" is waiting for a Revision to 
become ready.
       reason: RevisionMissing
       status: Unknown
       type: Ready
     - lastTransitionTime: "2020-01-15T17:06:18Z"
       message: Configuration "fruits-producer" is waiting for a Revision to 
become ready.
       reason: RevisionMissing
       status: Unknown
       type: RoutesReady
     latestCreatedRevisionName: fruits-producer-rh8w5
     observedGeneration: 1
     url: http://fruits-producer.chapter-7.example.com
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to