new file: manifests/ubuntu-deployment.yaml
This commit is contained in:
26
manifests/ubuntu-deployment.yaml
Normal file
26
manifests/ubuntu-deployment.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ubuntu-test
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ubuntu-test
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ubuntu-test
|
||||
spec:
|
||||
containers:
|
||||
- name: ubuntu-test
|
||||
image: ubuntu:latest
|
||||
command: ["sleep", "infinity"]
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
limits:
|
||||
memory: "1024Mi"
|
||||
cpu: "500m"
|
||||
Reference in New Issue
Block a user