Comments (9)
Having changes to a config file trigger changes to the appropriate ConfigMap, Deployment, etc. would be fantastic, but probably difficult to implement and more suited for a release further down the line. In the short term, however, I think it would be extremely helpful to be able to define configs even without auto-updating. Something like this:
apiVersion: skaffold/v1alpha2
kind: Config
build:
tagPolicy:
sha256: {}
local: {}
artifacts:
- imageName: my-app
bazel:
target: //:my-app.tar
configs:
- configMapName: prometheus-config
file: config/prometheus.yml
- configMapName: nginx-config
file: config/nginx.conf
- configMapName: my-arbitrary-config
args:
foo: bar
baq: baz
Even if this only created the ConfigMap
s at the beginning and didn't watch them for changes, it would be a big win for a lot of use cases. As it stands, the config file thing is pretty much the only thing that keeps Skaffold from being a "one-command" solution to a thorny problem.
from skaffold.
This is quite a hassle when working with many services locally
I'm working on a repo with 55 deployments, having to re-launch all of them because I changed the configmap of one is.. less than optimal
from skaffold.
ref #98
from skaffold.
When updating config maps, we would have to track all entities that reference the config map and trigger a restart of all of those.
from skaffold.
Currently, if I change a value in a config map, skaffold (v0.30) does neither rebuild/apply the updated value. I have to restart it manually for new values to take effect. Is this related to this issue (or kubernetes/kubernetes#22368) or is there something wrong with my skaffold configuration? I've confirmed that I am not manually syncing my k8s/
folder.
from skaffold.
@demisx The issue is still open. Skaffold does not yet support this desired behavior. As far as I know Skaffold doesnβt handle ConfigMaps at all.
from skaffold.
@lucperkins Got it. Sorry, I wasn't sure if this was the issue I was experiencing or not. I'll be watching!
from skaffold.
Configmaps get updated but not the deployments referencing them.
from skaffold.
I'm closing this issue as it hasn't seen activity in awhile, and if it does still exist, it doesn't seem to be getting any traction at the moment. If this issue appears in the most recent release of Skaffold, please feel free to add a follow-up comment and we will see about getting it prioritized appropriately.
If someone sees a similar issue to this one, please create a new issue, but do include a link to this issue if possible.
Thank you for sharing this issue with us!
from skaffold.
Related Issues (20)
- skaffold dev does not rebuild image when using kind with registry HOT 6
- π [Skaffold Profiles] - Profile Dependencies Failing to Resolve When Specified Individually but Succeeding in Composite Profile HOT 1
- Remote chart name and local folder name conflict
- `--digest-source` not working when `skaffold run` on remote cluster HOT 1
- Question about rules_oci integration HOT 1
- Upgrade moby/buildkit to latest version.
- Upgrade opencontainers/runc to latest version
- Support bazel platforms
- enable goconst and nakedret rules in golang-lint
- reenable coverageredesign for test converage
- Wrong latest version shown in `skaffold.yaml` documentation page HOT 1
- Tail log from a different pod?
- Skaffold should expose metrics/telemetry
- TestShouldDisplayPrompt is failing for 2.10.0
- Skaffold ignores helm post renderer's errors and destroys deployment
- Skaffold build with --file-output and --tag outputs a file without the new tag. HOT 1
- Authentication required when pullinb public images from gcr when logged in to Google Cloud
- 2.11.1 is a wrong tag? HOT 2
- Modules activated by profiles? HOT 2
- Allow any network to be provided to docker builder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skaffold.