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 5ec723c commit 6084c73Copy full SHA for 6084c73
manifests/deployment.yaml
@@ -0,0 +1,31 @@
1
+apiVersion: apps/v1
2
+kind: Deployment
3
+metadata:
4
+ name: helloworld
5
+spec:
6
+ replicas: 1
7
+ selector:
8
+ matchLabels:
9
+ app: helloworld
10
+ template:
11
+ metadata:
12
+ labels:
13
14
+ spec:
15
+ nodeSelector:
16
+ "kubernetes.io/os": linux
17
+ containers:
18
+ - name: helloworld
19
+ image: karthequian/helloworld:latest
20
+ resources:
21
+ requests:
22
+ cpu: 100m
23
+ memory: 128Mi
24
+ limits:
25
+ cpu: 250m
26
+ memory: 256Mi
27
+ ports:
28
+ - containerPort: 80
29
+ env:
30
+ - name: PORT
31
+ value: 80
manifests/service.yaml
@@ -0,0 +1,10 @@
+apiVersion: v1
+kind: Service
+ type: LoadBalancer
+ - port: 80
0 commit comments