Download examples/deployment.yaml from erayack/yaml-edit: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/erayack/yaml-edit/resolve/main/examples/deployment.yaml
- Command line
-
hf download hf://erayack/yaml-edit/examples/deployment.yaml
-
curl -L -o deployment.yaml https://huggingface.co/erayack/yaml-edit/resolve/main/examples/deployment.yaml
513 Bytes
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: api | |
| spec: | |
| replicas: 2 # Keep at least two for availability | |
| selector: | |
| matchLabels: | |
| app: api | |
| template: | |
| metadata: | |
| labels: | |
| app: api | |
| spec: | |
| containers: | |
| - name: api | |
| image: nginx:1.26 | |
| resources: | |
| requests: | |
| cpu: 250m | |
| memory: 128Mi | |
| limits: | |
| cpu: "1" | |
| memory: 256Mi | |
| - name: sidecar | |
| image: busybox:1.37 | |