I'm looking into the use of Redhat Openshift Serverless operator. We have an Openshift cluster which uses resource quota's in each namespace. I've installed the operator and setup the knative-serving namespace. Knative-serving operator is set up where we have user-container, queue-proxy, and webhooks defined under the resources. Now when I start a service in another namespace using the following yaml file:
apiVersion: serving.kanative.dev/v1
kind: Service
metadata:
name: helloworld-python
namespace: test
spec:
template:
spec:
containers:
-image: test/helloworld-python:latest
resources:
limits:
cpu: 100m
memory: 50Mi
requests:
cpu: 100m
memory: 50Mi
env:
- name: TARGET
value: "Python Sample v1"
This however fails with the error: Error creating: pods is forbidden: failed quota: compute-resources: must specify limits.memory, requests.memory
Can any of you point me in the right direction to get this working?
Regards