Skip to content

Python error when running "okteto up" #7

@roncemer

Description

@roncemer

Followed the instructions here: https://www.okteto.com/blog/develop-django-celery-app-in-kubernetes/

When I ran the "okteto up" command, after selecting the correct Kubernetes context, it throws a Python error about importing Celery.

I'm running okteto against a 3-node K3s cluster. The "kubectl apply -f manifests" command succeeded, and all of the resources are green in the Kubernetes Dashboard. However, once I get the error with "okteto up", the "worker" resources go red in the Kubernetes Dashboard.

Versions:

$ okteto version
okteto version 2.21.0

$ k3s --version
k3s version v1.26.4+k3s1 (8d0255af)
go version go1.19.8

Output of "okteto up" command attached.
out.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions