We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d62fa45 commit 999fb12Copy full SHA for 999fb12
content/ja/examples/application/php-apache.yaml
@@ -0,0 +1,36 @@
1
+apiVersion: apps/v1
2
+kind: Deployment
3
+metadata:
4
+ name: php-apache
5
+spec:
6
+ selector:
7
+ matchLabels:
8
+ run: php-apache
9
+ replicas: 1
10
+ template:
11
+ metadata:
12
+ labels:
13
14
+ spec:
15
+ containers:
16
+ - name: php-apache
17
+ image: k8s.gcr.io/hpa-example
18
+ ports:
19
+ - containerPort: 80
20
+ resources:
21
+ limits:
22
+ cpu: 500m
23
+ requests:
24
+ cpu: 200m
25
+---
26
+apiVersion: v1
27
+kind: Service
28
29
30
31
32
33
34
+ - port: 80
35
36
0 commit comments