Przeglądaj źródła

Deployment La Helice

Administrator 4 miesięcy temu
rodzic
commit
d3b8e48bc3
5 zmienionych plików z 10 dodań i 8 usunięć
  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 Wyświetl plik

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

+ 1 - 1
02-frontpod.yaml Wyświetl plik

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

+ 3 - 3
03-ingress.yaml Wyświetl plik

@@ -8,7 +8,7 @@ metadata:
8 8
 spec:
9 9
   ingressClassName: nginx
10 10
   rules:
11
-  - host: aslan.vespot.co
11
+  - host: lahelice.vespot.co
12 12
     http:
13 13
       paths:
14 14
       - path: /
@@ -20,5 +20,5 @@ spec:
20 20
               number: 80
21 21
   tls:
22 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 Wyświetl plik

@@ -8,7 +8,7 @@ metadata:
8 8
 spec:
9 9
   ingressClassName: nginx
10 10
   rules:
11
-  - host: aslan.vespot.co
11
+  - host: lahelice.vespot.co
12 12
     http:
13 13
       paths:
14 14
       - path: /
@@ -20,6 +20,6 @@ spec:
20 20
               number: 80
21 21
   tls:
22 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 Wyświetl plik

@@ -40,6 +40,8 @@ kubectl config set-context --current --namespace=factorytrace
40 40
 kubectl apply -f https://kind.sigs.k8s.io/examples/ingress/deploy-ingress-nginx.yaml
41 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 45
 FACTORY PODS
44 46
 #kubectl get pods -l run=postgres --namespace=factorytrace -o jsonpath='{.items[*].spec.containers[*].name}' ##Automatizar
45 47
 kubectl apply -f postgres/01-postgres-configmap.yaml