Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
8b9b75a
soufianem370
soufianem370 Jun 2, 2020
49114a2
Update podinfo.yaml
soufianem370 Jun 2, 2020
e04ed51
Update podinfo.yaml
soufianem370 Jun 2, 2020
0405d58
Update podinfo.yaml
soufianem370 Jun 2, 2020
e0c00b2
Update podinfo.yaml
soufianem370 Jun 2, 2020
ea66a92
Update podinfo.yaml
soufianem370 Jun 2, 2020
6d17cba
Update podinfo.yaml
soufianem370 Jun 2, 2020
9baf54c
Update podinfo.yaml
soufianem370 Jun 2, 2020
aa6b3a8
Update podinfo.yaml
soufianem370 Jun 2, 2020
f4ee444
Create nginx_deploy.yml
soufianem370 Jun 2, 2020
a1b53c3
Update nginx_deploy.yml
soufianem370 Jun 2, 2020
84e094b
test nexus
soufianem370 Jun 5, 2020
76840fc
Update nginx_deploy.yml
soufianem370 Jun 19, 2020
8ef9853
add tag
soufianem370 Jun 5, 2020
c42b79b
Update podinfo.yaml
soufianem370 Jun 19, 2020
8698877
Update podinfo.yaml
soufianem370 Jun 19, 2020
19018bd
Auto-release soufianem370/podinfo:dev-g7ehaf6e
Jun 6, 2020
4e28bc4
Update podinfo.yaml
soufianem370 Jun 19, 2020
5ef73d0
Update podinfo.yaml
soufianem370 Jun 19, 2020
2a9944b
Auto-release soufianem370/podinfo:dev-qsm7vwwf
Jun 6, 2020
ecde84c
Update podinfo.yaml
soufianem370 Jun 19, 2020
279fdd3
Update podinfo.yaml
soufianem370 Jun 20, 2020
9997ea8
Update podinfo.yaml
soufianem370 Jun 20, 2020
4a53d03
test124
soufianem370 Jun 5, 2020
012ac06
Create podinfo.yaml
soufianem370 Jun 21, 2020
2470fdd
Update podinfo.yaml
soufianem370 Jun 21, 2020
a749231
Update podinfo.yaml
soufianem370 Jun 22, 2020
120060c
Update podinfo.yaml
soufianem370 Jun 22, 2020
7afb0b6
Update podinfo.yaml
soufianem370 Jun 22, 2020
03bae40
Create manifest-test-flux.yml
soufianem370 Jun 23, 2020
a6730e8
Create obs.yml
soufianem370 Jun 23, 2020
525af07
add files
Jun 23, 2020
644c88d
Delete nexus.yaml
soufianem370 Jun 23, 2020
236125c
Update podinfo.yaml
soufianem370 Jun 23, 2020
25d1259
Delete manifest-test-flux.yml
soufianem370 Jun 23, 2020
88b2f86
Delete nginx_deploy.yml
soufianem370 Jun 23, 2020
3835423
Create nginx-green.yml
soufianem370 Jun 23, 2020
fa184a5
Create nginx-red
soufianem370 Jun 23, 2020
e4bc88c
Delete nginx-red
soufianem370 Jun 23, 2020
9c0a4fc
Update nginx-green.yml
soufianem370 Jun 23, 2020
e5f372c
Create nginx-red.yaml
soufianem370 Jun 23, 2020
9336a54
Delete nginx-red.yaml
soufianem370 Jun 23, 2020
eff24ad
Create nginx-red.yaml
soufianem370 Jun 23, 2020
e1666d3
workload menté en charge
soufianem370 Jun 23, 2020
647b14b
Update nginx-red.yaml
soufianem370 Jun 23, 2020
7b82f98
Update nginx-red.yaml
soufianem370 Jun 23, 2020
a4dc43c
Update nginx-red.yaml
soufianem370 Jun 23, 2020
463af07
Update nginx-red.yaml
soufianem370 Jun 23, 2020
9fd5e06
replicas 3
soufianem370 Jun 23, 2020
8c1018c
Create nginx-blue.yaml
soufianem370 Jun 23, 2020
9152025
Auto-release soufianem370/podinfo:dev-twadhvfl
Jun 23, 2020
7ac4601
Auto-release soufianem370/podinfo:dev-5hfdy7mc
Jun 23, 2020
e2e86f5
Update podinfo.yaml
soufianem370 Jun 24, 2020
d49981d
Update values.yaml
soufianem370 Jun 24, 2020
f6d1a8c
Update podinfo.yaml
soufianem370 Jun 24, 2020
2d07180
Update podinfo.yaml
soufianem370 Jun 24, 2020
714db9d
Create ci-mock.sh
soufianem370 Jun 24, 2020
7802f99
Auto-release soufianem370/podinfo:dev-y8x637ei
Jun 23, 2020
736733e
Delete manifest-test-flux.yml
soufianem370 Jun 25, 2020
672cebb
Update nginx-red.yaml
soufianem370 Jun 25, 2020
14de4a9
Update nginx-red.yaml
soufianem370 Jun 25, 2020
f441b4d
add nexus
Jun 23, 2020
f1dc48e
Auto-release soufianem370/podinfo:0.4.10
Jun 30, 2020
6f488fc
Auto-release soufianem370/podinfo:0.4.11
Jun 30, 2020
dd13730
rollback v10
Jun 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/podinfo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ image:

service:
enabled: true
type: ClusterIP
type: LoadBalancer
metricsPort: 9797
httpPort: 9898
externalPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion hack/ci-mock.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

repository="stefanprodan/podinfo"
repository="soufianem370/podinfo"
branch="master"
version=""
commit=$(cat /dev/urandom | env LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1 | awk '{print tolower($0)}')
Expand Down
34 changes: 34 additions & 0 deletions manifeste/nexus/nexus-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nexus
namespace: devops-tools
spec:
replicas: 1
selector:
matchLabels:
app: nexus-server
template:
metadata:
labels:
app: nexus-server
spec:
containers:
- name: nexus
image: sonatype/nexus3:latest
resources:
limits:
memory: "4Gi"
cpu: "1000m"
requests:
memory: "2Gi"
cpu: "500m"
ports:
- containerPort: 8081
volumeMounts:
- name: nexus-data
mountPath: /nexus-data
volumes:
- name: nexus-data
persistentVolumeClaim:
claimName: nexus-pvc
5 changes: 5 additions & 0 deletions manifeste/nexus/nexus-namespace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: devops-tools
13 changes: 13 additions & 0 deletions manifeste/nexus/nexus-pvc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nexus-pvc
namespace: devops-tools
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 8Gi
storageClassName: nfs-client
17 changes: 17 additions & 0 deletions manifeste/nexus/nexus-svc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: nexus-service
namespace: devops-tools
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: /
prometheus.io/port: '8081'
spec:
selector:
app: nexus-server
type: NodePort
ports:
- port: 8081
targetPort: 8081
nodePort: 32000
50 changes: 50 additions & 0 deletions manifeste/nginx-blue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: nginx-blue
name: nginx-blue
namespace: obs
spec:
replicas: 3
selector:
matchLabels:
run: nginx-blue
template:
metadata:
labels:
run: nginx-blue
spec:
volumes:
- name: webdata
emptyDir: {}
initContainers:
- name: web-content
image: busybox
volumeMounts:
- name: webdata
mountPath: "/webdata"
command: ["/bin/sh", "-c", 'echo "<h1>I am <font color=blue>blue</font></h1>" > /webdata/index.html']
containers:
- image: nginx
name: nginx
volumeMounts:
- name: webdata
mountPath: "/usr/share/nginx/html"
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
run: nginx-blue
name: nginx-blue
namespace: obs
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: nginx-blue
type: LoadBalancer
52 changes: 52 additions & 0 deletions manifeste/nginx-green.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: nginx-green
name: nginx-green
namespace: obs
spec:
replicas: 2
selector:
matchLabels:
run: nginx-green
template:
metadata:
labels:
run: nginx-green
spec:
volumes:
- name: webdata
emptyDir: {}
initContainers:
- name: web-content
image: busybox
volumeMounts:
- name: webdata
mountPath: "/webdata"
command: ["/bin/sh", "-c", 'echo "<h1>I am <font color=green>GREEN</font></h1>" > /webdata/index.html']
containers:
- image: nginx
name: nginx
volumeMounts:
- name: webdata
mountPath: "/usr/share/nginx/html"
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
run: nginx-green
name: nginx-green
namespace: obs
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: nginx-green
type: LoadBalancer
status:
loadBalancer: {}
51 changes: 51 additions & 0 deletions manifeste/nginx-red.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: nginx-red
name: nginx-red
namespace: obs
spec:
replicas: 2
selector:
matchLabels:
run: nginx-red
template:
metadata:
labels:
run: nginx-red
spec:
volumes:
- name: webdata
emptyDir: {}
initContainers:
- name: web-content
image: busybox
volumeMounts:
- name: webdata
mountPath: "/webdata"
command: ["/bin/sh", "-c", 'echo "<h1>I am <font color=red>Red</font></h1>" > /webdata/index.html']
containers:
- image: nginx
name: nginx
volumeMounts:
- name: webdata
mountPath: "/usr/share/nginx/html"
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
run: nginx-red
name: nginx-red
namespace: obs
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
run: nginx-red
type: LoadBalancer

22 changes: 22 additions & 0 deletions manifeste/nginx_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80

5 changes: 5 additions & 0 deletions namespaces/obs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: obs
10 changes: 7 additions & 3 deletions releases/dev/podinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ metadata:
spec:
releaseName: podinfo-dev
chart:
git: [email protected]:fluxcd/helm-operator-get-started
git: [email protected]:soufianem370/helm-operator-get-started
path: charts/podinfo
ref: master
values:
image:
repository: stefanprodan/podinfo
tag: dev-hdtwcel9
repository: soufianem370/podinfo
tag: dev-5hfdy7mc
replicaCount: 1
hpa:
enabled: false
service:
type: LoadBalancer
port: 9898

6 changes: 3 additions & 3 deletions releases/prod/podinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ metadata:
spec:
releaseName: podinfo-prod
chart:
git: [email protected]:fluxcd/helm-operator-get-started
git: [email protected]:soufianem370/helm-operator-get-started
path: charts/podinfo
ref: master
values:
image:
repository: stefanprodan/podinfo
tag: 0.4.11
repository: soufianem370/podinfo
tag: 0.4.10
replicaCount: 3
6 changes: 3 additions & 3 deletions releases/stg/podinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ metadata:
spec:
releaseName: podinfo-rc
chart:
git: [email protected]:fluxcd/helm-operator-get-started
git: [email protected]:soufianem370/helm-operator-get-started
path: charts/podinfo
ref: master
values:
image:
repository: stefanprodan/podinfo
tag: stg-9ij63o4c
repository: soufianem370/podinfo
tag: dev-eobmcqmy
replicaCount: 2
hpa:
enabled: true
Expand Down