<?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 Splunk Operator - Splunk apps deployment failed in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Operator-Splunk-apps-deployment-failed/m-p/571427#M24936</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my first time setting up Splunk in Kubernetes by using Splunk Operator.&lt;/P&gt;&lt;P&gt;I have set up the cluster just fine. One challenge I'm having now is to deploy my Splunk Apps to our search head cluster. Here is the docs that I followed:&amp;nbsp;&lt;A href="https://splunk.github.io/splunk-operator/AppFramework.html" target="_blank" rel="noopener"&gt;https://splunk.github.io/splunk-operator/AppFramework.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issues are:&lt;/P&gt;&lt;P&gt;1. My deployer keeps getting undeployed everytime I make changes to the SHC CRD. idk why?&lt;/P&gt;&lt;P&gt;2. The app is simply not getting deployed. The app's .tgz file is already in my S3 bucket. Here's the spec of my SHC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
spec:
  appRepo:
    appSources:
    - location: searchHeadApps/
      name: assettrackerapp.tgz
    appsRepoPollIntervalSeconds: 30
    defaults:
      scope: cluster
      volumeName: volume_app_repo_us
    volumes:
    - endpoint: https://dev-splunk-operator.s3.amazonaws.com
      name: volume_app_repo_us
      path: dev-splunk-operator
      provider: aws
      secretRef: s3-secret
      storageType: s3
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some of the splunk-operator logs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"level":"info","ts":1634593053.3164997,"logger":"splunk.enterprise.ValidateAppFrameworkSpec","msg":"App framework configuration is valid"}
{"level":"info","ts":1634593053.3165247,"logger":"splunk.enterprise.initAndCheckAppInfoStatus","msg":"Checking status of apps on remote storage...","name":"sh","namespace":"splunk"}
{"level":"info","ts":1634593053.3165333,"logger":"splunk.enterprise.GetAppListFromS3Bucket","msg":"Getting the list of apps from remote storage...","name":"sh","namespace":"splunk"}
{"level":"info","ts":1634593053.3198195,"logger":"splunk.enterprise.GetRemoteStorageClient","msg":"Creating the client","name":"sh","namespace":"splunk","volume":"volume_app_repo_us","bucket":"dev-splunk-operator","bucket path":"searchHeadApps/"}
{"level":"info","ts":1634593053.3199255,"logger":"splunk.client.InitAWSClientSession","msg":"AWS Client Session initialization successful.","region":"","TLS Version":"TLS 1.2"}
{"level":"info","ts":1634593053.319938,"logger":"splunk.client.GetAppsList","msg":"Getting Apps list","AWS S3 Bucket":"dev-splunk-operator"}
{"level":"error","ts":1634593053.3199534,"logger":"splunk.client.GetAppsList","msg":"Unable to list items in bucket","AWS S3 Bucket":"dev-splunk-operator","error":"MissingRegion: could not find region configuration"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise, thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 23:06:03 GMT</pubDate>
    <dc:creator>mufthmu1</dc:creator>
    <dc:date>2021-10-18T23:06:03Z</dc:date>
    <item>
      <title>Splunk Operator - Splunk apps deployment failed</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Operator-Splunk-apps-deployment-failed/m-p/571427#M24936</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my first time setting up Splunk in Kubernetes by using Splunk Operator.&lt;/P&gt;&lt;P&gt;I have set up the cluster just fine. One challenge I'm having now is to deploy my Splunk Apps to our search head cluster. Here is the docs that I followed:&amp;nbsp;&lt;A href="https://splunk.github.io/splunk-operator/AppFramework.html" target="_blank" rel="noopener"&gt;https://splunk.github.io/splunk-operator/AppFramework.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issues are:&lt;/P&gt;&lt;P&gt;1. My deployer keeps getting undeployed everytime I make changes to the SHC CRD. idk why?&lt;/P&gt;&lt;P&gt;2. The app is simply not getting deployed. The app's .tgz file is already in my S3 bucket. Here's the spec of my SHC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
spec:
  appRepo:
    appSources:
    - location: searchHeadApps/
      name: assettrackerapp.tgz
    appsRepoPollIntervalSeconds: 30
    defaults:
      scope: cluster
      volumeName: volume_app_repo_us
    volumes:
    - endpoint: https://dev-splunk-operator.s3.amazonaws.com
      name: volume_app_repo_us
      path: dev-splunk-operator
      provider: aws
      secretRef: s3-secret
      storageType: s3
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some of the splunk-operator logs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"level":"info","ts":1634593053.3164997,"logger":"splunk.enterprise.ValidateAppFrameworkSpec","msg":"App framework configuration is valid"}
{"level":"info","ts":1634593053.3165247,"logger":"splunk.enterprise.initAndCheckAppInfoStatus","msg":"Checking status of apps on remote storage...","name":"sh","namespace":"splunk"}
{"level":"info","ts":1634593053.3165333,"logger":"splunk.enterprise.GetAppListFromS3Bucket","msg":"Getting the list of apps from remote storage...","name":"sh","namespace":"splunk"}
{"level":"info","ts":1634593053.3198195,"logger":"splunk.enterprise.GetRemoteStorageClient","msg":"Creating the client","name":"sh","namespace":"splunk","volume":"volume_app_repo_us","bucket":"dev-splunk-operator","bucket path":"searchHeadApps/"}
{"level":"info","ts":1634593053.3199255,"logger":"splunk.client.InitAWSClientSession","msg":"AWS Client Session initialization successful.","region":"","TLS Version":"TLS 1.2"}
{"level":"info","ts":1634593053.319938,"logger":"splunk.client.GetAppsList","msg":"Getting Apps list","AWS S3 Bucket":"dev-splunk-operator"}
{"level":"error","ts":1634593053.3199534,"logger":"splunk.client.GetAppsList","msg":"Unable to list items in bucket","AWS S3 Bucket":"dev-splunk-operator","error":"MissingRegion: could not find region configuration"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise, thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 23:06:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-Operator-Splunk-apps-deployment-failed/m-p/571427#M24936</guid>
      <dc:creator>mufthmu1</dc:creator>
      <dc:date>2021-10-18T23:06:03Z</dc:date>
    </item>
  </channel>
</rss>

