github-developer / example-actions-flux-eks Goto Github PK
View Code? Open in Web Editor NEWGitHub Actions, Flux, and Amazon EKS ✨
License: MIT License
GitHub Actions, Flux, and Amazon EKS ✨
License: MIT License
The system described in this repo worked for my first few commits, but then I needed to request more memory and CPU for my app because it was having an error related to running out of memory. I made the following change to manifests/deployment.yml
:
Before:
...
resources:
requests:
cpu: 250m
limits:
cpu: 500m
After:
...
resources:
cpu: 500m
memory: 1024M
limits:
cpu: 1000m
memory: 2048M
Since my build.yml
does not trigger on commits to the manifests
directory, I also made a non-significant change (added a space to a line that was commented out) in a file outside that directory, to trigger GitHub Actions.
My image was rebuilt and pushed but Flux did not pull the image and redeploy my pod. The Flux log ends as follows:
$ kubectl logs flux-6df96947dc-frrzt --namespace=flux
...
ts=2019-12-29T06:13:52.279663558Z caller=images.go:23 component=sync-loop error="getting unlocked automated resources: scanning multidoc from \"manifests/deployment.yml\": yaml: line 28: did not find expected key"
Line 28 is the line in the resources
section saying memory: 1024M
. I'm not sure which key is missing or expected. I added this request based on the documentation:
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.