codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] crystaldust commented on issue #306: The kaniko build pod failed to start


crystaldust commented on issue #306: The kaniko build pod failed to start
URL: https://github.com/apache/camel-k/issues/306#issuecomment-449210961
 
 
   Here is the dump:
   ```yaml
   apiVersion: v1
   items:
   - apiVersion: extensions/v1beta1
     kind: Deployment
     metadata:
       annotations:
         deployment.kubernetes.io/revision: "1"
       creationTimestamp: 2018-12-18T02:34:45Z
       generation: 4
       labels:
         app: camel-k
         camel.apache.org/component: operator
       name: camel-k-operator
       namespace: default
       resourceVersion: "35484"
       selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/camel-k-operator
       uid: 7b909d78-026d-11e9-915f-080027c29701
     spec:
       progressDeadlineSeconds: 600
       replicas: 1
       revisionHistoryLimit: 10
       selector:
         matchLabels:
           name: camel-k-operator
       strategy:
         type: Recreate
       template:
         metadata:
           creationTimestamp: null
           labels:
             camel.apache.org/component: operator
             name: camel-k-operator
         spec:
           containers:
           - command:
             - camel-k
             env:
             - name: WATCH_NAMESPACE
               valueFrom:
                 fieldRef:
                   apiVersion: v1
                   fieldPath: metadata.namespace
             - name: OPERATOR_NAME
               value: camel-k
             image: docker.io/apache/camel-k:0.1.0
             imagePullPolicy: IfNotPresent
             name: camel-k-operator
             ports:
             - containerPort: 60000
               name: metrics
               protocol: TCP
             resources: {}
             terminationMessagePath: /dev/termination-log
             terminationMessagePolicy: File
             volumeMounts:
             - mountPath: /workspace
               name: camel-k-builder
           dnsPolicy: ClusterFirst
           initContainers:
           - command:
             - chmod
             - "777"
             - /workspace
             image: busybox
             imagePullPolicy: IfNotPresent
             name: build-volume-permission
             resources: {}
             terminationMessagePath: /dev/termination-log
             terminationMessagePolicy: File
             volumeMounts:
             - mountPath: /workspace
               name: camel-k-builder
           restartPolicy: Always
           schedulerName: default-scheduler
           securityContext: {}
           serviceAccount: camel-k-operator
           serviceAccountName: camel-k-operator
           terminationGracePeriodSeconds: 30
           volumes:
           - name: camel-k-builder
             persistentVolumeClaim:
               claimName: camel-k-builder
     status:
       availableReplicas: 1
       conditions:
       - lastTransitionTime: 2018-12-18T04:06:54Z
         lastUpdateTime: 2018-12-18T04:06:54Z
         message: Deployment has minimum availability.
         reason: MinimumReplicasAvailable
         status: "True"
         type: Available
       - lastTransitionTime: 2018-12-18T04:06:54Z
         lastUpdateTime: 2018-12-18T04:06:54Z
         message: ReplicaSet "camel-k-operator-fffc47bd4" has successfully progressed.
         reason: NewReplicaSetAvailable
         status: "True"
         type: Progressing
       observedGeneration: 4
       readyReplicas: 1
       replicas: 1
       updatedReplicas: 1
   - apiVersion: extensions/v1beta1
     kind: Deployment
     metadata:
       annotations:
         deployment.kubernetes.io/revision: "2"
         kubectl.kubernetes.io/last-applied-configuration: |
           {"apiVersion":"extensions/v1beta1","kind":"Deployment","metadata":{"annotations":{},"name":"pvtest","namespace":"default"},"spec":{"template":{"metadata":{"labels":{"app":"pvtest"}},"spec":{"containers":[{"image":"pvtest","imagePullPolicy":"IfNotPresent","name":"pvtest","volumeMounts":[{"mountPath":"/workspace","name":"camel-k-builder"}]}],"volumes":[{"name":"camel-k-builder","persistentVolumeClaim":{"claimName":"camel-k-builder"}}]}}}}
       creationTimestamp: 2018-12-18T08:58:23Z
       generation: 2
       labels:
         app: pvtest
       name: pvtest
       namespace: default
       resourceVersion: "60358"
       selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/pvtest
       uid: 12ff1a82-02a3-11e9-915f-080027c29701
     spec:
       progressDeadlineSeconds: 2147483647
       replicas: 1
       revisionHistoryLimit: 2147483647
       selector:
         matchLabels:
           app: pvtest
       strategy:
         rollingUpdate:
           maxSurge: 1
           maxUnavailable: 1
         type: RollingUpdate
       template:
         metadata:
           creationTimestamp: null
           labels:
             app: pvtest
         spec:
           containers:
           - image: pvtest
             imagePullPolicy: IfNotPresent
             name: pvtest
             resources: {}
             terminationMessagePath: /dev/termination-log
             terminationMessagePolicy: File
             volumeMounts:
             - mountPath: /workspace
               name: camel-k-builder
           dnsPolicy: ClusterFirst
           restartPolicy: Always
           schedulerName: default-scheduler
           securityContext: {}
           terminationGracePeriodSeconds: 30
           volumes:
           - name: camel-k-builder
             persistentVolumeClaim:
               claimName: camel-k-builder
     status:
       availableReplicas: 1
       conditions:
       - lastTransitionTime: 2018-12-18T08:58:23Z
         lastUpdateTime: 2018-12-18T08:58:23Z
         message: Deployment has minimum availability.
         reason: MinimumReplicasAvailable
         status: "True"
         type: Available
       observedGeneration: 2
       readyReplicas: 1
       replicas: 1
       updatedReplicas: 1
   - apiVersion: camel.apache.org/v1alpha1
     kind: IntegrationContext
     metadata:
       creationTimestamp: 2018-12-18T04:06:21Z
       generation: 3
       labels:
         app: camel-k
         camel.apache.org/context.created.by.kind: Operator
         camel.apache.org/context.created.by.name: core
         camel.apache.org/context.type: platform
       name: groovy
       namespace: default
       resourceVersion: "38088"
       selfLink: /apis/camel.apache.org/v1alpha1/namespaces/default/integrationcontexts/groovy
       uid: 4738304f-027a-11e9-915f-080027c29701
     spec:
       dependencies:
       - runtime:jvm
       - runtime:groovy
       - camel:core
     status:
       digest: vmW0KEastH2zIKxrBRabWwKbbIy1MwmrR4JE0FgSOf7Q
       phase: Error
   - apiVersion: camel.apache.org/v1alpha1
     kind: IntegrationContext
     metadata:
       creationTimestamp: 2018-12-18T04:06:21Z
       generation: 3
       labels:
         app: camel-k
         camel.apache.org/context.created.by.kind: Operator
         camel.apache.org/context.created.by.name: jvm
         camel.apache.org/context.type: platform
       name: jvm
       namespace: default
       resourceVersion: "38087"
       selfLink: /apis/camel.apache.org/v1alpha1/namespaces/default/integrationcontexts/jvm
       uid: 473579b1-027a-11e9-915f-080027c29701
     spec:
       dependencies:
       - runtime:jvm
       - camel:core
     status:
       digest: vZ1wvmwcDpuzL2C-v5leXFp2WIWzQfEIK4RnHm4DnjpU
       phase: Error
   - apiVersion: camel.apache.org/v1alpha1
     kind: IntegrationContext
     metadata:
       creationTimestamp: 2018-12-18T04:06:21Z
       generation: 3
       labels:
         app: camel-k
         camel.apache.org/context.created.by.kind: Operator
         camel.apache.org/context.created.by.name: jvm
         camel.apache.org/context.type: platform
       name: kotlin
       namespace: default
       resourceVersion: "38089"
       selfLink: /apis/camel.apache.org/v1alpha1/namespaces/default/integrationcontexts/kotlin
       uid: 473a0b72-027a-11e9-915f-080027c29701
     spec:
       dependencies:
       - runtime:jvm
       - runtime:kotlin
       - camel:core
     status:
       digest: v7jMG6rTOufpRKk6kzoTROYL5Al90eLa9VzJfLAoPmKA
       phase: Error
   - apiVersion: camel.apache.org/v1alpha1
     kind: IntegrationContext
     metadata:
       creationTimestamp: 2018-12-18T04:06:21Z
       generation: 3
       labels:
         app: camel-k
         camel.apache.org/context.created.by.kind: Operator
         camel.apache.org/context.created.by.name: jvm
         camel.apache.org/context.type: platform
       name: spring-boot
       namespace: default
       resourceVersion: "38990"
       selfLink: /apis/camel.apache.org/v1alpha1/namespaces/default/integrationcontexts/spring-boot
       uid: 47773917-027a-11e9-915f-080027c29701
     spec:
       dependencies:
       - runtime:jvm
       - runtime:spring-boot
       - camel:core
       traits:
         springboot:
           configuration:
             enabled: "true"
     status:
       digest: vNvTKGa9NgKin_G1pWIGtyC4S6wBoULg5csV1ytXtYyA
       phase: Error
   - apiVersion: camel.apache.org/v1alpha1
     kind: IntegrationPlatform
     metadata:
       creationTimestamp: 2018-12-18T02:22:42Z
       generation: 4
       labels:
         app: camel-k
       name: camel-k
       namespace: default
       resourceVersion: "38092"
       selfLink: /apis/camel.apache.org/v1alpha1/namespaces/default/integrationplatforms/camel-k
       uid: cc6f5b2e-026b-11e9-915f-080027c29701
     spec:
       build:
         publishStrategy: Kaniko
         registry: 10.254.230.174
       cluster: Kubernetes
       profile: Kubernetes
     status:
       phase: Error
   kind: List
   metadata:
     resourceVersion: ""
     selfLink: ""
   ```

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


With regards,
Apache Git Services