Front - Back yaml
This commit is contained in:
@@ -7,7 +7,3 @@ controller:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
service:
|
|
||||||
annotations:
|
|
||||||
service.beta.kubernetes.io/do-loadbalancer-name: "bop.local"
|
|
||||||
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL"
|
|
||||||
|
|||||||
13
k8s/ingress-nginx/nginx-values.yaml~
Normal file
13
k8s/ingress-nginx/nginx-values.yaml~
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
controller:
|
||||||
|
allowSnippetAnnotations: "true"
|
||||||
|
replicaCount: 2
|
||||||
|
config:
|
||||||
|
use-forwarded-headers: true
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 150Mi
|
||||||
|
service:
|
||||||
|
annotations:
|
||||||
|
service.beta.kubernetes.io/do-loadbalancer-name: "bop.local"
|
||||||
|
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL"
|
||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dev-panel-bk-pd
|
- name: dev-panel-bk-pd
|
||||||
image: gitea.tars.tools/mind/help_center:dev
|
image: gitea.articulacion.com.co/panel/back:dev
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
@@ -28,7 +28,7 @@ spec:
|
|||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: mind-sos-gitea-img
|
- name: mind-sos-gitea-img
|
||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 8000
|
||||||
selector:
|
selector:
|
||||||
app: dev-panel-bk-ap
|
app: dev-panel-bk-ap
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
10
kube-manifests/Dev/Back/5 - secret.yaml
Normal file
10
kube-manifests/Dev/Back/5 - secret.yaml
Normal file
File diff suppressed because one or more lines are too long
@@ -12,7 +12,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: dev-sos.bop.local
|
- host: pb8-dev.articulacion.com.co
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- pathType: Prefix
|
- pathType: Prefix
|
||||||
@@ -22,4 +22,7 @@ spec:
|
|||||||
name: dev-panel-bk-sr
|
name: dev-panel-bk-sr
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- pb8-dev.articulacion.com.co
|
||||||
|
secretName: dev-panel-bk-sc
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# dev-redis-sos-sr.dev-panel-bk-ns.svc.cluster.local
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: dev-redis-sos-sr
|
|
||||||
namespace: dev-panel-bk-ns
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
protocol: TCP
|
|
||||||
port: 6379
|
|
||||||
targetPort: 6379
|
|
||||||
selector:
|
|
||||||
app: dev-redis-sos-ap
|
|
||||||
type: ClusterIP
|
|
||||||
10
kube-manifests/Dev/Front/.dockerconfigjson
Normal file
10
kube-manifests/Dev/Front/.dockerconfigjson
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"auths": {
|
||||||
|
"https://gitea.articulacion.com.co": {
|
||||||
|
"username": "gitea_puller",
|
||||||
|
"password": "NFveF34GBWZSaUv2KWTYiw==",
|
||||||
|
"email": "gitea@articulacion.com.co",
|
||||||
|
"auth": "Z2l0ZWFfcHVsbGVyOk5GdmVGMzRHQldaU2FVdjJLV1RZaXc9PQ=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
kube-manifests/Dev/Front/1 - namespace.yaml
Normal file
4
kube-manifests/Dev/Front/1 - namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: dev-panel-ft-ns
|
||||||
8
kube-manifests/Dev/Front/2 - gitea-img.yaml
Normal file
8
kube-manifests/Dev/Front/2 - gitea-img.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: panel-gitea-img
|
||||||
|
namespace: dev-panel-ft-ns
|
||||||
|
type: kubernetes.io/dockerconfigjson
|
||||||
|
data:
|
||||||
|
.dockerconfigjson: ewogICAgImF1dGhzIjogewogICAgICAgICJodHRwczovL2dpdGVhLmFydGljdWxhY2lvbi5jb20uY28iOiB7CiAgICAgICAgICAgICJ1c2VybmFtZSI6ICJnaXRlYV9wdWxsZXIiLAogICAgICAgICAgICAicGFzc3dvcmQiOiAiTkZ2ZUYzNEdCV1pTYVV2MktXVFlpdz09IiwKICAgICAgICAgICAgImVtYWlsIjogImdpdGVhQGFydGljdWxhY2lvbi5jb20uY28iLAogICAgICAgICAgICAiYXV0aCI6ICJaMmwwWldGZmNIVnNiR1Z5T2s1R2RtVkdNelJIUWxkYVUyRlZkakpMVjFSWmFYYzlQUT09IgogICAgICAgIH0KICAgIH0KfQo=
|
||||||
34
kube-manifests/Dev/Front/3 - deployment.yaml
Normal file
34
kube-manifests/Dev/Front/3 - deployment.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: dev-panel-ft-dp
|
||||||
|
namespace: dev-panel-ft-ns
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: dev-panel-ft-ap
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: dev-panel-ft-ap
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: dev-panel-ft-pd
|
||||||
|
image: gitea.articulacion.com.co/panel/front:dev
|
||||||
|
imagePullPolicy: Always
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "500Mi"
|
||||||
|
cpu: "250m"
|
||||||
|
limits:
|
||||||
|
memory: "500Mi"
|
||||||
|
cpu: "250m"
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: mind-sos-gitea-img
|
||||||
14
kube-manifests/Dev/Front/4 - service.yaml
Normal file
14
kube-manifests/Dev/Front/4 - service.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: dev-panel-ft-sr
|
||||||
|
namespace: dev-panel-ft-ns
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
selector:
|
||||||
|
app: dev-panel-ft-ap
|
||||||
|
type: ClusterIP
|
||||||
10
kube-manifests/Dev/Front/5 - secret.yaml
Normal file
10
kube-manifests/Dev/Front/5 - secret.yaml
Normal file
File diff suppressed because one or more lines are too long
28
kube-manifests/Dev/Front/6 - ingress.yaml
Normal file
28
kube-manifests/Dev/Front/6 - ingress.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: dev-panel-ft-ig
|
||||||
|
namespace: dev-panel-ft-ns
|
||||||
|
annotations:
|
||||||
|
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
|
||||||
|
service.beta.kubernetes.io/do-loadbalancer-internal: "true"
|
||||||
|
service.beta.kubernetes.io/do-loadbalancer-network: "INTERNAL"
|
||||||
|
nginx.ingress.kubernetes.io/enable-access-log: "true"
|
||||||
|
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: pf8-dev.articulacion.com.co
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: dev-panel-ft-sr
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- pf8-dev.articulacion.com.co
|
||||||
|
secretName: dev-panel-ft-sc
|
||||||
Reference in New Issue
Block a user