Skip to content

Commit 120191a

Browse files
Add new deployment to cluster
1 parent fbd3f6c commit 120191a

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

deploy/kubernetes/podinfo-dep.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
apiVersion: apps/v1beta1 # for versions before 1.6.0 use extensions/v1beta1
3+
kind: Deployment
4+
metadata:
5+
name: podinfo
6+
spec:
7+
replicas: 1
8+
template:
9+
metadata:
10+
labels:
11+
app: podinfo
12+
spec:
13+
containers:
14+
- name: podinfo
15+
image: quay.io/stefanprodan/podinfo:3.0.0
16+
ports:
17+
- containerPort: 3000

flux/flux-deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ spec:
100100
- --ssh-keygen-dir=/var/fluxd/keygen
101101

102102
# replace or remove the following URL
103-
- [email protected]:weaveworks/flux-get-started
103+
- [email protected]:training3/gitops-tutorial.git
104+
- --git-path=deploy/kubernetes
104105
- --git-branch=master
105106

106107
# include these next two to connect to an "upstream" service

0 commit comments

Comments
 (0)