dagu icon indicating copy to clipboard operation
dagu copied to clipboard

K3s internal deployment error

Open nnn149 opened this issue 1 year ago • 1 comments

container log: standard_init_linux.go:228: exec user process caused: exec format error


kind: Pod
apiVersion: v1
metadata:
  name: dagu-0
  generateName: dagu-
  namespace: yhy
  labels:
    app: dagu
    controller-revision-hash: dagu-7f9bf9869c
    statefulset.kubernetes.io/pod-name: dagu-0
  annotations:
    kubesphere.io/creator: admin
    kubesphere.io/imagepullsecrets: '{}'
    logging.kubesphere.io/logsidecar-config: '{}'
spec:
  volumes:
    - name: host-time
      hostPath:
        path: /etc/localtime
        type: ''
    - name: dagu-dags
      hostPath:
        path: /mnt/disks1/dagu/dags
        type: ''
    - name: dagu-data
      hostPath:
        path: /mnt/disks1/dagu/data
        type: ''
    - name: dagu-logs
      hostPath:
        path: /mnt/disks1/dagu/logs
        type: ''
    - name: kube-api-access-b4bwb
      projected:
        sources:
          - serviceAccountToken:
              expirationSeconds: 3607
              path: token
          - configMap:
              name: kube-root-ca.crt
              items:
                - key: ca.crt
                  path: ca.crt
          - downwardAPI:
              items:
                - path: namespace
                  fieldRef:
                    apiVersion: v1
                    fieldPath: metadata.namespace
        defaultMode: 420
  containers:
    - name: container-dagu
      image: 'yohamta/dagu:latest'
      ports:
        - name: tcp-8080
          containerPort: 8080
          protocol: TCP
      resources: {}
      volumeMounts:
        - name: host-time
          readOnly: true
          mountPath: /etc/localtime
        - name: dagu-dags
          mountPath: /home/dagu/.dagu/dags
        - name: dagu-data
          mountPath: /home/dagu/.dagu/data
        - name: dagu-logs
          mountPath: /home/dagu/.dagu/logs
        - name: kube-api-access-b4bwb
          readOnly: true
          mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      terminationMessagePath: /dev/termination-log
      terminationMessagePolicy: File
      imagePullPolicy: Always
  restartPolicy: Always
  terminationGracePeriodSeconds: 30
  dnsPolicy: ClusterFirst
  serviceAccountName: default
  serviceAccount: default
  nodeName: izwz97xejdyxxf7cixkijdz
  securityContext: {}
  hostname: dagu-0
  subdomain: dagu-uzdb
  schedulerName: default-scheduler
  tolerations:
    - key: node.kubernetes.io/not-ready
      operator: Exists
      effect: NoExecute
      tolerationSeconds: 300
    - key: node.kubernetes.io/unreachable
      operator: Exists
      effect: NoExecute
      tolerationSeconds: 300
  priority: 0
  enableServiceLinks: true
  preemptionPolicy: PreemptLowerPriority


nnn149 avatar Dec 07 '23 02:12 nnn149

Possibly related to #524 If architecture is amd64 the wrong alpine base was used for the docker hub image

JadRho avatar Mar 11 '24 11:03 JadRho

We have fixed container image compatibility issue. It should be solved now.

yohamta avatar May 11 '24 12:05 yohamta