Skip to content

Instantly share code, notes, and snippets.

@apinter
Created August 6, 2024 10:59
Show Gist options
  • Save apinter/9c5f4a6c3398e388558a049b806d19c5 to your computer and use it in GitHub Desktop.
Save apinter/9c5f4a6c3398e388558a049b806d19c5 to your computer and use it in GitHub Desktop.
demo pod
```
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world-deployment
labels:
app: hello-world
spec:
selector:
matchLabels:
app: hello-world
replicas: 2
template:
metadata:
labels:
app: hello-world
spec:
containers:
- name: hello-world
image: registry.opensuse.org/opensuse/tumbleweed
ports:
- containerPort: 80
command: ["sleep"]
args: ["100000"]
resources:
limits:
memory: 256Mi
cpu: "250m"
requests:
memory: 128Mi
cpu: "80m"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment