File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : hello-world
5+ namespace : default
6+ spec :
7+ replicas : 1
8+ selector :
9+ matchLabels :
10+ app : hello-world
11+ template :
12+ metadata :
13+ labels :
14+ app : hello-world
15+ spec :
16+ containers :
17+ - name : hello-world
18+ image : codepier/node-getting-started:latest
19+ ports :
20+ - containerPort : 3000
Original file line number Diff line number Diff line change 1+ apiVersion : networking.k8s.io/v1
2+ kind : Ingress
3+ metadata :
4+ name : hello-world
5+ namespace : default
6+ spec :
7+ rules :
8+ - host : hello-world.localhost
9+ http :
10+ paths :
11+ - path : /
12+ pathType : Prefix
13+ backend :
14+ service :
15+ name : hello-world
16+ port :
17+ number : 3000
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : hello-world
5+ namespace : default
6+ spec :
7+ selector :
8+ app : hello-world
9+ ports :
10+ - port : 3000
11+ targetPort : 3000
You can’t perform that action at this time.
0 commit comments