Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A CUE based appfile #389

Closed
resouer opened this issue Aug 7, 2020 · 2 comments
Closed

A CUE based appfile #389

resouer opened this issue Aug 7, 2020 · 2 comments

Comments

@resouer
Copy link
Member

resouer commented Aug 7, 2020

Recently, we are working on a CUE based appfile which is a Docker Compose style UI file for OAM objects.

It's much simpler than k8s yaml and highly extensible by CUE schema.

name: myapp
components:
  frontend:
    deployment:
      image: inanimate/echo-server
      env:
        PORT: 8080
    traits:
      autoscaling:
        max: 10
        min: 1
      rollout:
        strategy: canary
        step: 5
      expose:
        service:
          type: LoadBalancer
        ports:
          http:
            service_port: 80
            container_port: 8080
    scopes:
      - public-scope
appScopes:
  public-scope:
    networkPolicy: public
  private-scope:
    networkPolicy: private

Will call for a PoC/demo when it's ready.

@kminder
Copy link

kminder commented Oct 6, 2020

See comment on issue 306.
#306 (comment)

@resouer
Copy link
Member Author

resouer commented Oct 6, 2020

Close in favor of aggregate all discussion and design in #306

@resouer resouer closed this as completed Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants