Administrator 4 месяцев назад
Родитель
Сommit
d3b8e48bc3
5 измененных файлов: 10 добавлений и 8 удалений
  1. 1 1
      01-restpod.yaml
  2. 1 1
      02-frontpod.yaml
  3. 3 3
      03-ingress.yaml
  4. 3 3
      04-ingress.yaml
  5. 2 0
      README.md

+ 1 - 1
01-restpod.yaml Просмотреть файл

15
     spec:
15
     spec:
16
       containers:
16
       containers:
17
       - name: restpod
17
       - name: restpod
18
-        image: devops.vespot.co:5000/factorytracerest:aslan
18
+        image: devops.vespot.co:5000/factorytracerest:lahelice
19
         imagePullPolicy: Always
19
         imagePullPolicy: Always
20
         resources:
20
         resources:
21
           requests:
21
           requests:

+ 1 - 1
02-frontpod.yaml Просмотреть файл

17
       - name: onedev-secret
17
       - name: onedev-secret
18
       containers:
18
       containers:
19
       - name: frontpod
19
       - name: frontpod
20
-        image: devops.vespot.co:5000/factorytracefront:aslan
20
+        image: devops.vespot.co:5000/factorytracefront:lahelice
21
         imagePullPolicy: Always
21
         imagePullPolicy: Always
22
         resources:
22
         resources:
23
           requests:
23
           requests:

+ 3 - 3
03-ingress.yaml Просмотреть файл

8
 spec:
8
 spec:
9
   ingressClassName: nginx
9
   ingressClassName: nginx
10
   rules:
10
   rules:
11
-  - host: aslan.vespot.co
11
+  - host: lahelice.vespot.co
12
     http:
12
     http:
13
       paths:
13
       paths:
14
       - path: /
14
       - path: /
20
               number: 80
20
               number: 80
21
   tls:
21
   tls:
22
   - hosts:
22
   - hosts:
23
-    - aslan.vespot.co # your domain 
24
-    secretName: aslanvespot-tls          
23
+    - lahelice.vespot.co # your domain 
24
+    secretName: lahelicevespot-tls          

+ 3 - 3
04-ingress.yaml Просмотреть файл

8
 spec:
8
 spec:
9
   ingressClassName: nginx
9
   ingressClassName: nginx
10
   rules:
10
   rules:
11
-  - host: aslan.vespot.co
11
+  - host: lahelice.vespot.co
12
     http:
12
     http:
13
       paths:
13
       paths:
14
       - path: /
14
       - path: /
20
               number: 80
20
               number: 80
21
   tls:
21
   tls:
22
   - hosts:
22
   - hosts:
23
-    - aslan.vespot.co # your domain 
24
-    secretName: aslanvespot-tls
23
+    - lahelice.vespot.co # your domain 
24
+    secretName: lahelicevespot-tls
25
           
25
           

+ 2 - 0
README.md Просмотреть файл

40
 kubectl apply -f https://kind.sigs.k8s.io/examples/ingress/deploy-ingress-nginx.yaml
40
 kubectl apply -f https://kind.sigs.k8s.io/examples/ingress/deploy-ingress-nginx.yaml
41
 kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.16/cert-manager.yaml
41
 kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.16/cert-manager.yaml
42
 
42
 
43
+-- HASTA AQUI SE PUEDE AUTOMATICO
44
+
43
 FACTORY PODS
45
 FACTORY PODS
44
 #kubectl get pods -l run=postgres --namespace=factorytrace -o jsonpath='{.items[*].spec.containers[*].name}' ##Automatizar
46
 #kubectl get pods -l run=postgres --namespace=factorytrace -o jsonpath='{.items[*].spec.containers[*].name}' ##Automatizar
45
 kubectl apply -f postgres/01-postgres-configmap.yaml
47
 kubectl apply -f postgres/01-postgres-configmap.yaml