Git Product home page Git Product logo

Comments (1)

D10S0VSkY-OSS avatar D10S0VSkY-OSS commented on July 20, 2024

Hello @ramazulay,
I don't see the result in the log at all.
In SLD, pending status can have two meanings:

  1. That you have launched a deployment and the task is pending because there is no available worker that can handle it (when doing a redeployment you should receive an error in the console "The task already exists in pending status waiting to be executed",
    Screenshot from 2022-04-09 02-03-48

  2. Or that task have passed more than three days (it's the default that values ​​are saved) and you don't know what the status of that task is, this last behavior is done intentionally to enforce good practices and apply every 3 days (you can change the behavior by passing the variable to the worker)
    vaiable example

          - name: SLD_RESULT_EXPIRE
            value: "604800"

simple example worker for squad1

apiVersion: apps/v1
kind: Deployment
metadata:
  name: sld-worker-squad1
  labels:
    name: sld-worker-squad1
spec:
  replicas: 2
  selector:
    matchLabels:
      name: sld-worker-squad1
  template:
    metadata:
      labels:
        name: sld-worker-squad1
    spec:
      subdomain: primary
      containers:
        - name: sld-worker-squad1
          image: sld-api
          imagePullPolicy: Always
          env:
          - name: SCHEDULE_SERVER
            value: "http://schedule:10000"
          - name: SLD_RESULT_EXPIRE
            value: "604800"
          - name: BROKER_USER
            valueFrom:
              secretKeyRef:
                name: rabbit-default-user
                key: username
          - name: BROKER_PASSWD
            valueFrom:
              secretKeyRef:
                name: rabbit-default-user
                key: password
          resources:
            limits:
              memory: 900Mi
              cpu: 1
            requests:
              memory: 600Mi
              cpu: 200m
          command: ["celery", "--app", "tasks.celery_worker", "worker","--without-heartbeat", "--without-gossip", "--without-mingle", "--loglevel=info", "-c", "1", "-E", "-O", "fair", "-Q", "squad1-nonprod"]

I understand that you are testing the product, it is recommended to exclude the EKS database to an RDS mysql.
If you need more help, don't hesitate to contact me.

from stack-lifecycle-deployment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.