Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: resource specification in function.yaml is ignored #2949

Open
2 tasks done
SpecLad opened this issue Jun 6, 2023 · 0 comments
Open
2 tasks done

[Bug]: resource specification in function.yaml is ignored #2949

SpecLad opened this issue Jun 6, 2023 · 0 comments

Comments

@SpecLad
Copy link

SpecLad commented Jun 6, 2023

Nuclio Version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of Nuclio.

Issue Description

Append the following to hack/examples/python/helloworld/function.yaml:

  resources:
    requests:
      cpu: 2
      memory: 123M

Deploy:

$ nuctl deploy helloworld -n nuclio --path hack/examples/python/helloworld --registry $(minikube ip):5000 --run-registry localhost:5000

Check the resulting function:

$ nuctl get -nnuclio function helloworld -o yaml
...
  resources:
    requests:
      cpu: 25m
      memory: 1Mi
...

Expected Behavior

The resource specification in the created function should match that in function.yaml.

Deployment Method

Kubernetes

Nuclio Version

1.11.20

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant