File tree Expand file tree Collapse file tree 9 files changed +410
-0
lines changed Expand file tree Collapse file tree 9 files changed +410
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : ConfigMap
3+ metadata :
4+ name : secrets-markapi-hml
5+ namespace : markapi-hml
6+ labels :
7+ k8slens-edit-resource-version : v1
8+ spec : {}
9+ data :
10+ CELERY_BROKER_URL : redis://redis:6379/0
11+ CELERY_FLOWER_PASSWORD :
12+ CELERY_FLOWER_USER :
13+ DATABASE_URL :
14+ DJANGO_ADMIN_URL : django-admin/
15+ DJANGO_ALLOWED_HOSTS : ' *'
16+ DJANGO_DEBUG : ' True'
17+ DJANGO_DEFAULT_FROM_EMAIL :
18+ DJANGO_EMAIL_SUBJECT_PREFIX : ' [MARKAPI-HML]'
19+ DJANGO_SECRET_KEY :
20+ DJANGO_SETTINGS_MODULE : config.settings.production
21+ EMAIL_HOST : smtp.gmail.com
22+ EMAIL_HOST_PASSWORD :
23+ EMAIL_HOST_USER :
24+ EMAIL_PORT : ' 587'
25+ EMAIL_USE_TLS : ' True'
26+ IPYTHONDIR : /app/.ipython
27+ MAINTENANCE_MODE : ' False'
28+ REDIS_URL : redis://redis:6379/0
29+ SENTRY_DSN :
30+ USE_DOCKER : ' yes'
31+ WAGTAILADMIN_BASE_URL : https://hml-markapi.scielo.org
32+ WAGTAIL_ADMIN_URL : admin/
33+ HF_TOKEN :
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : markapi-hml-celerybeat
5+ namespace : markapi-hml
6+ generation : 1
7+ labels :
8+ app : markapi-hml-celerybeat
9+ k8slens-edit-resource-version : v1
10+ annotations :
11+ deployment.kubernetes.io/revision : ' 1'
12+ selfLink : /apis/apps/v1/namespaces/markapi-hml/deployments/markapi-hml-celerybeat
13+ spec :
14+ replicas : 1
15+ selector :
16+ matchLabels :
17+ app : markapi-hml-celerybeat
18+ template :
19+ metadata :
20+ labels :
21+ app : markapi-hml-celerybeat
22+ spec :
23+ volumes :
24+ - name : markapi-hml-django-media
25+ persistentVolumeClaim :
26+ claimName : markapi-hml-django-media-pvclaim
27+ - name : markapi-hml-django-tmp
28+ persistentVolumeClaim :
29+ claimName : markapi-hml-django-tmp-pvclaim
30+ containers :
31+ - name : webapp
32+ image : scieloorg/markapi:v0.1.0
33+ command :
34+ - /start-celerybeat
35+ envFrom :
36+ - configMapRef :
37+ name : configmap-markapi-hml
38+ resources : {}
39+ volumeMounts :
40+ - name : markapi-hml-django-media
41+ mountPath : /app/core/media
42+ terminationMessagePath : /dev/termination-log
43+ terminationMessagePolicy : File
44+ imagePullPolicy : Always
45+ restartPolicy : Always
46+ terminationGracePeriodSeconds : 30
47+ dnsPolicy : ClusterFirst
48+ securityContext : {}
49+ schedulerName : default-scheduler
50+ tolerations :
51+ - key : app
52+ operator : Equal
53+ value : producao
54+ effect : NoSchedule
55+ strategy :
56+ type : RollingUpdate
57+ rollingUpdate :
58+ maxUnavailable : 1
59+ maxSurge : 1
60+ revisionHistoryLimit : 10
61+ progressDeadlineSeconds : 600
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : markapi-hml-celeryworker
5+ namespace : markapi-hml
6+ generation : 1
7+ labels :
8+ app : markapi-hml-celeryworker
9+ k8slens-edit-resource-version : v1
10+ annotations :
11+ deployment.kubernetes.io/revision : ' 1'
12+ selfLink : /apis/apps/v1/namespaces/markapi-hml/deployments/markapi-hml-celeryworker
13+ spec :
14+ replicas : 1
15+ selector :
16+ matchLabels :
17+ app : markapi-hml-celeryworker
18+ template :
19+ metadata :
20+ creationTimestamp : null
21+ labels :
22+ app : markapi-hml-celeryworker
23+ spec :
24+ volumes :
25+ - name : markapi-hml-django-media
26+ persistentVolumeClaim :
27+ claimName : markapi-hml-django-media-pvclaim
28+ - name : markapi-hml-django-tmp
29+ persistentVolumeClaim :
30+ claimName : markapi-hml-django-tmp-pvclaim
31+ containers :
32+ - name : webapp
33+ image : scieloorg/markapi:v0.1.0
34+ command :
35+ - /start-celeryworker
36+ envFrom :
37+ - configMapRef :
38+ name : configmap-markapi-hml
39+ resources : {}
40+ volumeMounts :
41+ - name : markapi-hml-django-media
42+ mountPath : /app/core/media
43+ - name : markapi-hml-django-tmp
44+ mountPath : /tmp
45+ terminationMessagePath : /dev/termination-log
46+ terminationMessagePolicy : File
47+ imagePullPolicy : Always
48+ restartPolicy : Always
49+ terminationGracePeriodSeconds : 120
50+ dnsPolicy : ClusterFirst
51+ securityContext : {}
52+ schedulerName : default-scheduler
53+ tolerations :
54+ - key : app
55+ operator : Equal
56+ value : producao
57+ effect : NoSchedule
58+ strategy :
59+ type : RollingUpdate
60+ rollingUpdate :
61+ maxUnavailable : 1
62+ maxSurge : 1
63+ revisionHistoryLimit : 10
64+ progressDeadlineSeconds : 600
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : markapi-hml-django
5+ namespace : markapi-hml
6+ generation : 1
7+ labels :
8+ app : markapi-hml-django
9+ k8slens-edit-resource-version : 1
10+ annotations :
11+ deployment.kubernetes.io/revision : ' 1'
12+ selfLink : /apis/apps/v1/namespaces/markapi-hml/deployments/markapi-hml-django
13+ spec :
14+ replicas : 1
15+ selector :
16+ matchLabels :
17+ app : markapi-hml-django
18+ template :
19+ metadata :
20+ creationTimestamp : null
21+ labels :
22+ app : markapi-hml-django
23+ spec :
24+ volumes :
25+ - name : markapi-hml-django-media
26+ persistentVolumeClaim :
27+ claimName : markapi-hml-django-media-pvclaim
28+ - name : markapi-hml-django-tmp
29+ persistentVolumeClaim :
30+ claimName : markapi-hml-django-tmp-pvclaim
31+ containers :
32+ - name : webapp
33+ image : scieloorg/markapi:v0.1.0
34+ command :
35+ - /start
36+ ports :
37+ - name : webapp
38+ containerPort : 5000
39+ protocol : TCP
40+ envFrom :
41+ - configMapRef :
42+ name : configmap-markapi-hml
43+ resources : {}
44+ volumeMounts :
45+ - name : markapi-hml-django-media
46+ mountPath : /app/core/media
47+ - name : markapi-hml-django-tmp
48+ mountPath : /tmp
49+ terminationMessagePath : /dev/termination-log
50+ terminationMessagePolicy : File
51+ imagePullPolicy : Always
52+ securityContext :
53+ privileged : true
54+ restartPolicy : Always
55+ terminationGracePeriodSeconds : 30
56+ dnsPolicy : ClusterFirst
57+ securityContext : {}
58+ schedulerName : default-scheduler
59+ tolerations :
60+ - key : app
61+ operator : Equal
62+ value : producao
63+ effect : NoSchedule
64+ strategy :
65+ type : RollingUpdate
66+ rollingUpdate :
67+ maxUnavailable : 1
68+ maxSurge : 1
69+ revisionHistoryLimit : 10
70+ progressDeadlineSeconds : 600
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : StatefulSet
3+ metadata :
4+ name : markapi-hml-postgres
5+ namespace : markapi-hml
6+ generation : 1
7+ annotations :
8+ selfLink : /apis/apps/v1/namespaces/markapi-hml/statefulsets/markapi-hml-postgres
9+ spec :
10+ replicas : 1
11+ selector :
12+ matchLabels :
13+ app : markapi-hml-postgres
14+ template :
15+ metadata :
16+ creationTimestamp : null
17+ labels :
18+ app : markapi-hml-postgres
19+ spec :
20+ volumes :
21+ - name : markapi-hml-postgres-data
22+ persistentVolumeClaim :
23+ claimName : markapi-hml-postgres-pvc
24+ containers :
25+ - name : postgres
26+ image : postgres:15.3
27+ ports :
28+ - containerPort : 5432
29+ protocol : TCP
30+ envFrom :
31+ - configMapRef :
32+ name : configmap-markapi-hml
33+ resources : {}
34+ volumeMounts :
35+ - name : markapi-hml-postgres-data
36+ mountPath : /var/lib/postgresql/data
37+ terminationMessagePath : /dev/termination-log
38+ terminationMessagePolicy : File
39+ imagePullPolicy : IfNotPresent
40+ restartPolicy : Always
41+ terminationGracePeriodSeconds : 30
42+ dnsPolicy : ClusterFirst
43+ serviceAccountName : postgres
44+ serviceAccount : postgres
45+ securityContext :
46+ runAsUser : 999
47+ fsGroup : 999
48+ schedulerName : default-scheduler
49+ tolerations :
50+ - key : app
51+ operator : Equal
52+ value : producao
53+ effect : NoSchedule
54+ serviceName : markapi-hml-postgres
55+ podManagementPolicy : OrderedReady
56+ updateStrategy :
57+ type : RollingUpdate
58+ rollingUpdate :
59+ partition : 0
60+ revisionHistoryLimit : 10
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : StatefulSet
3+ metadata :
4+ name : redis
5+ namespace : markapi-hml
6+ generation : 1
7+ labels :
8+ k8slens-edit-resource-version : v1
9+ annotations :
10+ selfLink : /apis/apps/v1/namespaces/markapi-hml/statefulsets/redis
11+ spec :
12+ replicas : 1
13+ selector :
14+ matchLabels :
15+ app : redis
16+ env : markapi-hml
17+ template :
18+ metadata :
19+ creationTimestamp : null
20+ labels :
21+ app : redis
22+ env : markapi-hml
23+ spec :
24+ volumes :
25+ - name : markapi-hml-redis
26+ persistentVolumeClaim :
27+ claimName : markapi-hml-redis-pvclaim
28+ containers :
29+ - name : redis
30+ image : redis:7.2
31+ resources : {}
32+ volumeMounts :
33+ - name : markapi-hml-redis
34+ mountPath : /data
35+ terminationMessagePath : /dev/termination-log
36+ terminationMessagePolicy : File
37+ imagePullPolicy : IfNotPresent
38+ restartPolicy : Always
39+ terminationGracePeriodSeconds : 30
40+ dnsPolicy : ClusterFirst
41+ serviceAccountName : redis
42+ serviceAccount : redis
43+ securityContext :
44+ runAsUser : 1001
45+ fsGroup : 1001
46+ schedulerName : default-scheduler
47+ tolerations :
48+ - key : app
49+ operator : Equal
50+ value : producao
51+ effect : NoSchedule
52+ serviceName : redis
53+ podManagementPolicy : OrderedReady
54+ updateStrategy :
55+ type : RollingUpdate
56+ rollingUpdate :
57+ partition : 0
58+ revisionHistoryLimit : 10
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : markapi-hml-django-svc
5+ namespace : markapi-hml
6+ labels :
7+ app : markapi-hml-django
8+ selfLink : /api/v1/namespaces/markapi-hml/services/markapi-hml-django-svc
9+ spec :
10+ ports :
11+ - name : webapp
12+ protocol : TCP
13+ port : 5000
14+ targetPort : 5000
15+ nodePort :
16+ selector :
17+ app : markapi-hml-django
18+ clusterIP :
19+ clusterIPs :
20+ type : NodePort
21+ sessionAffinity : None
22+ externalTrafficPolicy : Cluster
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : markapi-hml-postgres
5+ namespace : markapi-hml
6+ labels :
7+ app : markapi-hml-postgres
8+ annotations :
9+ selfLink : /api/v1/namespaces/markapi-hml/services/markapi-hml-postgres
10+ spec :
11+ ports :
12+ - name : postgres
13+ protocol : TCP
14+ port : 5432
15+ targetPort : 5432
16+ selector :
17+ app : markapi-hml-postgres
18+ clusterIP :
19+ clusterIPs :
20+ type : ClusterIP
21+ sessionAffinity : None
You can’t perform that action at this time.
0 commit comments