Skip to content

Func deploy python not work. #2985

@ryan-alexander-zhang

Description

@ryan-alexander-zhang

Hi team.

I used the func deploy --remote to deploy the default Python func. But the Tekton build the source as Java. It looks weird.

Here's my function yaml:

          # $schema: https://raw.githubusercontent.com/knative/func/refs/tags/v0.36.0/schema/func_yaml-schema.json
          # yaml-language-server: $schema=https://raw.githubusercontent.com/knative/func/refs/tags/v0.36.0/schema/func_yaml-schema.json
          specVersion: 0.36.0
          name: fn-py-01
          runtime: python
          registry: <registry>
          namespace: ronghuanz40
          created: 2025-08-13T15:05:40.187484+08:00
          build:
            git:
              url: <git-url>
            builder: pack
          run:
            envs:
            - name: name
              value: sahara6
          deploy:
            serviceAccountName: ronghuanz40
            options:
              resources:
                requests:
                  cpu: 50m
                  memory: 129Mi
                limits:
                  cpu: 129m
                  memory: 1024Mi
              scale:
                min: 0
                max: 3

Metadata

Metadata

Assignees

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