Licensing: Troubleshooting

Deployment Operator Custom Resource Is Too Large

Error

When you are performing a deployment with the SAS Viya Deployment Operator and you attempt to apply the SASDeployment custom resource, either of the following error messages is displayed:

Error from server (RequestEntityTooLarge)
The SASDeployment "sas-viya" is invalid: metadata.annotations: Too long: must have 
at most 262144 bytes

Explanation

Applying the custom resource requires that it not exceed a size limit. The RequestEntityTooLarge and Too long errors indicate that the custom resource exceeds that limit.

Resolution

When the custom resource is created, it consumes the content of the $deploy directory. To minimize the size of the custom resource, ensure that only the files that are needed are included in the $deploy directory. For example, site.yaml files from earlier manual deployments and old or duplicate kustomization.yaml files should be moved from the $deploy directory or deleted.

Last updated: May 15, 2026