Comments (3)
Thanks for the report @sarathmohan4
Since this is a kpt issue, I would recommend opening an issue here https://github.com/GoogleContainerTools/kpt
As kpt is git aware, is there any way that the render will happen only for the changed or newly created blueprints in the repository?
AFAIK this is not currently supported within kpt.
any other steps to improve the rendering stage performance
One possibility is if you have a flat structure with independent packages, you could script something where you git diff, find the top level folders that have changed and execute kpt fn render $FOLDER
. Scripting parallel kpt execution maybe another possibility if you are running in a machine with more resources.
from blueprints.
Yes, this is best addressed at the kpt level (feel free to open a new issue).
I know the team is already looking at improving function performance (tracking issue: kptdev/kpt#2469), but caching/fingerprinting is a good suggestion as well.
from blueprints.
@bharathkkb Thanks for the reply. We tried with the git diff approach, and end up in a scenario which need separate handling for resource deletions. As only modified packages are rendered, and we cannot update the sync repo by completely removing all files (git rm), but need to overwrite the rendered packages only in sync repo.
This will not have any implicit knowledge of deleted resources. The deleted resources from the hydration repo will not get delete from the sync repo. Deletion of resources might need to handle separately.
from blueprints.
Related Issues (20)
- KRM updater is not working HOT 1
- Add makefile target for regenerating docs and enable doc gen lint check in CI
- Missing GCPEnforceNamingV2 HOT 5
- Default branch is master in cloud source repo HOT 2
- Question about kpt-set: ${projects-namespace} not specified in setters.yaml HOT 1
- Attaching owner information to a resource created through blueprint HOT 1
- hope to see ResourceManagerPolicy with condition of expression of resource.matchTag(...) HOT 1
- Evaluate depends-on for blueprints HOT 1
- svpc service project uses same setter for networking and project ns HOT 1
- Add local-config anno to all functionConfigs and kptfiles HOT 2
- error: object file .git/objects/3c/2dda6e6ba2c7929b2cb5e4c71c9584eb62654c is empty HOT 3
- cloud source repo defaults to master, not main HOT 10
- kpt live apply command stuck while the yaml has the wrong namespace. HOT 3
- SA sync-krmapihost-config-controller-1 is more than 30 characters HOT 2
- Unsupported ACM version 1.9.0 in GKEHubFeatureMembership HOT 1
- How to set the vCPU and memory resources for a GKE cluster? HOT 2
- doc bug: syncBranch field in the ConfigManagement object isn't valid for config sync HOT 1
- External HTTP(s) Loadbalancer blueprint HOT 1
- Dependency Dashboard
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 blueprints.