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;
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
add a comment |
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
add a comment |
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
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
spring-boot kubernetes azure-aks azure-files
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
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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