You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value of the `uid` field can be any value, if you want to force the Operator to try and you already have a value here, then you can just change it to a different value, i.e. `2` or a random string like a UUID.
116
116
117
+
### I'm not sure that any functions are getting reconciled
118
+
119
+
Reconciliation problems occur when you deploy a Function Custom Resource, but you do not see the operator creating a Deployment for it in the same namespace.
120
+
121
+
First check any Kubernetes Quotas or LimitRanges that you may have in place for the namespace.
122
+
123
+
Check the logs of all of the gateway Pods to see if it is displaying an error such as RBAC, or whether it is detecting the event for the Function CR.
kubectl get lease/openfaas-operator-leader -n openfaas -o yaml
133
+
```
134
+
135
+
Check the following fields: `acquireTime`, `renewTime`, `holderIdentity` and `leaseDurationSeconds`.
136
+
137
+
Do they match the Pods that you have running for the gateway?
138
+
139
+
```bash
140
+
kubectl get pods -n openfaas -l app=gateway
141
+
```
142
+
143
+
Check the .Status of the Function Custom Resource, i.e. for the `nodeinfo` function:
144
+
145
+
```bash
146
+
kubectl describe -n openfaas-fn function/nodeinfo
147
+
```
148
+
149
+
Look for warnings or errors in the .Status field.
150
+
151
+
If in doubt, and this is a critical issue, then you can try restarting the gateway Deployment, to restart the operator: `kubectl rollout restart -n openfaas deploy/gateway`
152
+
117
153
### Is my function's name too long?
118
154
119
155
When using OpenFaaS Standard or OpenFaaS for Enterprises along with the Function CRD, a function's name can be no longer than 63 characters. This is due to a limitation on the length of label selectors within Kubernetes.
0 commit comments