<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sas viya deployment using kubernetes command getting error while creating site.yaml file in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949168#M29191</link>
    <description>It's not working for me. getting same Error from server (BadRequest): error when creating "site.yaml": admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /types(/|$)(.*) cannot be used with pathType Prefix</description>
    <pubDate>Mon, 28 Oct 2024 05:16:26 GMT</pubDate>
    <dc:creator>sas_chinmay</dc:creator>
    <dc:date>2024-10-28T05:16:26Z</dc:date>
    <item>
      <title>sas viya deployment using kubernetes command getting error while creating site.yaml file</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949145#M29184</link>
      <description>&lt;P&gt;sas viya deployment using Kubernetes command getting error while performing step no 5&amp;nbsp;&lt;SPAN&gt;As an administrator with namespace permissions, run: "kubectl apply --selector="sas.com/admin=namespace" -f site.yaml --prune"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_chinmay_0-1730055056869.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101819i9A0369E14CF36647/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas_chinmay_0-1730055056869.png" alt="sas_chinmay_0-1730055056869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Following sas deployment doc :&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/itopscdc/v_057/dplyml0phy0dkr/p127f6y30iimr6n17x2xe9vlt54q.htm#p0n0x0jvog312an1wggpgnam1jsw" target="_blank"&gt;SAS Help Center: Deploy the Software&lt;/A&gt;&amp;nbsp; any suggestion to get it resolved&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_chinmay_1-1730055111478.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101820i0CF4C7993874A173/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas_chinmay_1-1730055111478.png" alt="sas_chinmay_1-1730055111478.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 18:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949145#M29184</guid>
      <dc:creator>sas_chinmay</dc:creator>
      <dc:date>2024-10-27T18:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: sas viya deployment using kubernetes command getting error while creating site.yaml file</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949161#M29188</link>
      <description>Did you check this troubleshooting guide, specially regarding NGNIX headers? &lt;A href="https://github.com/sassoftware/viya4-deployment/blob/main/docs/Troubleshooting.md#ingress-nginx---use-forwarded-headers-disabled" target="_blank"&gt;https://github.com/sassoftware/viya4-deployment/blob/main/docs/Troubleshooting.md#ingress-nginx---use-forwarded-headers-disabled&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It seems to me as one of your config files needs an update</description>
      <pubDate>Mon, 28 Oct 2024 03:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949161#M29188</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2024-10-28T03:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: sas viya deployment using kubernetes command getting error while creating site.yaml file</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949165#M29190</link>
      <description>Kubernetes deployment takes place on the Azure platform. Does that same document help me?</description>
      <pubDate>Mon, 28 Oct 2024 04:42:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949165#M29190</guid>
      <dc:creator>sas_chinmay</dc:creator>
      <dc:date>2024-10-28T04:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: sas viya deployment using kubernetes command getting error while creating site.yaml file</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949168#M29191</link>
      <description>It's not working for me. getting same Error from server (BadRequest): error when creating "site.yaml": admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /types(/|$)(.*) cannot be used with pathType Prefix</description>
      <pubDate>Mon, 28 Oct 2024 05:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949168#M29191</guid>
      <dc:creator>sas_chinmay</dc:creator>
      <dc:date>2024-10-28T05:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: sas viya deployment using kubernetes command getting error while creating site.yaml file</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949184#M29192</link>
      <description>&lt;P&gt;I did search a bit more, and I understand now the situation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;CODE&gt;pathType: Prefix&lt;/CODE&gt;&lt;/STRONG&gt; is intended for paths that only need to match prefixes without regex, so it won't support complex patterns like &lt;CODE&gt;(/|$)(.*)&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;CODE&gt;pathType: ImplementationSpecific&lt;/CODE&gt;&lt;/STRONG&gt; allows NGINX to handle the path matching as it sees fit, which includes the ability to use regex patterns.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To fix this, change the &lt;CODE&gt;pathType&lt;/CODE&gt; for this Ingress path to &lt;CODE&gt;ImplementationSpecific&lt;/CODE&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Edit your Ingress resource configuration.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Locate the &lt;CODE&gt;pathType&lt;/CODE&gt; for &lt;CODE&gt;/types(/|$)(.*)&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;E.g. Adapt it to &lt;CODE&gt;ImplementationSpecific&lt;/CODE&gt;:&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;paths:
  - path: /types(/|$)(.*)
    pathType: ImplementationSpecific
    backend:
      service:
        name: your-service-name
        port:
          number: 80
&lt;/PRE&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 08:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949184#M29192</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2024-10-28T08:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: sas viya deployment using kubernetes command getting error while creating site.yaml file</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949232#M29202</link>
      <description>The combination of the pathType Prefix and the path of /service_name(/|$)(.*) is part of the SAS deployment assets ($deploy/sas-bases/overlays/network/networking.k8s.io/v1/ingress/components/sas-types/ingress.yaml for example).&lt;BR /&gt;&lt;BR /&gt;This error (previously a warning) is coming from ingress-nginx's strict-validate-path-type option.&lt;BR /&gt;&lt;BR /&gt;Options for resolution here I think would be to:&lt;BR /&gt;- Downgrade ingress-nginx to an earlier version (I think this changed from a warning to an error at 1.12)&lt;BR /&gt;- Set the strict-validate-path-type option to false&lt;BR /&gt;- Write and apply a patchTransformer to update the pathType to implementationSpecific for all ingresses making use of regular expressions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Oct 2024 13:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-viya-deployment-using-kubernetes-command-getting-error-while/m-p/949232#M29202</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-10-28T13:45:21Z</dc:date>
    </item>
  </channel>
</rss>

