Coder Social home page Coder Social logo

example-actions-flux-eks's People

Contributors

dtenenba avatar imjohnbo avatar jpadams avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

example-actions-flux-eks's Issues

flux is not pulling the newly built image

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:

https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.