Azure file storage with kubernetes and spring boot applicationHow to configure port for a Spring Boot applicationSpring Boot without the web serverProgrammatically restart Spring Boot applicationEnvironment Specific application.properties file in Spring Boot applicationIssue accessing Azure Files - File not Found error from Pod logsSpring boot application into KubernetesCopy files from Azure Blob storage to Azure File Storage with Azure functionsMount Error for Block Storage on Azure kubernetesAzure DevOps > Helm > Azure Kubernetes Deployment - Deletes Azure File share when deployment is deletedChange permission of Static Azure Files

Translate English to Pig Latin | PIG_LATIN.PY

What are the map units that WGS84 uses?

Project Euler Problem 45

Is it right to use the ideas of non-winning designers in a design contest?

Sinning and G-d's will, what's wrong with this logic?

Why there is no wireless switch?

What exactly is Apple Cider

What is the name for quantum gates that can be reversed?

Do 643,000 Americans go bankrupt every year due to medical bills?

Why did Boris Johnson call for new elections?

SQL Always On COPY ONLY backups - what's the point if I cant restore the AG from these backups?

GFI outlets tripped after power outage

What can we do about our 9 month old putting fingers down his throat?

Notation: grace note played on the beat with a chord

Examples where "thin + thin = nice and thick"

Is future tense in English really a myth?

Did the US Climate Reference Network Show No New Warming Since 2005 in the US?

Is there some sort of French saying for "a person's signature move"?

Infinitely many primes

What quests do you need to stop at before you make an enemy of a faction for each faction?

Entering the US with dual citizenship but US passport is long expired?

What is the justification for Dirac's large numbers hypothesis?

How to interpret or parse this confusing 'NOT' and 'AND' legal clause

Does the Giant Toad's Swallow acid damage take effect only at the start of its next turn?



Azure file storage with kubernetes and spring boot application


How to configure port for a Spring Boot applicationSpring Boot without the web serverProgrammatically restart Spring Boot applicationEnvironment Specific application.properties file in Spring Boot applicationIssue accessing Azure Files - File not Found error from Pod logsSpring boot application into KubernetesCopy files from Azure Blob storage to Azure File Storage with Azure functionsMount Error for Block Storage on Azure kubernetesAzure DevOps > Helm > Azure Kubernetes Deployment - Deletes Azure File share when deployment is deletedChange permission of Static Azure Files






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have a Spring Boot application which runs in AKS. This spring boot application accesses files. These files are loaded from Azure file share which is mounted during deployment in AKS.



As far as I remember whenever we do deployment the azure files that we mount are present in the pods created for application.



My question now is - Is there a way to have a file poller which looks for file changes from spring boot app. We will upload the files to azure file share through portal. Can we have a way where in these new files are automatically synced with pod files?










share|improve this question






























    0















    I have a Spring Boot application which runs in AKS. This spring boot application accesses files. These files are loaded from Azure file share which is mounted during deployment in AKS.



    As far as I remember whenever we do deployment the azure files that we mount are present in the pods created for application.



    My question now is - Is there a way to have a file poller which looks for file changes from spring boot app. We will upload the files to azure file share through portal. Can we have a way where in these new files are automatically synced with pod files?










    share|improve this question


























      0












      0








      0








      I have a Spring Boot application which runs in AKS. This spring boot application accesses files. These files are loaded from Azure file share which is mounted during deployment in AKS.



      As far as I remember whenever we do deployment the azure files that we mount are present in the pods created for application.



      My question now is - Is there a way to have a file poller which looks for file changes from spring boot app. We will upload the files to azure file share through portal. Can we have a way where in these new files are automatically synced with pod files?










      share|improve this question














      I have a Spring Boot application which runs in AKS. This spring boot application accesses files. These files are loaded from Azure file share which is mounted during deployment in AKS.



      As far as I remember whenever we do deployment the azure files that we mount are present in the pods created for application.



      My question now is - Is there a way to have a file poller which looks for file changes from spring boot app. We will upload the files to azure file share through portal. Can we have a way where in these new files are automatically synced with pod files?







      spring-boot kubernetes azure-aks azure-files






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 4:58









      Anil Kumar PAnil Kumar P

      1311 gold badge1 silver badge12 bronze badges




      1311 gold badge1 silver badge12 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          no, there is nothing built-in kubernetes to do that, you can use sidecar containers to do that using various techniques, like rsync, cron, etc.



          also, not sure why you need to sync them, since the share is mounted already.






          share|improve this answer

























          • There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

            – Anil Kumar P
            Mar 28 at 6:49










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390449%2fazure-file-storage-with-kubernetes-and-spring-boot-application%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0
















          no, there is nothing built-in kubernetes to do that, you can use sidecar containers to do that using various techniques, like rsync, cron, etc.



          also, not sure why you need to sync them, since the share is mounted already.






          share|improve this answer

























          • There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

            – Anil Kumar P
            Mar 28 at 6:49















          0
















          no, there is nothing built-in kubernetes to do that, you can use sidecar containers to do that using various techniques, like rsync, cron, etc.



          also, not sure why you need to sync them, since the share is mounted already.






          share|improve this answer

























          • There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

            – Anil Kumar P
            Mar 28 at 6:49













          0














          0










          0









          no, there is nothing built-in kubernetes to do that, you can use sidecar containers to do that using various techniques, like rsync, cron, etc.



          also, not sure why you need to sync them, since the share is mounted already.






          share|improve this answer













          no, there is nothing built-in kubernetes to do that, you can use sidecar containers to do that using various techniques, like rsync, cron, etc.



          also, not sure why you need to sync them, since the share is mounted already.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 28 at 6:38









          4c74356b414c74356b41

          39.9k5 gold badges29 silver badges67 bronze badges




          39.9k5 gold badges29 silver badges67 bronze badges















          • There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

            – Anil Kumar P
            Mar 28 at 6:49

















          • There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

            – Anil Kumar P
            Mar 28 at 6:49
















          There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

          – Anil Kumar P
          Mar 28 at 6:49





          There could be cases where in we have new feeds coming in for the files that are already present in pod. so we are looking for ways to update files in azure file share, once we update here, new files have to be picked up by the application without pod restart. Any suggestions would help

          – Anil Kumar P
          Mar 28 at 6:49








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390449%2fazure-file-storage-with-kubernetes-and-spring-boot-application%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript