File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : v1
3
+ kind : Namespace
4
+ metadata :
5
+ name : game-2048
6
+ ---
7
+ apiVersion : apps/v1
8
+ kind : Deployment
9
+ metadata :
10
+ namespace : game-2048
11
+ name : deployment-2048
12
+ spec :
13
+ selector :
14
+ matchLabels :
15
+ app.kubernetes.io/name : app-2048
16
+ replicas : 5
17
+ template :
18
+ metadata :
19
+ labels :
20
+ app.kubernetes.io/name : app-2048
21
+ spec :
22
+ containers :
23
+ - image : public.ecr.aws/l6m2t8p7/docker-2048:latest
24
+ imagePullPolicy : Always
25
+ name : app-2048
26
+ ports :
27
+ - containerPort : 80
28
+ ---
29
+ apiVersion : v1
30
+ kind : Service
31
+ metadata :
32
+ namespace : game-2048
33
+ name : service-2048
34
+ spec :
35
+ ports :
36
+ - port : 80
37
+ targetPort : 80
38
+ protocol : TCP
39
+ type : NodePort
40
+ selector :
41
+ app.kubernetes.io/name : app-2048
42
+ ---
43
+ apiVersion : networking.k8s.io/v1
44
+ kind : Ingress
45
+ metadata :
46
+ namespace : game-2048
47
+ name : ingress-2048
48
+ annotations :
49
+ alb.ingress.kubernetes.io/scheme : internet-facing
50
+ alb.ingress.kubernetes.io/target-type : ip
51
+ alb.ingress.kubernetes.io/ip-address-type : dualstack
52
+ spec :
53
+ ingressClassName : alb
54
+ rules :
55
+ - http :
56
+ paths :
57
+ - path : /
58
+ pathType : Prefix
59
+ backend :
60
+ service :
61
+ name : service-2048
62
+ port :
63
+ number : 80
You can’t perform that action at this time.
0 commit comments