Created
March 23, 2026 18:02
-
-
Save chadmcrowell/57c81e2ac7077032435e1228fe4a3e8c to your computer and use it in GitHub Desktop.
YAML file with small error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| meta | |
| name: api-server | |
| namespace: production | |
| spec: | |
| replicas: 3 | |
| selector: | |
| matchLabels: | |
| app: api-server | |
| template: | |
| meta | |
| labels: | |
| app: api-server | |
| spec: | |
| containers: | |
| - name: api | |
| image: myapp:v2.1.0 | |
| ports: | |
| - containerPort: 8080 | |
| resources: | |
| requests: | |
| memory: "128Mi" | |
| cpu: "250m" | |
| limits: | |
| memory: "256Mi" | |
| cpu: "500m" | |
| readinessProbe: | |
| httpGet: | |
| path: /healthz | |
| port: 8080 | |
| initialDelaySeconds: 10 | |
| periodSeconds: 5 | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| meta | |
| name: api-server | |
| namespace: production | |
| spec: | |
| selector: | |
| app: apiserver | |
| ports: | |
| - port: 80 | |
| targetPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment