Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions content/authors/tobias-babin/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: Tobias Babin
role: Technical Documentation Specialist
image: 668fe8581b07e310edbe33f6_Tobias Babin.png
---
2 changes: 1 addition & 1 deletion content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
title: Blog
featured_post: celebrating-1-year-as-cncf-sandbox
featured_post: score-examples-hub-announcement
---
89 changes: 89 additions & 0 deletions content/blog/score-examples-hub-announcement/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
title: "Announcing the new Score Examples Hub"
date: 2025-11-03T00:00:00-00:00
draft: false
description: "Announcement of the new place for all the examples about Score: The Score Examples Hub!"
image: score-examples-hub-announcement.png
author: tobias-babin
---

_Hi, there! Tobi here, Tech Writer at Humanitec and Score contributor._

🎉 Today, Score is officially announcing the new [Score Examples Hub](https://docs.score.dev/examples/)! 🎉

One of the feedbacks we have been capturing is to show more concrete examples and use cases with Score.

When we celebrated the [first anniversary of Score as CNCF Sandbox](https://score.dev/blog/celebrating-1-year-as-cncf-sandbox/) a couple of months ago, we provided a sneak peek about this Score Examples Hub. Since then, we have been adding more examples of Score files, resource provisioners and patch templates.

![Screenshot of the Score Examples Hub Homepage](score-examples-hub-homepage.png)

## Score specification and resources examples

Find Score files examples illustrating how to use the Score specification as well as how to use the resources provisioners with either [`score-compose`](https://docs.score.dev/docs/score-implementation/score-compose/) or [`score-k8s`](https://docs.score.dev/docs/score-implementation/score-k8s/):

![Screenshot of the Score Examples Hub for Spec & Resources](score-examples-hub-spec-resources.png)

As an example, that's how in there you will be able to find how you can [use a local LLM model with Score and `score-compose`](https://docs.score.dev/examples/score/resources/community-provisioners/llm-model/):

`score.yaml`:
```yaml
apiVersion: score.dev/v1b1
metadata:
name: my-workload
containers:
my-container:
image: busybox
command: ["/bin/sh"]
args: ["-c", "while true; do echo $LLM_BASE_URL; sleep 5; done"]
variables:
LLM_MODEL_NAME: "${resources.model.model}"
LLM_BASE_URL: "${resources.model.url}"
resources:
model:
type: llm-model
params:
model: ai/smollm2:135M-Q4_0
```

Run:
```bash
score-compose init \
--provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/llm-model/score-compose/10-dmr-llm-model-via-service-provider.provisioners.yaml

score-compose generate score.yaml -o compose.yaml

docker compose up -d --wait
```

In the `score.yaml` file, the Developer can request a `llm-model` resource to use it in their app by injecting the corresponding `url` generated when this Score file will be deployed. By using `score-compose init --provisioners`, the actual implementation of the `llm-model` resource is downloaded locally (you can [look at its definition here](https://docs.score.dev/examples/resource-provisioners/community/llm-model/score-compose/template/dmr-llm-model-via-service-provider/), Docker Model Runner is used). Then, with `score-compose generate`, both the `my-container` and the `llm-model` services are generated into a `compose.yaml` file. Finally, `docker compose up` will deploy them.

## Score resources provisioners examples

Find examples of resources provisioners with either [`score-compose`](https://docs.score.dev/examples/resource-provisioners?implementation=score-compose) or [`score-k8s`](https://docs.score.dev/examples/resource-provisioners?implementation=score-k8s):

![Screenshot of the Score Examples Hub for Resources Provisioners](score-examples-hub-provisioners.png)

## Score patch templates examples

Find examples of patch templates with either [`score-compose`](https://docs.score.dev/examples/patch-templates?implementation=score-compose) or [`score-k8s`](https://docs.score.dev/examples/patch-templates?implementation=score-k8s):

![Screenshot of the Score Examples Hub for Patch Templates](score-examples-hub-patchers.png)

## More advanced examples

Find more advanced examples illustrating how to deploy a NodeJS application talking to a PostgreSQL database, how to deploy Backstage and Nginx, how to use Dapr with your workloads, etc. with either `score-compose` or `score-k8s`:

![Screenshot of the Score Examples Hub for more advanced use cases](score-examples-hub-advanced.png)

## Kudos!

Huge kudos to [**Santiago Beroch**](https://www.linkedin.com/in/santiagoberoch/) for collaborating with me to design and implement this very powerful [Score Examples Hub](https://docs.score.dev/examples/)! And thanks, [Humanitec](https://humanitec.com/) for your support on this!

## What's next?

Please share your feedback with us and please do let us know if there is anything in particular you would like to see in this growing list of examples!
- [Join the #score channel in the CNCF Slack](https://cloud-native.slack.com/archives/C07DN0D1UCW)
- [Get started with Score](https://docs.score.dev/docs/get-started/)
- [Contribute to Score](https://clotributor.dev/search?foundation=cncf&project=score)

See you in Atlanta for [KubeCon NA 2025](https://events.linuxfoundation.org/kubecon-cloudnativecon-north-america/)!?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.