sas viya deployment using Kubernetes command getting error while performing step no 5 As an administrator with namespace permissions, run: "kubectl apply --selector="sas.com/admin=namespace" -f site.yaml --prune"
Following sas deployment doc : SAS Help Center: Deploy the Software any suggestion to get it resolved
I did search a bit more, and I understand now the situation:
pathType: Prefix is intended for paths that only need to match prefixes without regex, so it won't support complex patterns like (/|$)(.*).pathType: ImplementationSpecific allows NGINX to handle the path matching as it sees fit, which includes the ability to use regex patterns.
To fix this, change the pathType for this Ingress path to ImplementationSpecific:
Edit your Ingress resource configuration.
Locate the pathType for /types(/|$)(.*).
E.g. Adapt it to ImplementationSpecific:
paths:
- path: /types(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: your-service-name
port:
number: 80
This being said, this is not documented by SAS, it is Kubernetes specific. Therefore chances are that it might not be supported by SAS officially. What scripts are you using, the IaC/Deployment scripts? In that case you should reach out to the creators via the GitHub projects. Else, you probably should reach out to SAS Technical Support, to get a supported version of the fix.
I did search a bit more, and I understand now the situation:
pathType: Prefix is intended for paths that only need to match prefixes without regex, so it won't support complex patterns like (/|$)(.*).pathType: ImplementationSpecific allows NGINX to handle the path matching as it sees fit, which includes the ability to use regex patterns.
To fix this, change the pathType for this Ingress path to ImplementationSpecific:
Edit your Ingress resource configuration.
Locate the pathType for /types(/|$)(.*).
E.g. Adapt it to ImplementationSpecific:
paths:
- path: /types(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: your-service-name
port:
number: 80
This being said, this is not documented by SAS, it is Kubernetes specific. Therefore chances are that it might not be supported by SAS officially. What scripts are you using, the IaC/Deployment scripts? In that case you should reach out to the creators via the GitHub projects. Else, you probably should reach out to SAS Technical Support, to get a supported version of the fix.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.