annotate deploy.yaml @ 33:b82432594778

skaffold config and other updates
author drewp@bigasterisk.com
date Sat, 21 Aug 2021 14:24:57 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
1 apiVersion: apps/v1
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
2 kind: Deployment
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
3 metadata:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
4 name: href
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
5 spec:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
6 replicas: 1
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
7 selector:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
8 matchLabels:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
9 app: href
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
10 template:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
11 metadata:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
12 labels:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
13 app: href
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
14 spec:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
15 containers:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
16 - name: href
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
17 image: bang5:5000/href_image
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
18 ports:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
19 - containerPort: 10002
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
20 ---
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
21 apiVersion: v1
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
22 kind: Service
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
23 metadata:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
24 name: href
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
25 spec:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
26 ports:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
27 - {port: 80, targetPort: 10002}
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
28 selector:
b82432594778 skaffold config and other updates
drewp@bigasterisk.com
parents:
diff changeset
29 app: href