File tree Expand file tree Collapse file tree 7 files changed +88
-38
lines changed
deployment/kustomize/environments Expand file tree Collapse file tree 7 files changed +88
-38
lines changed Original file line number Diff line number Diff line change 7
7
* .sql.gz
8
8
.cache
9
9
.project
10
- .idea
10
+ .idea /
11
11
.pydevproject
12
- .idea /workspace.xml
13
12
.DS_Store
14
13
.git /
15
14
.sass-cache
16
15
.vagrant /
16
+ __pycache__
17
17
dist
18
18
docs
19
19
env
20
20
logs
21
21
src /djangofluent /settings /local.py
22
22
src /node_modules
23
+ web /media
23
24
web /media /cache /
24
25
stats
25
26
Dockerfile
Original file line number Diff line number Diff line change 1
- apiVersion : extensions/v1beta1
1
+ apiVersion : networking.k8s.io/v1
2
2
kind : Ingress
3
3
metadata :
4
4
name : djangofluent
8
8
http :
9
9
paths :
10
10
- path : /
11
+ pathType : Prefix
11
12
backend :
12
- serviceName : djangofluent
13
- servicePort : 80
13
+ service :
14
+ name : djangofluent
15
+ port :
16
+ number : 80
Original file line number Diff line number Diff line change 1
- apiVersion : extensions /v1beta1
1
+ apiVersion : networking.k8s.io /v1beta1
2
2
kind : Ingress
3
3
metadata :
4
4
name : djangofluent
@@ -26,12 +26,15 @@ spec:
26
26
http :
27
27
paths :
28
28
- path : /
29
+ pathType : Prefix
29
30
backend :
30
- serviceName : djangofluent
31
- servicePort : http
31
+ service :
32
+ name : djangofluent
33
+ port :
34
+ number : 80
32
35
---
33
36
# Leverage nginx-ingress cache for /media/
34
- apiVersion : extensions /v1beta1
37
+ apiVersion : networking.k8s.io /v1beta1
35
38
kind : Ingress
36
39
metadata :
37
40
name : djangofluent-media
@@ -49,12 +52,15 @@ spec:
49
52
http :
50
53
paths :
51
54
- path : /media/
55
+ pathType : Prefix
52
56
backend :
53
- serviceName : djangofluent
54
- servicePort : http
57
+ service :
58
+ name : djangofluent
59
+ port :
60
+ number : 80
55
61
---
56
62
# Leverage nginx-ingress cache for /static/
57
- apiVersion : extensions /v1beta1
63
+ apiVersion : networking.k8s.io /v1beta1
58
64
kind : Ingress
59
65
metadata :
60
66
name : djangofluent-static
72
78
http :
73
79
paths :
74
80
- path : /static/
81
+ pathType : Prefix
75
82
backend :
76
- serviceName : djangofluent
77
- servicePort : http
83
+ service :
84
+ name : djangofluent
85
+ port :
86
+ number : 80
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ spec:
25
25
value : " 1"
26
26
hostAliases :
27
27
- hostnames : ["pgbouncer-apps.infra"]
28
- ip : 10.112.2.12
28
+ ip : 10.43.242.171
29
29
- hostnames : ["postgres-apps.infra"]
30
- ip : 10.112.0.102
30
+ ip : 10.43.86.136
31
31
- hostnames : ["redis-master.infra"]
32
- ip : 10.112.12.219
32
+ ip : 10.43.26.82
33
33
34
34
---
35
35
apiVersion : batch/v1
59
59
value : " 1"
60
60
hostAliases :
61
61
- hostnames : ["pgbouncer-apps.infra"]
62
- ip : 10.112.2.12
62
+ ip : 10.43.242.171
63
63
- hostnames : ["postgres-apps.infra"]
64
- ip : 10.112.0.102
64
+ ip : 10.43.86.136
65
65
- hostnames : ["redis-master.infra"]
66
- ip : 10.112.12.219
66
+ ip : 10.43.26.82
Original file line number Diff line number Diff line change 1
- apiVersion : extensions/v1beta1
1
+ apiVersion : networking.k8s.io/v1
2
2
kind : Ingress
3
3
metadata :
4
4
name : djangofluent
@@ -22,12 +22,15 @@ spec:
22
22
http :
23
23
paths :
24
24
- path : /
25
+ pathType : Prefix
25
26
backend :
26
- serviceName : djangofluent
27
- servicePort : http
27
+ service :
28
+ name : djangofluent
29
+ port :
30
+ number : 80
28
31
---
29
32
# Extra ingress for paths that should not have auth annotations
30
- apiVersion : extensions/v1beta1
33
+ apiVersion : networking.k8s.io/v1
31
34
kind : Ingress
32
35
metadata :
33
36
name : djangofluent-authexclude
@@ -37,12 +40,15 @@ spec:
37
40
http :
38
41
paths :
39
42
- path : /api/health/
43
+ pathType : Prefix
40
44
backend :
41
- serviceName : djangofluent
42
- servicePort : http
45
+ service :
46
+ name : djangofluent
47
+ port :
48
+ number : 80
43
49
---
44
50
# Leverage nginx-ingress cache for /media/
45
- apiVersion : extensions/v1beta1
51
+ apiVersion : networking.k8s.io/v1
46
52
kind : Ingress
47
53
metadata :
48
54
name : djangofluent-media
@@ -60,12 +66,15 @@ spec:
60
66
http :
61
67
paths :
62
68
- path : /media/
69
+ pathType : Prefix
63
70
backend :
64
- serviceName : djangofluent
65
- servicePort : http
71
+ service :
72
+ name : djangofluent
73
+ port :
74
+ number : 80
66
75
---
67
76
# Leverage nginx-ingress cache for /static/
68
- apiVersion : extensions/v1beta1
77
+ apiVersion : networking.k8s.io/v1
69
78
kind : Ingress
70
79
metadata :
71
80
name : djangofluent-static
83
92
http :
84
93
paths :
85
94
- path : /static/
95
+ pathType : Prefix
86
96
backend :
87
- serviceName : djangofluent
88
- servicePort : http
97
+ service :
98
+ name : djangofluent
99
+ port :
100
+ number : 80
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ spec:
31
31
value : " 1"
32
32
hostAliases :
33
33
- hostnames : ["pgbouncer-apps.infra"]
34
- ip : 10.112.2.12
34
+ ip : 10.43.242.171
35
35
- hostnames : ["postgres-apps.infra"]
36
- ip : 10.112.0.102
36
+ ip : 10.43.86.136
37
37
- hostnames : ["redis-master.infra"]
38
- ip : 10.112.12.219
38
+ ip : 10.43.26.82
39
39
---
40
40
apiVersion : batch/v1
41
41
kind : Job
70
70
value : " 1"
71
71
hostAliases :
72
72
- hostnames : ["pgbouncer-apps.infra"]
73
- ip : 10.112.2.12
73
+ ip : 10.43.242.171
74
74
- hostnames : ["postgres-apps.infra"]
75
- ip : 10.112.0.102
75
+ ip : 10.43.86.136
76
76
- hostnames : ["redis-master.infra"]
77
- ip : 10.112.12.219
77
+ ip : 10.43.26.82
Original file line number Diff line number Diff line change
1
+ apiVersion : skaffold/v2beta19
2
+ kind : Config
3
+ build :
4
+ artifacts :
5
+ - image : djangofluent
6
+ context : .
7
+ profiles :
8
+ - name : dev
9
+ deploy :
10
+ kubeContext : docker-desktop
11
+ kustomize :
12
+ paths :
13
+ - deployment/kustomize/environments/dev
14
+ - name : tst
15
+ deploy :
16
+ kubeContext : k3os
17
+ kustomize :
18
+ paths :
19
+ - deployment/kustomize/environments/tst
20
+ - name : prd
21
+ deploy :
22
+ kubeContext : k3os
23
+ kustomize :
24
+ paths :
25
+ - deployment/kustomize/environments/prd
You can’t perform that action at this time.
0 commit comments