kameshsampath edited a comment on issue #1206: Knative services are slow to 
become ready
URL: https://github.com/apache/camel-k/issues/1206#issuecomment-574747366
 
 
   This is a service that became ready after several attempts or long waiting
   
   ```yaml
   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-15T16:18:00Z"
     generation: 1
     labels:
       camel.apache.org/generation: "1"
       camel.apache.org/integration: echoer
     name: echoer
     namespace: chapter-7
     ownerReferences:
     - apiVersion: camel.apache.org/v1
       blockOwnerDeletion: true
       controller: true
       kind: Integration
       name: echoer
       uid: 994805f5-37b2-11ea-88ab-08002762facf
     resourceVersion: "40303"
     selfLink: /apis/serving.knative.dev/v1/namespaces/chapter-7/services/echoer
     uid: 996b3a32-37b2-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: echoer
       spec:
         containerConcurrency: 0
         containers:
         - env:
           - name: CAMEL_K_DIGEST
             value: vbKLnxIfkpcy8WZQBEvcnpE5-gb6bvPbgZSOkOhS36ZA
           - name: CAMEL_K_ROUTES
             value: 
file:/etc/camel/sources/i-source-000/echoer.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":"echoer","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.github.ben-manes.caffeine.caffeine-2.8.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-io.commons-io-2.6.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/javax.xml.bind.jaxb-api-2.3.0.jar:dependencies/org.apache.camel.camel-api-3.0.0.jar:dependencies/org.apache.camel.camel-base-3.0.0.jar:dependencies/org.apache.camel.camel-bean-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-jaxp-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.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.slf4j.slf4j-api-1.7.30.jar:dependencies/org.yaml.snakeyaml-1.24.jar
           image: 
10.111.197.108/chapter-7/camel-k-kit-bofj39ei1aal47gim830:36212
           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: echoer.yaml
             name: echoer-source-000
           name: i-source-000
         - configMap:
             items:
             - key: application.properties
               path: application.properties
             name: echoer-properties
           name: integration-properties
     traffic:
     - latestRevision: true
       percent: 100
   status:
     address:
       url: http://echoer.chapter-7.svc.cluster.local
     conditions:
     - lastTransitionTime: "2020-01-15T16:20:39Z"
       status: "True"
       type: ConfigurationsReady
     - lastTransitionTime: "2020-01-15T16:20:40Z"
       status: "True"
       type: Ready
     - lastTransitionTime: "2020-01-15T16:20:40Z"
       status: "True"
       type: RoutesReady
     latestCreatedRevisionName: echoer-xz9ns
     latestReadyRevisionName: echoer-xz9ns
     observedGeneration: 1
     traffic:
     - latestRevision: true
       percent: 100
       revisionName: echoer-xz9ns
     url: http://echoer.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