score-spec - Platform Tool

score-spec - Platform Tool

Score is an open source, platform-agnostic, container-based workload specification. This means you can define your workload once with the Score Specification and then use a Score Implementation CLI to translate it to multiple platforms, such as Helm, Docker Compose




Usecase :

This project aims to reduce developer toil and cognitive load, by only having to define a single yaml file that works across multiple platforms

Install :

https://docs.score.dev/docs/get-started/

How it works

  • Install

brew install score-spec/tap/score-k8s        

  • Create a score.yaml file for the application ( score-k8s init )

apiVersion: score.dev/v1b1
containers:
   main:
      image: stefanprodan/podinfo
metadata:
     name: example
service:
    ports:
        web:
            port: 8080        

  • Initialise directory & generate manifests

score-k8s init        
score-k8s generate score.yaml        

  • apply manifest


More details :

https://github.com/score-spec

https://docs.score.dev/docs/





要查看或添加评论,请登录

社区洞察

其他会员也浏览了