mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
Add 17th practice
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: php-apache
|
||||
name: php-apache
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: php-apache
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: php-apache
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/hpa-example
|
||||
name: hpa-example
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
...
|
||||
Reference in New Issue
Block a user